]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
a8539a370502801b2362b291fd4d432d8d09e3f5
[thirdparty/glibc.git] / ChangeLog
1 2017-08-01 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 * NEWS: Update security-related changes.
4
5 2017-07-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6
7 * po/be.po: Update translations.
8 * po/ko.po: Likewise.
9 * po/nl.po: Likewise.
10 * po/ru.po: Likewise.
11
12 2017-07-29 Torvald Riegel <triegel@redhat.com>
13 Carlos O'Donell <carlos@redhat.com>
14
15 [BZ 21778]
16 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Update
17 oldval if the CAS fails.
18 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
19 * nptl/tst-mutex7.c: Add comments explaining template test.
20 (ROBUST, DELAY_NSEC, ROUNDS, N): New.
21 (tf, do_test): Use them.
22 * nptl/tst-mutex7robust.c: New file.
23 * nptl/Makefile (tests): Add new test.
24
25 2017-07-28 Nathan Rossi <nathan@nathanrossi.com>
26
27 [BZ #21779]
28 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
29
30 * sysdeps/microblaze/libm-test-ulps: Update.
31
32 2017-07-28 Chung-Lin Tang <cltang@codesourcery.com>
33
34 * sysdeps/nios2/libm-test-ulps: Update.
35
36 2017-07-28 Torvald Riegel <triegel@redhat.com>
37 Carlos O'Donell <carlos@redhat.com>
38
39 [BZ #21298]
40 * nptl/Makefile (tests-internal): Add tst-rwlock20.
41 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Fix
42 explicit hand-over.
43 (__pthread_rwlock_wrlock_full): Likewise.
44 * nptl/tst-rwlock20.c: New file.
45 * support/Makefile (libsupport-routines): Add xpthread_rwlock_init,
46 xpthread_rwlock_rdlock, xpthread_rwlock_unlock,
47 xpthread_rwlock_wrlock, xpthread_rwlockattr_init, and
48 xpthread_rwlockattr_setkind_np.
49 * support/xpthread_rwlock_init.c: New file.
50 * support/xpthread_rwlock_rdlock.c: New file.
51 * support/xpthread_rwlock_unlock.c: New file.
52 * support/xpthread_rwlock_wrlock.c: New file.
53 * support/xpthread_rwlockattr_init.c: New file.
54 * support/xpthread_rwlockattr_setkind_np.c: New file.
55 * support/xthread.h: Add xpthread_rwlock_init, xpthread_rwlock_rdlock,
56 xpthread_rwlock_unlock, xpthread_rwlock_wrlock,
57 xpthread_rwlockattr_init, and xpthread_rwlockattr_setkind_np
58 prototypes.
59
60 2017-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
61
62 * sysdeps/alpha/fpu/libm-test-ulps: Update.
63
64 2017-07-27 Mike FABIAN <mfabian@redhat.com>
65
66 * locale/iso-639.def: add North and South Azerbaijani.
67
68 2017-07-27 Rical Jasan <ricaljasan@pacific.net>
69
70 * manual/lang.texi (CHAR_BIT): Convert from an @table to an
71 @deftypevr. Change standard from ISO to C90. Mention the
72 POSIX.1-2001 requirement of the value 8.
73
74 2017-07-27 Rical Jasan <ricaljasan@pacific.net>
75
76 * manual/creature.texi (_REENTRANT): Annotate as obsolete.
77 (_THREAD_SAFE): Likewise.
78
79 2017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
80
81 * po/bg.po: Update translations.
82 * po/cs.po: Likewise.
83 * po/de.po: Likewise.
84 * po/pl.po: Likewise.
85 * po/uk.po: Likewise.
86 * po/vi.po: Likewise.
87
88 2017-07-26 Mike FABIAN <mfabian@redhat.com>
89
90 [BZ #21828]
91 * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes.
92
93 2017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
94
95 * po/sv.po: Update Translation.
96
97 2017-07-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
98 Paul Eggert <eggert@cs.ucla.edu>
99
100 * timezone.zic (PRIdLINENO): Remove.
101 (verror): Use PRIdMAX.
102 * po/libc.pot: Regenerate.
103
104 2017-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
105 H.J. Lu <hongjiu.lu@intel.com>
106
107 [BZ #21744]
108 * elf/dl-tunables.c: Include not-errno.h header.
109 * include/unistd.h (__access_noerrno): Remove definition.
110 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
111 * sysdeps/generic/not-errno.h: New file.
112 * sysdeps/unix/sysv/linux/not-errno.h: Likewise.
113
114 2017-07-24 H.J. Lu <hongjiu.lu@intel.com>
115
116 [BZ #21752]
117 * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down
118 __libc_argv[0] if we aren't doing backtrace. Rename do_backtrace
119 to need_backtrace.
120 * sysdeps/posix/libc_fatal.c (__libc_message): Don't call
121 __libc_secure_getenv if we aren't doing backtrace.
122
123 2017-07-24 Andreas Schwab <schwab@suse.de>
124
125 [BZ #21804]
126 * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA)
127 [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove
128 trailing semicolon.
129 (struct __pthread_mutex_s): Remove semicolon after
130 __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END.
131 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
132 (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add
133 semicolon.
134
135 2017-07-23 Dmitry V. Levin <ldv@altlinux.org>
136
137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H ||
138 _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined
139 later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER,
140 and PTRACE_SEIZE_DEVEL that are not defined by Linux headers.
141
142 2017-07-23 John David Anglin <danglin@gcc.gnu.org>
143
144 [BZ 19170]
145 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment.
146
147 2017-07-21 DJ Delorie <dj@redhat.com>
148
149 * nss/tst-nss-test5.c: Correct test configuration.
150
151 2017-07-21 Steve Ellcey <sellcey@cavium.com>
152
153 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
154 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
155 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
156 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
157 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
158
159 2017-07-21 Steve Ellcey <sellcey@cavium.com>
160
161 * nss/nss_test1.c (default_npwd_data): Fix definition.
162
163 2017-07-21 Steve Ellcey <sellcey@cavium.com>
164
165 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
166 math_force_eval.
167
168 2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
169
170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
171
172 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
173 passing to syscall exit.
174
175 2017-07-19 DJ Delorie <dj@delorie.com>
176
177 * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
178
179 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
180
181 [BZ #21741]
182 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
183 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
184 in libc.so.
185
186 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
187
188 [BZ #21740]
189 * debug/Makefile (elide-routines.o): New.
190
191 2017-07-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
192
193 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
194 (_dl_aarch64_cap_flags): Update.
195 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
196 (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
197
198 2017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
199
200 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
201 (_dl_hwcap_string): Check range.
202
203 2017-07-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
204
205 [BZ #21707]
206 * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
207 relocations before or after initializing the TCB on statically
208 linked executables. That's a per-architecture definition.
209 * elf/rtld.c (dl_main): Add a comment about thread-local
210 variables initialization.
211 * sysdeps/generic/libc-start.h: New file. Define
212 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
213 * sysdeps/powerpc/Makefile:
214 [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
215 tst-tlsifunc-static.
216 [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
217 (tests-internal): Add tst-tlsifunc.
218 * sysdeps/powerpc/tst-tlsifunc.c: New file.
219 * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
220 * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
221 variable.
222 [$(subdir) = math] (test-float128% test-ifloat128%): Force
223 linking to the loader after linking to libgcc.
224 [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
225 (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
226 (tst-strfrom-locale strfrom-skeleton): Likewise.
227 * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define
228 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
229
230 2017-07-17 DJ Delorie <dj@redhat.com>
231
232 * nss/nss_test.h: New.
233 * nss/nss_test1.h: Rewrite to use test-provided data. Add group
234 tests. Parameterize to allow multiple instances.
235 * nss/nss_test2.h: New. Second instance.
236 * nss/nss_test.ver: New.
237 * nss/nss_test1.c: Update to use new framework.
238 * nss/nss_test2.c: New.
239 * nss/nss_test3.c: New.
240 * nss/nss_test4.c: New.
241 * nss/nss_test5.c: New.
242 * nss/Makefile: Build new tests.
243 * shlib-versions: Add libnss_test2.
244
245 2017-07-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
246
247 [BZ #21512]
248 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
249 passing to syscall exit.
250
251 2017-07-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
252
253 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
254 (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
255
256 2017-07-16 John David Anglin <danglin@gcc.gnu.org>
257
258 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
259 if _dl_fixup fails.
260
261 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
262 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
263 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
264 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
265
266 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
267 offset for r19 load.
268
269 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
270
271 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
272 Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack
273 pointer offset. Correct PIC register offset. Don't mention frame
274 related instructions in epilogue.
275 (PUSHARGS_1): Correct offset.
276 (PUSHARGS_2): Likewise.
277 (PUSHARGS_3): Likewise.
278 (PUSHARGS_4): Likewise.
279 (PUSHARGS_5): Likewise.
280 (PUSHARGS_6): Likewise.
281 (POPARGS_1): Don't mention register restore.
282 (POPARGS_2): Likewise.
283 (POPARGS_3): Likewise.
284 (POPARGS_4): Likewise.
285 (POPARGS_5): Likewise.
286 (POPARGS_6): Likewise.
287 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
288 copy of PIC register.
289 (LOAD_PIC): Likewise don't mention restore.
290 (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of
291 .cfi_offset. Don't record stack pointer offset. Correct PIC register
292 offset. Don't mention frame related instructions in epilogue.
293
294 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
295
296 * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
297
298 [BZ 20098]
299 * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
300 (_dl_lookup_address): Return address if it is not consistent with
301 being a linker defined function pointer. Likewise, return address
302 if address and function descriptor addresses are not accessible.
303
304 2017-07-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
305
306 * po/libc.pot: Regenerate.
307
308 2017-07-15 John David Anglin <danglin@gcc.gnu.org>
309
310 [BZ locale/19838]
311 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
312
313 * nptl/allocatestack.c (allocate_stack): Align old and new guard
314 addresses to page boundaries when the stack grows up.
315
316 * sysdeps/hppa/math-tests.h: New.
317
318 2017-07-14 DJ Delorie <dj@redhat.com>
319
320 [BZ #21654]
321 * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
322 alignment not char alignment.
323 (__merge_grp): Likewise.
324
325 2017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
326 Florian Weimer <fweimer@redhat.com>
327
328 * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
329 * libio/wmemstream.c (open_wmemstream): Likewise.
330 * nptl/tst-memstream.c: New.
331
332 2017-07-12 Jiong Wang <jiong.wang@arm.com>
333
334 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
335 of pcrel_address under Thumb mode.
336
337 2017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
338
339 [BZ #21207]
340 * locale/iso-639.def: Add Fiji Hindi (hif).
341
342 2017-07-12 John David Anglin <danglin@gcc.gnu.org>
343
344 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
345
346 2017-07-12 H.J. Lu <hongjiu.lu@intel.com>
347
348 * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
349 -fstack-protector-all.
350
351 2017-07-11 Chris Leonard <cjl@sugarlabs.org>
352
353 [BZ #20496]
354 * locale/iso-639.def: Add Awajún / Aguaruna (agr).
355
356 2017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
357
358 * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
359 to iterate over all possible object suffixes. Add a comment
360 explaining the use of sysdep-CFLAGS instead of CFLAGS.
361
362 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
363
364 [BZ #12189]
365 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
366 (tests): Add tst-ssp-1 if -fstack-protector works.
367 * debug/fortify_fail.c: Include <stdbool.h>.
368 (_fortify_fail_abort): New function.
369 (__fortify_fail): Call _fortify_fail_abort.
370 (__fortify_fail_abort): Add a hidden definition.
371 * debug/stack_chk_fail.c: Include <stdbool.h>.
372 (__stack_chk_fail): Call __fortify_fail_abort, instead of
373 __fortify_fail.
374 * debug/tst-ssp-1.c: New file.
375 * include/stdio.h (__libc_message_action): New enum.
376 (__libc_message): Replace int with enum __libc_message_action.
377 (__fortify_fail_abort): New hidden prototype.
378 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
379 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
380 with enum __libc_message_action. Call BEFORE_ABORT only if
381 action includes do_backtrace.
382 (__libc_fatal): Update __libc_message call.
383
384 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
385
386 [BZ #21738]
387 * manual/llio.texi (RWF_NOWAIT): New item.
388 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
389 Add RWF_NOWAIT check.
390 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
391
392 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
393
394 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
395 Support running on kernels without PTRACE_SINGLEBLOCK.
396
397 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
398
399 [BZ #21742]
400 * elf/Makefile (dl-routines): Move dl-conflict to ...
401 (rtld-routines): Here.
402
403 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
404
405 [BZ #21741]
406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
407 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
408 in libc.so.
409
410 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
411
412 * sysdeps/hppa/fpu/libm-test-ulps: Update.
413
414 [BZ #21016]
415 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
416 Fix typo.
417 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
418 bits/types/struct_timespec.h.
419 (PTHREAD_MUTEX_INITIALIZER): Revise define.
420 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
421 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
422 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
423 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
424 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
425 (PTHREAD_COND_INITIALIZER): Likewise.
426 Remove old definitions.
427 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
428 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
429 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
430 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
431 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
432 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
433
434 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
435
436 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
437 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
438 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
439 * sysdeps/x86_64/multiarch/memset.c: Likewise.
440 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
441 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
442 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
443 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
444 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
445 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
446 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
447 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
448 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
449 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
450 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
451 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
452
453 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
454
455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
456
457 2017-07-09 Helge Deller <deller@gmx.de>
458
459 [BZ #21049]
460 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
461 up to avoid clobbering r26.
462
463 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
464
465 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
466 profiled objects.
467
468 2017-07-06 DJ Delorie <dj@redhat.com>
469
470 * manual/tunables.texi: Add missing @end deftp.
471
472 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
473
474 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
475 (do_test): Call it.
476
477 2017-07-06 DJ Delorie <dj@redhat.com>
478
479 * config.make.in: Enable experimental malloc option.
480 * configure.ac: Likewise.
481 * configure: Regenerate.
482 * manual/install.texi: Document it.
483 * INSTALL: Regenerate.
484 * malloc/Makefile: Likewise.
485 * malloc/malloc.c: Add per-thread cache (tcache).
486 (tcache_put): New.
487 (tcache_get): New.
488 (tcache_thread_freeres): New.
489 (tcache_init): New.
490 (__libc_malloc): Use cached chunks if available.
491 (__libc_free): Initialize tcache if needed.
492 (__libc_realloc): Likewise.
493 (__libc_calloc): Likewise.
494 (_int_malloc): Prefill tcache when appropriate.
495 (_int_free): Likewise.
496 (do_set_tcache_max): New.
497 (do_set_tcache_count): New.
498 (do_set_tcache_unsorted_limit): New.
499 * manual/probes.texi: Document new probes.
500 * malloc/arena.c: Add new tcache tunables.
501 * elf/dl-tunables.list: Likewise.
502 * manual/tunables.texi: Document them.
503 * NEWS: Mention the per-thread cache.
504
505 2017-07-06 Joseph Myers <joseph@codesourcery.com>
506
507 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
508 * misc/tst-tsearch.c (TIMEOUT): Remove.
509 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
510 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
511 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
512 * string/tst-cmp.c (TIMEOUT): Define to 600.
513
514 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
515
516 [BZ #21715]
517 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
518 on definition.
519
520 2017-07-06 Florian Weimer <fweimer@redhat.com>
521 H.J. Lu <hongjiu.lu@intel.com>
522
523 [BZ #21609]
524 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
525 (gen-as-const-headers): Add rtld-offsets.sym.
526 * sysdeps/x86_64/dl-tls.c: New file.
527 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
528 * sysdeps/x86_64/tls_get_addr.S: Likewise.
529 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
530 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
531 (TI_OFFSET_OFFSET): Likwise.
532
533 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
534
535 [BZ# 21697]
536 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
537
538 2017-07-05 Florian Weimer <fweimer@redhat.com>
539
540 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
541 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
542 * resolv/tst-resolv-threads.c: New file.
543
544 2017-07-05 Florian Weimer <fweimer@redhat.com>
545
546 support: Add resolver testing mode which does not patch _res.
547 * support/resolv_test.h (struct resolv_redirect_config): Add
548 disable_redirect, server_address_overrides.
549 * support/resolv_test.c (make_server_sockets_for_address): New
550 function.
551 (resolv_test_start): Call it.
552
553 2017-07-05 Florian Weimer <fweimer@redhat.com>
554
555 * support/namespace.h (struct support_chroot_configuration)
556 (struct support_chroot): Define.
557 (support_chroot_create, support_chroot_free): New functions.
558 * support/support_chroot.c: New file.
559 * support/Makefile (libsupport-routines): Add support_chroot.
560 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
561 (path_resolv_conf): Remove definitions.
562 (chroot_env): New variable.
563 (prepare): Call support_chroot_create.
564 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
565 (special_test_callback, do_test): Likewise.
566
567 2017-07-05 Florian Weimer <fweimer@redhat.com>
568
569 Add subtest to check isolation of multiple loopback addresses.
570 * support/tst-support-namespace.c (test_localhost_bind): New function.
571 (do_test): Call it.
572
573 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
574
575 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
576 * libio/libioP.h (_IO_enable_locks): Declare.
577 * libio/Versions (_IO_enable_locks): New symbol.
578 * libio/genops.c (_IO_enable_locks): Define.
579 (_IO_old_init): Initialize flags2.
580 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
581 * libio/ferror.c (_IO_ferror): Likewise.
582 * libio/fputc.c (fputc): Likewise.
583 * libio/putc.c (_IO_putc): Likewise.
584 * libio/getc.c (_IO_getc): Likewise.
585 * libio/getchar.c (getchar): Likewise.
586 * libio/ioungetc.c (_IO_ungetc): Likewise.
587 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
588 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
589 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
590
591 2017-07-04 Florian Weimer <fweimer@redhat.com>
592
593 [BZ #21542]
594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
595 two if no accurate information is available.
596 * posix/tst-sysconf-empty-chroot.c: New file.
597 * posix/Makefile (tests): Add it.
598
599 2017-07-04 Florian Weimer <fweimer@redhat.com>
600
601 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
602 server and sort list counts. Fix improper check for empty search
603 path (completely missing domain name) leading to assertion failure
604 in update_from_conf.
605 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
606 hostname member.
607 (run_res_init): Set host name if requested.
608 (test_cases): Update.
609
610 2017-07-04 Joseph Myers <joseph@codesourcery.com>
611
612 * scripts/build-many-glibcs.py (Context.checkout): Default
613 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
614 kernel version to 4.12.
615
616 2017-07-04 Florian Weimer <fweimer@redhat.com>
617
618 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
619 list management and the role of free_list_start.
620 (decrement_at_index): Put zero at the end of the free list.
621 (__resolv_conf_attach): Fix bogus assert.
622 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
623 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
624
625 2017-07-03 Florian Weimer <fweimer@redhat.com>
626
627 resolv: Introduce free list for resolv_conf index slosts.
628 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
629 type to uintptr_t.
630 (struct resolv_conf_global): Add free_list_start member.
631 (resolv_conf_get_1): Check for free list entry.
632 (decrement_at_index): Put freed slot on the free list.
633 (__resolv_conf_attach): Obtain new slot from the free list.
634 * resolv/tst-resolv-res_ninit.c: New file.
635 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
636 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
637 (generated): Add mtrace-tst-resolv-res_ninit.out,
638 tst-resolv-res_ninit.mtrace.
639 (mtrace-tst-resolv-res_ninit.out): Add target.
640
641 2017-06-30 Florian Weimer <fweimer@redhat.com>
642
643 [BZ #984]
644 Reload /etc/resolv.conf if has been changed on disk.
645 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
646 (__resolv_conf_load, __resolv_conf_get_current): Declare.
647 * resolv/resolv_conf.c (struct resolv_conf_global): Add
648 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
649 (__resolv_conf_get_current): New function.
650 (__resolv_conf_allocate): Do not initialize initstamp.
651 (freeres): Deallocate global->conf_current.
652 * resolv/resolv.h (RES_NORELOAD): Define.
653 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
654 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
655 * resolv/resolv_context.c (replicated_configuration_matches): New.
656 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
657 the current configration.
658 * resolv/res_init.c (__res_initstamp): Remove variable definition.
659 (has_preinit_values): New function.
660 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
661 parameter and do not call __resolv_conf_attach.
662 (__res_vinit): Reimplement based __resolv_conf_load.
663 (res_options): Handle no-reload.
664 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
665 (lock): Remove.
666 (res_int): Do not update __res_initstamp.
667 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
668 RES_NORELOAD.
669 (test_cases): Test no-reload.
670 (special_test_call_res_init): Remove.
671 (special_test_callback): Rely on automated reloading. Add tests
672 for no-reload.
673
674 2017-06-30 Florian Weimer <fweimer@redhat.com>
675
676 Mirror the entire resolver configuration in struct resolv_conf.
677 * resolv/resolv_context.h (__resolv_context_nameserver_count)
678 (__resolv_context_nameserver): New functions.
679 (__resolv_context_sort_count, __resolv_context_sort_entry):
680 Likewise.
681 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
682 resolv_context parameter.
683 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
684 (addrsort): Switch to struct resolv_context.
685 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
686 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
687 sort_list, sort_list_size, options, retrans, retry, ndots members.
688 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
689 (same_address): New functions.
690 (resolv_conf_matches): Compare the new array members.
691 (__resolv_conf_allocate): Allocate and copy the new array members.
692 (update_from_conf): Copy the entire configuration.
693 * resolv/res_init.c (struct nameserver_list, struct sort_list):
694 Define using dynarray.
695 (struct resolv_conf_parser): Add nameserver_list, sort_list,
696 template members.
697 (resolv_conf_parser_init): Add preinit argument. Initialize the
698 new members.
699 (resolv_conf_parser_free): Deallocate the new arrays.
700 (allocate_address_v4): New function.
701 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
702 (res_vinit_1): Drop res_state parameter. Write all parsed date to
703 the parser object instead. Use allocate_address_v4 to allocate
704 IPv4 addresses.
705 (__res_vinit): Adjust.
706 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
707 extended name server list.
708 (test_cases): Adjust.
709
710 2017-06-30 Florian Weimer <fweimer@redhat.com>
711
712 [BZ #19569]
713 [BZ #21475]
714 Support an arbitrary number of search domains.
715 * resolv/resolv_context.h (__resolv_context_search_list): New.
716 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
717 search_list_size members.
718 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
719 (__resolv_conf_allocate): Allocate and and copy search list.
720 (update_from_conf): Copy the search list.
721 * resolv/res_init.c (struct search_list): Define using dynarray.
722 (struct resolv_conf_parser): Define.
723 (resolv_conf_parser_init, resolv_conf_parser_free)
724 (domain_from_hostname): New functions.
725 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
726 struct search_list to collect search list entries. Call
727 domain_from_hostname to obtain the fallback domain name.
728 (__res_vinit): Create and destroy parser object. Pass search list
729 to __resolv_conf_allocate.
730 * resolv/res_query.c (__res_context_search): Use
731 __resolv_context_search_list to obtain search list entries.
732 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
733 from extended resolver context.
734 (test_cases): Update.
735
736 2017-06-30 Florian Weimer <fweimer@redhat.com>
737
738 Add extended resolver state/configuration (struct resolv_conf).
739 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
740 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
741 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
742 (__res_vinit): Call __resolv_conf_allocate and
743 __resolv_conf_attach.
744 * resolv/resolv_context.h (struct resolv_context): Add conf member
745 of type struct resolv_conf.
746 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
747 resolv_conf. Update conf member after initialization.
748 * resolv/Makefile (routines): Add resolv_conf.
749 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
750 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
751 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
752 _u._ext.__glibc_reserved.
753
754 2017-06-30 Florian Weimer <fweimer@redhat.com>
755
756 [BZ #21668]
757 Introduce temporary resolver contexts (struct resolv_conf).
758 * resolv/resolv-internal.h (__res_context_mkquery)
759 (__res_context_searchl __res_context_query, __res_context_send)
760 (__res_context_hostalias): Declare.
761 (__res_nopt): Switch to struct resolv_context.
762 * resolv/res_use_inet6.h: New file.
763 * resolv/resolv_context.h: Likewise.
764 * resolv/resolv_context.c: Likewise.
765 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
766 Renamed from res_gethostbyname2. Use struct resolv_context.
767 (res_gethostbyname2): New function. Implement using
768 res_gethostbyname2_context.
769 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
770 struct resolv_context.
771 (res_gethostbyaddr): New function. Implement using
772 res_gethostbyaddr_context.
773 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
774 resolv_context.
775 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
776 _nss_dns_gethostbyname3_r. Use struct resolv_context.
777 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
778 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
779 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
780 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
781 (_nss_dns_getnetbyaddr_r): Likewise.
782 * resolv/res-close.c (res_thread_freeres): Call
783 __resolv_context_freeres.
784 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
785 maybe_init in resolv/resolv_context.c.
786 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
787 res_nmkquery. Use struct resolv_context.
788 (context_mkquery_common): New function.
789 (res_nmkquery, res_mkquery): Use it.
790 (res_nopt): Switch to struct resolv_context.
791 * resolv/res_query.c (__res_context_querydomain): Renamed from
792 __libc_res_nquerydomain. Use struct resolv_context.
793 (__res_context_query): Renamed from __libc_res_nquery. Use struct
794 resolv_context.
795 (context_query_common): New function.
796 (res_nquery, res_query): Use it.
797 (__res_context_search): Renamed from __libc_res_nsearch. Use
798 struct resolv_context.
799 (context_search_common): New function.
800 (res_nsearch, res_search): Use it.
801 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
802 Use struct resolv_context.
803 (context_querydomain_common): New function.
804 (res_nquerydomain, res_querydomain): Use it.
805 (__res_context_hostalias): Rename from res_hostalias. Use struct
806 resolv_context.
807 (context_hostalias_common): New function.
808 (res_hostalias, hostalias): Use it.
809 * resolv/res_send.c (__res_context_send): Renamed from
810 __libc_res_nsend. Use struct resolv_context.
811 (context_send_common): New function.
812 (res_nsend, res_send): Use it.
813 * resolv/Makefile (routines): Add resolv_context.
814 * resolv/Versions (libc): Export __resolv_context_get,
815 __resolv_context_get_preinit, __resolv_context_get_override,
816 __resolv_context_put. Remove __res_maybe_init.
817 (libresolv): Export __res_context_query, __res_context_search,
818 __res_context_hostalias. Remove __libc_res_nquery,
819 __libc_res_nsearch.
820 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
821 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
822 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
823 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
824 prototypes.
825 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
826 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
827 from __nss_hostname_digits_dots. Use struct resolv_context.
828 (__nss_hostname_digits_dots): New function.
829 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
830 struct resolv_context object. Call new function
831 __nss_hostname_digits_dots_context.
832 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
833 * nss/getnssent_r.c (__nss_setent): Likewise.
834 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
835 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
836 instead of direct _res manipulation.
837 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
838
839 2017-07-03 Florian Weimer <fweimer@redhat.com>
840
841 * resolv/tst-resolv-res_init-skeleton.c
842 (special_tests_count, special_test_call_res_init)
843 (special_test_callback, special_test_thread_func)
844 (run_special_test_on_thread, special_test): Define.
845 (do_test): call special_test.
846 (test_init_names): Fix typo.
847
848 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
849
850 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
851 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
852
853 2017-07-01 Florian Weimer <fweimer@redhat.com>
854 H.J. Lu <hongjiu.lu@intel.com>
855
856 [BZ #21696]
857 * posix/sched_cpucount.c: Don't include <limits.h>.
858 (__sched_cpucount): Use __builtin_popcount.
859
860 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
861
862 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
863 Fix typo.
864
865 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
866
867 * include/math.h (__signbitf128): Define as hidden.
868 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
869 Reimplement without builtins.
870 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
871 (__builtin_signbitf128): Define to __signbitf128.
872 * sysdeps/powerpc/bits/floatn.h: Likewise.
873 * sysdeps/x86/bits/floatn.h: Likewise.
874
875 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
876
877 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
878 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
879 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
880 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
881 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
882 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
883 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
884 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
886 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
887 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
888 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
889 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
890 fcntl_common and add check for F_GETOWN.
891 (__libc_fcntl): Use SYSCALL_CANCEL macro.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
893 use default implementation.
894
895 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
896
897 * elf/dl-tunables.h (tunable_is_name): Move from...
898 * elf/dl-tunables.c (is_name): ... here.
899 (parse_tunables, __tunables_init): Adjust.
900 * manual/tunables.texi: Document glibc.tune.cpu.
901 * sysdeps/aarch64/dl-tunables.list: New file.
902 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
903 cpu_list): New type.
904 (cpu_list): New list of CPU names and their MIDR.
905 (get_midr_from_mcpu): New function.
906 (init_cpu_features): Override MIDR if necessary.
907
908 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
909 (__libc_ifunc_impl_list): Unconditionally select thunderx
910 routine for testing.
911
912 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
913
914 [BZ #21120]
915 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
916 * sysdeps/generic/malloc-alignment.h: Here. New file.
917 * sysdeps/i386/malloc-alignment.h: Likewise.
918 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
919
920 2017-06-30 Florian Weimer <fweimer@redhat.com>
921
922 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
923 variable.
924 (test_file_contents): Use it.
925
926 2017-06-30 Florian Weimer <fweimer@redhat.com>
927
928 * resolv/res_init.c (res_setoptions): Remove source argument.
929 (res_vinit_1): Adjust.
930
931 2017-06-30 Florian Weimer <fweimer@redhat.com>
932
933 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
934
935 2017-06-30 Florian Weimer <fweimer@redhat.com>
936
937 * resolv/res_data.c: Reformat to GNU style.
938 (res_close): Update comments.
939
940 2017-06-30 Florian Weimer <fweimer@redhat.com>
941
942 * resolv/res_data.c (res_query, res_search, res_querydomain)
943 (hostalias): Move to ...
944 * resolv/res_Send.c (res_query, res_search, res_querydomain)
945 (hostalias): here.
946
947 2017-06-30 Florian Weimer <fweimer@redhat.com>
948
949 * resolv/res_data.c (res_isourserver, res_send): Move to ...
950 * resolv/res_send.c (res_isourserver, res_send): here.
951
952 2017-06-30 Florian Weimer <fweimer@redhat.com>
953
954 * resolv/res_debug.c (_res_opcodes): Rename ...
955 (res_opcodes): ... as compatibility symbol.
956 (fp_nquery): Use res_opcodes.
957 * include/resolv.h (_res_opcodes): Remove declaration.
958
959 2017-06-30 Florian Weimer <fweimer@redhat.com>
960
961 * include/resolv.h (res_pquery): Remove declaration.
962 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
963 functions.
964 (_res_opcodes): Remove variable.
965 * resolv/res_debug.c (do_section): Receive pfcode instead of
966 statp.
967 (res_pquery): Rename ...
968 (fp_nquery): to this function. Skip unnecessary _res
969 initialization.
970 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
971
972 2017-06-30 Florian Weimer <fweimer@redhat.com>
973
974 * resolv/res_debug.h: Remove file.
975 * resolv/README: Adjust.
976
977 2017-06-30 Florian Weimer <fweimer@redhat.com>
978
979 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
980 conditionals.
981 (Aerror, Perror): Remove function definitions.
982
983 2017-06-30 Florian Weimer <fweimer@redhat.com>
984
985 * resolv/res_data.c (res_mkquery): Move ...
986 * resolv/res_mkquery.c (res_mkquery): to here.
987
988 2017-06-30 Florian Weimer <fweimer@redhat.com>
989
990 * resolv/res_mkquery.c: Reformat to GNU style.
991 (T_OPT): Remove definition. It is present in the header file.
992
993 2017-06-30 Florian Weimer <fweimer@redhat.com>
994
995 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
996 conditionals.
997
998 2017-06-30 Florian Weimer <fweimer@redhat.com>
999
1000 * support/support_capture_subprocess_check.c
1001 (support_capture_subprocess_check): Report actual exit status.
1002
1003 2017-06-30 Florian Weimer <fweimer@redhat.com>
1004
1005 [BZ #19570]
1006 * resolv/res_send.c (nameserver_offset): New function.
1007 (__libc_res_nsend): Use it to implement RES_ROTATE.
1008 (get_nsaddr): Add assert with name server
1009 range check.
1010 * resolv/Makefile (xtests): Add tst-resolv-rotate.
1011 (tst-resolv-rotate): Link against libpthread.
1012 * resolv/tst-resolv-rotate.c: New file.
1013
1014 2017-06-29 Joseph Myers <joseph@codesourcery.com>
1015
1016 [BZ #21457]
1017 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
1018 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
1019 [__WORDSIZE == 64] (MC_PC): Likewise.
1020 [__WORDSIZE == 64] (MC_NPC): Likewise.
1021 [__WORDSIZE == 64] (MC_Y): Likewise.
1022 [__WORDSIZE == 64] (MC_G1): Likewise.
1023 [__WORDSIZE == 64] (MC_G2): Likewise.
1024 [__WORDSIZE == 64] (MC_G3): Likewise.
1025 [__WORDSIZE == 64] (MC_G4): Likewise.
1026 [__WORDSIZE == 64] (MC_G5): Likewise.
1027 [__WORDSIZE == 64] (MC_G6): Likewise.
1028 [__WORDSIZE == 64] (MC_G7): Likewise.
1029 [__WORDSIZE == 64] (MC_O0): Likewise.
1030 [__WORDSIZE == 64] (MC_O1): Likewise.
1031 [__WORDSIZE == 64] (MC_O2): Likewise.
1032 [__WORDSIZE == 64] (MC_O3): Likewise.
1033 [__WORDSIZE == 64] (MC_O4): Likewise.
1034 [__WORDSIZE == 64] (MC_O5): Likewise.
1035 [__WORDSIZE == 64] (MC_O6): Likewise.
1036 [__WORDSIZE == 64] (MC_O7): Likewise.
1037 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
1038 __MC_NGREG if [__USE_MISC].
1039 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
1040 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
1041 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
1042 Define fields using __ctx.
1043 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
1044 using __ctx.
1045 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
1046 (REG_PSR): Define only for [__USE_MISC].
1047 (REG_PC): Likewise.
1048 (REG_nPC): Likewise.
1049 (REG_Y): Likewise.
1050 (REG_G1): Likewise.
1051 (REG_G2): Likewise.
1052 (REG_G3): Likewise.
1053 (REG_G4): Likewise.
1054 (REG_G5): Likewise.
1055 (REG_G6): Likewise.
1056 (REG_G7): Likewise.
1057 (REG_O0): Likewise.
1058 (REG_O1): Likewise.
1059 (REG_O2): Likewise.
1060 (REG_O3): Likewise.
1061 (REG_O4): Likewise.
1062 (REG_O5): Likewise.
1063 (REG_O6): Likewise.
1064 (REG_O7): Likewise.
1065 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
1066 [__WORDSIZE == 64] (REG_FPRS): Likewise.
1067 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
1068 (gregset_t): Define using __NGREG.
1069 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
1070 __SPARC_MAXREGWINDOW if [__USE_MISC].
1071 (struct rwindow): Rename to struct __rwindow. Define fields using
1072 __ctx.
1073 (rw_fp): Define only for [__USE_MISC].
1074 (rw_rtn): Likewise.
1075 (gwindows_t): Remove struct tag. Define fields using __ctx and
1076 __SPARC_MAXREGWINDOW.
1077 (MAXFPQ): Define only for [__USE_MISC].
1078 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
1079 (struct fq): Rename to struct __fq. Define fields using __ctx.
1080 (FPU_REGS_TYPE): Define only for [__USE_MISC].
1081 (FPU_DREGS_TYPE): Likewise.
1082 (V7_FPU_FSR_TYPE): Likewise.
1083 (V9_FPU_FSR_TYPE): Likewise.
1084 (V9_FPU_FPRS_TYPE): Likewise.
1085 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
1086 using __ctx.
1087 [__WORDSIZE != 64] (fpregset_t): Likewise.
1088 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
1089 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
1090 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
1091 Rename field filler to __glibc_reserved1.
1092 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
1093 (MC_FILLER): Remove.
1094
1095 2017-06-29 Florian Weimer <fweimer@redhat.com>
1096
1097 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
1098 Adjust format string.
1099 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
1100 dependency.
1101
1102 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1103
1104 * sysdeps/posix/spawni.c (__spawni_child): New function.
1105 (__spawni): Rename to __spawnix.
1106
1107 2017-06-29 Florian Weimer <fweimer@redhat.com>
1108
1109 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
1110 Use it to make the temporary copy at the start of the work buffer.
1111 (process_arg): Adjust call to group_number.
1112
1113 2017-06-29 Florian Weimer <fweimer@redhat.com>
1114
1115 * stdio-common/vfprintf.c (printf_positional): Use struct
1116 scratch_buffer to allocate backing storage for the args_value,
1117 args_size, args_type arrays.
1118
1119 2017-06-29 Florian Weimer <fweimer@redhat.com>
1120
1121 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
1122 scratch_buffer.
1123
1124 2017-06-29 Florian Weimer <fweimer@redhat.com>
1125
1126 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
1127 wchar_t builds.
1128
1129 2017-06-29 Florian Weimer <fweimer@redhat.com>
1130
1131 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
1132 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
1133
1134 2017-06-29 Florian Weimer <fweimer@redhat.com>
1135
1136 * stdio-common/tst-vfprintf-user-type.c: New file.
1137 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
1138
1139 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1140
1141 * posix/tst-spawn2.c (do_test): Use libsupport.
1142 * posix/tst-spawn3.c (do_test): Likewise.
1143
1144 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1145
1146 * math/gen-tgmath-tests.py (Tests.__init__): Define
1147 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
1148
1149 * math/tgmath.h: Include <bits/libc-header-start.h> and
1150 <bits/floatn.h>.
1151 (__TGMATH_F128): New macro.
1152 (__TGMATH_CF128): Likewise.
1153 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1154 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1155 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1156 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1157 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1158 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1159 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1160 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1161 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1162 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1163 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1164 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1165 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1166 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1167 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1168 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1169 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1170 _FloatNx types if the corresponding HUGE_VAL macros are defined.
1171
1172 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1173 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1174 complex arguments.
1175
1176 [BZ #21687]
1177 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1178 (totalorder): Use it.
1179 (totalordermag): Likewise.
1180 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1181 totalorder and totalordermag.
1182 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1183 totalordermag in arguments of calls to those functions.
1184 (NCALLS): Change to 134.
1185
1186 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1187 cast to return type argument.
1188 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1189 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1190 (llrint): Likewise.
1191 (lround): Likewise.
1192 (llround): Likewise.
1193 (ilogb): Likewise.
1194 (llogb): Likewise.
1195 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1196 (ufromfp): Likewise.
1197 (fromfpx): Likewise.
1198 (ufromfpx): Likewise.
1199
1200 [BZ #21607]
1201 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1202 [LDBL_MANT_DIG > DBL_MANT_DIG].
1203 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1204 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1205 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1206 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1207 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1208 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1209 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1210 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1211 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1212 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1213 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1214 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1215 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1216 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1217 * math/test-tgmath.c: Include <float.h>.
1218 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1219 DBL_MANT_DIG].
1220 * math/test-tgmath2.c: Include <float.h>.
1221 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1222 DBL_MANT_DIG].
1223
1224 * math/gen-tgmath-tests.py: New file.
1225 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1226 [PYTHON] (generated): Add test-tgmath3.c.
1227 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1228 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1229
1230 * configure.ac (AS): Require binutils 2.25 or later.
1231 (LD): Likewise.
1232 * configure: Regenerated.
1233 * sysdeps/s390/configure.ac (AS): Remove version check.
1234 * sysdeps/s390/configure: Regenerated.
1235 * sysdeps/x86_64/configure.ac (AS): Remove version check.
1236 * sysdeps/x86_64/configure: Regenerated.
1237 * manual/install.texi (Tools for Compilation): Document
1238 requirement for binutils 2.25 or later.
1239 * INSTALL: Regenerated.
1240
1241 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 [BZ #14995]
1244 * configure.ac: Allow gold 1.14 or above to configire glibc
1245 * configure: Regenerated.
1246
1247 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #21457]
1250 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1251 struct tag.
1252 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1253 Likewise.
1254 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1255 Likewise.
1256 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1257 Declare struct type with __ctx.
1258 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1259 tag.
1260 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1261 and regs field name.
1262
1263 2017-06-27 Joseph Myers <joseph@codesourcery.com>
1264
1265 * elf/loadtest.c (OUT): Define using do { } while (0).
1266
1267 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1268 (DO_NUMBER_SPACEPAD): Likewise.
1269
1270 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
1271
1272 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1273 sysdep_routines.
1274 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1275 __memchr_neon.
1276 Add ifunc definitions for __memchr_neon and __memchr_noneon.
1277 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1278 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1279 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1280
1281 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1282
1283 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1284 Use vector and cu21 instruction.
1285 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1286 Add __to_utf8_loop_vx_cu in ifunc resolver.
1287
1288 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1289
1290 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1291 Use vector and cu24 instruction.
1292
1293 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1294
1295 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1296 Use vector and cu42 instruction.
1297 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1298 Add __to_utf16_loop_vx_cu in ifunc resolver.
1299
1300 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1301
1302 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1303 Use vector and cu41 instruction.
1304 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1305 in ifunc resolver.
1306
1307 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1308
1309 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1310 Add vxd, vxe, gs flag.
1311 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1312 HWCAP_S390_GS capability.
1313 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1314 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1315
1316 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1319 the first 32 bytes before checking size when size >= 32 bytes.
1320 Replace vpmovmskb/subl/jnz with vptest/jnc.
1321
1322 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1323
1324 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1325 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1326
1327 2017-06-27 Florian Weimer <fweimer@redhat.com>
1328
1329 Work around test timeouts with ICMP rate limiting on localhost.
1330 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1331 function.
1332 (do_test): Call it.
1333
1334 2017-06-27 Florian Weimer <fweimer@redhat.com>
1335
1336 Call _res_hconf_init from __res_vinit.
1337 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1338 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1339 (NEED__RES): Define.
1340 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1341 (NEED__RES): Define.
1342 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1343 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1344 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1345 (NEED__RES): Define.
1346 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1347 _res_hconf_init.
1348 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1349 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1351 _res_hconf_init.
1352
1353 2017-06-26 Joseph Myers <joseph@codesourcery.com>
1354
1355 * sysdeps/ia64/Implies: Add ieee754/float128.
1356 * sysdeps/ia64/bits/floatn.h: New file.
1357 * sysdeps/ia64/float128-abi.h: Likewise.
1358 * manual/math.texi (Mathematics): Document support for _Float128
1359 on ia64.
1360 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1361 Makefile variable.
1362 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1363 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1364 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1365 * sysdeps/ia64/math-tests.h: New file.
1366 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1367 based on TEST_COND_binary128 for [__ia64__].
1368 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1370
1371 [BZ #21457]
1372 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1373 ucontext_t.
1374 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1375 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1376 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1377 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1378 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1379 ucontext): Likewise.
1380 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1381 Likewise.
1382 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1389 Likewise.
1390 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1391 Likewise.
1392 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1393 Likewise.
1394 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1395 ucontext): Likewise.
1396 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1405 Likewise.
1406 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1407 rt_signal_frame_32): Likewise.
1408 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1411 kernel_rt_sigframe): Likewise.
1412 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1419 (__profil_counter): Likewise.
1420 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1421 (SIGCONTEXT): Likewise.
1422 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1423 kernel_rt_sigframe): Likewise.
1424 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1425 kernel_rt_sigframe): Likewise.
1426 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1431 (__start_context): Likewise.
1432 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1433 Likewise.
1434 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1435 Likewise.
1436 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1437 Likewise.
1438
1439 * sysdeps/i386/Implies: Add ieee754/float128.
1440 * sysdeps/x86_64/Implies: Likewise.
1441 * sysdeps/x86/bits/floatn.h: New file.
1442 * sysdeps/x86/float128-abi.h: Likewise.
1443 * manual/math.texi (Mathematics): Document support for _Float128
1444 on x86_64 and x86.
1445 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1446 (math_opt_barrier): Do not put _Float128 values in floating-point
1447 registers.
1448 (math_force_eval): Likewise.
1449 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1450 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1451 to Makefile variable.
1452 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1453 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1454 * sysdeps/x86/math-tests.h: New file.
1455 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1456 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1457 XFAIL_FLOAT128_PAYLOAD.
1458 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1459 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1460 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1461 Likewise.
1462 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1463 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1467 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1468 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1469 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1471
1472 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1473
1474 [BZ #21512]
1475 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1476 syscall instead of jump to _exit.
1477 (CLONE_VM_BIT): Remove unused define.
1478 (CLONE_VM): Likewise.
1479 (CLONE_THREAD_BIT): Likewise.
1480 (CLONE_THREAD): Likewise.
1481 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1482 (CLONE_VM): Remove unused define.
1483 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1484 (CLONE_VM): Remove unused define.
1485 (CLONE_THREAD): Likewise.
1486 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1487 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1488 syscall instead of jump to _exit.
1489 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1490 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1491 (CLONE_VM): Remove unused define.
1492 (CLONE_THREAD): Likewise.
1493 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1494 (CLONE_VM): Remove unused define.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1496 Likewise.
1497 (CLONE_VM): Remove unused define.
1498 (CLONE_THREAD): Likewise.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1500 Likewise.
1501 (CLONE_VM): Remove unused define.
1502 (CLONE_THREAD): Likewise.
1503 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1505 (CLONE_VM): Remove unused define.
1506 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1507 (CLONE_VM): Remove unused define.
1508 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1510 (CLONE_VM): Remove unused define.
1511 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1512 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1513
1514 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1515 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1516
1517 * manual/math.texi (Mathematics): Mention the enabling of float128
1518 for powerpc64le.
1519 * sysdeps/powerpc/bits/floatn.h: New file.
1520 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1521 * sysdeps/powerpc/fpu/math_private.h:
1522 (__ieee754_sqrtf128): New inline override.
1523 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1524 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1525 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1526 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1527 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1529 Updated.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1531 Likewise.
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1533 New file.
1534
1535 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1536
1537 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1538 * sysdeps/powerpc/powerpc64le/configure: Update.
1539
1540 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1541 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1542
1543 * INSTALL: Regenerate.
1544 * manual/install.texi (Recommended Tools for Compilation): Mention
1545 the powerpc64le-specific requirement in the manual.
1546 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1547 for the compiler features required for building float128.
1548 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1549
1550 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1551
1552 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1553 before comparing with another char.
1554
1555 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1556
1557 * manual/math.texi: Fix a grammatical error.
1558
1559 2017-06-24 Florian Weimer <fweimer@redhat.com>
1560
1561 [BZ #21295]
1562 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1563
1564 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1565
1566 [BZ #21295]
1567 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1568 Append addresses at the end of the list.
1569
1570 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 [BZ #21666]
1573 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1574 (loc2): Likewise.
1575 (locs): Likewise.
1576
1577 2017-06-23 Florian Weimer <fweimer@redhat.com>
1578
1579 [BZ #16637]
1580 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1581 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1582 digits between colons.
1583 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1584
1585 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1586 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1587
1588 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1589 (__sched_get_prioriry_min): Likewise.
1590 * include/sys/mman.h (__mmap): Likewise.
1591 (__mmap64): Likewise.
1592 (__munmap): Likewise.
1593 (__mprotect): Likewise.
1594 * include/termios.h (__tcsetattr): Likewise.
1595 * include/time.h (__nanosleep): Use hidden_proto instead of
1596 libc_hidden_proto.
1597 * posix/nanosleep.c (__nanosleep): Likewise.
1598 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1599 __sched_get_priority_min, and __sched_get_priority_max under
1600 GLIBC_PRIVATE.
1601 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1602 libc symbols.
1603 (change_stack_perm): Likewise.
1604 (change_stack_perm): Likewise.
1605 (allocate_stack): Likewise.
1606 * sysdeps/posix/gethostname.c: Likewise.
1607 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1608 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1610 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1611 (__pthread_key_delete): Likewise.
1612 (__pthread_detach): Likewise.
1613 (__pthread_cancel): Likewise.
1614 (__pthread_mutex_trylock): Likewise.
1615 (__pthread_mutexattr_init): Likewise.
1616 (__pthread_mutexattr_settype): Likewise.
1617 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1618 create alias for exported one.
1619 * nptl/pthread_join.c (pthread_join): Likewise.
1620 * nptl/pthread_detach.c (pthread_detach): Likewise.
1621 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1622 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1623 * nptl/pthread_create.c: Change static requirements for pthread
1624 symbols.
1625 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1626 for internal definition.
1627 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1628 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1629 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1630 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1631 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1632 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1633 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1634 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1635 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1636 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1637 Likewise.
1638 * nptl/pthread_self.c (__pthread_self): Likewise.
1639 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1640 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1641 * misc/mmap.c (__mmap): Add internal symbol definition.
1642 * misc/mmap.c (__mmap64): Likewise.
1643 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1644 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1645 (__mmap64): Likewise.
1646 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1647 Add __uname.
1648
1649 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1650
1651 * sysdeps/i386/fpu/libm-test-ulps: Update.
1652 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1653
1654 * libm-test-support.c (check_float_internal): Clear exceptions at
1655 end of function.
1656 (check_int): Likewise.
1657 (check_long): Likewise.
1658 (check_bool): Likewise.
1659 (check_longlong): Likewise.
1660 (check_intmax_t): Likewise.
1661 (check_uintmax_t): Likewise.
1662
1663 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1664 Do not declare.
1665 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1666 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1667 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1668
1669 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1672 Replace movzbl and orl with movb.
1673
1674 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1675
1676 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1677 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1678 and HUGE_VAL_FNx.
1679 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1680 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1681 are in math.h, to avoid having to list the _FloatN and _FloatNx
1682 variants as well. Likewise for the cabs functions.
1683 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1684 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1685 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1686 come from TS 18661-3, since this section explicitly states that
1687 these functions come from BSD.
1688 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1689 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1690 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1691 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1692 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1693 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1694 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1695 remainderfNx.
1696 (Setting and modifying single bits of FP values): Document
1697 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1698 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1699 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1700 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1701 (Floating-Point Comparison Functions): Document totalorderfN,
1702 totalorderfNx, totalordermagfN, totalordermagfNx.
1703 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1704 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1705 fdimfN, fdimfNx, fmafN, fmafNx.
1706 (Complex Numbers): Document the complex types: _FloatN complex and
1707 _FloatNx complex.
1708 (rojections, Conjugates, and Decomposing of Complex Numbers):
1709 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1710 cargfN, cargfNx, cprojfN, cprojfNx.
1711 * manual/math.texi (Mathematics): Mention that the _FloatN and
1712 _FloatNx variants of the math functions come from TS 18661-3,
1713 unless otherwise stated.
1714 (Predefined Mathematical Constants): Document the _FloatN and
1715 _FloatNx variants of the macros prefixed with M_.
1716 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1717 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1718 ccosfNx, ctanfN, ctanfNx.
1719 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1720 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1721 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1722 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1723 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1724 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1725 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1726 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1727 cpowfNx.
1728 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1729 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1730 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1731 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1732 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1733 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1734 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1735 ynfN, ynfNx.
1736
1737 2017-06-23 Florian Weimer <fweimer@redhat.com>
1738
1739 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1740
1741 2017-06-23 Florian Weimer <fweimer@redhat.com>
1742
1743 * resolv/res_libc.c: Reformat to GNU style.
1744
1745 2017-06-23 Florian Weimer <fweimer@redhat.com>
1746
1747 * resolv/resolv-internal.h (__res_initstamp): Declare.
1748 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1749 It is implied by the declaration.
1750 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1751
1752 2017-06-23 Florian Weimer <fweimer@redhat.com>
1753
1754 [BZ #21662]
1755 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1756 Use only 24 bits of the register before the subtraction.
1757 * string/test-memcmp.c (check1): Check with different lengths.
1758
1759 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1760
1761 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1762 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1763
1764 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1765
1766 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1767 Enable generation of float128 entries on the error table.
1768
1769 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1770
1771 * include/float.h: Include libc-header-start.h to get the
1772 definition of __GLIBC_USE.
1773
1774 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1775
1776 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1777 rearranged code and doubles float types.
1778
1779 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1780
1781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1782 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1783
1784 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1785
1786 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1787 to errno, and simplify remaining related code.
1788
1789 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1790
1791 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1792 PPC_FEATURE2_SCV.
1793 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1794 and darn.
1795
1796 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1797
1798 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1799 the implementation-specific function name and remove unneeded macros
1800 definition.
1801 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1802 function name if not defined and pass as parameter to macros
1803 accordingly.
1804
1805 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1806
1807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1808 (libm-sysdep_routines): Add s_llroundf-ppc64.
1809 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1810 (__llroundf): Define as strong alias of __llround.
1811 (llroundf): Define as weak alias of __llround.
1812 (__lroundf): Define as strong alias of __llround.
1813 (lroundf): Define as weak alias of __llround.
1814 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1815 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1818 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1819 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1820 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1821
1822 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1823
1824 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1825 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1826
1827 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1828 (MATH_TESTS_TG): New macro.
1829 (SNAN_TESTS_float128): Likewise.
1830 (ROUNDING_TESTS_float128): Likewise.
1831 (EXCEPTION_TESTS_float128): Likewise.
1832 (SNAN_TESTS): Define using MATH_TESTS_TG.
1833 (ROUNDING_TESTS): Likewise.
1834 (EXCEPTION_TESTS): Likewise.
1835
1836 * sysdeps/ieee754/float128/float128_private.h
1837 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1838 pass it to SET_RESTORE_ROUNDF128.
1839
1840 * sysdeps/ieee754/float128/float128_private.h: Include
1841 <ieee754.h>.
1842
1843 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1844 typeof to argument passed to __builtin_types_compatible_p.
1845 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1846
1847 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1848 <errno.h>.
1849 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1850 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1851 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1852 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1853 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1854 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1855 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1856 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1857 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1858 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1859 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1860 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1861 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1862 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1863 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1864 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1865 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1866 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1867 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1868 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1869 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1870 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1871
1872 * sysdeps/ieee754/float128/strtof128_l.c: Include
1873 <bits/types/locale_t.h> instead of <xlocale.h>.
1874 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1875 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1876
1877 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1878
1879 * benchtests/scripts/benchout_strings.schema.json: New file.
1880 * benchtests/scripts/compare_strings.py: New file.
1881
1882 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1883 (do_one_test): Print json.
1884 (do_test): Likewise.
1885 (test_main): Likewise.
1886 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1887 (do_one_test): Print json.
1888 (do_test): Likewise.
1889 (test_main): Likewise.
1890 * benchtests/bench-memcpy.c: Include json-lib.h.
1891 (do_one_test): Print json.
1892 (do_test): Likewise.
1893 (test_main): Likewise.
1894
1895 * benchtests/json-lib.h: Include inttypes.h.
1896 (json_attr_int, json_attr_int, json_element_string,
1897 json_element_int, json_element_uint): New functions.
1898 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1899 json_element_string, json_element_int, json_element_uint): New
1900 functions.
1901
1902 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1903
1904 * manual/arith.texi (Remainder Functions): Describe remainder as
1905 primary and drem as an alternative name. Change the comment on
1906 remainder to ISO, since it is defined in ISO C99.
1907
1908 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1909
1910 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1911 macro expansion.
1912 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1913
1914 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1915
1916 [BZ #21533]
1917 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1918 201706L for Unicode 10.0.
1919
1920 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1921
1922 [BZ #21657]
1923 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1924 on node-local addresses.
1925 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1926
1927 2017-06-21 Florian Weimer <fweimer@redhat.com>
1928
1929 * intl/loadmsgcat.c: Remove alloca support.
1930 (_nl_load_domain): Use calloc instead of alloca.
1931
1932 2017-04-21 Florian Weimer <fweimer@redhat.com>
1933
1934 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1935 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1936 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1937 alloc_buffer_create_failure.
1938 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1939 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1940 (__libc_alloc_buffer_copy_string)
1941 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1942 * malloc/alloc_buffer_alloc_array.c: New file.
1943 * malloc/alloc_buffer_allocate.c: Likewise.
1944 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1945 * malloc/alloc_buffer_copy_string.c: Likewise.
1946 * malloc/alloc_buffer_create_failure.c: Likewise.
1947 * malloc/tst-alloc_buffer.c: Likewise.
1948
1949 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1952 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1953 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1954 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1955 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1956 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1957 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1958 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1959 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1960 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1961 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1962 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1963 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1964 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1965 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1966 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1967 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1968 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1969 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1970 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1971 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1972 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1973 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1974 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1975 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1976 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1977 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1978 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1979 "locale-defines.h".
1980 (UPDATE_STRNCMP_COUNTER): New.
1981 (SECTION): Likewise.
1982 (GLABEL): Likewise.
1983 (LABEL): Likewise.
1984 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1985 for libc.a.
1986
1987 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1988
1989 [BZ #21622]
1990 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1991 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1992 __USE_MISC].
1993 (SA_NODEFER): Likewise.
1994 (SA_RESETHAND): Likewise.
1995
1996 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1997
1998 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1999 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
2000 Remove security_level on all fields.
2001 * manual/tunables.texi: Replace ifunc with hwcaps.
2002 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
2003 Renamed to ..
2004 (TUNABLE_CALLBACK (set_hwcaps)): This.
2005 (init_cpu_features): Updated.
2006 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
2007 data_cache_size, data_cache_size and non_temporal_threshold to
2008 unsigned long int.
2009 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
2010 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
2011 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
2012 use DEFAULT_STRLEN.
2013
2014 2017-06-21 Florian Weimer <fweimer@redhat.com>
2015
2016 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
2017 asprintf to construct an absolute pathname.
2018
2019 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2020
2021 * misc/tst-preadvwritev2-common.c: New file.
2022 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
2023 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2024
2025 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2026
2027 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
2028 annotation.
2029 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2030
2031 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2032
2033 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
2034 hidden __GI__dl_argv symbol.
2035
2036 2017-06-21 Florian Weimer <fweimer@redhat.com>
2037
2038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
2039 to parse addresses with IPv6 scope IDs.
2040
2041 2017-06-21 Florian Weimer <fweimer@redhat.com>
2042
2043 Add the __inet_pton_length helper function.
2044 * resolv/resolv-internal.h (__inet_pton_length): Declare.
2045 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
2046 Add length argument.
2047 (__inet_pton): New function.
2048 (inet_pton4): Add length argument.
2049 (hex_digit_value): New function.
2050 (inet_pton6): Add length argument. Call hex_digit_value. Use
2051 memmove and memset to fill :: gap.
2052 * resolv/Makefile (tests, tsts-static, tests-internal): Add
2053 tst-inet_pton.
2054 * resolv/tst-inet_pton.c: New file.
2055 * support/Makefile (libsupport-routines): Add xmprotect.
2056 * support/xunistd.h (xmprotect): Declare.
2057 * support/xmprotect.c: New file.
2058
2059 2017-06-21 Florian Weimer <fweimer@redhat.com>
2060
2061 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
2062 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
2063 (call_gai, check_ai): New functions.
2064 (expect_failure, expect_success): Use them. Add logging.
2065
2066 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2067
2068 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2069 (sysdep_routines): Add memchr_power8.
2070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2071 (memchr): Add __memchr_power8 to list of memchr functions.
2072 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
2073 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
2074 (memchr): Add __memchr_power8 to ifunc list.
2075 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
2076
2077 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2078
2079 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
2080 (__llrintf): Define as strong alias of __llrint.
2081 (llrintf): Define as weak alias of __llrint.
2082 (__lrintf): Define as strong alias of __llrint.
2083 (lrintf): Define as weak alias of __llrint.
2084 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2085 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2086 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
2087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
2088
2089 2017-06-20 Zack Weinberg <zackw@panix.com>
2090
2091 * bits/signum-generic.h: Renamed from bits/signum.h.
2092 Add proper multiple include guard and misuse check.
2093 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
2094 Move definition of SIGIO to "archaic names for compatibility" section.
2095 * bits/signum.h: New file which just includes bits/signum-generic.h.
2096 * sysdeps/unix/bsd/bits/signum.h
2097 * sysdeps/unix/sysv/linux/bits/signum.h
2098 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
2099 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
2100 * sysdeps/unix/sysv/linux/mips/bits/signum.h
2101 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
2102 Just include <bits/signum-generic.h> and then add or adjust
2103 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
2104
2105 * signal/Makefile: Install bits/signum-generic.h.
2106 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
2107
2108 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
2109 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
2110
2111 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
2112 * sysdeps/unix/sysv/linux/Makefile: Run it.
2113
2114 2017-06-20 Zack Weinberg <zackw@panix.com>
2115
2116 * locale/xlocale.h: Rename to...
2117 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
2118 Only define struct __locale_struct and __locale_t, not locale_t.
2119 * locale/bits/types/locale_t.h: New file; define locale_t here.
2120 * locale/Makefile (headers): Update to match.
2121
2122 * include/xlocale.h: Delete wrapper.
2123 * include/bits/types/__locale_t.h: New wrapper.
2124 * include/bits/types/locale_t.h: New wrapper.
2125
2126 * ctype/ctype.h, include/printf.h, include/time.h
2127 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
2128 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
2129 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
2130 Correct outdated comments regarding the standardization status of
2131 the functions that take locale_t arguments.
2132
2133 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
2134 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2135 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2136 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2137 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2138 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
2139 Don't include xlocale.h. If necessary, include locale.h instead.
2140
2141 * stdlib/strtold_l.c: Unconditionally include wchar.h.
2142
2143 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
2144 * include/monetary.h, include/stdlib.h, include/time.h
2145 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
2146 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
2147 * locale/localeinfo.h, locale/newlocale.c
2148 * locale/nl_langinfo_l.c, locale/uselocale.c
2149 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2150 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2151 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2152 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2153 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2154 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2155 * string/strings.h, string/strncase.c, string/strxfrm_l.c
2156 * sysdeps/ieee754/float128/strtof128_l.c
2157 * sysdeps/ieee754/float128/wcstof128.c
2158 * sysdeps/ieee754/float128/wcstof128_l.c
2159 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2160 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2162 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2163 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2164 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2165 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2166 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2167 * sysdeps/x86_64/strcasecmp_l-nonascii.c
2168 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2169 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2170 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2171 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2172 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2173 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2174 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2175 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2176 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2177 Change all uses of __locale_t to locale_t.
2178
2179 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2180
2181 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2182 for !__OFF_T_MATCHES_OFF64_T.
2183 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2184 implementation based on open64.
2185 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2186 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2187
2188 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 * elf/dl-tunables.list: Move x86 specific tunables to ...
2191 * sysdeps/x86/dl-tunables.list: Here. New file.
2192
2193 2017-06-20 Joseph Myers <joseph@codesourcery.com>
2194
2195 [BZ #21635]
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2197 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2198 * conform/data/signal.h-data (uc_mcontext): XFAIL for
2199 powerpc32-linux.
2200 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2201
2202 [BZ #21634]
2203 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2204 (conformtest-xfail-conds): New variable.
2205 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2206 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2207
2208 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2209
2210 * benchtests/powf-inputs: Add reduced trace from wrf.
2211
2212 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2213 Erich Elsen <eriche@google.com>
2214
2215 * elf/dl-tunables.list (tune): Add ifunc,
2216 x86_non_temporal_threshold,
2217 x86_data_cache_size and x86_shared_cache_size.
2218 * manual/tunables.texi: Document glibc.tune.ifunc,
2219 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2220 and glibc.tune.x86_non_temporal_threshold.
2221 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2222 * sysdeps/x86/cpu-tunables.c: Likewise.
2223 * sysdeps/x86/cacheinfo.c
2224 (init_cacheinfo): Check and get data cache size, shared cache
2225 size and non temporal threshold from cpu_features.
2226 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2227 New.
2228 [HAVE_TUNABLES] Include <unistd.h>.
2229 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2230 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2231 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2232 IFUNC selection, data cache size, shared cache size and non
2233 temporal threshold.
2234 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2235 shared_cache_size and non_temporal_threshold.
2236
2237 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2238
2239 * benchtests/README: Describe workload feature.
2240 * benchtests/bench-skeleton.c (main): Add support for
2241 benchmarking traces from workloads.
2242
2243 2017-06-20 Zack Weinberg <zackw@panix.com>
2244
2245 * string/string.h (__mempcpy_inline): Delete.
2246 * sysdeps/x86_64/multiarch/mempcpy.c
2247 * sysdeps/x86_64/multiarch/stpcpy.c:
2248 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2249 before including string.h.
2250
2251 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
2252
2253 * benchtests/Makefile (bench-math): Add powf.
2254 * benchtests/powf-inputs: New file.
2255
2256 2017-06-20 Zack Weinberg <zackw@panix.com>
2257
2258 * bits/string.h, string/bits/string.h
2259 * sysdeps/aarch64/bits/string.h
2260 * sysdeps/m68k/m680x0/m68020/bits/string.h
2261 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2262 * sysdeps/x86/bits/string.h: Delete file.
2263
2264 * string/string.h: Don't include bits/string.h.
2265 * string/bits/string3.h: Rename to bits/string_fortified.h.
2266 No need to undef various symbols that the removed headers
2267 might have defined as macros.
2268 * string/Makefile (headers): Remove bits/string.h, change
2269 bits/string3.h to bits/string_fortified.h.
2270 * string/string-inlines.c: Update commentary. Remove definitions
2271 of various macros that nothing looks at anymore. Don't directly
2272 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2273 compiler-predefined macros.
2274 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2275 _is_ defined, provide internal hidden alias __strncat.
2276 * include/string.h: Declare internal hidden alias __strncat.
2277 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2278 not defined.
2279 * include/bits/string3.h: Rename to bits/string_fortified.h,
2280 update to match above.
2281
2282 * sysdeps/i386/string-inlines.c: Define compat symbols for
2283 everything formerly defined by sysdeps/x86/bits/string.h.
2284 Make existing definitions into compat symbols as well.
2285 Remove some no-longer-necessary messing around with macros.
2286
2287 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2288 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2290 * sysdeps/s390/multiarch/mempcpy.c
2291 No need to define _HAVE_STRING_ARCH_mempcpy.
2292 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2293
2294 * sysdeps/i386/i686/multiarch/strncat-c.c
2295 * sysdeps/s390/multiarch/strncat-c.c
2296 * sysdeps/x86_64/multiarch/strncat-c.c
2297 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
2298
2299 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
2300
2301 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2302 (LDBL_DIG): Likewise.
2303 (LDBL_MIN_EXP): Likewise.
2304 (LDBL_MIN_10_EXP): Likewise.
2305 (LDBL_MAX_EXP): Likewise.
2306 (LDBL_MAX_10_EXP): Likewise.
2307 (LDBL_MAX): Likewise.
2308 (LDBL_MIN): Likewise.
2309 (LDBL_EPSILON): Likewise.
2310 (FLT_ROUNDS): Change standard from ISO to C90.
2311 (FLT_RADIX): Likewise.
2312 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2313 (FLT_DIG, DBL_DIG): Likewise.
2314 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2315 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2316 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2317 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2318 (FLT_MAX, DBL_MAX): Likewise.
2319 (FLT_MIN, DBL_MIN): Likewise.
2320 (FLT_EPSILON, DBL_EPSILON): Likewise.
2321
2322 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2323
2324 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2325 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2326 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2327 * sysdeps/mips/math-tests.h
2328 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2329 conditional code.
2330
2331 2017-06-19 Florian Weimer <fweimer@redhat.com>
2332
2333 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2334 It cannot change while __libc_setlocale_lock is acquired.
2335
2336 2017-06-19 Florian Weimer <fweimer@redhat.com>
2337
2338 * elf/rtld.c (audit_list_string): New variable.
2339 (audit_list): Update comment.
2340 (struct audit_list_iter): Define.
2341 (audit_list_iter_init, audit_list_iter_next): New function.
2342 (dl_main): Use struct audit_list_iter to process audit modules.
2343 (process_dl_audit): Call dso_name_valid_for_suid.
2344 (process_envvars): Set audit_list_string instead of calling
2345 process_dl_audit.
2346
2347 2017-06-19 Florian Weimer <fweimer@redhat.com>
2348
2349 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2350 (dso_name_valid_for_suid): New function.
2351 (handle_ld_preload): Likewise.
2352 (dl_main): Call it. Remove alloca.
2353
2354 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2355
2356 [BZ #21625]
2357 * posix/sys/wait.h (strust rusage forward declaration): Change
2358 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2359 !__USE_XOPEN2K].
2360 (wait3): Likewise.
2361
2362 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2363 * configure: Regenerated.
2364 * manual/install.texi (Tools for Compilation): Document
2365 requirement for GCC 4.9 or later.
2366 * INSTALL: Regenerated.
2367
2368 2017-06-19 Florian Weimer <fweimer@redhat.com>
2369
2370 [BZ #21624]
2371 CVE-2017-1000366
2372 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2373 __libc_enable_secure.
2374
2375 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2376
2377 [BZ #21539]
2378 * NEWS: Mention s390 ptrace request changes.
2379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2380 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2381 PTRACE_SETFPREGS): Remove enum constant.
2382 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2383 Remove defines.
2384 (PTRACE_SINGLEBLOCK): New enum constant.
2385 (PT_STEPBLOCK): New define.
2386 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2387 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2388 PTRACE_TE_ABORT_RAND): New enum constant and define.
2389 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2390 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2391 New file.
2392 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2393
2394 2017-06-16 Florian Weimer <fweimer@redhat.com>
2395
2396 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2397 configuration file.
2398 (__res_vinit): Adjust.
2399
2400 2017-06-19 Florian Weimer <fweimer@redhat.com>
2401
2402 * resolv/res_init.c (res_vinit_1): New function.
2403 (__res_vinit): Call it. Handle file open and memory allocation
2404 failures.
2405 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2406 erno from __res_maybe_init failure.
2407 (_nss_dns_gethostbyname4_r): Likewise.
2408 (_nss_dns_gethostbyaddr2_r): Likewise.
2409 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2410 (_nss_dns_getnetbyaddr_r): Likewise.
2411
2412 2017-06-19 Florian Weimer <fweimer@redhat.com>
2413
2414 * resolv/res_init.c: Reformat to GNU style.
2415
2416 2017-06-19 Florian Weimer <fweimer@redhat.com>
2417
2418 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2419 (is_sort_mask): New function.
2420 (__res_vinit): Use it.
2421
2422 2017-06-19 Florian Weimer <fweimer@redhat.com>
2423
2424 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2425 conditionals.
2426
2427 2017-06-19 Florian Weimer <fweimer@redhat.com>
2428
2429 * resolv/res-close.c: New file.
2430 * resolv/res_init.c (__res_iclose, res_nclose)
2431 (res_thread_freeres): Remove definitions.
2432 * resolv/Makefile (routines): Add res-close.
2433
2434 2017-06-19 Florian Weimer <fweimer@redhat.com>
2435
2436 * resolv/res_randomid.c: New file.
2437 * resolv/res_init.c (res_randomid): Remove definition.
2438 * resolv/Makefile (routines): Add res_randomid.
2439
2440 2017-06-19 Florian Weimer <fweimer@redhat.com>
2441
2442 * include/resolv.h (__res_vinit): Declare as hidden.
2443 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2444 * resolv/res_libc.c (res_init): Likewise.
2445
2446 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2447
2448 [BZ #21457]
2449 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2450 _libc_xmmreg): Use __ctx in defining field.
2451
2452 [BZ #21597]
2453 * signal/signal.h (siginterrupt): Make declaration conditional on
2454 [__USE_XOPEN_EXTENDED || __USE_MISC].
2455
2456 [BZ #21584]
2457 * signal/signal.h: Make includes of <bits/sigstack.h> and
2458 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2459 __USE_MISC].
2460 (sigaltstack): Make declaration conditional on
2461 [__USE_XOPEN_EXTENDED || __USE_MISC].
2462
2463 [BZ #21575]
2464 * resource/bits/types/struct_rusage.h: New file.
2465 * include/bits/types/struct_rusage.h: Likewise.
2466 * bits/resource.h (struct rusage): Include
2467 <bits/types/struct_rusage.h> instead of defining here.
2468 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2469 Likewise.
2470 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2471 Likewise.
2472 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2473 Likewise.
2474 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2475 Likewise.
2476 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2477 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2478 Include <bits/types/struct_rusage.h>
2479
2480 2017-06-19 Florian Weimer <fweimer@redhat.com>
2481
2482 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2483
2484 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2485
2486 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2487
2488 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2489
2490 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2491
2492 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2493
2494 [BZ #21537]
2495 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2496 Check SHARED instead of PIC.
2497 (SYSCALL_PIC_SETUP): Add missing semicolons.
2498 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2499 Check SHARED instead of PIC.
2500 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2501 (__makecontext_ret): Adjust code to jump to exit.
2502
2503 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2504
2505 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2506 Simplify code by always using SVC 0 instead of EX.
2507 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2508
2509 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 * elf/Versions (ld): Remove _dl_out_of_memory.
2512
2513 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2514
2515 * timezone/private.h: Update from tzcode 2017b.
2516 * timezone/tzfile.h: Likewise.
2517 * timezone/tzselect.ksh: Likewise.
2518 * timezone/zdump.c: Likewise.
2519 * timezone/zic.c: Likewise.
2520 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2521 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2522 * time/tzset.c (SECSPERDAY): New macro.
2523
2524 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2525
2526 * manual/string.texi (strdup): Complete header and standards
2527 annotation.
2528 (strncpy): Likewise.
2529
2530 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2531
2532 * manual/arith.texi (FP_NAN): Add or complete header and standard
2533 annotations.
2534 (FP_INFINITE): Likewise.
2535 (FP_ZERO): Likewise.
2536 (FP_SUBNORMAL): Likewise.
2537 (FP_NORMAL): Likewise.
2538 (SNAN): Likewise.
2539 (SNANL): Likewise.
2540 (totalorderf): Likewise.
2541 (totalorderl): Likewise.
2542 (totalordermagf): Likewise.
2543 (totalordermagl): Likewise.
2544 (_Complex_I): Likewise.
2545 (I): Likewise.
2546
2547 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2548
2549 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2550 standard annotation.
2551 (ARGP_HELP_SHORT_USAGE): Likewise.
2552 (ARGP_HELP_SEE): Likewise.
2553 (ARGP_HELP_LONG): Likewise.
2554 (ARGP_HELP_PRE_DOC): Likewise.
2555 (ARGP_HELP_POST_DOC): Likewise.
2556 (ARGP_HELP_DOC): Likewise.
2557 (ARGP_HELP_BUG_ADDR): Likewise.
2558 (ARGP_HELP_LONG_ONLY): Likewise.
2559 (ARGP_HELP_EXIT_ERR): Likewise.
2560 (ARGP_HELP_EXIT_OK): Likewise.
2561 (ARGP_HELP_STD_ERR): Likewise.
2562 (ARGP_HELP_STD_USAGE): Likewise.
2563 (ARGP_HELP_STD_HELP): Likewise.
2564
2565 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2566
2567 * manual/Makefile: Generate summary.texi with summary.pl. Force
2568 use of the C locale. Update Perl dependency comment.
2569 * manual/header.texi: Update reference to summary.awk.
2570 * manual/macros.texi: Refer authors to `summary.pl --help'.
2571 * manual/summary.awk: Remove file.
2572 * manual/summary.pl: New file. Generate summary.texi, and check
2573 for @standards-related syntax errors.
2574 * manual/argp.texi: Convert header and standards @comments to
2575 @standards.
2576 * manual/arith.texi: Likewise.
2577 * manual/charset.texi: Likewise.
2578 * manual/conf.texi: Likewise.
2579 * manual/creature.texi: Likewise.
2580 * manual/crypt.texi: Likewise.
2581 * manual/ctype.texi: Likewise.
2582 * manual/debug.texi: Likewise.
2583 * manual/errno.texi: Likewise.
2584 * manual/filesys.texi: Likewise.
2585 * manual/getopt.texi: Likewise.
2586 * manual/job.texi: Likewise.
2587 * manual/lang.texi: Likewise.
2588 * manual/llio.texi: Likewise.
2589 * manual/locale.texi: Likewise.
2590 * manual/math.texi: Likewise.
2591 * manual/memory.texi: Likewise.
2592 * manual/message.texi: Likewise.
2593 * manual/pattern.texi: Likewise.
2594 * manual/pipe.texi: Likewise.
2595 * manual/process.texi: Likewise.
2596 * manual/resource.texi: Likewise.
2597 * manual/search.texi: Likewise.
2598 * manual/setjmp.texi: Likewise.
2599 * manual/signal.texi: Likewise.
2600 * manual/socket.texi: Likewise.
2601 * manual/startup.texi: Likewise.
2602 * manual/stdio.texi: Likewise.
2603 * manual/string.texi: Likewise.
2604 * manual/sysinfo.texi: Likewise.
2605 * manual/syslog.texi: Likewise.
2606 * manual/terminal.texi: Likewise.
2607 * manual/threads.texi: Likewise.
2608 * manual/time.texi: Likewise.
2609 * manual/users.texi: Likewise.
2610
2611 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2612
2613 * manual/macros.texi (@standards): New macro. Provide placeholder
2614 for header and standards annotations.
2615 (@standardsx): New macro. Likewise, for lists of @*x elements.
2616
2617 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2618
2619 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2621 rule.
2622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2623 sync_file_range.
2624
2625 * support/support_test_main.c (support_test_main): Use optstring
2626 member for option string in getopt_long.
2627 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2628 (CMDLINE_OPTSTRING): New define.
2629 * support/test-driver.h (test_config): Add optstring member.
2630
2631 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2634 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2635 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2636 Check USE_AS_STRPBRK instead of STRPBRK_P.
2637 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2638 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2639 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2640 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2641 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2642 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2643 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2644 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2645 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2646 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2647 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2648 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2649 and "#endif".
2650
2651 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2652
2653 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2654 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2655
2656 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2659 strcat-sse2.
2660 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2661 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2662 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2663 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2664 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2665
2666 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2667 Erich Elsen <eriche@google.com>
2668
2669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2670 memcmp-sse2.
2671 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2672 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2673 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2674 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2675 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2676 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2677
2678 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2679 Erich Elsen <eriche@google.com>
2680
2681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2682 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2683 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2684 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2685 Update comments.
2686 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2687 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2688 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2689 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2690 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2691 * sysdeps/x86_64/multiarch/memset.S: Removed.
2692 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2693 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2694 (__memset_chk_erms): New function.
2695
2696 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2697
2698 * configure.ac(--enable-tunables): Enable by default.
2699 * configure: Regenerate.
2700 * NEWS: Mention change.
2701 * manual/install.texi (enable-tunables): Adjust documentation.
2702 * INSTALL: Regenerate.
2703
2704 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2705
2706 [BZ #18988]
2707 * benchtests/thread_create-inputs: New file.
2708 * benchtests/thread_create-source.c: Likewise.
2709 * support/xpthread_attr_setguardsize.c: Likewise.
2710 * support/Makefile (libsupport-routines): Add
2711 xpthread_attr_setguardsize object.
2712 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2713 * benchtests/Makefile (bench-pthread): Add thread_create.
2714 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2715 then mprotect the required area.
2716 (guard_position): New function.
2717 (setup_stack_prot): Likewise.
2718
2719 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2720 Erich Elsen <eriche@google.com>
2721 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2722
2723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2724 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2725 mempcpy_chk-nonshared and memmove_chk-nonshared.
2726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2727 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2728 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2729 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2730 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2731 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2732 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2733 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2734 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2735 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2736 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2737 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2738 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2739 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2740 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2741 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2742 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2743 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2744 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2745 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2746 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2747 (__mempcpy_chk_erms): New function.
2748 (__memmove_chk_erms): Likewise.
2749 (__memcpy_chk_erms): New alias.
2750
2751 2017-06-14 Florian Weimer <fweimer@redhat.com>
2752
2753 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2754 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2755
2756 2017-06-14 Zack Weinberg <zackw@panix.com>
2757
2758 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2759 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2760 defined, don't declare anything other than the E-constants.
2761
2762 * include/errno.h: Change conditional for exposing internal
2763 declarations to (not _ISOMAC and not __ASSEMBLER__).
2764 * bits/errno.h: Remove logic for __need_Emath. Document
2765 requirements for a port-specific bits/errno.h.
2766
2767 * sysdeps/unix/sysv/linux/bits/errno.h
2768 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2769 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2770 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2771 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2772 Add multiple-include guard and check against improper inclusion.
2773 Remove __need_Emath logic. Don't declare errno here. Ensure all
2774 constants are defined as simple integer literals. Consistent
2775 formatting.
2776 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2777 enum __error_t_codes if __ASSEMBLER__ is not defined.
2778 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2779
2780 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2781 including errno.h.
2782 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2783 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2784 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2785 * sysdeps/x86_64/fpu/s_cosf.S
2786 * sysdeps/x86_64/fpu/s_sincosf.S
2787 * sysdeps/x86_64/fpu/s_sinf.S:
2788 Just include errno.h; don't define __need_Emath or include
2789 bits/errno.h directly.
2790
2791 2017-06-14 Zack Weinberg <zackw@panix.com>
2792
2793 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2794 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2795 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2796
2797 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2798 for IOV_MAX.
2799 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2800 Don't install bits/uio.h.
2801 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2802 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2803 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2804
2805 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2806 and __need_IOV_MAX. Don't define IOV_MAX at all.
2807 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2808
2809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2810 Include bits/types/struct_iovec.h, not bits/uio.h.
2811 Use __ssize_t, not ssize_t, in function prototypes.
2812 Don't use hard TAB for double space after period in comments.
2813
2814 2017-06-14 Alan Modra <amodra@gmail.com>
2815
2816 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2817 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2818 refsym and sym parameters. Adjust callers.
2819 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2820 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2821 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2822 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2823 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2824 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2825 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2826 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2827 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2828 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2829 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2830 Likewise.
2831 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2832 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2833 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2836 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2837 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2838 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2839 (_dl_reloc_overflow): Increase buffser size. Formatting.
2840 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2841 Delete reloc param, add refsym and sym. Check optimized plt
2842 call stubs for localentry:0 functions. Adjust callers.
2843 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2844 and sym parameters. Adjust callers.
2845 (_dl_reloc_overflow): Move attribute.
2846 (_dl_error_localentry): Declare.
2847 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2848 refsym and sym to elf_machine_fixup_plt.
2849 * elf/testobj6.c (preload): Call printf.
2850
2851 2017-06-14 Alan Modra <amodra@gmail.com>
2852
2853 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2854 (NOPS, ENTRY_3): New macros.
2855 (ENTRY): Rewrite.
2856 (ENTRY_TOCLESS): Define.
2857 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2858 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2859 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2860 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2861 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2862 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2863 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2864 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2867 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2868 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2869 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2870 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2871 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2872 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2873 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2874 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2875 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2876 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2877 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2878 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2879 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2880 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2881 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2882 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2883 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2884 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2885 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2886 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2887 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2888 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2889 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2894 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2895 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2896 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2897 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2898 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2900 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2901 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2903 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2904 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2905 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2906 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2907 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2909 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2910 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2913 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2914 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2915 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2918 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2921 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2923 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2924 Likewise.
2925 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2927 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2928 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2929 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2930 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2931 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2932 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2933 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2936 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2937 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2938 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2939 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2940 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2941 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2943 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2944 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2946 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2947 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2948 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2949 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2950 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2951 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2952 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2954 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2955 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2956 add nop when SHARED.
2957 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2958 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2959 define.
2960 (ENTRY_TOCLESS): Define.
2961 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2962 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2963 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2964
2965 2017-06-14 Alan Modra <amodra@gmail.com>
2966
2967 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2968 MEMSET_is_local.
2969 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2970 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2971 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2972 Define MEMSET.
2973 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2974 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2975 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2976 nop after local calls.
2977 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2978 Don't add nop after local call.
2979 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2980 CALL_MCOUNT.
2981
2982 2017-06-14 Alan Modra <amodra@gmail.com>
2983
2984 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2985 (FUNC_LABEL): Rename from DOT_LABEL.
2986 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2987 Use .p2align rather than .align.
2988 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2989 (ABORT_TRANSACTION): Likewise.
2990 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2991 particularly at end. Add semicolon at invocation as necessary.
2992 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2993 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2994 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2995 END): Adjust to suit.
2996
2997 2017-06-14 Alan Modra <amodra@gmail.com>
2998
2999 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
3000 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
3001 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3002 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3003 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
3005 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
3006
3007 2017-06-14 Alan Modra <amodra@gmail.com>
3008
3009 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
3010 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
3011
3012 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
3013
3014 [BZ #21548]
3015 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
3016 8 and use it when copying general purpose registers.
3017 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
3018 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
3019 mips o32.
3020 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
3021 new test for mips o32.
3022 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
3023 8 and use it when copying general purpose registers.
3024 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
3025
3026 2017-06-13 Florian Weimer <fweimer@redhat.com>
3027
3028 * configure.ac (find_cxx_header): Suppress compiler error message.
3029
3030 2017-06-13 Florian Weimer <fweimer@redhat.com>
3031
3032 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
3033 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
3034 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
3035 begin/end.
3036 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
3037 dynarray_int_end.
3038 (test_str): Test dynarray_str_begin, dynarray_str_end.
3039
3040 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 [BZ #21573]
3043 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
3044 $(common-objpfx)bits/std_abs.h.
3045 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
3046 New target.
3047 * config.make.in (c++-bits-std_abs-h): New.
3048 * configure.ac (find_cxx_header): Use "\,$1," with sed.
3049 (CXX_BITS_STD_ABS_H): New.
3050 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
3051 * configure: Regenerated.
3052
3053 2017-06-13 Zack Weinberg <zackw@panix.com>
3054
3055 * posix/bits/cpu-set.h: Correct indentation of preprocessor
3056 directives.
3057
3058 2017-06-12 Zack Weinberg <zackw@panix.com>
3059
3060 * bits/sched.h: Remove __need_schedparam logic and replace with a
3061 normal multiple-include guard. Change field name in struct
3062 sched_param from __sched_priority to sched_priority. Delete
3063 everything under #ifndef __cpu_set_t_defined.
3064 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
3065 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
3066
3067 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
3068 For compatibility, #define sched_priority to itself, and #define
3069 __sched_priority as sched_priority.
3070 * posix/bits/cpu-set.h: New file containing, verbatim, the code
3071 that was under #ifndef __cpu_set_t_defined in
3072 sysdeps/unix/sysv/linux/bits/sched.h.
3073 * include/bits/cpu-set.h: New wrapper.
3074 * posix/Makefile: Install bits/cpu-set.h.
3075
3076 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3077 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3078 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3079
3080 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
3081 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
3082 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
3083 * math/libm-test-isfinite.inc (finite_test): Likewise.
3084 * math/libm-test-lgamma.inc (gamma_test): Likewise.
3085 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
3086 (nexttoward_test_data}: Likewise.
3087 * math/libm-test-remainder.inc (drem_test): Likewise.
3088 * math/libm-test-scalb.inc (scalb_test): Likewise.
3089 (scalb_test_data): Likewise.
3090 * math/libm-test-significand.inc (significand_test): Likewise.
3091 (significand_test_data): Likewise.
3092 * math/libm-test-support.c (check_complex): Replace __complex__
3093 FLOAT with CFLOAT to get the support for old compiler.
3094 * math/libm-test-support.h (check_complex): Likewise.
3095 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
3096 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
3097 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
3098 * math/test-float128.h: New file.
3099 * math/test-math-floatn.h: New file.
3100
3101 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3102
3103 * include/float.h: Allow the definition of macros prefixed with
3104 FLT128 even if _ISOMAC is defined, but provided that
3105 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
3106
3107 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3108
3109 * manual/math.texi (Mathematics): Add description for _FloatN and
3110 _FloatNx types and mentions that they are not support in glibc for
3111 any architecture, so far.
3112 * manual/arith.texi (wcstof, wcstold): Replace the mention to
3113 stdlib.h with wchar.h.
3114 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
3115 (Printing of Floats): Add description for strfromfN.
3116
3117 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3118 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3119 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3120
3121 * include/gmp.h (__mpn_construct_float128): New declaration.
3122 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
3123 (__strtof128_l): New declaration.
3124 (__strtof128_nan): Likewise.
3125 (__wcstof128_nan): Likewise.
3126 (__strtof128_internal): Likewise.
3127 (____strtof128_l_internal): Likewise.
3128 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
3129 (__wcstof128_l): New declaration.
3130 (__wcstof128_internal): Likewise.
3131
3132 * stdlib/Makefile (bug-strtod2): Link libm too.
3133
3134 * stdlib/stdlib.h (strtof128): New declaration.
3135 (strtof128_l): Likewise.
3136
3137 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
3138 tst-strtod.h macros to ensure float128 gets tested too.
3139
3140 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
3141
3142 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
3143 tests.
3144 (IF_FLOAT128): New macro.
3145 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
3146 the tests.
3147 (STRTOD_TEST_FOREACH): Likewise.
3148
3149 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3150 wcstof128 functions into libc.
3151
3152 * sysdeps/ieee754/float128/Versions: Add exports for the above
3153 new functions.
3154
3155 * sysdeps/ieee754/float128/mpn2float128.c: New file.
3156 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3157 * sysdeps/ieee754/float128/strtof128.c: New file.
3158 * sysdeps/ieee754/float128/strtof128_l.c: New file.
3159 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3160 * sysdeps/ieee754/float128/wcstof128.c: New file.
3161 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3162 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3163 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3164 (CFLAGS-wcstof128_l): Likewise.
3165
3166 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3167 (wcstof128): New declaration.
3168 (wcstof128_l): Likewise.
3169
3170 2017-06-12 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #21552]
3173 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3174 not [__USE_XOPEN].
3175 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3176
3177 [BZ #21550]
3178 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3179
3180 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3183 strcpy-sse2 and stpcpy-sse2.
3184 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3185 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3186 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3187 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3188 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3189 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3190 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3191 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3192 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3193 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3194 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3195 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3196 (libc_hidden_def): Always defined as empty.
3197 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3198 Always Defined as empty.
3199
3200 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3201
3202 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3203
3204 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3205
3206 [BZ #15105]
3207 [BZ #19463]
3208 * include/string.h: Add internal redirect for __stpcpy.
3209 * string/Makefile: Remove bits/string2.h.
3210 * string/string.h: Update comment.
3211 * string/string-inlines.c: Remove bits/string2.h include and comment.
3212 * string/bits/string2.h: Remove file.
3213
3214 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3215
3216 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3217 * sunrpc/clnt_gen.c (clnt_create): Likewise.
3218 * sunrpc/des_impl.c (_des_crypt): Likewise.
3219 * sunrpc/key_call.c (key_gendes): Likewise.
3220 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3221 * sunrpc/svc_simple.c (universal): Likewise.
3222 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3223 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3224 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3225
3226 2017-06-10 Zack Weinberg <zackw@panix.com>
3227
3228 * stdlib/errno.h: Correct an outdated comment.
3229
3230 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
3231
3232 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3233 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3234 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3235 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3236 New file. Invoke newly supported sysconf values for powerpc,
3237 and report results. If none are supported, report so.
3238 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
3239 tst-sysconf.
3240
3241 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3242
3243 * include/sys/auxv.h (__getauxval): Add a prototype and its
3244 libc_hidden_proto.
3245 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3246
3247 2017-06-09 Joseph Myers <joseph@codesourcery.com>
3248
3249 [BZ #21561]
3250 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3251 [__USE_XOPEN_EXTENDED].
3252 (id_t): Likewise.
3253 (include of <bits/types/siginfo_t.h): Likewise.
3254 (waitid): Likewise.
3255 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3256 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3257 (WEXITED): Likewise.
3258 (WCONTINUED): Likewise.
3259 (WNOWAIT): Likewise.
3260 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3261 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3262 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3263
3264 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3265 libc.so PLT entry optional.
3266 (__gtsf2): Likewise.
3267 (__unorddf2): Likewise.
3268 (__unordsf2): Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3270 New optional libc.so PLT entry.
3271
3272 [BZ #21554]
3273 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3274 not [__USE_XOPEN].
3275
3276 [BZ #21560]
3277 * posix/sys/wait.h: Condition include of <signal.h> on
3278 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
3279 unconditionally.
3280 [!__pid_t_defined] (pid_t): Define typedef.
3281
3282 2017-06-09 Zack Weinberg <zackw@panix.com>
3283
3284 * include/errno.h (__errno_location): Use __attribute_const__
3285 instead of bare __attribute__.
3286
3287 2017-06-09 Zack Weinberg <zackw@panix.com>
3288
3289 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3290 (common-generated): Add libc-modules.h and libc-modules.stmp in a
3291 more appropriate location. Also add dl-tunable-list.h and
3292 dl-tunable-list.stmp.
3293
3294 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3295
3296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3297
3298 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3301 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3303 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3304 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3305 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3306 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3307 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3308 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3309 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3310 * sysdeps/x86_64/multiarch/wcsrchr.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 memrchr-sse2 and memrchr-avx2.
3316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3317 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3318 __memrchr_sse2.
3319 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3320 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3321 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3322
3323 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3324
3325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3326 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3327 wcschr-sse2 and wcschr-avx2.
3328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3329 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3330 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3331 __wcschr_sse2.
3332 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3333 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3334 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3335 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3336 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3337 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3338 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3339 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3340 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3341 * sysdeps/x86_64/multiarch/strchr.S: Removed.
3342
3343 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3344
3345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3346 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3347 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3349 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3350 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3351 __wcslen_sse2 and __wcsnlen_avx2.
3352 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3353 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3354 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3355 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3356 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3357 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3358 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3359 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3360 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3361 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3362 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3363 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3364 vzeroupper is preferred and AVX unaligned load is fast.
3365
3366 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3369 USE_AS_WMEMCHR is defined.
3370 (PCMPEQ): Likewise.
3371 (memchr): Renamed to ...
3372 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3373 Replace pcmpeqb with PCMPEQ.
3374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3375 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3376 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3377 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3378 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3379 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3380 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3381 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3382 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3383 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3384 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3385 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3386 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3388 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3389 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3390 __wmemchr_sse2.
3391
3392 2017-06-09 Florian Weimer <fweimer@redhat.com>
3393
3394 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3395 tst-dynarray-fail.
3396
3397 2017-06-09 Florian Weimer <fweimer@redhat.com>
3398
3399 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3400 * support/support_test_verify_impl.c
3401 (support_test_verify_exit_impl): Split from
3402 support_test_verify_impl.
3403 * support/check.h (TEST_VERIFY): Drop status argument from
3404 support_test_verify_impl call.
3405 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3406 (support_test_verify_impl): Remove status argument.
3407 (support_test_verify_exit_impl): Declare.
3408
3409 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3410
3411 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3412 mention of magic numbers in comments.
3413 (_dl_procinfo): Fix undefined behavior
3414
3415 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3416
3417 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3418 [XPG4].
3419 (WEXITED): Likewise.
3420 (WSTOPPED): Likewise.
3421 (WCONTINUED): Likewise.
3422 (WNOHANG): Likewise.
3423 (WNOWAIT): Likewise.
3424 (idtype_t): Likewise.
3425 (P_ALL): Likewise.
3426 (P_PID): Likewise.
3427 (P_PGID): Likewise.
3428 (id_t): Likewise.
3429 (siginfo_t): Likewise.
3430 (wait3): Likewise.
3431 (waitid): Likewise.
3432 (signal.h): Do not allow header for [XPG4].
3433 (sys/resource.h): Likewise.
3434 (si_*): Do not allow for [XPG4].
3435 (W*): Likewise.
3436 (P_*): Likewise.
3437 (BUS_): Likewise.
3438 (CLD_): Likewise.
3439 (FPE_): Likewise.
3440 (ILL_): Likewise.
3441 (POLL_): Likewise.
3442 (SEGV_): Likewise.
3443 (SI_): Likewise.
3444 (TRAP_): Likewise.
3445 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3446 variable.
3447
3448 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 [BZ #21528]
3451 * elf/dl-minimal.c (__strtoul_internal): Removed.
3452 (strtoul): Likewise.
3453 * elf/dl-misc.c (_dl_strtoul): New function.
3454 * elf/dl-tunables.c (tunables_strtoul): Removed.
3455 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3456 * elf/rtld.c (process_envvars): Likewise.
3457 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3458 Likewise.
3459 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3460
3461 2017-06-08 Zack Weinberg <zackw@panix.com>
3462
3463 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3464 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3465 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3466 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3467 between wctype.h and wchar.h.
3468
3469 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3470 Install them.
3471
3472 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3473 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3474 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3475 New wrappers.
3476 * include/stdio.h, include/wchar.h, include/wctype.h:
3477 No need to handle __need macros.
3478
3479 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3480 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3481 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3482 * wcsmbs/wchar.h, wctype/wctype.h
3483 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3484 Use the new files instead of __need macros.
3485
3486 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3487
3488 * string/test-memrchr.c (test_main): Add tests for len == 0
3489 and tests for positions close to the beginning, which are
3490 equivalent to positions close to the end for memchr.
3491
3492 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3493
3494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3495 comments.
3496 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3497 instead of wmemset.h.
3498 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3499 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3500 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3501
3502 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3503
3504 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3505 spec->info.is_binary128 to zero.
3506 * stdio-common/printf.h (printf_info): Add new member is_binary128
3507 to indicate that the number being converted to string is compatible
3508 with the IEC 60559 binary128 format.
3509 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3510 _Float128 numbers.
3511 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3512 ldbl-128/printf_fphex_macros.h
3513 (__printf_fphex): Add code to deal with _Float128 numbers.
3514 * stdio-common/printf_size.c (__printf_size): Likewise.
3515 * stdio-common/vfprintf.c (process_arg): Initialize member
3516 info.is_binary128 to zero.
3517 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3518 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3519 (strfromf128): New declaration.
3520 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3521 to one.
3522 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3523 * sysdeps/ieee754/float128/Versions: Likewise.
3524 * sysdeps/ieee754/float128/strfromf128.c: New file.
3525
3526 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3527
3528 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3529 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3530 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3531 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3532 (PRINT_FPHEX): New function-like macro that can be used for long
3533 double, as well as for _Float128
3534
3535 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3536
3537 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3538 (__printf_fp_l): Use the new macro to avoid duplicating code.
3539 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3540 (__printf_fphex): Use the new macro to avoid duplicating code.
3541 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3542 (__printf_size): Use the new macro to avoid duplicating code.
3543
3544 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3545
3546 * include/gmp.h: Include bits/floatn.h
3547 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3548 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3549 including stack-alloc.h. It could have been defined by other header
3550 which not necessarily defines HAVE_ALLOCA.
3551 * sysdeps/ieee754/float128/Makefile: New file.
3552 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3553 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3554 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3555 redefine __mpn_extract_long_double to __mpn_extract_float128.
3556 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3557 _Float128 to allow float128_private.h overrides.
3558
3559 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3560
3561 * stdlib/fpioconst.h: Include bits/floatn.h.
3562 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3563 power of ten table should be.
3564 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3565 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3566 to include larger tables when _Float128 support is enabled.
3567 (_fpioconst_pow10): Likewise.
3568
3569 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3570
3571 * include/bits/types/clock_t.h: Use #include <path> instead of
3572 #include "../../path".
3573 * include/bits/types/clockid_t.h: Likewise.
3574 * include/bits/types/struct_iovec.h: Likewise.
3575 * include/bits/types/struct_itimerspec.h: Likewise.
3576 * include/bits/types/struct_osockaddr.h: Likewise.
3577 * include/bits/types/struct_sigstack.h: Likewise.
3578 * include/bits/types/struct_timespec.h: Likewise.
3579 * include/bits/types/struct_timeval.h: Likewise.
3580 * include/bits/types/struct_tm.h: Likewise.
3581 * include/bits/types/time_t.h: Likewise.
3582 * include/bits/types/timer_t.h: Likewise.
3583
3584 [BZ #14096]
3585 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3586 America/New_York.
3587
3588 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3591 into ...
3592 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3593 ifunc-sse4_1.h.
3594
3595 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3596
3597 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3598 Remove check for NULL 'buf'.
3599 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3600
3601 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3602
3603 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3604 include test-skeleton.c.
3605 Include support/check.h and support/test-driver.c.
3606
3607 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3608
3609 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3610 (_dl_aarch64_cap_flags): New array.
3611 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3612 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3613 functions.
3614
3615 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3616 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3617 Likewise.
3618 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3619 up hwcap and hwcap_mask.
3620
3621 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3622 (init_cpu_features): Use glibc.tune.hwcap_mask.
3623 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3624
3625 * elf/dl-hwcaps.h: New file.
3626 * elf/dl-hwcaps.c: Include it.
3627 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3628 glibc.tune.hwcap_mask.
3629 * elf/dl-cache.c: Include dl-hwcaps.h.
3630 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3631 glibc.tune.hwcap_mask.
3632 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3633 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3634 _dl_hwcap_mask.
3635 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3636 _dl_hwcap_mask.
3637 (process_envvars)[HAVE_TUNABLES]: Likewise.
3638 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3639 Likewise.
3640 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3641 initialize dl_hwcap_mask when tunables are enabled.
3642
3643 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3644 guard.
3645 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3646
3647 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3648 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3649 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3650
3651 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3652 * elf/dl-tunables.c: Likewise.
3653 (do_tunable_update_val): New function.
3654 (__tunable_set_val): New function.
3655 (__tunable_get_val): Call CB only if the tunable was externally
3656 initialized.
3657 (tunables_strtoul): Replace strval with initialized.
3658 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3659 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3660 prevent collision.
3661 (__tunable_set_val): New function.
3662 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3663 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3664 (TUNABLE_SET_VAL): Remove.
3665 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3666 * README.tunables: Document the new macros.
3667 * malloc/arena.c (ptmalloc_init): Adjust.
3668
3669 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3670
3671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3672 wcsnlen-sse4_1 and wcsnlen-c.
3673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3674 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3675 __wcsnlen_sse2.
3676 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3677 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3678 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3679 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3680 * sysdeps/x86_64/wcsnlen.S: Removed.
3681
3682 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3683
3684 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3685 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3686 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3687 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3688
3689 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3690
3691 * NEWS: Mention new spinlock implementation.
3692 * include/atomic.h:
3693 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3694 (atomic_exchange_acq): Likewise.
3695 (atomic_load_relaxed): Likewise.
3696 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3697 * nptl/pthread_spin_init.c (pthread_spin_init):
3698 Use atomic_store_relaxed.
3699 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3700 Use C11-like atomic macros.
3701 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3702 Likewise.
3703 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3704 Use atomic_store_release.
3705 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3706 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3707 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3708 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3709 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3710 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3711 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3712 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3713 * sysdeps/alpha/atomic-machine.h: Likewise.
3714 * sysdeps/arm/atomic-machine.h: Likewise.
3715 * sysdeps/i386/atomic-machine.h: Likewise.
3716 * sysdeps/ia64/atomic-machine.h: Likewise.
3717 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3718 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3719 * sysdeps/microblaze/atomic-machine.h: Likewise.
3720 * sysdeps/mips/atomic-machine.h: Likewise.
3721 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3722 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3723 * sysdeps/s390/atomic-machine.h: Likewise.
3724 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3725 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3726 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3727 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3728 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3729 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3730 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3731 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3732 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3733 * sysdeps/x86_64/atomic-machine.h: Likewise.
3734
3735 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3736
3737 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3738 and use it instead of dl_x86_cpu_features.
3739 (handle_intel): Replace maxidx with cpu_features. Pass
3740 cpu_features to intel_check_word.
3741 (__cache_sysconf): Pass cpu_features to handle_intel.
3742 (init_cacheinfo): Likewise. Use cpu_features instead of
3743 dl_x86_cpu_features.
3744
3745 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3746
3747 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3749 memcmp-avx2 and wmemcmp-avx2.
3750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3751 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3752 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3753 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3754 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3755 2 machines if AVX unaligned load is fast and vzeroupper is
3756 preferred.
3757 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3758 2 machines if AVX unaligned load is fast and vzeroupper is
3759 preferred.
3760
3761 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3762
3763 * include/wchar.h (__wmemset_chk): New.
3764 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3765 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3766 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3767 (WMEMSET_CHK_SYMBOL): Likewise.
3768 (WMEMSET_SYMBOL): Likewise.
3769 (__wmemset): Add hidden definition.
3770 (wmemset): Add weak hidden definition.
3771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3772 wmemset_chk-nonshared.
3773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3774 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3775 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3776 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3777 and __wmemset_chk_avx512_unaligned.
3778 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3779 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3780 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3781 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3782 (WMEMSET_SYMBOL): Likewise.
3783 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3784 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3785 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3786 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3787 (WMEMSET_SYMBOL): Likewise.
3788 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3789 (WMEMSET_CHK_SYMBOL): New.
3790 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3791 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3792 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3793 (libc_hidden_builtin_def): Also define __GI_wmemset and
3794 __GI___wmemset.
3795 (weak_alias): New.
3796 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3797 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3798 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3799 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3800 * sysdeps/x86_64/wmemset.c: Likewise.
3801 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3802
3803 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3804 H.J. Lu <hongjiu.lu@intel.com>
3805
3806 * sysdeps/x86/init-arch.h (PASTER1): New.
3807 (EVALUATOR1): Likewise.
3808 (PASTER2): Likewise.
3809 (EVALUATOR2): Likewise.
3810 (REDIRECT_NAME): Likewise.
3811 (OPTIMIZE): Likewise.
3812 (IFUNC_SELECTOR): Likewise.
3813
3814 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 * sysdeps/x86_64/strlen.S (PMINU): New.
3817 (PCMPEQ): Likewise.
3818 (SHIFT_RETURN): Likewise.
3819 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3820 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3821 pminub with PCMPEQ and PMINU.
3822 * sysdeps/x86_64/wcsnlen.S: New file.
3823
3824 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3825
3826 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3827 the lower 32 bits. Remove redundant instructions.
3828
3829 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3832 0 as the high part of offset.
3833 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3834
3835 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3836
3837 [BZ #21538]
3838 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3839 [__USE_UNIX98].
3840 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3841 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3842 Likewise.
3843 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3844 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3845 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3846 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3847 Likewise.
3848
3849 [BZ #21517]
3850 * bits/types/stack_t.h (stack_t): Remove struct tag.
3851 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3854 Likewise.
3855 * debug/segfault.c (install_handler): Use stack_t instead of
3856 struct sigaltstack.
3857 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3858 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3859 * include/signal.h (__sigaltstack): Likwise.
3860 * signal/sigaltstack.c (__sigaltstack): Likewise.
3861 * signal/signal.h (sigaltstack): Likewise.
3862 * sysdeps/mach/hurd/i386/signal-defines.sym
3863 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3864 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3865 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3866 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3867 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3868 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3869 elf_prstatus): Likewise.
3870 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3871 Likewise.
3872 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3873 Likewise.
3874 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3875 Likewise.
3876 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3877 elf_prstatus): Likewise.
3878 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3879 Likewise.
3880 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3881 Likewise.
3882
3883 2017-06-04 Zack Weinberg <zackw@panix.com>
3884
3885 * sysdeps/gnu/errlist.c: Regenerate.
3886
3887 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3888
3889 * benchtests/bench-memchr.c (do_test): Print out both length
3890 and position.
3891 (test_main): Also test the position close to the beginning for
3892 memrchr.
3893
3894 2017-06-04 Zack Weinberg <zackw@panix.com>
3895
3896 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3897 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3898 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3899 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3900 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3901 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3902 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3903 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3904 * nis/nis_print_group_entry.c, nis/nis_remove.c
3905 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3906 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3907 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3908 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3909 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3910 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3911 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3912 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3913 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3914 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3915 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3916 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3917 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3918 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3919 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3920 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3921 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3922 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3923 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3924 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3925
3926 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3927 abi-versions.h as well as shlib-compat.h.
3928 * sunrpc/get_myaddr.c: Remove obsolete comment.
3929 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3930 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3931 * resolv/res_libc.c: Include shlib-compat.h only once.
3932
3933 2017-06-03 Florian Weimer <fweimer@redhat.com>
3934
3935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3936 of strdup.
3937
3938 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3939
3940 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3941 Set to the 3/4 of the total shared cache size.
3942
3943 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3944
3945 * manual/errno.texi: Remove redundant error strings.
3946 * manual/macros.texi (@errno): Render the error string in every
3947 description.
3948
3949 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3950
3951 [BZ #21543]
3952 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3953 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3954 [__USE_XOPEN_EXTENDED].
3955
3956 2017-06-02 Florian Weimer <fweimer@redhat.com>
3957
3958 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3959 strdupa.
3960 (getcanonname): Use __strdup instead of strdup.
3961
3962 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3963
3964 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3965 (CFLAGS-preadv64v2.c): Likewise.
3966 (CFLAGS-pwritev2.c): Likewise.
3967 (CFLAGS-pwritev64v2.c): Likewise.
3968
3969 2017-06-02 Florian Weimer <fweimer@redhat.com>
3970
3971 Test res_init with several configuration files.
3972 * resolv/Makefile [build-shared] (tests-internal): Add
3973 tst-resolv-res_init, tst-resolv-res_init-thread.
3974 (tst-resolv-res_init): Link against libdl, libresolv.
3975 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3976 libpthread.
3977 * resolv/tst-resolv-res_init.c: New file.
3978 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3979 * resolv/tst-resolv-res_init-thread.c: Likewise.
3980 * support/Makefile (libsupport-routines): Add support-xstat,
3981 support_can_chroot, support_capture_subprocess_check,
3982 support_isolate_in_subprocess, support_shared_allocate,
3983 support_write_file_string, xchroot, xmkdir, xopen.
3984 * support/capture_subprocess.h (enum support_capture_allow): Define.
3985 (support_capture_subprocess_check): Declare.
3986 * support/namespace.h (support_can_chroot)
3987 (support_isolate_in_subprocess): Declare.
3988 * support/support-xstat.c: New file.
3989 * support/support.h (support_shared_allocate, support_shared_free)
3990 (support_write_file_string): Declare.
3991 * support/support_can_chroot.c: New file.
3992 * support/support_capture_subprocess_check.c: Likewise.
3993 * support/support_isolate_in_subprocess.c: Likewise.
3994 * support/support_shared_allocate.c: Likewise.
3995 * support/support_write_file_string.c: Likewise.
3996 * support/xchroot.c: Likwise.
3997 * support/xmkdir.c: Likwise.
3998 * support/xopen.c: Likwise.
3999 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
4000
4001 2017-06-02 Florian Weimer <fweimer@redhat.com>
4002
4003 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
4004 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
4005
4006 2017-06-02 Florian Weimer <fweimer@redhat.com>
4007
4008 * malloc/Makefile (routines): Add dynarray_at_failure,
4009 dynarray_emplace_enlarge, dynarray_finalize.
4010 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
4011 tst-dynarray-at-fail.
4012 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
4013 (tests-special): Add tst-dynarray-mem.out,
4014 tst-dynarray-mem-fail.out.
4015 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
4016 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
4017 mtrace.
4018 * malloc/Versions (__libc_dynarray_at_failure)
4019 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
4020 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
4021 GLIBC_PRIVATE.
4022 * malloc/dynarray.h: New file.
4023 * malloc/dynarray-skeleton.c: Likewise.
4024 * malloc/dynarray_at_failure.c: Likewise.
4025 * malloc/dynarray_emplace_enlarge.c: Likewise.
4026 * malloc/dynarray_finalize.c: Likewise.
4027 * malloc/dynarray_resize.c: Likewise.
4028 * malloc/dynarray_resize_clear.c: Likewise.
4029 * malloc/tst-dynarray.c: Likewise.
4030 * malloc/tst-dynarray-fail.c: Likewise.
4031 * malloc/tst-dynarray-at-fail.c: Likewise.
4032 * malloc/tst-dynarray-shared.h: Likewise.
4033 * support/Makefile (libsupport-routines): Add
4034 support_capture_subprocess, xdup2, xpipe.
4035 (tests): Add tst-support_capture_subprocess.
4036 * support/capture_subprocess.h: New file.
4037 * support/support_capture_subprocess.c: Likewise.
4038 * support/tst-support_capture_subprocess.c: Likewise.
4039 * support/xdup2.c: Likewise.
4040 * support/xpipe.c: Likewise.
4041 * support/xunistd.h (xdup2, xpipe): Declare.
4042
4043 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4044
4045 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
4046 macros MAX and MIN.
4047
4048 2017-06-01 Joseph Myers <joseph@codesourcery.com>
4049
4050 * conform/data/signal.h-data (sa_sigaction): Do not expect for
4051 [XPG4].
4052 (SA_SIGINFO): Likewise.
4053 (SA_ONSTACK): Likewise.
4054 (SA_RESETHAND): Likewise.
4055 (SA_RESTART): Likewise.
4056 (SA_NOCLDWAIT): Likewise.
4057 (SA_NODEFER): Likewise.
4058 (SS_ONSTACK): Likewise.
4059 (SS_DISABLE): Likewise.
4060 (MINSIGSTKSZ): Likewise.
4061 (SIGSTKSZ): Likewise.
4062 (ucontext_t): Likewise.
4063 (stack_t): Likewise.
4064 (struct sigstack): Likewise.
4065 (SI_USER): Do not expect for [XPG4 || XPG42].
4066 (SI_QUEUE): Likewise.
4067 (SI_TIMER): Likewise.
4068 (SI_ASYNCIO): Likewise.
4069 (SI_MESGQ): Likewise.
4070 (bsd_signal): Do not expect for [XPG4].
4071 (killpg): Likewise.
4072 (sigaltstack): Likewise.
4073 (sighold): Likewise.
4074 (sigignore): Likewise.
4075 (siginterrupt): Likewise.
4076 (sigpause): Likewise.
4077 (sigrelse): Likewise.
4078 (sigset): Likewise.
4079 (sigwait): Do not expect for [XPG4 || XPG42].
4080
4081 2017-06-01 Zack Weinberg <zackw@panix.com>
4082
4083 [BZ #21514]
4084 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
4085 pointing to the generated file in <builddir>/misc/bits/syscall.h.
4086
4087 2017-06-01 Joseph Myers <joseph@codesourcery.com>
4088
4089 [BZ #21457]
4090 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
4091 NGREG to __NGREG if [__USE_MISC].
4092 (gregset_t): Define using __NGREG.
4093 (__ctx): New macro.
4094 (mcontext_t): Use __ctx in defining fields.
4095 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
4096 define NGREG to __NGREG if [__USE_MISC].
4097 (gregset_t): Define using __NGREG.
4098 (__ctx): New macro.
4099 (__ctxt): Likewise.
4100 (fpregset_t): Use __ctx and __ctxt in defining fields.
4101 (mcontext_t): Likewise.
4102 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
4103 define NGREG to __NGREG if [__USE_MISC].
4104 (gregset_t): Define using __NGREG.
4105 (__ctx): New macro.
4106 (mcontext_t): Use __ctx in defining fields.
4107 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
4108 define NGREG to __NGREG if [__USE_MISC].
4109 (gregset_t): Define using __NGREG.
4110 (__ctx): New macro.
4111 (fpregset_t): Use __ctx in defining fields.
4112 (mcontext_t): Likewise.
4113 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
4114 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4115 (gregset_t): Define using __NGREG.
4116 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4117 [__USE_MISC].
4118 (fpregset_t): Define using __NFPREG.
4119 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
4120 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4121 (gregset_t): Define using __NGREG.
4122 (__ctx): New macro.
4123 (fpregset_t): Use __ctx in defining fields.
4124 (mcontext_t): Likewise.
4125 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
4126 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4127 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4128 [__USE_MISC].
4129 (gregset_t): Define using __NGREG.
4130 (__ctx): New macro.
4131 (fpregset_t): Use __ctx in defining fields.
4132 (mcontext_t): Likewise.
4133 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
4134 (mcontext_t): Use __ctx in defining fields.
4135 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
4136 macro.
4137 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
4138 __NGREG if [__USE_MISC].
4139 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
4140 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
4141 (mcontext_t): Likewise.
4142 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
4143 __NGREG if [__USE_MISC].
4144 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
4145 to __NFPREG if [__USE_MISC].
4146 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
4147 to __NVRREG if [__USE_MISC].
4148 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
4149 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4150 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4151 [__WORDSIZE != 32] (vrregset_t): Likewise.
4152 [__WORDSIZE != 32] (mcontext_t): Likewise.
4153 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4154 (__psw_t): Use __ctx in defining fields.
4155 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4156 [__USE_MISC].
4157 (gregset_t): Define using __NGREG.
4158 (fpreg_t): Use __ctx in defining fields.
4159 (fpregset_t): Likewise.
4160 (mcontext_t): Likewise.
4161 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4162 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4163 (gregset_t): Define using __NGREG.
4164 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4165 [__USE_MISC].
4166 (fpregset_t): Define using __NFPREG.
4167 (__ctx): New macro.
4168 (mcontext_t): Use __ctx in defining fields.
4169 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4170 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4171 __NGREG if [__USE_MISC].
4172 [__x86_64__] (gregset_t): Define using __NGREG.
4173 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4174 [__x86_64__] (struct _libc_fpstate): Likewise.
4175 [__x86_64__] (mcontext_t): Likewise.
4176 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4177 __NGREG if [__USE_MISC].
4178 [!__x86_64__] (gregset_t): Define using __NGREG.
4179 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4180 [!__x86_64__] (struct _libc_fpstate): Likewise.
4181 [!__x86_64__] (mcontext_t): Likewise.
4182
4183 2017-06-01 Zack Weinberg <zackw@panix.com>
4184
4185 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4186 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
4187 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4188 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4189 libpthread.so no longer references __errno_location.
4190
4191 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4192
4193 * NEWS: Add note about pwritev2 and preadv2 inclusion.
4194 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4195 pwritev64v2.
4196 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4197 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4198 pwritev64v2.
4199 * misc/preadv2.c: New file.
4200 * misc/preadv64v2.c: Likewise.
4201 * misc/pwritev2.c: Likewise.
4202 * misc/pwritev64v2.c: Likewise.
4203 * misc/tst-preadvwritev2.c: Likewise.
4204 * misc/tst-preadvwritev64v2.c: Likewise.
4205 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4206 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4207 prototype.
4208 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4209 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4210 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4211 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4212 (PWRITEV): Likewise.
4213 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4214 ENOSYS.
4215 * nptl/tst-cancel4.c (tf_pwritev2): New test.
4216 (tf_preadv2): Likewise.
4217 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4218 * sysdeps/posix/preadv2.c: Likewise.
4219 * sysdeps/posix/preadv64v2.c: Likewise.
4220 * sysdeps/posix/pwritev2.c: Likewise.
4221 * sysdeps/posix/pwritev64v2.c: Likewise.
4222 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4223 support in kernel.
4224 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4225 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4226 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4227 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4228 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4229 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4230 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4231 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4232 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4233 support flags on Linux.
4234 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4235 preadv2, preadv64v2, pwritev2, pwritev64v2.
4236 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4237 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4238 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4239 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4240 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4241 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4242 Likewise.
4243 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4244 Likewise.
4245 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4246 Likewise.
4247 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4248 Likewise.
4249 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4250 Likewise.
4251 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4252 Likewise.
4253 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4254 Likewise.
4255 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4257 (GLIBC_2.26): Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4259 (GLIBC_2.26): Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4261 Likewise.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4263 (GLIBC_2.26): Likewise.
4264 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4265 Likewise.
4266 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4267 Likewise.
4268 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4269 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4272 Likewise.
4273 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4274 Likewise.
4275 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4276 Likewise.
4277 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4278 Likewise.
4279 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4280 Likewise.
4281 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4282 Likewise.
4283
4284 2017-05-31 Andreas Schwab <schwab@suse.de>
4285
4286 * nptl/tst-fork3.c: Include <support/test-driver.c>.
4287 (main): Rename to do_test and make static.
4288
4289 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4290
4291 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4292 ARCH_INIT_CPU_FEATURES.
4293 (LIBC_START_MAIN): Call it.
4294 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4295 (__libc_start_main): Remove.
4296 (ARCH_INIT_CPU_FEATURES): New macro.
4297 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4298 (ARCH_INIT_CPU_FEATURES): New macro.
4299
4300 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
4301 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4302
4303 * include/stdlib.h (__libc_reallocarray): New declaration.
4304 * malloc/Makefile (routines): Add reallocarray.
4305 (tests): Add tst-reallocarray.c.
4306 * malloc/Versions: Add reallocarray and __libc_reallocarray.
4307 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4308 function.
4309 * malloc/malloc.h (reallocarray): New declaration.
4310 * stdlib/stdlib.h (reallocarray): Likewise.
4311 * malloc/reallocarray.c: New file.
4312 * malloc/tst-reallocarray.c: New test file.
4313 * manual/memory.texi: Document reallocarray.
4314 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4315 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4316 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4317 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4318 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4319 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4320 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4321 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4323 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4324 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4325 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4326 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4327 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4329 Likewise.
4330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4331 Likewise.
4332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4334 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4335 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4336 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4337 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4338 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4341 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4344
4345 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
4346
4347 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4348 the lower 32 bits.
4349
4350 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
4351
4352 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4353 $(build-pie-default) = yes]: Define.
4354
4355 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4356
4357 * string/test-memchr.c (test_main): Add tests for n == 0.
4358
4359 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4360
4361 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4362 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4363 (tests-internal): ... here.
4364
4365 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4366 H.J. Lu <hongjiu.lu@intel.com>
4367
4368 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4369 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4370 (__tunable_set_val): Likewise.
4371
4372 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4375 dl-tunables.list in subdirectories.
4376
4377 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4378 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4379 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4380
4381 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4382 (SNANF128): New macro.
4383 * math/e_sqrtf128.c: New file.
4384 * math/s_fmaxmag_template.c: Include math_private.h in order to
4385 make inline expansion of fabs128().
4386 * math/s_fminmag_template.c: Likewise.
4387
4388 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4389 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4390 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4391 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4392 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4393 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4394 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4395 * sysdeps/ieee754/float128/e_expf128.c: New file.
4396 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4397 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4398 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4399 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4400 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4401 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4402 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4403 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4404 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4405 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4406 * sysdeps/ieee754/float128/e_logf128.c: New file.
4407 * sysdeps/ieee754/float128/e_powf128.c: New file.
4408 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4409 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4410 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4411 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4412 * sysdeps/ieee754/float128/float128_private.h: New file.
4413 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4414 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4415 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4416 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4417 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4418 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4419 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4420 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4421 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4422 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4423 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4424 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4425 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4426 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4427 * sysdeps/ieee754/float128/s_erff128.c: New file.
4428 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4429 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4430 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4431 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4432 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4433 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4434 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4435 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4436 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4437 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4438 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4439 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4440 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4441 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4442 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4443 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4444 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4445 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4446 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4447 * sysdeps/ieee754/float128/s_modff128.c: New file.
4448 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4449 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4450 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4451 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4452 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4453 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4454 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4455 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4456 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4457 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4458 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4459 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4460 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4461 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4462 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4463 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4464 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4465 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4466 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4467 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4468 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4469 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4470 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4471 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4472 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4473
4474 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4475 (__iscanonicalf128): Define as a macro.
4476
4477 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4478
4479 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4480 (memmove): Use MEMMOVE for name.
4481 (memcpy): Use MEMCPY for name. Change internal labels
4482 to external labels.
4483 * sysdeps/aarch64/multiarch/Makefile: New file.
4484 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4485 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4486 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4487 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4488 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4489 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4490
4491 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4492
4493 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4494 (_dl_arm_cap_flags): Fix array subscript.
4495 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4496 Fix count.
4497
4498 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4499
4500 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4501
4502 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4503
4504 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4505 (is_amd): Likewise.
4506 (max_cpuid): Likewise.
4507 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4508 (init_cacheinfo): Likewise.
4509
4510 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4511
4512 [BZ #21511]
4513 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4514 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4515 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4516 !__USE_XOPEN2K) || __USE_MISC].
4517 * conform/data/signal.h-data (struct sigstack): Expect type only
4518 if [!XOPEN2K8 && !POSIX2008].
4519 (sigstack): Expect function only if [XPG42 || UNIX98].
4520
4521 [BZ #21457]
4522 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4523 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4524 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4525 <bits/types/__sigset_t.h>.
4526 (ucontext_t): Use sigset_t instead of __sigset_t.
4527 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4528 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4529 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4530 <bits/types/__sigset_t.h>.
4531 (ucontext_t): Use sigset_t instead of __sigset_t.
4532 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4533 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4534 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4535 <bits/types/__sigset_t.h>.
4536 (ucontext_t): Use sigset_t instead of __sigset_t.
4537 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4538 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4539 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4540 <bits/types/__sigset_t.h>.
4541 (ucontext_t): Use sigset_t instead of __sigset_t.
4542 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4543 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4544 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4545 <bits/types/__sigset_t.h>.
4546 (ucontext_t): Use sigset_t instead of __sigset_t.
4547 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4548 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4549 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4550 <bits/types/__sigset_t.h>.
4551 (ucontext_t): Use sigset_t instead of __sigset_t.
4552 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4553 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4554 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4555 <bits/types/__sigset_t.h>.
4556 (ucontext_t): Use sigset_t instead of __sigset_t.
4557 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4558 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4559 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4560 <bits/types/__sigset_t.h>.
4561 (ucontext_t): Use sigset_t instead of __sigset_t.
4562 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4563 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4564 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4565 <bits/types/__sigset_t.h>.
4566 (ucontext_t): Use sigset_t instead of __sigset_t.
4567 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4568 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4569 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4570 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4571 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4572 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4573 <bits/types/__sigset_t.h>.
4574 (ucontext_t): Use sigset_t instead of __sigset_t.
4575 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4576 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4577 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4578 <bits/types/__sigset_t.h>.
4579 (ucontext_t): Use sigset_t instead of __sigset_t.
4580 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4581 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4582 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4583 <bits/types/__sigset_t.h>.
4584 (ucontext_t): Use sigset_t instead of __sigset_t.
4585 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4586 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4587 <bits/ss_flags.h>.
4588 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4589 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4590 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4591 <bits/types/__sigset_t.h>.
4592 (ucontext_t): Use sigset_t instead of __sigset_t.
4593 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4594 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4595 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4596 <bits/types/__sigset_t.h>.
4597 (ucontext_t): Use sigset_t instead of __sigset_t.
4598 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4599 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4600 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4601 <bits/types/__sigset_t.h>.
4602 (ucontext_t): Use sigset_t instead of __sigset_t.
4603 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4604 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4605 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4606 <bits/types/__sigset_t.h>.
4607 (ucontext_t): Use sigset_t instead of __sigset_t.
4608 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4609 <bits/types.h>.
4610 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4611 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4612 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4613 <bits/types/__sigset_t.h>.
4614 (ucontext_t): Use sigset_t instead of __sigset_t.
4615
4616 2017-05-22 Zack Weinberg <zackw@panix.com>
4617
4618 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4619 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4620 bits/siginfo-arch.h, only if not already defined.
4621 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4622 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4623 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4624 Likewise.
4625
4626 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4627 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4629 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4630 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4631 Unconditionally define __SI_* macros.
4632
4633 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4634
4635 [BZ #21393]
4636 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4637 and add a check for dup3 failure.
4638 * libio/freopen64.c (freopen64): Likewise.
4639 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4640 libsupport.
4641 (do_test_bz21398): New test.
4642 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4643
4644 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4645
4646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4647 Remove invalid comment.
4648
4649 2017-05-21 Zack Weinberg <zackw@panix.com>
4650
4651 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4652
4653 2017-05-20 Zack Weinberg <zackw@panix.com>
4654
4655 * bits/sigevent-consts.h
4656 * bits/siginfo-consts.h
4657 * bits/types/__sigset_t.h
4658 * bits/types/sigevent_t.h
4659 * bits/types/siginfo_t.h
4660 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4661 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4662 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4663 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4664 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4665 New system-dependent bits headers.
4666
4667 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4668 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4669 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4670 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4671 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4672 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4673 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4674 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4675 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4676 New Linux-only system-dependent bits headers.
4677
4678 * signal/bits/types/sig_atomic_t.h
4679 * signal/bits/types/sigset_t.h
4680 * signal/bits/types/sigval_t.h:
4681 New non-system-dependent bits headers.
4682
4683 * sysdeps/generic/sigsetops.h
4684 * sysdeps/unix/sysv/linux/sigsetops.h:
4685 New internal headers.
4686
4687 * include/bits/types/sig_atomic_t.h
4688 * include/bits/types/sigset_t.h
4689 * include/bits/types/sigval_t.h:
4690 New wrappers.
4691
4692 * signal/sigsetops.h
4693 * bits/siginfo.h
4694 * bits/sigset.h
4695 * sysdeps/unix/sysv/linux/bits/siginfo.h
4696 * sysdeps/unix/sysv/linux/bits/sigset.h
4697 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4698 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4699 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4700 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4701 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4702 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4703 Deleted.
4704
4705 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4706 Update lists of installed headers.
4707
4708 * posix/bits/types.h: Define __sig_atomic_t here.
4709 * signal/signal.h: Use the new bits headers; no need to handle
4710 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4711 to define sigmask.
4712 * include/signal.h: No need to handle __need_sig_atomic_t
4713 nor __need_sigset_t. Don't define __sigemptyset.
4714
4715 * io/sys/poll.h, setjmp/setjmp.h
4716 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4717 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4718 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4719 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4720 * sysdeps/pthread/bits/sigthread.h
4721 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4722 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4723 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4724 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4725 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4726 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4727 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4728 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4729 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4730 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4731 Use bits/types/__sigset_t.h.
4732
4733 * misc/sys/select.h, posix/spawn.h
4734 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4735 * sysdeps/unix/sysv/linux/sys/epoll.h
4736 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4737 Use bits/types/sigset_t.h.
4738
4739 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4740 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4741 * socket/sys/socket.h: Don't include bits/sigset.h.
4742
4743 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4744 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4745 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4746 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4747 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4748 * sysdeps/unix/sysv/linux/nptl-signals.h:
4749 Include sigsetops.h.
4750
4751 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4752 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4753 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4754 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4755 now return no value.
4756
4757 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4758 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4759 "sigsetops.h".
4760
4761 * signal/sigsetops.c: Explicitly define __sigismember,
4762 __sigaddset, and __sigdelset as compatibility symbols.
4763
4764 * signal/Versions: Correct commentary on __sigpause,
4765 __sigaddset, __sigdelset, __sigismember.
4766
4767 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4768 __sigblock/__sigsetmask to use __sigprocmask and friends.
4769
4770 * resolv/resolv.h: Remove __need_res_state logic.
4771 Move definition of res_state and related constants to ...
4772 * resolv/bits/types/res_state.h: ...this new file.
4773 * resolv/Makefile: Install bits/types/res_state.h.
4774 * include/bits/types/res_state.h: New wrapper.
4775 * include/list.h: Remove __need_list_t logic.
4776 Move definition of list_t to ...
4777 * include/list_t.h: ...this new file.
4778
4779 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4780 instead of list.h and resolv.h.
4781
4782 * resolv/resolv.h: Remove __need_res_state logic.
4783 Move definition of res_state and related constants to ...
4784 * resolv/bits/types/res_state.h: ...this new file.
4785 * resolv/Makefile: Install bits/types/res_state.h.
4786 * include/bits/types/res_state.h: New wrapper.
4787 * include/list.h: Remove __need_list_t logic.
4788 Move definition of list_t to ...
4789 * include/list_t.h: ...this new file.
4790
4791 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4792 instead of list.h and resolv.h.
4793
4794 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4795
4796 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4797
4798 2017-05-20 Zack Weinberg <zackw@panix.com>
4799
4800 * sysdeps/arm/sysdep.h
4801 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4802
4803 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4804 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4805 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4806 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4807 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4808 * sysdeps/arm/armv6t2/strlen.S
4809 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4810 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4811 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4812 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4813 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4814 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4815
4816 2017-05-20 Zack Weinberg <zackw@panix.com>
4817
4818 Remove the NaCl port.
4819 * sysdeps/arm/nacl: Remove directory and contents.
4820 * sysdeps/nacl: Remove directory and contents.
4821 * abi-tags: Remove .*-.*-nacl.* entry.
4822
4823 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4824
4825 * manual/errno.texi: Convert @comment-based errno documentation to
4826 @errno.
4827 * manual/macros.texi (@errno): New macro. Consolidate errors,
4828 their values, and messages, adding the error string to the Concept
4829 Index. Provide a warning in the comment about external (to the
4830 manual) dependencies.
4831 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4832 * sysdeps/mach/hurd/errnos.awk: Likewise.
4833
4834 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4835
4836 * bits/ss_flags.h: New file.
4837 * bits/types/stack_t.h: Likewise.
4838 * include/bits/types/struct_sigstack.h: Likewise.
4839 * signal/bits/types/struct_sigstack.h: Likewise.
4840 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4841 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4842 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4843 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4844 bits/types/stack_t.h and bits/ss_flags.h.
4845 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4846 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4847 <bits/ss_flags.h>.
4848 * bits/sigstack.h (struct sigstack): Remove.
4849 (stack_t): Likewise.
4850 (SS_ONSTACK): Likewise.
4851 (SS_DISABLE): Likewise.
4852 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4853 (struct sigstack): Likewise.
4854 (stack_t): Likewise.
4855 (SS_ONSTACK): Likewise.
4856 (SS_DISABLE): Likewise.
4857 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4858 Likewise.
4859 (stack_t): Likewise.
4860 (SS_ONSTACK): Likewise.
4861 (SS_DISABLE): Likewise.
4862 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4863 Likewise.
4864 (stack_t): Likewise.
4865 (SS_ONSTACK): Likewise.
4866 (SS_DISABLE): Likewise.
4867 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4868 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4869 Likewise.
4870 (stack_t): Likewise.
4871 (SS_ONSTACK): Likewise.
4872 (SS_DISABLE): Likewise.
4873 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4874 (struct sigstack): Likewise.
4875 (stack_t): Likewise.
4876 (SS_ONSTACK): Likewise.
4877 (SS_DISABLE): Likewise.
4878 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4879 Likewise.
4880 (stack_t): Likewise.
4881 (SS_ONSTACK): Likewise.
4882 (SS_DISABLE): Likewise.
4883 * sysdeps/arm/sys/ucontext.h: Include
4884 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4885 <bits/ss_flags.h>.
4886 * sysdeps/generic/sys/ucontext.h: Likewise.
4887 * sysdeps/i386/sys/ucontext.h: Likewise.
4888 * sysdeps/m68k/sys/ucontext.h: Likewise.
4889 * sysdeps/mips/sys/ucontext.h: Likewise.
4890 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4891 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4892 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4893 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4894 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4895 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4896 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4897 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4898 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4899 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4900 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4901 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4902 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4903 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4904 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4905
4906 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4907
4908 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4909 "edx + ecx - 16" to avoid possible addition overflow.
4910 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4911
4912 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4913
4914 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4915 (CFLAGS-splice.c): Likewise.
4916 (CFLAGS-open_by_handle_at.c): Likewise.
4917 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4918 (CFLAGS-splice.c): Likewise.
4919 (CFLAGS-open_by_handle_at.c): Likewise.
4920
4921 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4922
4923 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4924 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4925 <ldbl-compat-choose.h>.
4926 (maybe_long_double_symbol): New macro.
4927 [!declare_mgen_alias] (declare_mgen_alias): Use
4928 maybe_long_double_symbol.
4929 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4930 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4934 * Makerules [$(build-shared) = yes && !avoid-generated]
4935 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4936 [$(build-shared) = yes && !avoid-generated]
4937 ($(common-objpfx)ldbl-compat-choose.h): New target.
4938
4939 * scripts/versions.awk: Generate first-versions.h.
4940 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4941 <first-versions.h>.
4942 (LDOUBLE_cabsl_libm_version): Remove macro.
4943 (LDOUBLE_cargl_libm_version): Likewise.
4944 (LDOUBLE_cimagl_libm_version): Likewise.
4945 (LDOUBLE_conjl_libm_version): Likewise.
4946 (LDOUBLE_creall_libm_version): Likewise.
4947 (LDOUBLE_cacosl_libm_version): Likewise.
4948 (LDOUBLE_cacoshl_libm_version): Likewise.
4949 (LDOUBLE_ccosl_libm_version): Likewise.
4950 (LDOUBLE_ccoshl_libm_version): Likewise.
4951 (LDOUBLE_casinl_libm_version): Likewise.
4952 (LDOUBLE_csinl_libm_version): Likewise.
4953 (LDOUBLE_casinhl_libm_version): Likewise.
4954 (LDOUBLE_csinhl_libm_version): Likewise.
4955 (LDOUBLE_catanl_libm_version): Likewise.
4956 (LDOUBLE_catanhl_libm_version): Likewise.
4957 (LDOUBLE_ctanl_libm_version): Likewise.
4958 (LDOUBLE_ctanhl_libm_version): Likewise.
4959 (LDOUBLE_cexpl_libm_version): Likewise.
4960 (LDOUBLE_clogl_libm_version): Likewise.
4961 (LDOUBLE_cprojl_libm_version): Likewise.
4962 (LDOUBLE_csqrtl_libm_version): Likewise.
4963 (LDOUBLE_cpowl_libm_version): Likewise.
4964 (LDOUBLE_clog10l_libm_version): Likewise.
4965 (LDOUBLE___clog10l_libm_version): Likewise.
4966 (LDOUBLE_fdiml_libm_version): Likewise.
4967 (LDOUBLE_fmaxl_libm_version): Likewise.
4968 (LDOUBLE_fminl_libm_version): Likewise.
4969 (LDOUBLE_ilogbl_libm_version): Likewise.
4970 (LDOUBLE_nanl_libm_version): Likewise.
4971 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4972 FIRST_VERSION_libm_* macros.
4973 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4974 * Makerules [$(build-shared) = yes && !avoid-generated]
4975 (before-compile): Add $(common-objpfx)first-versions.h.
4976 [$(build-shared) = yes && !avoid-generated]
4977 ($(common-objpfx)first-versions.h): New target.
4978 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4979 building $(common-objpfx)versions.stmp.
4980
4981 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4982
4983 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4984 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4985 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4986 auto-generation list.
4987
4988 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4989 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4990 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4991 from auto-generation list.
4992
4993 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4994 open_by_handle_at.
4995 (CFLAGS-open_by_handle_at.c): New flag.
4996 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4997 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4998 file.
4999 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
5000
5001 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
5002 (CFLAGS-splice.c): New flag.
5003 * sysdeps/unix/sysv/linux/splice.c: New file.
5004 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
5005 auto-generation syscall list.
5006 * misc/Makefile (CFLAGS-splice.c): New rule.
5007
5008 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
5009 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
5010 auto-generation syscall list.
5011 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
5012 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
5013
5014 * misc/Makefile (CFLAGS-fsync.c): New flag.
5015 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
5016 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
5017 syscall list.
5018 * sysdeps/unix/sysv/linux/fsync.c: New file.
5019 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
5020 (__errno_location): Remove.
5021
5022 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
5023 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
5024 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
5025 list.
5026 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
5027
5028 * misc/Makefile (CFLAGS-msync.c): New rule.
5029 * nptl/Makefile (CFLAGS-msync.c): Likewise.
5030 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
5031 * sysdeps/unix/sysv/linux/msync.c: New file.
5032
5033 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
5034 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
5035 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
5036 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5037 (CFLAGS-sigsuspend.c): Remove rule.
5038
5039 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
5040 (CFLAGS-tee.c): New rule.
5041 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
5042 auto-generated list.
5043 * sysdeps/unix/sysv/linux/tee.c: New file.
5044
5045 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
5046 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
5047 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
5048 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
5049 auto-generated list.
5050
5051 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
5052 auto-generated list.
5053 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
5054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
5056 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5057 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5058
5059 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
5060 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
5061 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
5062 (__NR_pause): Undefine.
5063 * sysdeps/unix/sysv/linux/pause.c: New file.
5064 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
5065 auto-generation list.
5066 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
5067 Remove rule.
5068 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
5069
5070 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
5071
5072 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
5073 comments.
5074
5075 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
5076
5077 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
5078 LD_HWCAP_MASK.
5079
5080 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
5081
5082 * manual/conf.texi: Convert @tables of annotated @items to
5083 @vtables.
5084 * manual/lang.texi: Likewise.
5085 * manual/pattern.texi: Likewise.
5086 * manual/resource.texi: Likewise.
5087 * manual/socket.texi: Likewise.
5088
5089 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
5090
5091 * manual/crypt.texi: Move a comment out of an @*x list.
5092 * manual/filesys.texi: Refactor some comments, one of which looks
5093 like a standard. Fix incorrectly separated standards.
5094 * manual/locale.texi: Invert an annotation.
5095 * manual/resource.texi: Fix incorrectly separated standards.
5096 * manual/time.texi: Refactor a @vtable that obscures an
5097 annotation.
5098 * manual/users.texi: Refactor multiple headers to occupy a single
5099 @comment.
5100
5101 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5102
5103 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5104 (sysdep_routines): Add memcmp-power8.
5105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5106 (memcmp): Add __memcmp_power8 to list of memcmp functions.
5107 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
5108 (memcmp): Add __memcmp_power8 to ifunc list.
5109 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
5110 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
5111
5112 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5113 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5114
5115 * math/math.h (__MATH_TG): Extend the conditions to add
5116 _Float128 support.
5117 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
5118
5119 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
5120
5121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5122 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
5123 s_cosf-ppc64.
5124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
5125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5127 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5128
5129 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5130
5131 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
5132 (gen-libm-calls): Add e_exp2F to use the template.
5133 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
5134 * math/e_exp2_template.c: New file, renamed from
5135 math/e_exp2l.c, and made into a template.
5136 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
5137
5138 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
5139
5140 * elf/dl-tunable-types.h (tunable_type_code_t): New type
5141 TUNABLE_TYPE_UINT_64.
5142 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
5143 Simplify computation of overflow.
5144 (tunable_set_val_if_valid_range_signed,
5145 tunable_set_val_if_valid_range_unsigned): Remove and replace
5146 with this...
5147 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
5148 (tunable_initialize): Adjust. Add uint64_t support.
5149 (__tunable_set_val): Add uint64_t support.
5150 * README.tunables: Document it.
5151
5152 * scripts/gen-tunables.awk: Recognize 'default' keyword in
5153 dl-tunables.list.
5154 * README.tunables: Document it.
5155
5156 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5157
5158 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5159 * sysdeps/posix/preadv64.c: Likewise.
5160 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5161 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5162 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5163 * sysdeps/posix/pwritev64.c: Likewise.
5164 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5165 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5166 * sysdeps/posix/preadv_common.c: New file.
5167 * sysdeps/posix/pwritev_common.c: Likewise.
5168
5169 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5170
5171 * sysdeps/generic/math-type-macros-float128.h
5172 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5173 wrapper templates.
5174
5175 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5176 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5177
5178 * include/complex.h (__kernel_casinhf128): New declaration.
5179 * include/float.h: New file.
5180 * include/math.h (__finitef128): Add a hidden def.
5181 (__isinff128): Likewise.
5182 (__isnanf128): Likewise.
5183 (__fpclassify): Likewise.
5184 (__issignalling): Likewise.
5185 (__expf128): Likewise.
5186 (__expm1f128): Likewise.
5187
5188 * sysdeps/generic/fix-fp-int-convert-overflow.h:
5189 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5190 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5191
5192 * sysdeps/generic/math-type-macros-float128.h: New file.
5193
5194 * sysdeps/generic/math_private.h: Include bits/floatn.h and
5195 math_private_calls.h for _Float128.
5196 (__isinff128): New inline implementation used when GCC < 7.0,
5197 since in this case __builtin_isinf_sign is broken.
5198 (fabsf128): New inline implementation that calls the builtin.
5199 (__EXPR_FLT128): New macro.
5200 (min_of_type): Optionally include _Float128 types too.
5201
5202 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5203 Declare for _Float128.
5204 (__kernel_rem_pio2): Likewise.
5205
5206 * sysdeps/ieee754/ldbl-opt/s_sin.c:
5207 (__DECL_SIMD_sincos_disablef128): New macro.
5208
5209 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5210
5211 * math/math.h: Include bits/math-finite.h for float128.
5212 (__MATH_DECLARING_FLOATN): Define to control declaration of
5213 float128 functions.
5214 * math/bits/math-finite.h (pow10): Do not declare for float128.
5215 (gamma): Likewise.
5216 (scalb): Likewise.
5217
5218 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5219 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5220
5221 * bits/floatn.h: New file.
5222 * bits/huge_val_flt128.h: Likewise.
5223
5224 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5225 (__DECL_SIMD_sinf128): Likewise.
5226 (__DECL_SIMD_sincosf128): Likewise.
5227 (__DECL_SIMD_logf128): Likewise.
5228 (__DECL_SIMD_expf128): Likewise.
5229 (__DECL_SIMD_powf128): Likewise.
5230
5231 * math/Makefile (headers): Install bits/floatn.h and
5232 bits/huge_val_flt128.h.
5233
5234 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5235 defined.
5236
5237 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5238 (isnan, gamma, nexttoward, scalb): Only define if not
5239 __MATH_DECLARING_FLOATN.
5240 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5241 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5242 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5243 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5244
5245 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5246 Include bits/cmathcalls.h to get the declarations of _Float128
5247 versions of complex functions.
5248 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5249 Define macro.
5250
5251 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5252 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5253 get the declarations of _Float128 versions of math functions.
5254 (__MATH_DECLARING_FLOATN): New macro to control declaration of
5255 _FloatN types.
5256 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5257 is type-generic, so use it without __MATH_TG.
5258 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5259 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
5260 _Float128 type and GCC < 7.0, otherwise use the builtin.
5261 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5262 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5263 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5264 New _GNU_SOURCE enabled macros.
5265
5266 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5267
5268 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5269 (signbitf): Likewise.
5270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5271 Likewise.
5272 (signbitl): Likewise.
5273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5274 Likewise.
5275 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5276 (signbitl): Likewise.
5277 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5278
5279 2017-05-12 Florian Weimer <fweimer@redhat.com>
5280
5281 [BZ #21386]
5282 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5283 parent PID. The assertion in the child is incorrect with PID
5284 namespaces.
5285
5286 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5287
5288 * sysdeps/unix/sysv/linux/kernel-features.h
5289 (__ASSUME_STATFS_F_FLAGS): Remove macro.
5290 * sysdeps/unix/sysv/linux/internal_statvfs.c
5291 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5292
5293 2017-05-11 Zack Weinberg <zackw@panix.com>
5294
5295 * Makerules: New subdir configuration variables 'tests-internal'
5296 and 'test-internal-extras'. Test files in these categories will
5297 still be compiled with MODULE_NAME=nonlib. Test files in the
5298 existing categories (tests, xtests, test-srcs, test-extras) are
5299 now compiled with MODULE_NAME=testsuite.
5300 New subdir configuration variable 'modules-names-tests'. Files
5301 which are in both 'modules-names' and 'modules-names-tests' will
5302 be compiled with MODULE_NAME=testsuite instead of
5303 MODULE_NAME=extramodules.
5304 (gen-as-const-headers): Move to tests-internal.
5305 (do-tests-clean, common-mostlyclean): Support tests-internal.
5306 * Makeconfig (built-modules): Add testsuite.
5307 * Makefile: Change libof-check-installed-headers-c and
5308 libof-check-installed-headers-cxx to 'testsuite'.
5309 * Rules: Likewise. Support tests-internal.
5310 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5311 Remove extra-modules.mk.
5312
5313 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5314 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5315 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5316 very top of the file and rationalize their order.
5317 If MODULE_NAME is not defined at all, define IS_IN to always be
5318 false, and don't define _ISOMAC.
5319 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5320 true, define _ISOMAC and suppress everything else in this file,
5321 starting with the inclusion of config.h.
5322 Do check for inappropriate definitions of __OPTIMIZE__ and
5323 __FAST_MATH__ here, but only if _ISOMAC is not defined.
5324 Correct some out-of-date commentary.
5325
5326 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5327 and _Mlong_double_ before including math.h.
5328 * include/string.h: If _ISOMAC is defined, don't expose
5329 _STRING_ARCH_unaligned. Move a comment to a more appropriate
5330 location.
5331
5332 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5333 * include/time.h, include/unistd.h, include/wchar.h: No need to
5334 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5335
5336 * misc/sys/cdefs.h (__NTHNL): New macro.
5337 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5338 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5339
5340 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5341 defined, for HAVE_TUNABLES.
5342 * inet/tst-checks-posix.c: No need to define _ISOMAC.
5343 * intl/tst-gettext2.c: Provide own definition of N_.
5344 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5345 * math/test-signgam-main.c: No need to define _ISOMAC.
5346 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5347 * stdlib/tst-strtod1i.c: ...this new file.
5348 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5349 Split tests of __strtod_internal to...
5350 * stdlib/tst-strtod5i.c: ...this new file.
5351 * string/test-string.h: Include stdint.h. Duplicate definition of
5352 inhibit_loop_to_libcall here (from libc-symbols.h).
5353 * string/test-strstr.c: Provide dummy definition of
5354 libc_hidden_builtin_def when including strstr.c.
5355 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5356 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5357 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5358 Don't include init-arch.h.
5359 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5360 Don't include init-arch.h.
5361
5362 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5363 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5364 unload, unload2, circleload1, neededtest, neededtest2,
5365 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5366 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5367 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5368 ifunc tests to tests-internal.
5369 Don't add $(modules-names) to test-extras.
5370 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5371 Add tst-deadline to tests-static-internal.
5372 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5373 tests-internal.
5374 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5375 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5376 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5377 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5378 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5379 Link tests-internal with libpthread also.
5380 Don't add $(modules-names) to test-extras.
5381 * nss/Makefile: Move tst-field to tests-internal.
5382 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5383 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5384 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5385 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5386 tests-internal.
5387 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5388 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5389 test-get_hwcap-static to tests-internal.
5390 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5391 tests-internal.
5392 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5393 modules-names-tests.
5394
5395 2017-05-11 Zack Weinberg <zackw@panix.com>
5396
5397 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5398 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5399 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5400 _IO_funlockfile, and _IO_ftrylockfile. Only define
5401 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5402 already defined.
5403 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5404 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5405 appropriately.
5406 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5407 Define _IO_lock_t_defined after defining _IO_lock_t.
5408
5409 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5410
5411 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5412 void* for argument type and use VDSO_SYMBOL macro.
5413 (is_sigtramp_address_rt): Likewise.
5414 (__backtrace): Setup expected frame pointer address for signal
5415 handling.
5416 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5417 void* for argumetn type and use VSDO_SYMBOL macro.
5418 (__backtrace): Setup expected frame pointer address for signal
5419 handling.
5420
5421 * sysdeps/unix/sysv/linux/writev.c: New file.
5422
5423 * sysdeps/unix/sysv/linux/readv.c: New file.
5424
5425 * include/unistd.h (write): Add hidden proto.
5426 * io/Makefile (CFLAGS-write.c): New define.
5427 * nptl/Makefile (CFLAGS-write.c): Likewise.
5428 * sysdeps/unix/sysv/linux/write.c: New file.
5429
5430 [BZ #21428]
5431 * include/unistd.h (read): Add hidden proto.
5432 * io/Makefile (CFLAGS-read.c): New define.
5433 * nptl/Makefile (CFLAGS-read.c): Likewise.
5434 * sysdeps/unix/sysv/linux/read.c: New file.
5435
5436 * io/Makefile (CFLAGS-creat.c): New rule.
5437 (CFLAGS-creat64.c): Likewise.
5438 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5439 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5440 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5441 * sysdeps/unix/sysv/linux/creat.c: New file.
5442 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5443 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5444 auto-generated list.
5445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5446
5447 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5448 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5449 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5450 * sysdeps/unix/sysv/linux/open.c: New file.
5451 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5452 iff __WORDSIZE != 64 and use __NR_openat when available.
5453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5454 from auto-generated list.
5455
5456 * nptl/Makefile (CFLAGS-close.c): New flag.
5457 * sysdeps/unix/sysv/linux/close.c: New file.
5458
5459 2017-05-11 DJ Delorie <dj@redhat.com>
5460
5461 * MAINTAINERS: New. Points to wiki.
5462
5463 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5464
5465 * scripts/gen-tunables.awk: Add attribute_relro to
5466 tunable_list.
5467
5468 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5469
5470 [BZ #21457]
5471 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5472 (R1): Likewise.
5473 (R2): Likewise.
5474 (R3): Likewise.
5475 (R4): Likewise.
5476 (R5): Likewise.
5477 (R6): Likewise.
5478 (R7): Likewise.
5479 (R8): Likewise.
5480 (R9): Likewise.
5481 (R10): Likewise.
5482 (R11): Likewise.
5483 (R12): Likewise.
5484 (R13): Likewise.
5485 (R14): Likewise.
5486 (R15): Likewise.
5487 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5488 (REG_FS): Likewise.
5489 (REG_ES): Likewise.
5490 (REG_DS): Likewise.
5491 (REG_EDI): Likewise.
5492 (REG_ESI): Likewise.
5493 (REG_EBP): Likewise.
5494 (REG_ESP): Likewise.
5495 (REG_EBX): Likewise.
5496 (REG_EDX): Likewise.
5497 (REG_ECX): Likewise.
5498 (REG_EAX): Likewise.
5499 (REG_TRAPNO): Likewise.
5500 (REG_ERR): Likewise.
5501 (REG_EIP): Likewise.
5502 (REG_CS): Likewise.
5503 (REG_EFL): Likewise.
5504 (REG_UESP): Likewise.
5505 (REG_SS): Likewise.
5506 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5507 (R_D1): Likewise.
5508 (R_D2): Likewise.
5509 (R_D3): Likewise.
5510 (R_D4): Likewise.
5511 (R_D5): Likewise.
5512 (R_D6): Likewise.
5513 (R_D7): Likewise.
5514 (R_A0): Likewise.
5515 (R_A1): Likewise.
5516 (R_A2): Likewise.
5517 (R_A3): Likewise.
5518 (R_A4): Likewise.
5519 (R_A5): Likewise.
5520 (R_A6): Likewise.
5521 (R_A7): Likewise.
5522 (R_SP): Likewise.
5523 (R_PC): Likewise.
5524 (R_PS): Likewise.
5525 (fpregset_t): Likewise.
5526 (MCONTEXT_VERSION): Likewise.
5527 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5528 (CTX_AT): Likewise.
5529 (CTX_V0): Likewise.
5530 (CTX_V1): Likewise.
5531 (CTX_A0): Likewise.
5532 (CTX_A1): Likewise.
5533 (CTX_A2): Likewise.
5534 (CTX_A3): Likewise.
5535 (CTX_T0): Likewise.
5536 (CTX_T1): Likewise.
5537 (CTX_T2): Likewise.
5538 (CTX_T3): Likewise.
5539 (CTX_T4): Likewise.
5540 (CTX_T5): Likewise.
5541 (CTX_T6): Likewise.
5542 (CTX_T7): Likewise.
5543 (CTX_S0): Likewise.
5544 (CTX_S1): Likewise.
5545 (CTX_S2): Likewise.
5546 (CTX_S3): Likewise.
5547 (CTX_S4): Likewise.
5548 (CTX_S5): Likewise.
5549 (CTX_S6): Likewise.
5550 (CTX_S7): Likewise.
5551 (CTX_T8): Likewise.
5552 (CTX_T9): Likewise.
5553 (CTX_K0): Likewise.
5554 (CTX_K1): Likewise.
5555 (CTX_GP): Likewise.
5556 (CTX_SP): Likewise.
5557 (CTX_S8): Likewise.
5558 (CTX_RA): Likewise.
5559 (CTX_MDLO): Likewise.
5560 (CTX_MDHI): Likewise.
5561 (CTX_CAUSE): Likewise.
5562 (CTX_EPC): Likewise.
5563 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5564 inclusion of <sys/procfs.h> on [__USE_MISC].
5565 (greg_t): Condition on [__USE_MISC].
5566 (gregset_t): Likewise.
5567 (fpregset_t): Likewise.
5568 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5569 (NGREG): Likewise.
5570 (gregset_t): Likewise.
5571 (REG_R0): Likewise.
5572 (REG_R1): Likewise.
5573 (REG_R2): Likewise.
5574 (REG_R3): Likewise.
5575 (REG_R4): Likewise.
5576 (REG_R5): Likewise.
5577 (REG_R6): Likewise.
5578 (REG_R7): Likewise.
5579 (REG_R8): Likewise.
5580 (REG_R9): Likewise.
5581 (REG_R10): Likewise.
5582 (REG_R11): Likewise.
5583 (REG_R12): Likewise.
5584 (REG_R13): Likewise.
5585 (REG_R14): Likewise.
5586 (REG_R15): Likewise.
5587 (struct _libc_fpstate): Likewise.
5588 (fpregset_t): Likewise.
5589 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5590 (NFPREG): Likewise.
5591 (gregset_t): Likewise.
5592 (fpregset_t): Likewise.
5593 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5594 (R_D1): Likewise.
5595 (R_D2): Likewise.
5596 (R_D3): Likewise.
5597 (R_D4): Likewise.
5598 (R_D5): Likewise.
5599 (R_D6): Likewise.
5600 (R_D7): Likewise.
5601 (R_A0): Likewise.
5602 (R_A1): Likewise.
5603 (R_A2): Likewise.
5604 (R_A3): Likewise.
5605 (R_A4): Likewise.
5606 (R_A5): Likewise.
5607 (R_A6): Likewise.
5608 (R_A7): Likewise.
5609 (R_SP): Likewise.
5610 (R_PC): Likewise.
5611 (R_PS): Likewise.
5612 (fpregset_t): Likewise.
5613 (MCONTEXT_VERSION): Likewise.
5614 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5615 Likewise.
5616 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5617 (REG_R1): Likewise.
5618 (REG_R2): Likewise.
5619 (REG_R3): Likewise.
5620 (REG_R4): Likewise.
5621 (REG_R5): Likewise.
5622 (REG_R6): Likewise.
5623 (REG_R7): Likewise.
5624 (REG_R8): Likewise.
5625 (REG_R9): Likewise.
5626 (REG_R10): Likewise.
5627 (REG_R11): Likewise.
5628 (REG_R12): Likewise.
5629 (REG_R13): Likewise.
5630 (REG_R14): Likewise.
5631 (REG_R15): Likewise.
5632 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5633 of <arch/abi.h> on [__USE_MISC].
5634 (greg_t): Condition on [__USE_MISC].
5635 (NGREG): Likewise.
5636 (gregset_t): Likewise.
5637
5638 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5639
5640 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5641 (__pthread_rwlock_arch_t): Remove __data definition.
5642 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5643 (__pthread_rwlock_arch_t): Likewise.
5644
5645 2017-05-11 Florian Weimer <fweimer@redhat.com>
5646
5647 * resolv/inet_pton.c: Reformat in GNU style. Remove
5648 internal_function on static functions.
5649
5650 2017-05-11 Florian Weimer <fweimer@redhat.com>
5651
5652 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5653 from format_ai_flags.
5654 (format_ai_flags): New function. Incorporate flag formatting code
5655 from format_ai_one.
5656 (format_ai_canonname): New function.
5657 (format_ai_one): Remove flags parameter.
5658 (format_ai_family): Likewise.
5659 (support_format_addrinfo): Call format_ai_flags,
5660 format_ai_canonname.
5661 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5662 check_ai.
5663 (check_ai): Call check_ai_hints.
5664 (do_test): Add AI_CANONNAME tests.
5665
5666 2017-05-11 Florian Weimer <fweimer@redhat.com>
5667
5668 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5669 (gaih_inet): Likewise.
5670
5671 2017-05-10 Andreas Schwab <schwab@suse.de>
5672
5673 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5674 (main): Rename to do_test and make static.
5675
5676 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5677
5678 * string/rawmemchr.c: Include <libc-diag.h>.
5679 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5680 with size (size_t)-1.
5681
5682 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5683
5684 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5685 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5686 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5687
5688 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5689 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5690 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5691 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5692 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5693 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5694 * sysdeps/unix/sysv/linux/kernel-features.h
5695 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5696 socket syscalls.
5697 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5698 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5699 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5700 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5701 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5702 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5703 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5704 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5705 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5706 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5707 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5709 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5710 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5711 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5712
5713 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5714
5715 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5716 thread-shared-types.h.
5717 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5718 specific thread definition.
5719 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5720 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5721 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5722 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5723 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5724 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5725 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5726 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5727 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5728 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5729 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5730 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5731 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5732 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5733 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5734 thread definition between POSIX and C11.
5735 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5736 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5737 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5738 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5739 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5740 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5741 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5742 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5743 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5744 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5745 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5746 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5747 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5748 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5749 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5750 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5751 definitions shared across all architectures.
5752
5753 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5754
5755 * sysdeps/unix/sysv/linux/kernel-features.h
5756 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5757 (__ASSUME_SENDMMSG): Likewise.
5758 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5759 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5760 sendmmsg syscall if that can be assumed to be present, socketcall
5761 otherwise, with no fallback for runtime failure.
5762
5763 * sysdeps/unix/sysv/linux/kernel-features.h
5764 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5765 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5766 (__ASSUME_RECVMMSG): Likewise.
5767 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5768 recvmmsg syscall if it can be assumed to be present, socketcall
5769 otherwise, with no fallback for runtime failure.
5770
5771 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5772 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5773
5774 * bits/libc-header-start.h:
5775 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5776 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5777 * manual/creature.texi: Likewise.
5778
5779 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5780 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5781
5782 * math/Makefile:
5783 (type-float128-suffix): New variable
5784 (type-float128-routines): Likewise
5785 (type-float128-yes): Likewise
5786 (types): Append float128 if supported
5787 (types-basic): New variable to control the use of templates for
5788 float, double, and long double, but not for float128 or newer types.
5789 (type-basic-foreach): Likewise.
5790
5791 * sysdeps/ieee754/float128/Makeconfig: New file.
5792 * sysdeps/ieee754/float128/Versions: New file.
5793
5794 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5795
5796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5797 Remove macro.
5798 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5799 prlimit64 is always available and does not give an ENOSYS error.
5800 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5801 unconditional.
5802 [!__NR_prlimit64]: Remove conditional code.
5803 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5804 prlimit64 is always available and does not give an ENOSYS error.
5805 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5806
5807 2017-05-09 Zack Weinberg <zackw@panix.com>
5808
5809 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5810
5811 2017-05-09 Florian Weimer <fweimer@redhat.com>
5812
5813 [BZ #21474]
5814 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5815 (__res_maybe_init): Likewise.
5816
5817 2017-05-09 Zack Weinberg <zackw@panix.com>
5818
5819 * extra-modules.mk: Delete file.
5820 * cppflags-iterator.mk: Rename to ...
5821 * libof-iterator.mk: ...this. Adjust comments.
5822
5823 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5824 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5825 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5826 Use libof-iterator.mk instead of cppflags-iterator.mk or
5827 extra-modules.mk.
5828
5829 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5830 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5831
5832 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5833
5834 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5835
5836 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5837
5838 * stdio-common/vfprintf.c (EXTSIZ): Define.
5839 (vfprintf): Use EXTSIZ.
5840 (printf_positional): Likewise.
5841
5842 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5843
5844 * sysdeps/unix/sysv/linux/kernel-features.h
5845 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5846 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5847 <kernel-features.h>.
5848 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5849
5850 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5851 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5852
5853 2017-05-08 Florian Weimer <fweimer@redhat.com>
5854
5855 Prevent multiple deletion of temporary files.
5856 * support/temp_file.c (struct temp_name_list): Add owner member.
5857 (add_temp_file): Record owner.
5858 (support_delete_temp_files): Delete file only if owner matches.
5859 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5860 (do_prepare): Use create_temp_file instead of add_temp_file.
5861 Initialize temp_fd1, temp_fd2.
5862 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5863 framework remove the temporary files.
5864 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5865 (do_prepare): Use create_temp_file instead of add_temp_file.
5866 Initialize temp_fd1, temp_fd2, temp_fd3.
5867 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5868 the test framework remove the temporary files.
5869 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5870 deletion.
5871 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5872 temporary directory. It is removed by the test framework.
5873 * dirent/tst-scandir.c (do_test): Likewise.
5874
5875 2017-05-08 Florian Weimer <fweimer@redhat.com>
5876
5877 Delete temporary files in LIFO order.
5878 * support/temp_file.c (struct temp_name_list): Replace q member
5879 with next.
5880 (add_temp_file): Add new file to front of linked list.
5881 (support_delete_temp_files): Use next member.
5882 (support_print_temp_files): Likewise.
5883
5884 2017-05-08 Florian Weimer <fweimer@redhat.com>
5885
5886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5887 sys/ultrasound.h.
5888 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5889
5890 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5891
5892 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5893 Remove.
5894 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5895 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5896 (arch_minimum_kernel): Remove.
5897 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5898 * README: Update statement about Linux kernel requirements.
5899
5900 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5901
5902 * manual/llio.texi: Add preadv and pwritev documentation.
5903
5904 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5905
5906 [BZ #21455]
5907 * bits/stdint-intn.h: New file.
5908 * bits/stdint-uintn.h: Likewise.
5909 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5910 bits/stdint-uintn.h.
5911 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5912 <stdint.h>.
5913 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5914 (__int8_t_defined): Do not define here.
5915 (int8_t): Likewise.
5916 (int16_t): Likewise.
5917 (int32_t): Likewise.
5918 (int64_t): Likewise.
5919 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5920 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5921 <stdint.h>.
5922 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5923 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5924 <bits/stdint-uintn.h>.
5925 (int8_t): Do not define here.
5926 (int16_t): Likewise.
5927 (int32_t): Likewise.
5928 (int64_t): Likewise.
5929 (uint8_t): Likewise.
5930 (uint16_t): Likewise.
5931 (uint32_t): Likewise.
5932 (uint64_t): Likewise.
5933 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5934 variable.
5935 (test-xfail-XPG42/netdb.h/conform): Likewise.
5936 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5937 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5938 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5939 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5940
5941 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5942
5943 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5944 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5945 the above.
5946 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5948
5949 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5950
5951 [BZ #21445]
5952 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5953
5954 [BZ #21457]
5955 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5956 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5957 __glibc_reserved1.
5958 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5959 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5960 (struct _fpxreg): Likewise.
5961 [!__x86_64__] (struct _fpstate): Rename field reserved to
5962 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5963 [__x86_64__] (struct _fpstate): Rename field padding to
5964 __glibc_reserved1.
5965 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5966 Rename field reserved2 to __glibc_reserved2.
5967 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5968 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5969 __glibc_reserved1.
5970 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5971 __glibc_reserved1.
5972
5973 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5974
5975 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5976 variable name.
5977
5978 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5979
5980 [BZ #21391]
5981 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5982 Only call init_cpu_features.
5983 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5984 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5985 * sysdeps/i386/dl-procinfo.h: Removed.
5986 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5987 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5988 <sysdeps/x86/dl-procinfo.h>.
5989 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5990 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5991 Include <sysdeps/x86/dl-procinfo.h> instead of
5992 <sysdeps/generic/dl-procinfo.h>.
5993 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5994 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5995 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5996 (bit_cpu_MOVBE): Likewise.
5997 (bit_cpu_BMI1): Likewise.
5998 (bit_cpu_BMI2): Likewise.
5999 (index_cpu_BMI1): Likewise.
6000 (index_cpu_BMI2): Likewise.
6001 (index_cpu_LZCNT): Likewise.
6002 (index_cpu_MOVBE): Likewise.
6003 (index_cpu_POPCNT): Likewise.
6004 (reg_BMI1): Likewise.
6005 (reg_BMI2): Likewise.
6006 (reg_LZCNT): Likewise.
6007 (reg_MOVBE): Likewise.
6008 (reg_POPCNT): Likewise.
6009 * sysdeps/x86/dl-hwcap.h: New file.
6010 * sysdeps/x86/dl-procinfo.h: Likewise.
6011 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
6012 (_dl_x86_platforms): Likewise.
6013
6014 2017-05-03 DJ Delorie <dj@redhat.com>
6015
6016 [BZ #21411]
6017 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
6018
6019 2017-05-03 Phil Blundell <pb@pbcl.net>
6020
6021 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
6022 comments.
6023
6024 2017-05-03 Carlos O'Donell <carlos@redhat.com>
6025
6026 [BZ #20116]
6027 * nptl/pthread_create.c: Expand comments to describe
6028 semaphore-like and mutex-like uses of PD->lock.
6029
6030 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6031
6032 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
6033 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
6034 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
6035 auto-generation list.
6036 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6037 epoll_wait.
6038 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
6039 Remove epoll_wait.
6040
6041 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6042 osf_select.
6043 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
6044 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
6045 osf_select from auto-generation list.
6046 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6047 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6048 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
6049 * sysdeps/unix/sysv/linux/select.c: New file.
6050
6051 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
6052 * sysdeps/unix/sysv/linux/poll.c: New file.
6053 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
6054 auto-generation list.
6055
6056 2017-05-03 Joseph Myers <joseph@codesourcery.com>
6057
6058 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
6059 New macro.
6060
6061 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
6062
6063 [BZ #21179]
6064 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
6065 R_SPARC_REGISTER relocations.
6066
6067 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6068
6069 * include/unistd.h (__pread): Add libc_hidden_proto.
6070 (__pread64): Likewise.
6071 (__pwrite): Likewise.
6072 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
6073 (__pread64): Remove.
6074 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
6075 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
6076 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
6077
6078 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6079
6080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6081
6082 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6083
6084 * nptl/tst-cancel4-common.c: Use libsupport.
6085 * nptl/tst-cancel4-common.h: Likewise.
6086 * nptl/tst-cancel4.c (tf_read): Likewise.
6087 (tf_readv): Likewise.
6088 (tf_write): Likewise.
6089 (tf_writev): Likewise.
6090 (tf_sleep): Likewise.
6091 (tf_usleep): Likewise.
6092 (tf_nanosleep): Likewise.
6093 (tf_select): Likewise.
6094 (tf_pselect): Likewise.
6095 (tf_poll): Likewise.
6096 (tf_ppoll): Likewise.
6097 (tf_wait): Likewise.
6098 (tf_waitpid): Likewise.
6099 (tf_waitid): Likewise.
6100 (tf_sigpause): Likewise.
6101 (tf_sigsuspend): Likewise.
6102 (tf_sigwait): Likewise.
6103 (tf_sigwaitinfo): Likewise.
6104 (tf_sigtimedwait): Likewise.
6105 (tf_pause): Likewise.
6106 (tf_accept): Likewise.
6107 (tf_send): Likewise.
6108 (tf_recv): Likewise.
6109 (tf_recvfrom): Likewise.
6110 (tf_recvmsg): Likewise.
6111 (tf_open): Likewise.
6112 (tf_close): Likewise.
6113 (tf_pread): Likewise.
6114 (tf_pwrite): Likewise.
6115 (tf_preadv): Likewise.
6116 (tf_pwritev): Likewise.
6117 (tf_fsync): Likewise.
6118 (tf_fdatasync): Likewise.
6119 (tf_msync): Likewise.
6120 (tf_sendto): Likewise.
6121 (tf_sendmsg): Likewise.
6122 (tf_creat): Likewise.
6123 (tf_connect): Likewise.
6124 (tf_tcdrain): Likewise.
6125 (tf_msgrcv): Likewise.
6126 (tf_msgsnd): Likewise.
6127 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
6128 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
6129
6130 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
6131 expected arguments.
6132 (do_test): Adapt to use libsupport.
6133
6134 2017-05-01 Joseph Myers <joseph@codesourcery.com>
6135
6136 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
6137
6138 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
6139 (PF_MAX): Set to 44.
6140 (AF_SMC): New macro.
6141
6142 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6143 kernel version to 4.11.
6144
6145 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6146
6147 [BZ #21280]
6148 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
6149 signal of subnormals and adjust the exponent of power of 2 down
6150 when low part has opposite sign.
6151
6152 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/powerpc64le/Implies: New file.
6155 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6156 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6157 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6158 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6159 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6160 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6161 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6162 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6163 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6164 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6165 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6166 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6167 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6168 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6169 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6170 * sysdeps/powerpc/preconfigure: New file.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6173
6174 2017-04-28 Joseph Myers <joseph@codesourcery.com>
6175
6176 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6177 inclusion.
6178 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6179 Remove.
6180
6181 2017-04-27 Joseph Myers <joseph@codesourcery.com>
6182
6183 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6184 (XPG3): Rename standard to XPG4.
6185 * conform/Makefile: Likewise.
6186 * conform/list-header-symbols.pl: Likewise.
6187 * conform/data/aio.h-data: Likewise.
6188 * conform/data/arpa/inet.h-data: Likewise.
6189 * conform/data/complex.h-data: Likewise.
6190 * conform/data/ctype.h-data: Likewise.
6191 * conform/data/dlfcn.h-data: Likewise.
6192 * conform/data/fcntl.h-data: Likewise.
6193 * conform/data/fenv.h-data: Likewise.
6194 * conform/data/float.h-data: Likewise.
6195 * conform/data/fmtmsg.h-data: Likewise.
6196 * conform/data/ftw.h-data: Likewise.
6197 * conform/data/grp.h-data: Likewise.
6198 * conform/data/inttypes.h-data: Likewise.
6199 * conform/data/iso646.h-data: Likewise.
6200 * conform/data/langinfo.h-data: Likewise.
6201 * conform/data/libgen.h-data: Likewise.
6202 * conform/data/limits.h-data: Likewise.
6203 * conform/data/locale.h-data: Likewise.
6204 * conform/data/math.h-data: Likewise.
6205 * conform/data/mqueue.h-data: Likewise.
6206 * conform/data/ndbm.h-data: Likewise.
6207 * conform/data/net/if.h-data: Likewise.
6208 * conform/data/netdb.h-data: Likewise.
6209 * conform/data/netinet/in.h-data: Likewise.
6210 * conform/data/poll.h-data: Likewise.
6211 * conform/data/pthread.h-data: Likewise.
6212 * conform/data/pwd.h-data: Likewise.
6213 * conform/data/sched.h-data: Likewise.
6214 * conform/data/search.h-data: Likewise.
6215 * conform/data/semaphore.h-data: Likewise.
6216 * conform/data/signal.h-data: Likewise.
6217 * conform/data/spawn.h-data: Likewise.
6218 * conform/data/stdbool.h-data: Likewise.
6219 * conform/data/stdint.h-data: Likewise.
6220 * conform/data/stdio.h-data: Likewise.
6221 * conform/data/stdlib.h-data: Likewise.
6222 * conform/data/string.h-data: Likewise.
6223 * conform/data/strings.h-data: Likewise.
6224 * conform/data/stropts.h-data: Likewise.
6225 * conform/data/sys/mman.h-data: Likewise.
6226 * conform/data/sys/resource.h-data: Likewise.
6227 * conform/data/sys/select.h-data: Likewise.
6228 * conform/data/sys/socket.h-data: Likewise.
6229 * conform/data/sys/stat.h-data: Likewise.
6230 * conform/data/sys/statvfs.h-data: Likewise.
6231 * conform/data/sys/time.h-data: Likewise.
6232 * conform/data/sys/timeb.h-data: Likewise.
6233 * conform/data/sys/types.h-data: Likewise.
6234 * conform/data/sys/uio.h-data: Likewise.
6235 * conform/data/sys/un.h-data: Likewise.
6236 * conform/data/sys/wait.h-data: Likewise.
6237 * conform/data/syslog.h-data: Likewise.
6238 * conform/data/termios.h-data: Likewise.
6239 * conform/data/tgmath.h-data: Likewise.
6240 * conform/data/time.h-data: Likewise.
6241 * conform/data/ucontext.h-data: Likewise.
6242 * conform/data/unistd.h-data: Likewise.
6243 * conform/data/utmpx.h-data: Likewise.
6244 * conform/data/varargs.h-data: Likewise.
6245 * conform/data/wchar.h-data: Likewise.
6246 * conform/data/wctype.h-data: Likewise.
6247
6248 2017-04-26 Joseph Myers <joseph@codesourcery.com>
6249
6250 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6251 version to 7 branch.
6252
6253 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
6254
6255 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6256 earlyclobber to output operand of sqrt insn.
6257 (__ieee754_sqrtf): Ditto.
6258
6259 2017-04-25 Joseph Myers <joseph@codesourcery.com>
6260
6261 [BZ #21426]
6262 * misc/bits/types/struct_iovec.h: New file.
6263 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6264 * include/bits/types/struct_iovec.h: New file.
6265 * bits/uio.h (struct iovec): Replace by inclusion of
6266 <bits/types/struct_iovec.h>.
6267 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6268 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6269 of <sys/uio.h>.
6270 * nptl/tst-cancel4.c: Include <sys/uio.h>
6271 * posix/test-errno.c: Likewise.
6272 * support/resolv_test.c: Likewise.
6273 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6274 Remove.
6275 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6276 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6277 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6278
6279 * conform/data/sys/socket.h-data (*_t): Allow.
6280
6281 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6282
6283 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6284 assignment.
6285
6286 2017-04-24 Daurnimator <quae@daurnimator.com>
6287 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6288
6289 [BZ #21340]
6290 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6291 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6292 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6293 valid flags.
6294 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6295 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6296 POSIX_SPAWN_SETSID.
6297 * sysdeps/posix/spawni.c (__spawni): Likewise.
6298 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6299 * NEWS: Add note about POSIX_SPAWN_SETSID support.
6300
6301 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6302
6303 * sysdeps/generic/math_private.h: Move the declaration of many
6304 functions to sysdeps/generic/math_private_calls.h.
6305 * sysdeps/generic/math_private_calls.h: New file with the
6306 declarations of the functions removed from math_private.h
6307 macroized by floating-point type.
6308
6309 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6310
6311 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6312 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6313 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6314 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6315 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6316 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6317
6318 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6319
6320 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6321 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6322 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6323 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6324 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6325 New Define.
6326
6327 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6328
6329 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6330 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6331 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6332 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6333 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6334 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6335
6336 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6337
6338 * sysdeps/s390/multiarch/ifunc-resolve.h
6339 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6340 * sysdeps/s390/multiarch/8bit-generic.c
6341 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6342 define ifunc resolvers.
6343
6344 2017-04-21 Florian Weimer <fweimer@redhat.com>
6345
6346 [BZ #20424]
6347 * manual/memory.texi (Replacing malloc): New section.
6348 (Allocating Storage For Program Data): Reference it.
6349 (The GNU Allocator): Likewise.
6350
6351 2017-04-20 Joseph Myers <joseph@codesourcery.com>
6352
6353 * stdlib/Versions (__strtod_internal): List explicitly, not as
6354 wildcard.
6355 (__strtof_internal): Likewise.
6356 (__strtold_internal): Likewise.
6357 (__strtol_internal): Likewise.
6358 (__strtoll_internal): Likewise.
6359 (__strtoul_internal): Likewise.
6360 (__strtoull_internal): Likewise.
6361 (__strtoq_internal): Likewise.
6362 (__strtouq_internal): Likewise.
6363 * wcsmbs/Versions (__wcstod_internal): Likewise.
6364 (__wcstof_internal): Likewise.
6365 (__wcstold_internal): Likewise.
6366 (__wcstol_internal): Likewise.
6367 (__wcstoll_internal): Likewise.
6368 (__wcstoul_internal): Likewise.
6369 (__wcstoull_internal): Likewise.
6370
6371 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6372
6373 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6374 struct timespec definition.
6375
6376 2017-04-19 Florian Weimer <fweimer@redhat.com>
6377
6378 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6379
6380 2017-04-19 Florian Weimer <fweimer@redhat.com>
6381
6382 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6383 * inet/rexec.c (rexec_af): Likewise.
6384
6385 2017-04-19 Zack Weinberg <zackw@panix.com>
6386
6387 * posix/tst-mmap-offset.c: Include stdint.h.
6388 * resolv/tst-ns_name_compress.c: Include string.h.
6389 * resolv/tst-resolv-edns.c: Include resolv.h.
6390
6391 2017-04-19 Florian Weimer <fweimer@redhat.com>
6392
6393 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6394 with __glibc_likely.
6395 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6396 Replace __builtin_expect with __glibc_unlikely.
6397 * resolv/res_init.c (__res_vinit): Likewise.
6398 * resolv/res_query.c (__libc_res_nquery): Likewise.
6399 * resolv/res_send.c (__libc_res_nsend): Likewise.
6400
6401 2017-04-19 Florian Weimer <fweimer@redhat.com>
6402
6403 [BZ #15722]
6404 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6405 with SOCK_CLOEXEC.
6406 * resolv/res_send.c (send_vc, reopen): Likewise.
6407 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6408 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6409 Likewise.
6410 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6411 * inet/rexec.c (rexec_af): Add comment.
6412 * inet/rcmd.c (rresvport_af): Likewise.
6413
6414 2017-04-19 Florian Weimer <fweimer@redhat.com>
6415
6416 * nscd/connections.c (have_accept4): Removed definition.
6417 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6418 accept4 works.
6419 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6420 ia64 because that was the first version with accept4 support.
6421 * support/Makefile (libsupport-routines): Add xaccept4.
6422 * support/xsocket.h (xaccept4): Declare.
6423 * support/xaccept4.c: New file.
6424 * socket/tst-accept4.c: New file.
6425 * socket/Makefile (tests): Add tst-accept4.
6426 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6427 definition.
6428 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6429 comment.
6430 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6431 implementation is available.
6432 (accept4): Use the system call if available, otherwise use the
6433 socket call.
6434 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6435 Set to 3.2.18.
6436 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6437 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6438 accept4 is unconditionally available in later 3.2 stable kernels.
6439 (__ASSUME_ACCEPT4_SYSCALL): Define.
6440 * sysdeps/unix/sysv/linux/kernel-features.h
6441 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6442 definitions.
6443 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6444 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6445
6446 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6447
6448 * conform/Makefile (tests-special): Do not make addition of
6449 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6450 (generated): Do not make addition of $(conformtest-header-base)
6451 conditional on [$(cross-compiling) = no].
6452
6453 [BZ #21267]
6454 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6455 if defined by <asm/socket.h> and not previously defined.
6456 (IOCSIZE_SHIFT): Likewise.
6457 (IOC_IN): Likewise.
6458 (IOC_INOUT): Likewise.
6459 (IOC_OUT): Likewise.
6460
6461 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6462
6463 [BZ #21396]
6464 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6465 Prefer_No_AVX512 if AVX512ER isn't available.
6466 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6467 (index_arch_Prefer_No_AVX512): Likewise.
6468 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6469 AVX512 version if Prefer_No_AVX512 is set.
6470 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6471 Likewise.
6472 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6473 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6474 Likewise.
6475 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6476 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6477 Likewise.
6478 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6479 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6480 Likewise.
6481
6482 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6483
6484 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6485 Prefer_No_VZEROUPPER if AVX512ER is available.
6486 * sysdeps/x86/cpu-features.h
6487 (bit_cpu_AVX512PF): New.
6488 (bit_cpu_AVX512ER): Likewise.
6489 (bit_cpu_AVX512CD): Likewise.
6490 (bit_cpu_AVX512BW): Likewise.
6491 (bit_cpu_AVX512VL): Likewise.
6492 (index_cpu_AVX512PF): Likewise.
6493 (index_cpu_AVX512ER): Likewise.
6494 (index_cpu_AVX512CD): Likewise.
6495 (index_cpu_AVX512BW): Likewise.
6496 (index_cpu_AVX512VL): Likewise.
6497 (reg_AVX512PF): Likewise.
6498 (reg_AVX512ER): Likewise.
6499 (reg_AVX512CD): Likewise.
6500 (reg_AVX512BW): Likewise.
6501 (reg_AVX512VL): Likewise.
6502
6503 2017-04-18 Florian Weimer <fweimer@redhat.com>
6504
6505 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6506 O_CLOEXEC is defined.
6507 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6508 * io/Makefile (aux): Remove.
6509 * io/have_o_cloexec.c: Remove file.
6510 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6511 defined and works.
6512 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6513 defined.
6514 * login/utmp_file.c (O_flags): Remove definition.
6515 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6516 O_CLOEXEC works.
6517 (pututline_file): Likewise.
6518 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6519 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6520 definition.
6521 (internal_setgrent): Assume that O_CLOEXEC works.
6522 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6523 Remove definition.
6524 (internal_setgrent): Assume that O_CLOEXEC works.
6525 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6526 definition.
6527 (internal_setpwent): Assume that O_CLOEXEC works.
6528 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6529 definition.
6530 (internal_setspent): Assume that O_CLOEXEC works.
6531 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6532 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6533 O_CLOEXEC is defined and works.
6534 * nss/Makefile (libnss_files-routines): Remove
6535 files-have_o_cloexec.
6536 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6537 defined.
6538 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6539 O_CLOEXEC is defined and works.
6540 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6541 * nss/nss_files/files-have_o_cloexec.c: Remove.
6542 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6543 defined.
6544 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6545 and works.
6546 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6547 definition.
6548 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6549 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6550 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6551 (__opendirat, __opendir): Adjust opendir_oflags call.
6552 (check_have_o_cloexec): Remove.
6553 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6554 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6555 defined.
6556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6557 Remove definition.
6558
6559 2017-04-18 Florian Weimer <fweimer@redhat.com>
6560
6561 * include/unistd.h (__have_dup3): Remove declaration.
6562 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6563 dup3 is available.
6564 * libio/freopen64.c (freopen64): Likewise.
6565 * socket/Makefile (aux): Remove have_sock_cloexec.
6566 * socket/have_sock_cloexec.c: Remove file.
6567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6568 definition.
6569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6570 Likewise.
6571 * sysdeps/nacl/kernel-features.h: Update comment.
6572
6573 2017-04-18 Florian Weimer <fweimer@redhat.com>
6574
6575 * include/unistd.h (__have_pipe2): Remove declaration.
6576 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6577 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6578 available.
6579 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6580 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6581 Remove definition.
6582
6583 2017-04-18 Florian Weimer <fweimer@redhat.com>
6584
6585 * malloc/malloc.c (cfree): Turn into compat symbol.
6586 (__cfree): Remove alias.
6587 * stdlib/stdlib.h (cfree): Remove declaration.
6588 * malloc/malloc.h (cfree): Likewise.
6589 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6590 * malloc/Versions (GLIBC_2.26): Add.
6591
6592 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6593
6594 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6595 (sysdep_routines): Add strrchr-power8.
6596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6597 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6598 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6599 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6600 (strrchr): Add __strrchr_power8 to ifunc list.
6601 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6602
6603 2017-04-17 Rabin Vincent <rabinv@axis.com>
6604
6605 [BZ #21357]
6606 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6607 Call free() outside of mutex.
6608
6609 2017-04-13 Florian Weimer <fweimer@redhat.com>
6610
6611 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6612 is defined.
6613 * elf/rtld.c (process_envvars): Likewise.
6614 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6615 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6616 O_NOFOLLOW directly.
6617 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6618
6619 2017-04-13 Florian Weimer <fweimer@redhat.com>
6620
6621 [BZ #21369]
6622 Remove EDNS fallback.
6623 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6624 handling.
6625 * resolv/res_send.c (send_dg): Likewise.
6626 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6627 "tcp." prefixes.
6628 (do_test): Send a "formerr."-prefixed query in an attempt to
6629 trigger EDNS fallback.
6630
6631 2017-04-13 Florian Weimer <fweimer@redhat.com>
6632
6633 [BZ #21361]
6634 Limit EDNS buffer size to 1200 bytes.
6635 * include/resolv.h (__res_nopt): Remove declaration.
6636 * resolv/Makefile (tests): tst-resolv-edns.
6637 (tst-resolv-edns): Link with -lresolv, -lpthread.
6638 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6639 interval [512, 1200].
6640 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6641 we can resize the buffer.
6642 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6643 (__res_nopt): Declare.
6644 * resolv/tst-resolv-edns.c: New file.
6645 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6646 (struct resolv_response_context): Add edns member.
6647 * resolv/resolv_test.c (struct query_info): Add edns member.
6648 (parse_query): Extract EDNS information from the query.
6649 (server_thread_udp_process_one): Propagate EDNS data.
6650 (server_thread_tcp_client): Likewise.
6651
6652 2017-04-13 Florian Weimer <fweimer@redhat.com>
6653
6654 [BZ #21359]
6655 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6656 byte in the destination buffer. Avoid out-of-bounds pointer
6657 arithmetic.
6658 * resolv/Makefile (tests): Add tst-ns_name_compress.
6659 (tst-ns_name_compress): Link with -lresolv.
6660 * resolv/tst-ns_name_compress.c: New file.
6661 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6662 (response): Recognize LONG_NAME.
6663 (do_test): Add LONG_NAME tests.
6664 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6665 for ns_name_unpack. Add tests for ns_name_pton and
6666 ns_name_compress.
6667
6668 2017-04-13 Florian Weimer <fweimer@redhat.com>
6669
6670 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6671 (res_nisourserver): Remove definition.
6672 (p_section, res_npquery, res_nisourserver): Remove declaration.
6673 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6674 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6675 ... here.
6676 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6677 <resolv.h>.
6678 * resolv/res_query.c: Likewise.
6679 * resolv/res_debug.c (p_section): Define as static.
6680
6681 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6682
6683 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6684 strncat-power8.
6685 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6686 __strncat_power8 to ifunc list.
6687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6688 (strncat): Add __strncat_power8 to list of strncat functions.
6689 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6690
6691 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6692
6693 [BZ #21270]
6694 * posix/tst-mmap-offset.c (do_prepare): New function.
6695 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6696 (do_test_bz21270): New function.
6697 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6698 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6699 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6700 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6701 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6702 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6703 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6704 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6705 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6706 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6707 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6708 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6709 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6710 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6711 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6712 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6713 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6714 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6715 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6716 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6717 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6718 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6719 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6720 from auto-generation list.
6721 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6723 * sysdeps/unix/sysv/linux/mmap.c: New file.
6724 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6725 offsets and support for mmap2 syscall.
6726
6727 * posix/globtest.sh: Add cleanup routine on trap 0.
6728
6729 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6730
6731 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6732 implementation-specific function name and remove unneeded
6733 macros definition.
6734 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6736 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6737 name if not defined and pass as parameter to macros accordingly.
6738 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6740
6741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6742 implementation-specific function name and remove unneeded
6743 macros definition.
6744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6749 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6750 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6751 name if not defined and pass as parameter to macros accordingly.
6752 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6753 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6754 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6755 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6756 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6758
6759 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6760 implementation-specific function name and remove unneeded macros
6761 definition.
6762 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6763 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6764 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6765 function name if not defined and pass as parameter to macros
6766 accordingly.
6767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6768 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6769
6770 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6771 implementation-specific function name and remove unneeded macros
6772 definition.
6773 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6774 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6775 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6776 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6777 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6778 not defined and pass as parameter to macros accordingly.
6779 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6780 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6781 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6782 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6783
6784 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6785 strcasestr implementation name and remove unneeded macros definition.
6786 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6787 strstr implementation name and remove unneeded macros definition.
6788 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6789 name if not defined and pass as parameter to macros accordingly.
6790 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6791
6792 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6793 implementation-specific function name and remove unneeded macros
6794 definition.
6795 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6796 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6797 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6798 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6799 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6800 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6801 function name if not defined and pass as parameter to macros
6802 accordingly.
6803 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6804 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6805 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6807
6808 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6809 the strlen implementation name and remove unneeded macros definition.
6810 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6811 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6812 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6813 the strnlen implementation name and remove unneeded macros definition.
6814 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6815 name if not defined and pass as parameter to macros accordingly.
6816 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6817 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6818 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6819
6820 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6821 the implementation-specific function name and remove unneeded
6822 macros definition.
6823 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6824 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6825 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6826 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6827 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6828 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6829 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6830 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6831 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6832 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6833 name if not defined and pass as parameter to macros accordingly.
6834 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6836 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6837 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6838 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6839 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6840 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6841 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6842
6843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6844 implementation-specific function name and remove unneeded macros
6845 definition.
6846 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6847 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6848 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6849 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6850 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6851 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6852 function name if not defined.
6853 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6854 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6855
6856 2017-04-11 Paul Clarke <pc@us.ibm.com>
6857
6858 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6859 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6860 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6861 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6862
6863 2017-04-11 Florian Weimer <fweimer@redhat.com>
6864 Zack Weinberg <zackw@panix.com>
6865
6866 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6867 readdir64 as thread-safe. Update warning about readdir_r.
6868
6869 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6870
6871 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6872 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6873 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6874 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6875 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6876 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6877 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6878
6879 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * sysdeps/i386/dl-procinfo.c: Include
6882 <sysdeps/x86/dl-procinfo.c>.
6883 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6884 * sysdeps/x86/dl-procinfo.c: New file.
6885
6886 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6887
6888 * sysdeps/generic/math_private.h: Remove declarations of
6889 many functions that are already declared in math.h.
6890 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6891 declaration for __frexpl.
6892 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6893 the declarations for __scalbnl and fabsl.
6894
6895 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6896
6897 [BZ #20831]
6898 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6899 of __mprotect to change protection on the excess portion
6900 to disallow all access.
6901
6902 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6903
6904 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6905 HAS_CPU_FEATURE to check for SSE.
6906 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6907 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6908 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6909 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6910 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6911 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6912 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6913 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6914 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6915 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6916 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6917 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6918 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6919 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6920 (index_cpu_SSE): Likewise.
6921 (reg_SSE): Likewise.
6922
6923 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6924
6925 * posix/getopt1.c: Include <config.h>, not "config.h".
6926
6927 2017-04-07 Zack Weinberg <zackw@panix.com>
6928
6929 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6930 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6931 Mention in top-of-file boilerplate that these files are shared
6932 with gnulib.
6933 * posix/getopt.h, posix/bits/getopt_posix.h:
6934 Mention in top-of-file boilerplate that these files are NOT shared
6935 with gnulib, unlike the rest of the getopt implementation.
6936
6937 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6938 New files, intended to be shared with gnulib.
6939 * posix/bits/getopt_posix.h:
6940 New file, not intended to be shared with gnulib.
6941 * posix/getopt.h: Now just includes features.h,
6942 bits/getopt_core.h, and bits/getopt_ext.h. Will
6943 no longer be shared with gnulib.
6944 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6945 * include/bits/getopt_posix.h: New wrappers.
6946 * posix/Makefile: Install new headers.
6947 * posix/unistd.h, libio/stdio.h:
6948 Include bits/getopt_posix.h instead of getopt.h.
6949
6950 * include/libc-symbols.h: For gnulib compatibility, define
6951 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6952 _GL_ATTRIBUTE_CONST.
6953 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6954 parameters with _GL_UNUSED.
6955
6956 * posix/getopt.c: When used standalone, define __libc_use_alloca
6957 as always false and alloca to abort if called.
6958 (process_long_option): Rewrite handling of ambiguous long options
6959 to use a single boolean vector, not a linked list; use
6960 __libc_use_alloca to decide whether to allocate this using alloca.
6961 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6962
6963 * posix/getopt.c (process_long_option): New function split out
6964 from _getopt_internal_r.
6965 (_getopt_internal_r): Replace both copies of the long-option
6966 processing code with calls to process_long_option.
6967 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6968 (do_test): Differentiate argv[0] in the two subtests.
6969
6970 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6971 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6972 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6973
6974 * posix/getopt.h: Add backup definition of __nonnull for
6975 consistency with gnulib. Define __getopt_argv_const to const
6976 if not already defined.
6977 (getopt): Update doc comment from gnulib. Prototype
6978 unconditionally. Add __nonnull annotation.
6979 (__posix_getopt): Add __nonnull annotation.
6980 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6981 prototypes for consistency with gnulib. Add __nonnull
6982 annotations.
6983 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6984 (getopt_internal): Change 'argv' argument to type 'char **'.
6985 Remove now-unnecessary casts.
6986 (getopt, __posix_getopt): Eliminate repetition with a macro.
6987 Cast 'argv' to 'char **' when calling _getopt_internal.
6988 * posix/getopt1.c (getopt_long, getopt_long_only):
6989 Use __getopt_argv_const for consistency with gnulib.
6990 Cast 'argv' to 'char **' when calling _getopt_internal.
6991 (_getopt_long_r, _getopt_long_only_r):
6992 Change 'argv' argument to type 'char **'.
6993 (main): Constify 'long_options'.
6994 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6995 (_getopt_long_r, _getopt_long_only_r):
6996 Change 'argv' argument to type 'char **'.
6997
6998 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6999 (locked_vfxprintf): New helper function. Handle arbitrary
7000 multibyte strings, not just ASCII.
7001 * include/stdio.h: Declare __fxprintf_nocancel.
7002 * posix/getopt.c: When _LIBC is defined, define fprintf to
7003 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
7004 to _IO_funlockfile. When neither _LIBC nor
7005 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
7006 funlockfile as no-ops.
7007 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
7008 the standalone error-printing code can now be used for libc as
7009 well. Add an flockfile/funlockfile pair around one case where
7010 the error message is printed in several chunks. Don't use fputc.
7011 * posix/tst-getopt-cancel.c: New test.
7012 * posix/Makefile: Run it.
7013
7014 * posix/getopt.c (_getopt_internal_r): Don't increment
7015 d->optind a second time when reporting ambiguous -W options.
7016
7017 * posix/getopt_int.h: Include getopt.h.
7018 Use impl-namespace names for all arguments to _getopt_internal and
7019 _getopt_internal_r.
7020 Declare __ordering enum outside the struct.
7021 Harmonize comments with gnulib.
7022 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
7023 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
7024 #ifdef TEST block and make unconditional. Do not define NULL.
7025 * posix/getopt.c: Partial merge from gnulib, covering the
7026 initial includes and global declarations, commentary, and
7027 a couple of semantically-neutral code changes.
7028
7029 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
7030 Use '...' instead of `...' for quotation marks inside
7031 comments and strings.
7032
7033 * config.h.in (USE_NONOPTION_FLAGS): Remove.
7034 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
7035 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7036 * posix/getopt_int.h: Likewise.
7037 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
7038 __libc_argc and __libc_argv externs, which were only used by
7039 #ifdef USE_NONOPTION_FLAGS blocks.
7040 * posix/getopt_init.c: Remove file.
7041 * posix/Makefile (routines): Remove getopt_init.
7042 * include/getopt.h: Don't declare __getopt_initialize_environment.
7043 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
7044 a comment.
7045
7046 2017-04-07 Florian Weimer <fweimer@redhat.com>
7047
7048 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
7049
7050 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7051
7052 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
7053 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
7054 to __wrap_.udiv.
7055 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
7056 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
7057
7058 * sysdeps/i386/symbol-hacks.h: New file.
7059 * sysdeps/m68k/symbol-hacks.h: New file.
7060 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
7061 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
7062 * sysdeps/unix/sysv/linux/i386/Makefile
7063 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
7064 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7065 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7066 * sysdeps/unix/sysv/linux/m68k/Makefile
7067 [$(subdir) = csu] (sysdep_routines): Likewise.
7068 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7069 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7071 [$(subdir) = csu] (sysdep_routines): Likewise.
7072 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7073 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7074 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7075 [$(subdir) = csu] (sysdep_routines): Likewise.
7076 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7077 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7078 * sysdeps/wordsize-32/Makefile: Remove file.
7079 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
7080 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
7081
7082 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
7083
7084 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
7085 (TEST_FUNCTION_ARGV): New.
7086
7087 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7088
7089 * elf/next.c: Import support/test-driver.c instead of
7090 test-skeleton.c and delete TEST_FUNCTION macro definition.
7091 * elf/nodelete.c: Likewise.
7092 * elf/order2.c: Likewise.
7093 * elf/tst-_dl_addr_inside_object.c: Likewise.
7094 * elf/tst-addr1.c: Likewise.
7095 * elf/tst-align.c: Likewise.
7096 * elf/tst-align2.c: Likewise.
7097 * elf/tst-audit11.c: Likewise.
7098 * elf/tst-audit12.c: Likewise.
7099 * elf/tst-audit2.c: Likewise.
7100 * elf/tst-audit9.c: Likewise.
7101 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
7102 * elf/tst-deep1.c: Likewise.
7103 * elf/tst-dl-iter-static.c: Likewise.
7104 * elf/tst-dlmodcount.c: Likewise.
7105 * elf/tst-dlmopen1.c: Likewise.
7106 * elf/tst-dlmopen2.c: Likewise.
7107 * elf/tst-dlmopen3.c: Likewise.
7108 * elf/tst-dlopen-aout.c: Likewise.
7109 * elf/tst-dlopenrpath.c: Likewise.
7110 * elf/tst-dlsym-error.c: Likewise.
7111 * elf/tst-execstack-needed.c: Likewise.
7112 * elf/tst-execstack-prog.c: Likewise.
7113 * elf/tst-execstack.c: Likewise.
7114 * elf/tst-global1.c: Likewise.
7115 * elf/tst-gnu2-tls1.c: Likewise.
7116 * elf/tst-latepthread.c: Likewise.
7117 * elf/tst-leaks1.c: Likewise.
7118 * elf/tst-linkall-static.c: Likewise.
7119 (do_test): New function.
7120 * elf/tst-nodelete-opened.c: Likewise.
7121 * elf/tst-nodelete.cc: Likewise.
7122 * elf/tst-nodelete2.c: Likewise.
7123 * elf/tst-noload.c: Likewise.
7124 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
7125 * elf/tst-order-main.c: Likewise.
7126 * elf/tst-pathopt.c: Likewise.
7127 * elf/tst-pie2.c: Likewise.
7128 * elf/tst-piemod1.c: Likewise.
7129 * elf/tst-prelink.c: Likewise.
7130 * elf/tst-protected1a.c: Likewise.
7131 * elf/tst-protected1b.c: Likewise.
7132 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
7133 and define _GNU_SOURCE macro.
7134 (cmdline_process_function): New function.
7135 * elf/tst-relsort1.c: Likewise.
7136 * elf/tst-stackguard1.c: Likewise, import getopt.h,
7137 and define _GNU_SOURCE macro.
7138 (cmdline_process_function): New function.
7139 * elf/tst-thrlock.c: Likewise.
7140 * elf/tst-tls-dlinfo.c: Likewise.
7141 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
7142 * elf/tst-tls1.c: Likewise.
7143 * elf/tst-tls10.c: Likewise.
7144 * elf/tst-tls11.c: Likewise.
7145 * elf/tst-tls12.c: Likewise.
7146 * elf/tst-tls13.c: Likewise.
7147 * elf/tst-tls14.c: Likewise.
7148 * elf/tst-tls15.c: Likewise.
7149 * elf/tst-tls16.c: Likewise.
7150 * elf/tst-tls17.c: Likewise.
7151 * elf/tst-tls18.c: Likewise.
7152 * elf/tst-tls19.c: Likewise.
7153 * elf/tst-tls2.c: Likewise.
7154 * elf/tst-tls3.c: Likewise.
7155 * elf/tst-tls4.c: Likewise.
7156 * elf/tst-tls5.c: Likewise.
7157 * elf/tst-tls6.c: Likewise.
7158 * elf/tst-tls7.c: Likewise.
7159 * elf/tst-tls8.c: Likewise.
7160 * elf/tst-tls9.c: Likewise.
7161 * elf/tst-tlsalign-extern.c: Likewise.
7162 * elf/tst-tlsalign.c: Likewise.
7163 * elf/tst-unique1.c: Likewise.
7164 * elf/tst-unique2.c: Likewise.
7165 * elf/vismain.c: Likewise.
7166
7167 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7168
7169 * string/test-strnlen.c (do_page_tests): New function
7170 to check length of strings ending at the page boundary.
7171 (test_main): Added call to the do_page_tests function.
7172
7173 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7174 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7175
7176 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7177 (sysdep_routines): Add strnlen-power8.
7178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7179 (strnlen): Add __strnlen_power8 to list of strnlen functions.
7180 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7181 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7182 (__strnlen): Add __strnlen_power8 to ifunc list.
7183 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7184
7185 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7186
7187 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7188 the TEST_FUNCTION macro definition.
7189 * wcsmbs/tst-mbrtowc2.c: Likewise.
7190 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7191 * wcsmbs/tst-wchar-h.c: Likewise.
7192 * wcsmbs/tst-wcpncpy.c: Likewise.
7193 * wcsmbs/tst-wcrtomb.c: Likewise.
7194 * wcsmbs/tst-wcsnlen.c: Likewise.
7195 * wcsmbs/tst-wcstof.c: Likewise.
7196
7197 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7198
7199 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7200 CALL_THREAD_FCT macro usage.
7201 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7202 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7203 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7204
7205 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7206 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7207 (__ASSUME_REQUEUE_PI): Likewise.
7208 * sysdeps/unix/sysv/linux/kernel-features.h
7209 (__ASSUME_REQUEUE_PI): Likewise.
7210 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7211 (__ASSUME_REQUEUE_PI): Likewise.
7212 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7213 (__ASSUME_REQUEUE_PI): Likewise.
7214 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7215 (__ASSUME_REQUEUE_PI): Likewise.
7216
7217 2017-04-04 Florian Weimer <fweimer@redhat.com>
7218
7219 * resolv/tst-resolv-canonname.c: New file.
7220 * resolv/Makefile (tests): Add tst-resolv-canonname.
7221 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7222
7223 2017-04-04 Florian Weimer <fweimer@redhat.com>
7224
7225 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7226 Declare.
7227 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7228 (NS_MAXCDNAME): Remove definition.
7229 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7230 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7231 (NS_MAXCDNAME): Remove definition.
7232 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7233
7234 2017-04-04 Florian Weimer <fweimer@redhat.com>
7235
7236 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7237 call whose result is not used.
7238
7239 2017-04-04 Florian Weimer <fweimer@redhat.com>
7240
7241 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7242 * resolv/Makefile (tests): Add tst-ns_name.
7243 (tst-ns_name): Link with -lresolv.
7244 (tst-ns_name.out): Depend on the input data file.
7245
7246 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
7247
7248 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7249 Clobber also r14.
7250
7251 2017-04-03 Mike Frysinger <vapier@gentoo.org>
7252
7253 [BZ #21253]
7254 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7255 slack space by 32KiB.
7256
7257 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
7258
7259 [BZ #21338]
7260 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7261 instead of incorrect do_set_arena_test
7262
7263 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7264
7265 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7266 * math/bits/math-finite.h: Likewise.
7267
7268 2017-03-31 Slava Barinov <v.barinov@samsung.com>
7269
7270 [BZ #21289]
7271 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7272
7273 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7274
7275 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7276 non expected inotify_add_watch and quotactl return.
7277
7278 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7279
7280 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7281 to int32_t.
7282 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7283 as returning int32_t.
7284
7285 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7286
7287 * math/math.h: Include bits/math-finite.h once per
7288 floating-point type.
7289 * math/bits/math-finite.h: Macroize all declarations by
7290 floating-point type.
7291
7292 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7293
7294 [BZ #21182]
7295 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7296 near end of a page.
7297 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7298 overflow calculation.
7299
7300 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
7301
7302 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7303 (IMPL) Call with 1 instead of 0 as argument.
7304
7305 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7306
7307 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7308 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7309 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7310 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7311 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7312 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7313 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7314 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7315 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7316 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7317 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7318 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7319 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7320 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7321 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7322 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7323 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7324 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7325 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7326 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7327 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7328 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7329 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7330 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7331 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7332 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7333 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7334 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7335 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7336 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7337 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7338 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7339 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7340 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7341 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7342 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7343 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7344 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7345 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7346 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7347 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7348 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7349 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7350 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7351 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7352 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7353 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7354 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7355 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7356 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7357 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7358 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7359 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7360 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7361 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7362 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7363 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7364 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7365 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7366 defined.
7367 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7368 __NR_setgroups32 if defined.
7369 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7370 if defined.
7371 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7372 __NR_setresgid32 is defined.
7373 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7374 __NR_setresuid32 if defined.
7375 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7376 __NR_setreuid32 if defined.
7377 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7378 defined.
7379 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7380 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7381 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7382 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7383 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7384 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7385 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7386 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7387 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7388 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7389 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7390 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7391 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7392 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7393 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7394 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7395 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7396 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7397 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7398 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7399 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7400 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7401 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7402 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7403 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7404 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7405 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7406 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7407 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7408 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7409 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7410 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7411 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7412 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7413 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7415 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7416 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7417 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7418 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7419 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7420 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7421 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7422 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7423 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7424 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7425 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7426 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7428 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7430 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7431 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7432 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7433 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7434 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7435 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7436 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7437 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7438 defined.
7439 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7440 __NR_setgroups32 if defined.
7441 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7442 if defined.
7443 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7444 __NR_setresgid32 is defined.
7445 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7446 __NR_setresuid32 if defined.
7447 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7448 __NR_setreuid32 if defined.
7449 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7450 defined.
7451
7452 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7453
7454 [BZ #21277]
7455 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7456 unconditionally.
7457 (IMAXBEL): Likewise.
7458 (IUTF8): Likewise.
7459
7460 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7461
7462 * sysdeps/aarch64/libm-test-ulps: Update.
7463
7464 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7465
7466 * README.tunables: Updated descriptions.
7467 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7468 * scripts/gen-tunables.awk: Updated the code related to the
7469 commit.
7470
7471 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7472
7473 * benchtests/Makefile (string-benchset): Add memcpy-random.
7474 * benchtests/bench-memcpy-random.c: New file.
7475
7476 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7477
7478 * stdio-common/printf.h (register_printf_modifier): Change the
7479 order of __wur and __THROW.
7480 (register_printf_type): Likewise.
7481
7482 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7483
7484 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7485 test_main ().
7486 (CMDLINE_PROCESS): Use function instead of defined macro.
7487 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7488 <suppport/support.h> to use set_fortify_handler().
7489 * string/bug-envz1.c: Import support/test-driver.c instead of
7490 test-skeleton.c.
7491 * string/bug-strcoll2.c: Likewise.
7492 * string/bug-strtok1.c: Likewise.
7493 * string/stratcliff.c: Likewise.
7494 * string/test-ffs.c: Likewise.
7495 * string/test-memccpy.c: Likewise.
7496 * string/test-memchr.c: Likewise.
7497 * string/test-memcmp.c: Likewise.
7498 * string/test-memcpy.c: Likewise.
7499 * string/test-memmem.c: Likewise.
7500 * string/test-memmove.c: Likewise.
7501 * string/test-memrchr.c: Likewise.
7502 * string/test-memset.c: Likewise.
7503 * string/test-rawmemchr.c: Likewise.
7504 * string/test-strcasecmp.c: Likewise.
7505 * string/test-strcasestr.c: Likewise.
7506 * string/test-strcat.c: Likewise.
7507 * string/test-strchr.c: Likewise.
7508 * string/test-strcmp.c: Likewise.
7509 * string/test-strcpy.c: Likewise.
7510 * string/test-string.h: Likewise.
7511 * string/test-strlen.c: Likewise.
7512 * string/test-strncasecmp.c: Likewise.
7513 * string/test-strncat.c: Likewise.
7514 * string/test-strncmp.c: Likewise.
7515 * string/test-strncpy.c: Likewise.
7516 * string/test-strnlen.c: Likewise.
7517 * string/test-strpbrk.c: Likewise.
7518 * string/test-strrchr.c: Likewise.
7519 * string/test-strspn.c: Likewise.
7520 * string/test-strstr.c: Likewise.
7521 * string/tst-bswap.c: Likewise.
7522 * string/tst-cmp.c: Likewise.
7523 * string/tst-endian.c: Likewise.
7524 * string/tst-inlcall.c: Likewise.
7525 * string/tst-strcoll-overflow.c: Likewise.
7526 * string/tst-strfry.c: Likewise.
7527 * string/tst-strlen.c: Likewise.
7528 * string/tst-strtok.c: Likewise.
7529 * string/tst-strtok_r.c: Likewise.
7530 * string/tst-strxfrm.c: Likewise.
7531 * string/tst-strxfrm2.c: Likewise.
7532 * string/tst-svc.c: Likewise.
7533 * string/tst-svc2.c: Likewise.
7534
7535 2017-03-22 Zack Weinberg <zackw@panix.com>
7536
7537 * stdio-common/bug25.c: Include stdlib.h.
7538 * support/tst-support_format_dns_packet.c: Include stdio.h,
7539 stdlib.h, and string.h.
7540 * support/tst-support_record_failure.c: Include string.h.
7541 * support/tst-support_record_failure-2.sh: Adjust line number
7542 expectations and correct a typo in an error message.
7543
7544 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7545
7546 [BZ #21258]
7547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7548 Define only if _dl_runtime_resolve is defined to
7549 _dl_runtime_resolve_sse_vex.
7550 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7551 Fallthrough to _dl_runtime_resolve_sse_vex.
7552
7553 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7554
7555 * INSTALL: Regenerated.
7556
7557 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7558
7559 * config.h.in: Add LINK_OBSOLETE_NSL.
7560 * config.make.in: Add build-obsolete-nsl.
7561 * configure.ac: Add obsolete-nsl option.
7562 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7563 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7564 * include/rpcsvc/nislib.h: Likewise.
7565 * include/rpcsvc/ypclnt.h: Likewise.
7566 * manual/install.texi: Document --enable-obsolete-nsl.
7567 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7568 * nis/nis_add.c: Replace libnsl_hidden_def with
7569 libnsl_hidden_nolink_def.
7570 * nis/nis_addmember.c: Likewise.
7571 * nis/nis_call.c: Likewise.
7572 * nis/nis_clone_obj.c: Likewise.
7573 * nis/nis_defaults.c: Likeise.
7574 * nis/nis_domain_of_r.c: Likewise.
7575 * nis/nis_error.c: Likewise.
7576 * nis/nis_file.c: Likewise.
7577 * nis/nis_free.c: Likewise.
7578 * nis_local_names.c: Likewise.
7579 * nis/nis_lookup.c: Likewise.
7580 * nis/nis_modify.c: Likewise.
7581 * nis/nis_print.c: Likewise.
7582 * nis/nis_remove.c: Likewise.
7583 * nis/nis_table.c: Likewise.
7584 * nis/nis_util.c: Likewise.
7585 * nis/nis_xdr.c: Likewise.
7586 * nis/yp_xdr.c: Likewise.
7587 * nis/ypclnt.c: Likewise.
7588 * nis/ypupdate_xdr.c: Likewise.
7589 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7590 * nis/nis_clone_dir.c: Likewise.
7591 * nis/nis_clone_res.c: Likewise.
7592 * nis/nis_creategroup.c: Likewise.
7593 * nis/nis_destroygroup.c: Likewise.
7594 * nis/nis_domain_of.c: Likewise.
7595 * nis/nis_getservlist.c: Likewise.
7596 * nis/nis_ismember.c: Likewise.
7597 * nis/nis_mkdir.c: Likewise.
7598 * nis/nis_ping.c: Likewise.
7599 * nis/nis_print_group_entry.c: Likewise.
7600 * nis/nis_removemember.c: Likewise.
7601 * nis/nis_rmdir.c: Likewise.
7602 * nis/nis_server.c: Likewise.
7603 * nis/nis_subr.c: Likewise.
7604 * nis/nis_verifygroup.c: Likewise.
7605
7606 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7607
7608 * malloc/tst-interpose-aux.c (check_for_allocations):
7609 Move compiler barrier before free.
7610
7611 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7612
7613 [BZ #21279]
7614 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7615 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7616 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7617 x86_64-x32-linux.
7618 (mq_attr.mq_maxmsg): Likewise.
7619 (mq_attr.mq_msgsize): Likewise.
7620 (mq_attr.mq_curmsgs): Likewise.
7621
7622 [BZ #21278]
7623 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7624 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7625 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7626 mips-o32-linux.
7627
7628 [BZ #21268]
7629 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7630 if [__USE_MISC]
7631 (NL3): Likewise.
7632
7633 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7634
7635 [BZ #21275]
7636 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7637 __stack to __stackbase.
7638 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7639 checks so we can include defined(__ia64__) first.
7640
7641 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7642
7643 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7644 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7645 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7646 Call is_pty when the link does not exist or does not match, fail
7647 with ENODEV when it returns true.
7648 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7649 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7650 Call is_pty when the link does not exist or does not match, fail
7651 with ENODEV when it returns true.
7652
7653 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7654
7655 [BZ #16437]
7656 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7657 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7658 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7659 x86_64-x32-linux.
7660 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7661 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7662 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7663
7664 [BZ #21261]
7665 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7666 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7667 names for all fields.
7668 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7669 for jmp_buf field renaming.
7670 (_JMPBUF_UNWINDS_ADJ): Likewise.
7671
7672 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7673 with allow-header.
7674
7675 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7676
7677 * malloc/malloc.c (unlink): Add consistency check between size and
7678 next->prev->size, to further harden against 1-byte overflows.
7679
7680 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7683 CPU_FEATURES_CPU_P.
7684
7685 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7686
7687 [BZ #21259]
7688 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7689 unconditionally, not just for [__USE_MISC].
7690
7691 [BZ #17786]
7692 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7693 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7694 mips-o32-linux.
7695
7696 [BZ #21260]
7697 * sysdeps/unix/sysv/linux/alpha/Makefile
7698 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7699 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7700
7701 * conform/conformtest.pl ($cross): New variable.
7702 (--cross): New command-line option.
7703 (runtest): Skip test execution when cross-compiling.
7704 * conform/Makefile (conformtest-cross): New variable.
7705 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7706 conformtest.pl.
7707
7708 * conform/conformtest.pl ($xfail_str): New variable.
7709 (--xfail=): New command-line option.
7710 (top level): Handle expectations starting xfail[cond]-.
7711 * conform/Makefile (conformtest-xfail): New variable.
7712 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7713 conformtest.pl.
7714
7715 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7716
7717 * conform/conformtest.pl: Use compilation instead of execution
7718 tests for testing values of constants and usability in #if.
7719
7720 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7721
7722 * math/auto-libm-test-in: Mark some catan and catanh as
7723 xfail-rounding:ibm128-libgcc.
7724 * math/auto-libm-test-out-catan: Regenerate.
7725 * math/auto-libm-test-out-catanh: Likewise.
7726
7727 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7728
7729 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7730 (__END_NAMESPACE_STD): Likewise.
7731 (__USING_NAMESPACE_STD): Likewise.
7732 (__BEGIN_NAMESPACE_C99): Likewise.
7733 (__END_NAMESPACE_C99): Likewise.
7734 (__USING_NAMESPACE_C99): Likewise.
7735 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7736 undefine macro.
7737 (_Mdouble_END_NAMESPACE): Likewise.
7738 * ctype/ctype.h: Do not handle C++ namespaces.
7739 * libio/bits/stdio-ldbl.h: Likewise.
7740 * libio/stdio.h: Likewise.
7741 * locale/locale.h: Likewise.
7742 * math/bits/mathcalls.h: Likewise.
7743 * setjmp/setjmp.h: Likewise.
7744 * signal/signal.h: Likewise.
7745 * stdlib/bits/stdlib-float.h: Likewise.
7746 * stdlib/bits/stdlib-ldbl.h: Likewise.
7747 * stdlib/stdlib.h: Likewise.
7748 * string/string.h: Likewise.
7749 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7750 * time/bits/types/clock_t.h: Likewise.
7751 * time/bits/types/struct_tm.h: Likewise.
7752 * time/bits/types/time_t.h: Likewise.
7753 * time/time.h: Likewise.
7754 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7755 * wcsmbs/uchar.h: Likewise.
7756 * wcsmbs/wchar.h: Likewise.
7757 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7758 * wctype/wctype.h: Do not handle C++ namespaces.
7759 * scripts/begin-end-check.pl: Remove.
7760 * Makefile (installed-headers): Likewise.
7761 (tests-special): Do not add $(objpfx)begin-end-check.out.
7762 ($(objpfx)begin-end-check.out): Remove.
7763
7764 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7765 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7766
7767 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7768 (DL_PLATFORM_INIT): New define.
7769 (dl_platform_init): New function.
7770 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7771 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7772 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7773 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7774 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7775
7776 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7777
7778 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7779 instead of PIC.
7780
7781 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7782
7783 [BZ #21094]
7784 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7785 24+24+24-bit pi for wider range of values around pi/2.
7786 * math/auto-libm-test-in: Add more tests of cos and tan.
7787 * math/auto-libm-test-out-cos: Regenerated.
7788 * math/auto-libm-test-out-tan: Likewise.
7789
7790 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7791
7792 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7793 (RTLD_START): Don't record stack end address in _dl_start_user.
7794
7795 2017-03-15 Alexey Neyman <stilor@att.net>
7796
7797 [BZ #21088]
7798 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7799 around definitions match those around use.
7800
7801 2017-03-15 Alexey Neyman <stilor@att.net>
7802
7803 * configure.ac: Avoid empty subexpression in grep.
7804 * configure: Regenerate.
7805
7806 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7807
7808 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7809 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7810 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7811 (test_wrp_rv): Fix format.
7812 (test_wrp_rv2): New macro.
7813 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7814 binaries.
7815
7816 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7817
7818 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7819 Use a union when storing pointers.
7820 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7821 cast result when passing to INIT_VEC_PTRS_LOOP.
7822 (VECTOR_WRAPPER_fFF_3): Likewise.
7823 (VECTOR_WRAPPER_fFF_4): Likewise.
7824
7825 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7826
7827 * include/bits/mathcalls-helper-functions.h: New file.
7828 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7829 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7830 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7831 math/bits/mathcalls-helper-functions.h.
7832 * math/bits/mathcalls-helper-functions.h: New file.
7833 * math/math.h: Include bits/mathcalls-helper-functions.h for
7834 float, double, and long double.
7835
7836 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7837
7838 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7839 instead of feraiseexcept.
7840
7841 2017-03-15 Florian Weimer <fweimer@redhat.com>
7842
7843 [BZ #21243]
7844 * support/temp_file.c (support_delete_temp_files): Add comment
7845 about ignored errors.
7846
7847 2017-03-15 Florian Weimer <fweimer@redhat.com>
7848
7849 [BZ #21244]
7850 * support/xclose.c: New file.
7851 * support/Makefile (libsupport-routines): Add xclose.
7852 * support/xunistd.h (xclose): Declare.
7853 * support/resolv_test.c (server_thread_tcp_client)
7854 (server_thread_tcp, make_server_sockets, resolv_test_start)
7855 (resolv_test_end): Call xclose instead of close.
7856 * support/support_enter_network_namespace.c
7857 (support_enter_network_namespace): Likewise.
7858 * support/support_run_diff.c (write_to_temp_file): Likewise.
7859
7860 2017-03-15 Florian Weimer <fweimer@redhat.com>
7861
7862 * support/support_format_dns_packet.c (support_format_dns_packet):
7863 Handle CNAME records in the response. Extract RDATA names from
7864 rdata, not the whole packet. Check AAAA record length.
7865 * support/tst-support_format_dns_packet.c: New file.
7866 * support/Makefile (tests): Add tst-support_format_dns_packet.
7867 (tst-support_format_dns_packet): Link against libresolv.
7868
7869 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7870
7871 [BZ #21232]
7872 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7873 posix_fadvise64 weak_alias for static build.
7874
7875 2017-03-14 Andreas Schwab <schwab@suse.de>
7876
7877 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7878 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7879 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7880 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7881 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7882 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7883 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7884 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7885
7886 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7887
7888 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7889 posix error code.
7890 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7891
7892 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7893
7894 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7895 no_isolate usage for SH.
7896
7897 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7898
7899 [BZ #15105]
7900 [BZ #19463]
7901 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7902 * inet/rcmd.c (rcmd_af): Likewise.
7903 * inet/rexec.c (rexec_af): Likewise.
7904 * intl/dcigettext.c (_LIBC): Likewise.
7905 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7906 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7907 * locale/setlocale.c (setlocale): Likewise.
7908 * posix/spawn_faction_addopen.c
7909 (posix_spawn_file_actions_addopen): Likewise.
7910 * stdlib/putenv.c (putenv): Use __strndup.
7911 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7913 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7914 (__Need_M_And_C) Remove define/undef.
7915 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7916 (__malloc_and_calloc_defined): Remove define.
7917 * string/bits/string2.h (__strdup): Remove define.
7918 (strdup): Likewise.
7919 (__strndup): Likewise.
7920 (strndup): Likewise.
7921
7922 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7923
7924 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7925 macro.
7926 (IPV6_ADDR_PREFERENCES): Likewise.
7927 (IPV6_MINHOPCOUNT): Likewise.
7928 (IPV6_ORIGDSTADDR): Likewise.
7929 (IPV6_RECVORIGDSTADDR): Likewise.
7930 (IPV6_TRANSPARENT): Likewise.
7931 (IPV6_UNICAST_IF): Likewise.
7932 (IPV6_RECVFRAGSIZE): Likewise.
7933
7934 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7935
7936 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7937
7938 2017-03-12 Alexey Neyman <stilor@att.net>
7939
7940 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7941 in R_SH_DIR32 case is always false when inlined from
7942 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7943
7944 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7945
7946 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7947 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7948 __ASSUME_SEND_SYSCALL.
7949
7950 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7951
7952 * sunrpc/Makefile: don't build and install rpcsvc header
7953 files, rpcgen and librpcsvc.a by default.
7954
7955 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7956
7957 * math/auto-libm-test-out-catan: Regenerated.
7958 * math/auto-libm-test-out-catanh: Likewise.
7959 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7960
7961 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7962
7963 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7964 for long double with corrected test expectations.
7965
7966 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7967
7968 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7969 Define.
7970 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7971 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7972 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7973 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7974 * sysdeps/unix/sysv/linux/tile/sysdep.h
7975 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7976 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7977 (__ASSUME_RECV_SYSCALL): Define.
7978 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7979 (__ASSUME_RECV_SYSCALL): Likewise.
7980 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7981 (__ASSUME_RECV_SYSCALL): Likewise.
7982 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7983 (__ASSUME_RECV_SYSCALL): Likewise.
7984 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7985 (__ASSUME_RECV_SYSCALL): Likewise.
7986 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7987 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7988 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7989 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7990 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7991 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7992 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7993 auto-generation list.
7994 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7995 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7996 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7997 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7998 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7999 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
8000 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
8001 __ASSUME_SENDTO_SYSCALL.
8002 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
8003 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
8004 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
8005
8006 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
8007 auto-generation list.
8008 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8009 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8010 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8011 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8012 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8013 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8014 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8015 * sysdeps/unix/sysv/linux/kernel-features.h
8016 (__ASSUME_SENDTO_SYSCALL): Define by default.
8017 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8018 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
8019 __NR_sendto.
8020 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8021 (__ASSUME_SENDTO_SYSCALL): Likewise.
8022 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8023 (__ASSUME_SENDTO_SYSCALL): Likewise.
8024 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8025 (__ASSUME_SENDTO_SYSCALL): Remove definition.
8026 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8027 (__ASSUME_SENDTO_SYSCALL): Likewise.
8028 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
8029 (__ASSUME_SENDTO_SYSCALL): Likewise.
8030 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
8031
8032 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
8033 auto-generation list.
8034 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8035 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8036 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8037 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8039 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8040 (__ASSUME_RECV_SYSCALL): New define.
8041 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8042 (__ASSUME_RECV_SYSCALL): Likewise.
8043 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8044 (__ASSUME_RECV_SYSCALL): Likewise.
8045 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8046 (__ASSUME_RECV_SYSCALL): Likewise.
8047 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8048 (__ASSUME_RECV_SYSCALL): Likewise.
8049 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8050 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8051 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8052 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8053 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8054 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8055 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
8056 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
8057 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
8058 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
8059 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
8060 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
8061
8062 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
8063 auto-generation list.
8064 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8065 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8066 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8067 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8070 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8071 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8072 (__ASSUME_RECVFROM_SYSCALL): Define by default.
8073 * sysdeps/unix/sysv/linux/kernel-features.h
8074 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
8075 __NR_recvfrom.
8076 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8077 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8078 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8079 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8080 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8081 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
8082 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8083 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8084 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8085 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8086 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8087 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8088 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
8089
8090 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
8091 auto-generation list.
8092 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8093 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8094 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8095 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8096 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8097 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8098 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8099 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
8100 * sysdeps/unix/sysv/linux/kernel-features.h
8101 (__ASSUME_CONNECT_SYSCALL): Define.
8102 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8103 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
8104 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8105 (__ASSUME_CONNECT_SYSCALL): Likewise.
8106 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8107 (__ASSUME_CONNECT_SYSCALL): Likewise.
8108 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8109 (__ASSUME_CONNECT_SYSCALL): Likewise.
8110
8111 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
8112 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
8113 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
8114 auto-generation list.
8115 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8116 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8117 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8118 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8119 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8121 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8122 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8123 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8124 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8125 * sysdeps/unix/sysv/linux/kernel-features.h
8126 (__ASSUME_ACCEPT_SYSCALL): New define.
8127 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8128 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8129 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
8130 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8131 (__ASSUME_ACCEPT_SYSCALL): Define.
8132 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8133 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8134 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8135 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8136 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8137 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8138 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8139 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8140 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
8141
8142 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
8143 Zack Weinberg <zackw@panix.com>
8144
8145 * posix/test-errno.c: New file.
8146 * posix/Makefile (tests): Add test-errno.
8147 * sysdeps/unix/sysv/linux/test-errno.c: New file.
8148 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
8149
8150 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
8151
8152 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8153
8154 2017-03-07 Florian Weimer <fweimer@redhat.com>
8155
8156 * time/tzset.c (compute_offset): Open-code min macro.
8157 (min, max, sign): Remove.
8158
8159 2017-03-07 Florian Weimer <fweimer@redhat.com>
8160
8161 [BZ #15576]
8162 Remove TZNAME_MAX limit from sysconf.
8163 * include/time.h (__tzname_cur_max, __tzname_max): Remove
8164 declaration.
8165 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8166 compute_tzname_max.
8167 (compute_tzname_max): Remove.
8168 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8169 (update_vars): Do not update __tzname_cur_max.
8170 (tzset_internal): Remove argument.
8171 (__tzset): Adjust call to tzset_internal.
8172 (__tz_convert): Likewise.
8173
8174 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8175 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8176 * manual/conf.texi (Sysconf Definition): Update comment.
8177
8178 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8179
8180 [BZ #21209]
8181 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8182 AT_SECURE processes.
8183 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8184 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8185 (test_child): Likewise.
8186 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8187
8188 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8189
8190 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8191
8192 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8193
8194 * sysdeps/s390/atomic-machine.h
8195 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8196 (__arch_compare_and_exchange_val_8_acq,
8197 __arch_compare_and_exchange_val_16_acq,
8198 __arch_compare_and_exchange_val_32_acq,
8199 __arch_compare_and_exchange_val_64_acq):
8200 Delete macro.
8201 (atomic_compare_and_exchange_val_acq,
8202 atomic_compare_and_exchange_val_rel,
8203 atomic_compare_and_exchange_bool_acq,
8204 catomic_compare_and_exchange_bool_acq,
8205 atomic_exchange_acq, atomic_exchange_rel,
8206 atomic_exchange_and_add_acq,
8207 atomic_exchange_and_add_rel,
8208 catomic_exchange_and_add, atomic_or_val,
8209 atomic_or, catomic_or, atomic_bit_test_set,
8210 atomic_and_val, atomic_and, catomic_and):
8211 Define macros with help of C11 atomic builtins.
8212
8213 2017-03-03 Justus Winter <justus@gnupg.org>
8214
8215 * sysdeps/mach/hurd/ftruncate64.c: New file.
8216 * sysdeps/mach/hurd/truncate64.c: Likewise.
8217
8218 2017-03-03 Florian Weimer <fweimer@redhat.com>
8219
8220 * time/tzfile.c (NOID): Do not define.
8221 * time/tzset.c (NOID): Likewise.
8222
8223 2017-03-03 Florian Weimer <fweimer@redhat.com>
8224
8225 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8226
8227 2017-03-02 Florian Weimer <fweimer@redhat.com>
8228
8229 * elf/get-dynamic-info.h: Remove header file inclusion guard.
8230
8231 2017-03-02 Florian Weimer <fweimer@redhat.com>
8232
8233 [BZ #21015]
8234 * manual/install.texi (Configuring and compiling): Document
8235 --enable-bind-now.
8236 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8237 (build-shlib-helper): Use $(LDFLAGS-lib.so).
8238 (format.lds): Likewise.
8239 [bind-now] (LDFLAGS-c.so): Remove.
8240 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8241 be R_X86_64_GLOB_DAT.
8242 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8243 relocation can be R_386_GLOB_DAT.
8244 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8245 relocaiton can be R_ALPHA_GLOB_DAT.
8246 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8247
8248 2017-03-01 Zack Weinberg <zackw@panix.com>
8249
8250 * include/libc-pointer-arith.h: New file. Define
8251 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8252 PTR_ALIGN_DOWN here.
8253 * include/libc-internal.h: Definitions of above macros
8254 moved from here. Don't include libc-diag.h anymore either.
8255 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8256 Don't include libc-internal.h.
8257
8258 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8259 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8260 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8261 * string/strcoll_l.c, sysdeps/nacl/brk.c
8262 * sysdeps/unix/clock_settime.c
8263 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8264 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8265 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8267 Don't include libc-internal.h.
8268
8269 * elf/get-dynamic-info.h, iconv/loop.c
8270 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8271 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8272 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8273 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8274 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8277 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8278 * sysdeps/ieee754/ldbl-128/k_tanl.c
8279 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8281 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8282 Include libc-diag.h instead of libc-internal.h.
8283
8284 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8285 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8286 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8287 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8288 * sysdeps/unix/sysv/linux/spawni.c
8289 * sysdeps/x86_64/nptl/tls.h:
8290 Include libc-pointer-arith.h instead of libc-internal.h.
8291
8292 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8293 * sysdeps/x86_64/atomic-machine.h:
8294 Add multiple include guard.
8295
8296 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8297 * string/strcasestr.c: No need to include config.h.
8298 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8299 sys/auxv.h. Don't include sysdep.h.
8300 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8301
8302 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
8303 DL_LOOKUP_ADDRESS.
8304 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8305 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8306 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8307 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8308 of ARTIFICIAL_LIMIT.
8309 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8310 declaration of __clone2.
8311
8312 2017-02-28 Florian Weimer <fweimer@redhat.com>
8313
8314 * scripts/backport-support.sh (latest_commit): New file.
8315
8316 2017-02-28 Florian Weimer <fweimer@redhat.com>
8317
8318 [BZ #20257]
8319 * inet/Makefile (routines): Add deadline.
8320 (tests-static): Add tst-deadline.
8321 * inet/net-internal.h (struct deadline_current_time)
8322 (__deadline_current_time, struct deadline, __deadline_is_infinite)
8323 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8324 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8325 * inet/deadline.c: New file.
8326 * inet/tst-deadline.c: Likewise.
8327 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8328 tst-udp-timeout, tst-udp-garbage.
8329 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8330 explicitly.
8331 (tst-udp-garbage): Likewise. Also link against thread library.
8332 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8333 struct layout is part of the ABI.
8334 (clntudp_call): Rework timeout handling.
8335 * sunrpc/tst-udp-garbage.c: New file.
8336 * sunrpc/tst-udp-nonblocking.c: Likewise.
8337 * sunrpc/tst-udp-timeout.c: Likewise.
8338
8339 2017-02-28 Florian Weimer <fweimer@redhat.com>
8340
8341 [BZ #5010]
8342 * sunrpc/svc.c (svc_is_mapped): Remove.
8343 (svc_unregister): Obtain mapped status while the service is still
8344 registered.
8345 * sunrpc/Makefile [have-thread-library] (tests): Add
8346 tst-svc_register.
8347 (tst-svc_register): Link against libc.so explicitly and the thread
8348 library.
8349 * sunrpc/tst-svc_register.c: New file.
8350
8351 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
8352
8353 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8354 * sysdeps/pthread/bits/sigthread.h: Likewise.
8355
8356 2017-02-27 Florian Weimer <fweimer@redhat.com>
8357
8358 [BZ #21115]
8359 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8360 * sunrpc/Makefile (tests): Add tst-udp-error.
8361 (tst-udp-error): Link against libc.so explicitly.
8362 * sunrpc/tst-udp-error: New file.
8363
8364 2017-02-25 Zack Weinberg <zackw@panix.com>
8365
8366 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8367 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8368
8369 * sysdeps/generic/math_ldbl.h
8370 * sysdeps/ia64/fpu/math_ldbl.h
8371 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8372 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8373 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8374 * sysdeps/powerpc/fpu/math_ldbl.h
8375 * sysdeps/x86_64/fpu/math_ldbl.h:
8376 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8377 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8378 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8379 Add copyright notices.
8380
8381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8382 Don't use EXTRACT_WORDS64.
8383
8384 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8385 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8386 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8387 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8388 Include math_ldbl.h, not math_private.h.
8389
8390 2017-02-25 Zack Weinberg <zackw@panix.com>
8391
8392 * include/libc-diag.h: New file. Define ignore_value,
8393 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8394 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8395
8396 * include/libc-internal.h: Definitions of above macros moved from
8397 here. Include libc-diag.h. Add copyright notice.
8398
8399 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8400 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8401 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8402 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8403 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8404 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8405 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8406 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8407 Include libc-diag.h instead of libc-internal.h.
8408
8409 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8410 call to unsetenv (NULL).
8411 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8412 call to pthread_mutexattr_destroy (NULL).
8413
8414 2017-02-25 Zack Weinberg <zackw@panix.com>
8415
8416 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8417 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8418 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8419 gets was removed from C++ in C++14.
8420 * include/stdio.h: Remove redundant declaration of gets.
8421 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8422 be declared, since we are testing it.
8423 * stdio-common/Makefile (tst-gets.c): Compile with
8424 -Wno-deprecated-declarations.
8425 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8426 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8427 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8428 Compile with -Wno-deprecated-declarations.
8429
8430 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8431
8432 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8433 numbers.
8434
8435 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8436
8437 * resolv/tst-resolv-qtypes.c (domain):
8438 Change type to const pointer to const char.
8439
8440 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8441
8442 * math/Makefile (libm-tests-generated): Remove variable.
8443 (libm-tests-base-normal): New variable.
8444 (libm-tests-base-finite): Likewise.
8445 (libm-tests-base-inline): Likewise.
8446 (libm-tests-base): Likewise.
8447 (libm-tests-normal): Likewise.
8448 (libm-tests-finite): Likewise.
8449 (libm-tests-inline): Likewise.
8450 (libm-tests-vector): Likewise.
8451 (libm-tests): Define in terms of these new variables.
8452 (libm-tests-for-type): New variable.
8453 (libm-tests.o): Move definition.
8454 (tests): Move addition of $(libm-tests).
8455 (generated): Update for new and removed libm test files.
8456 ($(objpfx)libm-test.c): Remove target.
8457 ($(objpfx)libm-have-vector-test.h): Likewise.
8458 (CFLAGS-test-double-vlen2.c): Remove variable.
8459 (CFLAGS-test-double-vlen4.c): Likewise.
8460 (CFLAGS-test-double-vlen8.c): Likewise.
8461 (CFLAGS-test-float-vlen4.c): Likewise.
8462 (CFLAGS-test-float-vlen8.c): Likewise.
8463 (CFLAGS-test-float-vlen16.c): Likewise.
8464 (CFLAGS-test-float.c): Likewise.
8465 (CFLAGS-test-float-finite.c): Likewise.
8466 (CFLAGS-libm-test-support-float.c): Likewise.
8467 (CFLAGS-test-double.c): Likewise.
8468 (CFLAGS-test-double-finite.c): Likewise.
8469 (CFLAGS-libm-test-support-double.c): Likewise.
8470 (CFLAGS-test-ldouble.c): Likewise.
8471 (CFLAGS-test-ldouble-finite.c): Likewise.
8472 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8473 (libm-test-inline-cflags): New variable.
8474 (CFLAGS-test-ifloat.c): Remove variable.
8475 (CFLAGS-test-idouble.c): Likewise.
8476 (CFLAGS-test-ildouble.c): Likewise.
8477 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8478 dependencies.
8479 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8480 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8481 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8482 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8483 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8484 Likewise.
8485 (dependencies on libm-test-support-*.o): Remove.
8486 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8487 rules using iterators.
8488 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8489 Likewise.
8490 ($(objpfx)libm-test-support-$(o).o): Likewise.
8491 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8492 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8493 instead.
8494 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8495 define rule instead.
8496 * math/README.libm-test: Update.
8497 * math/libm-test-acos.inc: Include libm-test-driver.c.
8498 (do_test): New function.
8499 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8500 (do_test): New function.
8501 * math/libm-test-asin.inc: Include libm-test-driver.c.
8502 (do_test): New function.
8503 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8504 (do_test): New function.
8505 * math/libm-test-atan.inc: Include libm-test-driver.c.
8506 (do_test): New function.
8507 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8508 (do_test): New function.
8509 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8510 (do_test): New function.
8511 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8512 (do_test): New function.
8513 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8514 (do_test): New function.
8515 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8516 (do_test): New function.
8517 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8518 (do_test): New function.
8519 * math/libm-test-carg.inc: Include libm-test-driver.c.
8520 (do_test): New function.
8521 * math/libm-test-casin.inc: Include libm-test-driver.c.
8522 (do_test): New function.
8523 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8524 (do_test): New function.
8525 * math/libm-test-catan.inc: Include libm-test-driver.c.
8526 (do_test): New function.
8527 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8528 (do_test): New function.
8529 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8530 (do_test): New function.
8531 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8532 (do_test): New function.
8533 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8534 (do_test): New function.
8535 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8536 (do_test): New function.
8537 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8538 (do_test): New function.
8539 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8540 (do_test): New function.
8541 * math/libm-test-clog.inc: Include libm-test-driver.c.
8542 (do_test): New function.
8543 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8544 (do_test): New function.
8545 * math/libm-test-conj.inc: Include libm-test-driver.c.
8546 (do_test): New function.
8547 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8548 (do_test): New function.
8549 * math/libm-test-cos.inc: Include libm-test-driver.c.
8550 (do_test): New function.
8551 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8552 (do_test): New function.
8553 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8554 (do_test): New function.
8555 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8556 (do_test): New function.
8557 * math/libm-test-creal.inc: Include libm-test-driver.c.
8558 (do_test): New function.
8559 * math/libm-test-csin.inc: Include libm-test-driver.c.
8560 (do_test): New function.
8561 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8562 (do_test): New function.
8563 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8564 (do_test): New function.
8565 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8566 (do_test): New function.
8567 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8568 (do_test): New function.
8569 * math/libm-test-erf.inc: Include libm-test-driver.c.
8570 (do_test): New function.
8571 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8572 (do_test): New function.
8573 * math/libm-test-exp.inc: Include libm-test-driver.c.
8574 (do_test): New function.
8575 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8576 (do_test): New function.
8577 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8578 (do_test): New function.
8579 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8580 (do_test): New function.
8581 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8582 (do_test): New function.
8583 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8584 (do_test): New function.
8585 * math/libm-test-floor.inc: Include libm-test-driver.c.
8586 (do_test): New function.
8587 * math/libm-test-fma.inc: Include libm-test-driver.c.
8588 (do_test): New function.
8589 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8590 (do_test): New function.
8591 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8592 (do_test): New function.
8593 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8594 (do_test): New function.
8595 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8596 (do_test): New function.
8597 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8598 (do_test): New function.
8599 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8600 (do_test): New function.
8601 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8602 (do_test): New function.
8603 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8604 (do_test): New function.
8605 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8606 (do_test): New function.
8607 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8608 (do_test): New function.
8609 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8610 (do_test): New function.
8611 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8612 (do_test): New function.
8613 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8614 (do_test): New function.
8615 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8616 (do_test): New function.
8617 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8618 (do_test): New function.
8619 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8620 (do_test): New function.
8621 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8622 (do_test): New function.
8623 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8624 (do_test): New function.
8625 * math/libm-test-isless.inc: Include libm-test-driver.c.
8626 (do_test): New function.
8627 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8628 (do_test): New function.
8629 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8630 (do_test): New function.
8631 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8632 (do_test): New function.
8633 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8634 (do_test): New function.
8635 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8636 (do_test): New function.
8637 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8638 (do_test): New function.
8639 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8640 (do_test): New function.
8641 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8642 (do_test): New function.
8643 * math/libm-test-j0.inc: Include libm-test-driver.c.
8644 (do_test): New function.
8645 * math/libm-test-j1.inc: Include libm-test-driver.c.
8646 (do_test): New function.
8647 * math/libm-test-jn.inc: Include libm-test-driver.c.
8648 (do_test): New function.
8649 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8650 (do_test): New function.
8651 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8652 (do_test): New function.
8653 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8654 (do_test): New function.
8655 * math/libm-test-llround.inc: Include libm-test-driver.c.
8656 (do_test): New function.
8657 * math/libm-test-log.inc: Include libm-test-driver.c.
8658 (do_test): New function.
8659 * math/libm-test-log10.inc: Include libm-test-driver.c.
8660 (do_test): New function.
8661 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8662 (do_test): New function.
8663 * math/libm-test-log2.inc: Include libm-test-driver.c.
8664 (do_test): New function.
8665 * math/libm-test-logb.inc: Include libm-test-driver.c.
8666 (do_test): New function.
8667 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8668 (do_test): New function.
8669 * math/libm-test-lround.inc: Include libm-test-driver.c.
8670 (do_test): New function.
8671 * math/libm-test-modf.inc: Include libm-test-driver.c.
8672 (do_test): New function.
8673 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8674 (do_test): New function.
8675 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8676 (do_test): New function.
8677 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8678 (do_test): New function.
8679 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8680 (do_test): New function.
8681 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8682 (do_test): New function.
8683 * math/libm-test-pow.inc: Include libm-test-driver.c.
8684 (do_test): New function.
8685 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8686 (do_test): New function.
8687 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8688 (do_test): New function.
8689 * math/libm-test-rint.inc: Include libm-test-driver.c.
8690 (do_test): New function.
8691 * math/libm-test-round.inc: Include libm-test-driver.c.
8692 (do_test): New function.
8693 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8694 (do_test): New function.
8695 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8696 (do_test): New function.
8697 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8698 (do_test): New function.
8699 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8700 (do_test): New function.
8701 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8702 (do_test): New function.
8703 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8704 (do_test): New function.
8705 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8706 (do_test): New function.
8707 * math/libm-test-significand.inc: Include libm-test-driver.c.
8708 (do_test): New function.
8709 * math/libm-test-sin.inc: Include libm-test-driver.c.
8710 (do_test): New function.
8711 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8712 (do_test): New function.
8713 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8714 (do_test): New function.
8715 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8716 (do_test): New function.
8717 * math/libm-test-tan.inc: Include libm-test-driver.c.
8718 (do_test): New function.
8719 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8720 (do_test): New function.
8721 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8722 (do_test): New function.
8723 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8724 (do_test): New function.
8725 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8726 (do_test): New function.
8727 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8728 (do_test): New function.
8729 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8730 (do_test): New function.
8731 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8732 (do_test): New function.
8733 * math/libm-test-y0.inc: Include libm-test-driver.c.
8734 (do_test): New function.
8735 * math/libm-test-y1.inc: Include libm-test-driver.c.
8736 (do_test): New function.
8737 * math/libm-test-yn.inc: Include libm-test-driver.c.
8738 (do_test): New function.
8739 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8740 (HAVE_VECTOR): Remove macro.
8741 (START): Do not call HAVE_VECTOR.
8742 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8743 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8744 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8745 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8746 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8747 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8748 * math/test-math-vector.h (FUNC_TEST): New macro.
8749 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8750 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8751 (double-vlen4-funcs): Likewise.
8752 (double-vlen4-avx2-funcs): Likewise.
8753 (double-vlen8-funcs): Likewise.
8754 (float-vlen4-funcs): Likewise.
8755 (float-vlen8-funcs): Likewise.
8756 (float-vlen8-avx2-funcs): Likewise.
8757 (float-vlen16-funcs): Likewise.
8758 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8759 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8760 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8761 macro.
8762 (TEST_VECTOR_sin): Likewise.
8763 (TEST_VECTOR_sincos): Likewise.
8764 (TEST_VECTOR_log): Likewise.
8765 (TEST_VECTOR_exp): Likewise.
8766 (TEST_VECTOR_pow): Likewise.
8767 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8768 Likewise.
8769 (TEST_VECTOR_sin): Likewise.
8770 (TEST_VECTOR_sincos): Likewise.
8771 (TEST_VECTOR_log): Likewise.
8772 (TEST_VECTOR_exp): Likewise.
8773 (TEST_VECTOR_pow): Likewise.
8774 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8775 Likewise.
8776 (TEST_VECTOR_sinf): Likewise.
8777 (TEST_VECTOR_sincosf): Likewise.
8778 (TEST_VECTOR_logf): Likewise.
8779 (TEST_VECTOR_expf): Likewise.
8780 (TEST_VECTOR_powf): Likewise.
8781 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8782 Likewise.
8783 (TEST_VECTOR_sinf): Likewise.
8784 (TEST_VECTOR_sincosf): Likewise.
8785 (TEST_VECTOR_logf): Likewise.
8786 (TEST_VECTOR_expf): Likewise.
8787 (TEST_VECTOR_powf): Likewise.
8788 * math/gen-libm-have-vector-test.sh: Remove file.
8789 * math/libm-test.inc: Likewise.
8790 * math/libm-test-support-double.c: Likewise.
8791 * math/libm-test-support-float.c: Likewise.
8792 * math/libm-test-support-ldouble.c: Likewise.
8793 * math/test-double-finite.c: Likewise.: Likewise.
8794 * math/test-double.c: Likewise.
8795 * math/test-float-finite.c: Likewise.
8796 * math/test-float.c: Likewise.
8797 * math/test-idouble.c: Likewise.
8798 * math/test-ifloat.c: Likewise.
8799 * math/test-ildouble.c: Likewise.
8800 * math/test-ldouble-finite.c: Likewise.
8801 * math/test-ldouble.c: Likewise.
8802 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8803 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8804 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8805 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8806 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8807 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8808 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8809 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8810 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8811 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8812
8813 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8814 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8815
8816 * math/Makefile: Add wrappers to gen-libm-calls.
8817 * math/w_acos_template.c: New file.
8818 * math/w_acosh_template.c: Likewise.
8819 * math/w_asin_template.c: Likewise.
8820 * math/w_atan2_template.c: Likewise.
8821 * math/w_atanh_template.c: Likewise.
8822 * math/w_cosh_template.c: Likewise.
8823 * math/w_exp10_template.c: Likewise.
8824 * math/w_exp2_template.c: Likewise.
8825 * math/w_exp_template.c: Likewise.
8826 * math/w_fmod_template.c: Likewise.
8827 * math/w_hypot_template.c: Likewise.
8828 * math/w_j0_template.c: Likewise.
8829 * math/w_j1_template.c: Likewise.
8830 * math/w_jn_template.c: Likewise.
8831 * math/w_lgamma_r_template.c: Likewise.
8832 * math/w_lgamma_template.c: Likewise.
8833 * math/w_log10_template.c: Likewise.
8834 * math/w_log2_template.c: Likewise.
8835 * math/w_log_template.c: Likewise.
8836 * math/w_pow_template.c: Likewise.
8837 * math/w_remainder_template.c: Likewise.
8838 * math/w_sinh_template.c: Likewise.
8839 * math/w_sqrt_template.c: Likewise.
8840 * math/w_tgamma_template.c: Likewise.: Likewise.
8841 * sysdeps/generic/math-type-macros-double.h
8842 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8843 the new wrappers.
8844 * sysdeps/generic/math-type-macros-float.h: Likewise.
8845 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8846
8847 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8848
8849 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8850 New enum constant and macro.
8851
8852 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8853 kernel version to 4.10.
8854
8855 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8856
8857 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8858
8859 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8860
8861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8862
8863 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8864
8865 * sysdeps/powerpc/tst-set_ppr.c: New file.
8866 Implement test cases for __ppc_set_ppr_* functions.
8867 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8868 in the list of tests.
8869
8870 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8871
8872 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8873 instead of test-skeleton.c.
8874 (do_test): Replaced pthread_create and pthread_join with
8875 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8876 Removed unneeded status variable.
8877 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8878 instead of test-skeleton.c.
8879 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8880
8881 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8882
8883 [BZ #20313]
8884 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8885 201605L, for Unicode 9.
8886
8887 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8888
8889 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8890 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8891 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8892 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8893 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8894 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8895
8896 2017-02-19 Zack Weinberg <zackw@panix.com>
8897
8898 * rt/tst-mqueue4.c: Include stdint.h.
8899
8900 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8901
8902 * sysdeps/arm/libm-test-ulps: Update.
8903 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8904 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8905 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8906
8907 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8908
8909 [BZ #21029]
8910 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8911 * sysdeps/unix/sysv/linux/i386/Makefile
8912 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8913 (uses-6-syscall-arguments): Remove.
8914 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8915 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8916 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8917 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8918 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8919 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8920 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8921 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8922 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8923 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8924 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8925 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8926 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8927 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8928 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8929 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8930 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8931 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8932 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8933 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8934 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8935 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8936 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8937 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8938 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8939 Likewise.
8940 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8941 Likewise.
8942 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8943 Likewise.
8944 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8945 Likewise.
8946 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8947 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8948 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8949 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8950 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8951 ebp on inline assembly.
8952 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8953 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8954 Set if CAN_USE_REGISTER_ASM_EBP is set.
8955
8956 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8957
8958 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8959 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8960
8961 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8962
8963 * math/auto-libm-test-in: Add tests of catan and catanh.
8964 * math/auto-libm-test-out-catan: New generated file.
8965 * math/auto-libm-test-out-catanh: Likewise.
8966 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8967 Move tests with finite inputs, except divide-by-zero cases, to
8968 auto-libm-test-in.
8969 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8970 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8971 (libm-test-funcs-noauto): Remove catan and catanh.
8972 * sysdeps/i386/fpu/libm-test-ulps: Update.
8973 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8975
8976 * math/auto-libm-test-in: Add tests of casin and casinh.
8977 * math/auto-libm-test-out-casin: New generated file.
8978 * math/auto-libm-test-out-casinh: Likewise.
8979 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8980 Move tests with finite inputs to auto-libm-test-in.
8981 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8982 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8983 (libm-test-funcs-noauto): Remove casin and casinh.
8984 * sysdeps/i386/fpu/libm-test-ulps: Update.
8985 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8987
8988 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8989 * math/auto-libm-test-out-cacos: New generated file.
8990 * math/auto-libm-test-out-cacosh: Likewise.
8991 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8992 Move tests with finite inputs to auto-libm-test-in.
8993 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8994 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8995 (libm-test-funcs-noauto): Remove cacos and cacosh.
8996 * sysdeps/i386/fpu/libm-test-ulps: Update.
8997 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8999
9000 Revert:
9001 2017-02-16 Zack Weinberg <zackw@panix.com>
9002
9003 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9004 Don't include init-arch.h.
9005 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9006 Don't include init-arch.h.
9007
9008 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9009
9010 [BZ #21171]
9011 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
9012 +Inf and raise divide-by-zero when x is negative.
9013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
9014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
9015 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
9016 -Inf and raise divide-by-zero when x = +-0.
9017 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9018 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9019 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
9020 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
9021 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9022 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9023 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9024
9025 2017-02-16 Zack Weinberg <zackw@panix.com>
9026
9027 * scripts/build-many-glibcs.py (bot_build_mail): If the
9028 bot_config does not contain all of the necessary email-
9029 related settings, just print a warning and continue.
9030
9031 2017-02-16 Zack Weinberg <zackw@panix.com>
9032
9033 * crypt/md5.h: Test _LIBC with #if defined, not #if.
9034 * dirent/opendir-tst1.c: Include sys/stat.h.
9035 * dirent/tst-fdopendir.c: Include sys/stat.h.
9036 * dirent/tst-fdopendir2.c: Include stdlib.h.
9037 * dirent/tst-scandir.c: Include stdbool.h.
9038 * elf/tst-auditmod1.c: Include link.h and stddef.h.
9039 * elf/tst-tls15.c: Include stdlib.h.
9040 * elf/tst-tls16.c: Include stdlib.h.
9041 * elf/tst-tls17.c: Include stdlib.h.
9042 * elf/tst-tls18.c: Include stdlib.h.
9043 * iconv/tst-iconv6.c: Include endian.h.
9044 * iconvdata/bug-iconv11.c: Include limits.h.
9045 * io/test-utime.c: Include stdint.h.
9046 * io/tst-faccessat.c: Include sys/stat.h.
9047 * io/tst-fchmodat.c: Include sys/stat.h.
9048 * io/tst-fchownat.c: Include sys/stat.h.
9049 * io/tst-fstatat.c: Include sys/stat.h.
9050 * io/tst-futimesat.c: Include sys/stat.h.
9051 * io/tst-linkat.c: Include sys/stat.h.
9052 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
9053 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
9054 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
9055 * io/tst-openat.c: Include stdbool.h.
9056 * io/tst-readlinkat.c: Include sys/stat.h.
9057 * io/tst-renameat.c: Include sys/stat.h.
9058 * io/tst-symlinkat.c: Include sys/stat.h.
9059 * io/tst-unlinkat.c: Include stdbool.h.
9060 * libio/bug-memstream1.c: Include stdlib.h.
9061 * libio/bug-wmemstream1.c: Include stdlib.h.
9062 * libio/tst-fwrite-error.c: Include stdlib.h.
9063 * libio/tst-memstream1.c: Include stdlib.h.
9064 * libio/tst-memstream2.c: Include stdlib.h.
9065 * libio/tst-memstream3.c: Include stdlib.h.
9066 * malloc/tst-interpose-aux.c: Include stdint.h.
9067 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
9068 * nptl/tst-basic7.c: Include limits.h.
9069 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
9070 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
9071 * nptl/tst-cancel4_1.c: Include stddef.h.
9072 * nptl/tst-cancel4_2.c: Include stddef.h.
9073 * nptl/tst-cond16.c: Include limits.h.
9074 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9075 * nptl/tst-cond18.c: Include limits.h.
9076 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9077 * nptl/tst-cond4.c: Include stdint.h.
9078 * nptl/tst-cond6.c: Include stdint.h.
9079 * nptl/tst-stack2.c: Include limits.h.
9080 * nptl/tst-stackguard1.c: Include stddef.h.
9081 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
9082 * nptl/tst-tls4moda.c: Include stddef.h.
9083 Don't include stdio.h, unistd.h, or tls.h.
9084 * nptl/tst-tls4modb.c: Include stddef.h.
9085 Don't include stdio.h, unistd.h, or tls.h.
9086 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
9087 * posix/tst-getaddrinfo2.c: Include stdio.h.
9088 * posix/tst-getaddrinfo5.c: Include stdio.h.
9089 * posix/tst-pathconf.c: Include sys/stat.h.
9090 * posix/tst-posix_fadvise-common.c: Include stdint.h.
9091 * posix/tst-preadwrite-common.c: Include sys/stat.h.
9092 * posix/tst-regex.c: Include stdint.h.
9093 Don't include spawn.h or spawn_int.h.
9094 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
9095 * posix/tst-vfork3.c: Include sys/stat.h.
9096 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
9097 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
9098 * resolv/tst-resolv-search.c: Include stdlib.h.
9099 * stdio-common/tst-fmemopen2.c: Include stdint.h.
9100 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
9101 * stdlib/test-canon.c: Include sys/stat.h.
9102 * stdlib/tst-tls-atexit.c: Include stdbool.h.
9103 * string/test-memchr.c: Include stdint.h.
9104 * string/tst-cmp.c: Include stdint.h.
9105 * sysdeps/pthread/tst-timer.c: Include stdint.h.
9106 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
9107 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
9108 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9109 Don't include init-arch.h.
9110 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9111 Don't include init-arch.h.
9112 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
9113 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
9114 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
9115 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
9116 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
9117 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
9118 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
9119 * time/clocktest.c: Include stdint.h.
9120 * time/tst-posixtz.c: Include stdint.h.
9121 * timezone/tst-timezone.c: Include stdint.h.
9122
9123 2017-02-16 Zack Weinberg <zackw@panix.com>
9124
9125 * string/string.h [__USE_MISC]: Include strings.h.
9126 (__bzero, bcmp, bcopy, bzero, index, rindex)
9127 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
9128 (ffs, ffsl, ffsll): Don't declare.
9129 * string/strings.h: Do not suppress the file if string.h has
9130 already been included.
9131 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
9132 annotations.
9133 (index, rindex): Define inline forwarders even if
9134 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
9135 (ffs): Use __attribute_const__.
9136 (ffsl, ffsll): Declare here.
9137 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
9138 have now been standardized.
9139 * include/string.h (__bzero): Declare here.
9140
9141 * bits/types.h: Move to posix/bits.
9142 * include/bits/types.h: New wrapper.
9143
9144 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9145
9146 * string/bits/string2.h (strcmp): Remove define.
9147 (__strcmp_cg): Likewise.
9148 (strncmp): Likewise.
9149
9150 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9151
9152 * include/string.h: Add __cplusplus check.
9153
9154 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9155
9156 [BZ #21134]
9157 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9158 "divide by zero" exception when the input is zero.
9159 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9160 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9161 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9162 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9163 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9164
9165 2017-02-15 Joseph Myers <joseph@codesourcery.com>
9166
9167 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9168 and include ...
9169 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
9170 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9171 to, and include ...
9172 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
9173 file.
9174 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9175 and include ...
9176 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
9177 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9178 and include ...
9179 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
9180 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9181 and include ...
9182 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
9183 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9184 and include ...
9185 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
9186 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9187 to, and include ...
9188 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
9189 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9190 and include ...
9191 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
9192
9193 2017-02-14 Joseph Myers <joseph@codesourcery.com>
9194
9195 * math/libm-test-support.h: Do not include <math-tests-arch.h>
9196 here.
9197 * math/libm-test-support.c (libm_test_init): Do not call
9198 INIT_ARCH_EXT here.
9199 * math/libm-test-driver.c: Include <math-tests-arch.h>.
9200 (main): Call INIT_ARCH_EXT.
9201
9202 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9203
9204 [BZ #21130]
9205 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9206 with the "invalid" exception raised when x is -Inf.
9207 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9208
9209 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
9210
9211 * string/bits/string2.h (strchr): Remove define.
9212
9213 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
9214
9215 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9216 tst-avx512.
9217 (test-extras): Add tst-avx-aux and tst-avx512-aux.
9218 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9219 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9220 ($(objpfx)tst-sse): New rule.
9221 ($(objpfx)tst-avx): Likewise.
9222 ($(objpfx)tst-avx512): Likewise.
9223 (CFLAGS-tst-avx-aux.c): New.
9224 (CFLAGS-tst-avxmod.c): Likewise.
9225 (CFLAGS-tst-avx512-aux.c): Likewise.
9226 (CFLAGS-tst-avx512mod.c): Likewise.
9227 * sysdeps/x86_64/tst-avx-aux.c: New file.
9228 * sysdeps/x86_64/tst-avx.c: Likewise.
9229 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9230 * sysdeps/x86_64/tst-avx512.c: Likewise.
9231 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9232 * sysdeps/x86_64/tst-avxmod.c: Likewise.
9233 * sysdeps/x86_64/tst-sse.c: Likewise.
9234 * sysdeps/x86_64/tst-ssemod.c: Likewise.
9235
9236 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9237
9238 * math/auto-libm-test-in: Add more tests of csin and csinh.
9239 * math/auto-libm-test-out-csin: Regenerated.
9240 * math/auto-libm-test-out-csinh: Likewise.
9241 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9242 auto-libm-test-in.
9243 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9244
9245 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9246
9247 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9248 libm-compat-calls-auto.
9249 (libm-compat-calls): Likewise.
9250 (libm-compat-calls-auto): Rename to libm-compat-calls and add
9251 w_lgamma_compatF and k_standardF (merged from the items above).
9252 (libm-routines): Use libm-compat-calls, instead of
9253 libm-compat-calls-auto, with type-foreach.
9254
9255 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9256
9257 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9258 macro.
9259 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9260 (CFLAGS-test-ifloat.c): ... this. Remove
9261 -U__LIBC_INTERNAL_MATH_INLINES.
9262 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9263 (CFLAGS-test-idouble.c): ... this. Remove
9264 -U__LIBC_INTERNAL_MATH_INLINES.
9265 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9266 (CFLAGS-test-ildouble.c): ... this. Remove
9267 -U__LIBC_INTERNAL_MATH_INLINES.
9268
9269 2017-02-08 Joseph Myers <joseph@codesourcery.com>
9270
9271 * math/libm-test-support.c: New file. Content from
9272 math/libm-test-driver.c.
9273 * math/libm-test-support.h: Likewise.
9274 * math/libm-test-support-double.c: New file.
9275 * math/libm-test-support-float.c: Likewise.
9276 * math/libm-test-support-ldouble.c: Likewise.
9277 * math/libm-test-driver.c: Remove main comment and header
9278 includes. Include libm-test-support.h.
9279 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9280 (flag_test_errno): Remove static.
9281 (flag_test_exceptions): Likewise.
9282 (flag_test_finite): Likewise.
9283 (flag_test_inline): Likewise.
9284 (flag_test_mathvec): Likewise.
9285 (test_msg): Likewise.
9286 (NO_EXCEPTION): Remove.
9287 (INVALID_EXCEPTION): Likewise.
9288 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9289 (OVERFLOW_EXCEPTION): Likewise.
9290 (UNDERFLOW_EXCEPTION): Likewise.
9291 (INEXACT_EXCEPTION): Likewise.
9292 (INVALID_EXCEPTION_OK): Likewise.
9293 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9294 (OVERFLOW_EXCEPTION_OK): Likewise.
9295 (UNDERFLOW_EXCEPTION_OK): Likewise.
9296 (NO_INEXACT_EXCEPTION): Likewise.
9297 (EXCEPTIONS_OK): Likewise.
9298 (IGNORE_ZERO_INF_SIGN): Likewise.
9299 (TEST_NAN_SIGN): Likewise.
9300 (TEST_NAN_PAYLOAD): Likewise.
9301 (NO_TEST_INLINE): Likewise.
9302 (XFAIL_TEST): Likewise.
9303 (ERRNO_UNCHANGED): Likewise.
9304 (ERRNO_EDOM): Likewise.
9305 (ERRNO_ERANGE): Likewise.
9306 (IGNORE_RESULT): Likewise.
9307 (NON_FINITE): Likewise.
9308 (TEST_SNAN): Likewise.
9309 (NO_TEST_MATHVEC): Likewise.
9310 (__CONCATX): Likewise.
9311 (TYPE_MIN): Likewise.
9312 (TYPE_TRUE_MIN): Likewise.
9313 (TYPE_MAX): Likewise.
9314 (MIN_EXP): Likewise.
9315 (MAX_EXP): Likewise.
9316 (MANT_DIG): Likewise.
9317 (FSTR_MAX): Likewise.
9318 (ulp_idx): Likewise.
9319 (qtype_str): Remove static.
9320 (TEST_COND_binary32): Remove.
9321 (TEST_COND_binary64): Likewise.
9322 (TEST_COND_binary128): Likewise.
9323 (TEST_COND_ibm128): Likewise.
9324 (TEST_COND_intel96): Likewise.
9325 (TEST_COND_m68k96): Likewise.
9326 (TEST_COND_ibm128_libgcc): Likewise.
9327 (XFAIL_IBM128_LIBGCC): Likewise.
9328 (PAYLOAD_DIG): Likewise.
9329 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9330 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9331 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9332 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9333 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9334 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9335 (TEST_COND_long32): Likewise.
9336 (TEST_COND_long64): Likewise.
9337 (TEST_COND_before_rounding): Likewise.
9338 (TEST_COND_after_rounding): Likewise.
9339 (ulps_file_name): Likewise.
9340 (ulps_file): Likewise.
9341 (output_ulps): Likewise.
9342 (output_dir): Likewise.
9343 (noErrors): Likewise.
9344 (noTests): Likewise.
9345 (noExcTests): Likewise.
9346 (noErrnoTests): Likewise.
9347 (verbose): Likewise.
9348 (output_max_error): Likewise.
9349 (output_points): Likewise.
9350 (ignore_max_ulp): Likewise.
9351 (max_error): Likewise.
9352 (real_max_error): Likewise.
9353 (imag_max_error): Likewise.
9354 (prev_max_error): Likewise.
9355 (prev_real_max_error): Likewise.
9356 (prev_imag_max_error): Likewise.
9357 (max_valid_error): Likewise.
9358 (TYPE_DECIMAL_DIG): Likewise.
9359 (TYPE_HEX_DIG): Likewise.
9360 (fmt_ftostr): Likewise.
9361 (compare_ulp_data): Likewise.
9362 (find_ulps): Likewise.
9363 (init_max_error): Likewise.
9364 (set_max_error): Likewise.
9365 (print_float): Likewise.
9366 (print_screen): Likewise.
9367 (print_screen_max_error): Likewise.
9368 (update_stats): Likewise.
9369 (print_function_ulps): Likewise.
9370 (print_complex_function_ulps): Likewise.
9371 (fpstack_test): Likewise.
9372 (print_max_error): Likewise.
9373 (print_complex_max_error): Likewise.
9374 (test_single_exception): Likewise.
9375 (test_exceptions): Likewise.
9376 (test_single_errno): Likewise.
9377 (test_errno): Likewise.
9378 (ULPDIFF): Likewise.
9379 (ulp): Likewise.
9380 (check_float_internal): Likewise.
9381 (check_float): Likewise.
9382 (check_complex): Likewise.
9383 (check_int): Likewise.
9384 (check_long): Likewise.
9385 (check_bool): Likewise.
9386 (check_longlong): Likewise.
9387 (check_intmax_t): Likewise.
9388 (check_uintmax_t): Likewise.
9389 (enable_test): Likewise.
9390 (matherr): Likewise.
9391 (initialize): Likewise.
9392 (options): Likewise.
9393 (doc): Remove static.
9394 (argp): Likewise.
9395 (parse_opt): Remove.
9396 (check_ulp): Likewise.
9397 (libm_test_init): Likewise.
9398 (libm_test_finish): Likewise.
9399 * math/Makefile (libm-test-support): New variable.
9400 (test-extras): Add libm-test-support files.
9401 (extra-test-objs): Likewise.
9402 (CFLAGS-libm-test-support-float.c): New variable.
9403 (CFLAGS-libm-test-support-double.c): Likewise.
9404 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9405 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9406 libm-test-support objects.
9407
9408 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9409
9410 * math/Makefile (libm-calls): Move w_exp...
9411 (libm-compat-calls-auto): Here.
9412
9413 * math/w_expl.c: Add suffix "_compat" to filename.
9414 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9415 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9416 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9418 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9422
9423 * math/w_expl_compat.c: New file, copied from above.
9424 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9425 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9426 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9428 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9431 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9432
9433 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9434 to filename.
9435 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9436
9437 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9438 copied from above and adjusted for the new filenames.
9439 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9440
9441 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9442
9443 * math/Makefile (libm-calls): Move w_lgammaF...
9444 (libm-compat-calls-auto): Here.
9445
9446 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9447 * math/w_lgammaf.c: Likewise.
9448 * math/w_lgammal.c: Likewise.
9449
9450 * math/w_lgamma_compat2.c: New file, copied from above.
9451 * math/w_lgammaf_compat2.c: Likewise.
9452 * math/w_lgammal_compat2.c: Likewise.
9453
9454 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9455
9456 * math/Makefile (libm-calls): Move w_lgammaF_r...
9457 (libm-compat-calls-auto): Here.
9458
9459 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9460 * math/w_lgammaf_r.c: Likewise.
9461 * math/w_lgammal_r.c: Likewise.
9462 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9463 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9464 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9465
9466 * math/w_lgamma_r_compat.c: New file, copied from above.
9467 * math/w_lgammaf_r_compat.c: Likewise.
9468 * math/w_lgammal_r_compat.c: Likewise.
9469 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9470 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9471 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9472
9473 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9474 to filename.
9475 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9476
9477 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9478 copied from above and adjusted for the new filenames.
9479 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9480
9481 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9482
9483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9484 calculation in SYSCALL_ERROR_HANDLER().
9485
9486 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9487
9488 * manual/contrib.texi: Fix typo.
9489
9490 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9491
9492 [BZ #21109]
9493 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9494 tunable_val_t as argument.
9495 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9496 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9497 argument.
9498 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9499
9500 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9501
9502 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9503 Add PTRACE_EVENT_STOP.
9504 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9508 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9509 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9510
9511 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9512
9513 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9514 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9515 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9516 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9517 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9518 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9519 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9520 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9521 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9522 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9523
9524 [BZ #21112]
9525 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9526 12 bits zero.
9527 (cp_l): Update for new value of cp_h.
9528 * math/auto-libm-test-in: Add another test of pow.
9529 * math/auto-libm-test-out-pow: Regenerated.
9530
9531 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9532
9533 * manual/contrib.texi: Fix typo.
9534
9535 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9536
9537 [BZ #15998]
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9539 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9541
9542 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9543
9544 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9545 STRCHR as __strchr_power8.
9546 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9547 strlen as __strlen_power8.
9548
9549 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9550
9551 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9552 unaligned load for shorter strings.
9553 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9554
9555 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9556
9557 * math/libm-test-driver.c (flag_test_errno): New variable.
9558 (flag_test_exceptions): Likewise.
9559 (flag_test_finite): Likewise.
9560 (flag_test_inline): Likewise.
9561 (flag_test_mathvec): Likewise.
9562 (test_msg): Likewise.
9563 (ulp_idx): Likewise.
9564 (qtype_str): Likewise.
9565 (ULP_IDX): Remove macro.
9566 (QTYPE_STR): Likewise.
9567 (find_ulps): Use ulp_idx not ULP_IDX.
9568 (print_function_ulps): Use qtype_str, printed with %s, not
9569 QTYPE_STR, printed with concatentation to format string.
9570 (print_complex_function_ulps): Likewise.
9571 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9572 (test_errno): Use flag_test_errno not TEST_ERRNO.
9573 (enable_test): Use flag_test_inline, flag_test_finite and
9574 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9575 TEST_MATHVEC.
9576 (libm_test_init): New function. Factored out of main.
9577 (libm_test_finish): Likewise.
9578 (main): Call libm_test_init and libm_test_finish and move most
9579 code to those functions.
9580
9581 * math/libm-test-driver.c (STRX): New macro.
9582 (STR): Likewise.
9583 (STR_FLOAT): Likewise.
9584 (STR_VEC_LEN): Likewise.
9585 (TEST_MSG): Likewise. Define here instead of expecting to be
9586 defined by including file.
9587 * math/test-double-finite.c (TEST_MSG): Remove macro.
9588 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9589 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9590 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9591 * math/test-double.c (TEST_MSG): Likewise.
9592 * math/test-float-finite.c (TEST_MSG): Likewise.
9593 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9594 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9595 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9596 * math/test-float.c (TEST_MSG): Likewise.
9597 * math/test-idouble.c (TEST_MSG): Likewise.
9598 * math/test-ifloat.c (TEST_MSG): Likewise.
9599 * math/test-ildouble.c (TEST_MSG): Likewise.
9600 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9601 * math/test-ldouble.c (TEST_MSG): Likewise.
9602
9603 * math/libm-test.inc: Move all tests of individual functions to
9604 libm-test-*.inc and #include libm-test-*.c files.
9605 (acos_test_data): Remove.
9606 (acos_test): Likewise.
9607 (acosh_test_data): Likewise.
9608 (acosh_test): Likewise.
9609 (asin_test_data): Likewise.
9610 (asin_test): Likewise.
9611 (asinh_test_data): Likewise.
9612 (asinh_test): Likewise.
9613 (atan_test_data): Likewise.
9614 (atan_test): Likewise.
9615 (atanh_test_data): Likewise.
9616 (atanh_test): Likewise.
9617 (atan2_test_data): Likewise.
9618 (atan2_test): Likewise.
9619 (cabs_test_data): Likewise.
9620 (cabs_test): Likewise.
9621 (cacos_test_data): Likewise.
9622 (cacos_test): Likewise.
9623 (cacosh_test_data): Likewise.
9624 (cacosh_test): Likewise.
9625 (canonicalize_test_data): Likewise.
9626 (canonicalize_test): Likewise.
9627 (carg_test_data): Likewise.
9628 (carg_test): Likewise.
9629 (casin_test_data): Likewise.
9630 (casin_test): Likewise.
9631 (casinh_test_data): Likewise.
9632 (casinh_test): Likewise.
9633 (catan_test_data): Likewise.
9634 (catan_test): Likewise.
9635 (catanh_test_data): Likewise.
9636 (catanh_test): Likewise.
9637 (cbrt_test_data): Likewise.
9638 (cbrt_test): Likewise.
9639 (ccos_test_data): Likewise.
9640 (ccos_test): Likewise.
9641 (ccosh_test_data): Likewise.
9642 (ccosh_test): Likewise.
9643 (ceil_test_data): Likewise.
9644 (ceil_test): Likewise.
9645 (cexp_test_data): Likewise.
9646 (cexp_test): Likewise.
9647 (cimag_test_data): Likewise.
9648 (cimag_test): Likewise.
9649 (clog_test_data): Likewise.
9650 (clog_test): Likewise.
9651 (clog10_test_data): Likewise.
9652 (clog10_test): Likewise.
9653 (conj_test_data): Likewise.
9654 (conj_test): Likewise.
9655 (copysign_test_data): Likewise.
9656 (copysign_test): Likewise.
9657 (cos_test_data): Likewise.
9658 (cos_test): Likewise.
9659 (cosh_test_data): Likewise.
9660 (cosh_test): Likewise.
9661 (cpow_test_data): Likewise.
9662 (cpow_test): Likewise.
9663 (cproj_test_data): Likewise.
9664 (cproj_test): Likewise.
9665 (creal_test_data): Likewise.
9666 (creal_test): Likewise.
9667 (csin_test_data): Likewise.
9668 (csin_test): Likewise.
9669 (csinh_test_data): Likewise.
9670 (csinh_test): Likewise.
9671 (csqrt_test_data): Likewise.
9672 (csqrt_test): Likewise.
9673 (ctan_test_data): Likewise.
9674 (ctan_test): Likewise.
9675 (ctanh_test_data): Likewise.
9676 (ctanh_test): Likewise.
9677 (erf_test_data): Likewise.
9678 (erf_test): Likewise.
9679 (erfc_test_data): Likewise.
9680 (erfc_test): Likewise.
9681 (exp_test_data): Likewise.
9682 (exp_test): Likewise.
9683 (exp10_test_data): Likewise.
9684 (exp10_test): Likewise.
9685 (pow10_test): Likewise.
9686 (exp2_test_data): Likewise.
9687 (exp2_test): Likewise.
9688 (expm1_test_data): Likewise.
9689 (expm1_test): Likewise.
9690 (fabs_test_data): Likewise.
9691 (fabs_test): Likewise.
9692 (fdim_test_data): Likewise.
9693 (fdim_test): Likewise.
9694 (floor_test_data): Likewise.
9695 (floor_test): Likewise.
9696 (fma_test_data): Likewise.
9697 (fma_test): Likewise.
9698 (fmax_test_data): Likewise.
9699 (fmax_test): Likewise.
9700 (fmaxmag_test_data): Likewise.
9701 (fmaxmag_test): Likewise.
9702 (fmin_test_data): Likewise.
9703 (fmin_test): Likewise.
9704 (fminmag_test_data): Likewise.
9705 (fminmag_test): Likewise.
9706 (fmod_test_data): Likewise.
9707 (fmod_test): Likewise.
9708 (fpclassify_test_data): Likewise.
9709 (fpclassify_test): Likewise.
9710 (frexp_test_data): Likewise.
9711 (frexp_test): Likewise.
9712 (fromfp_test_data): Likewise.
9713 (fromfp_test): Likewise.
9714 (fromfpx_test_data): Likewise.
9715 (fromfpx_test): Likewise.
9716 (getpayload_test_data): Likewise.
9717 (getpayload_test): Likewise.
9718 (hypot_test_data): Likewise.
9719 (hypot_test): Likewise.
9720 (ilogb_test_data): Likewise.
9721 (ilogb_test): Likewise.
9722 (iscanonical_test_data): Likewise.
9723 (iscanonical_test): Likewise.
9724 (iseqsig_test_data): Likewise.
9725 (iseqsig_test): Likewise.
9726 (isfinite_test_data): Likewise.
9727 (isfinite_test): Likewise.
9728 (finite_test): Likewise.
9729 (isgreater_test_data): Likewise.
9730 (isgreater_test): Likewise.
9731 (isgreaterequal_test_data): Likewise.
9732 (isgreaterequal_test): Likewise.
9733 (isinf_test_data): Likewise.
9734 (isinf_test): Likewise.
9735 (isless_test_data): Likewise.
9736 (isless_test): Likewise.
9737 (islessequal_test_data): Likewise.
9738 (islessequal_test): Likewise.
9739 (islessgreater_test_data): Likewise.
9740 (islessgreater_test): Likewise.
9741 (isnan_test_data): Likewise.
9742 (isnan_test): Likewise.
9743 (isnormal_test_data): Likewise.
9744 (isnormal_test): Likewise.
9745 (issignaling_test_data): Likewise.
9746 (issignaling_test): Likewise.
9747 (issubnormal_test_data): Likewise.
9748 (issubnormal_test): Likewise.
9749 (isunordered_test_data): Likewise.
9750 (isunordered_test): Likewise.
9751 (iszero_test_data): Likewise.
9752 (iszero_test): Likewise.
9753 (j0_test_data): Likewise.
9754 (j0_test): Likewise.
9755 (j1_test_data): Likewise.
9756 (j1_test): Likewise.
9757 (jn_test_data): Likewise.
9758 (jn_test): Likewise.
9759 (lgamma_test_data): Likewise.
9760 (lgamma_test): Likewise.
9761 (gamma_test): Likewise.
9762 (llogb_test_data): Likewise.
9763 (llogb_test): Likewise.
9764 (lrint_test_data): Likewise.
9765 (lrint_test): Likewise.
9766 (llrint_test_data): Likewise.
9767 (llrint_test): Likewise.
9768 (log_test_data): Likewise.
9769 (log_test): Likewise.
9770 (log10_test_data): Likewise.
9771 (log10_test): Likewise.
9772 (log1p_test_data): Likewise.
9773 (log1p_test): Likewise.
9774 (log2_test_data): Likewise.
9775 (log2_test): Likewise.
9776 (logb_test_data): Likewise.
9777 (logb_test): Likewise.
9778 (lround_test_data): Likewise.
9779 (lround_test): Likewise.
9780 (llround_test_data): Likewise.
9781 (llround_test): Likewise.
9782 (modf_test_data): Likewise.
9783 (modf_test): Likewise.
9784 (nearbyint_test_data): Likewise.
9785 (nearbyint_test): Likewise.
9786 (nextafter_test_data): Likewise.
9787 (nextafter_test): Likewise.
9788 (nextup_test_data): Likewise.
9789 (nextup_test): Likewise.
9790 (nextdown_test_data): Likewise.
9791 (nextdown_test): Likewise.
9792 (nexttoward_test_data): Likewise.
9793 (nexttoward_test): Likewise.
9794 (pow_test_data): Likewise.
9795 (pow_test): Likewise.
9796 (remainder_test_data): Likewise.
9797 (remainder_test): Likewise.
9798 (drem_test): Likewise.
9799 (remquo_test_data): Likewise.
9800 (remquo_test): Likewise.
9801 (rint_test_data): Likewise.
9802 (rint_test): Likewise.
9803 (round_test_data): Likewise.
9804 (round_test): Likewise.
9805 (roundeven_test_data): Likewise.
9806 (roundeven_test): Likewise.
9807 (scalb_test_data): Likewise.
9808 (scalb_test): Likewise.
9809 (scalbn_test_data): Likewise.
9810 (scalbn_test): Likewise.
9811 (ldexp_test): Likewise.
9812 (scalbln_test_data): Likewise.
9813 (scalbln_test): Likewise.
9814 (setpayload_test_data): Likewise.
9815 (setpayload_test): Likewise.
9816 (setpayloadsig_test_data): Likewise.
9817 (setpayloadsig_test): Likewise.
9818 (signbit_test_data): Likewise.
9819 (signbit_test): Likewise.
9820 (sin_test_data): Likewise.
9821 (sin_test): Likewise.
9822 (sincos_test_data): Likewise.
9823 (sincos_test): Likewise.
9824 (sinh_test_data): Likewise.
9825 (sinh_test): Likewise.
9826 (sqrt_test_data): Likewise.
9827 (sqrt_test): Likewise.
9828 (tan_test_data): Likewise.
9829 (tan_test): Likewise.
9830 (tanh_test_data): Likewise.
9831 (tanh_test): Likewise.
9832 (tgamma_test_data): Likewise.
9833 (tgamma_test): Likewise.
9834 (totalorder_test_data): Likewise.
9835 (totalorder_test): Likewise.
9836 (totalordermag_test_data): Likewise.
9837 (totalordermag_test): Likewise.
9838 (trunc_test_data): Likewise.
9839 (trunc_test): Likewise.
9840 (ufromfp_test_data): Likewise.
9841 (ufromfp_test): Likewise.
9842 (ufromfpx_test_data): Likewise.
9843 (ufromfpx_test): Likewise.
9844 (y0_test_data): Likewise.
9845 (y0_test): Likewise.
9846 (y1_test_data): Likewise.
9847 (y1_test): Likewise.
9848 (yn_test_data): Likewise.
9849 (yn_test): Likewise.
9850 (significand_test_data): Likewise.
9851 (significand_test): Likewise.
9852 * math/Makefile (auto-libm-test-out-files): Remove variable.
9853 (libm-test-funcs-noauto): New variable.
9854 (libm-test-funcs-all): Likewise.
9855 (libm-test-c-auto): Likewise.
9856 (libm-test-c-noauto): Likewise.
9857 (libm-tests-generated): Add $(libm-test-c-auto) and
9858 $(libm-test-c-noauto).
9859 (generated): Do not add auto-libm-test-out.
9860 (libm-test-c-auto-obj): New variable.
9861 (libm-test-c-noauto-obj): Likewise.
9862 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9863 ($(libm-test-c-noauto-obj)): New static pattern rule.
9864 ($(libm-test-c-auto-obj)): Likewise.
9865 (libm-test-incs): New variable.
9866 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9867 and pass it to gen-libm-have-vector-test.sh.
9868 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9869 be passed on command line.
9870 * math/libm-test-acos.inc: New file. Content from
9871 math/libm-test.inc.
9872 * math/libm-test-acosh.inc: Likewise.
9873 * math/libm-test-asin.inc: Likewise.
9874 * math/libm-test-asinh.inc: Likewise.
9875 * math/libm-test-atan.inc: Likewise.
9876 * math/libm-test-atan2.inc: Likewise.
9877 * math/libm-test-atanh.inc: Likewise.
9878 * math/libm-test-cabs.inc: Likewise.
9879 * math/libm-test-cacos.inc: Likewise.
9880 * math/libm-test-cacosh.inc: Likewise.
9881 * math/libm-test-canonicalize.inc: Likewise.
9882 * math/libm-test-carg.inc: Likewise.
9883 * math/libm-test-casin.inc: Likewise.
9884 * math/libm-test-casinh.inc: Likewise.
9885 * math/libm-test-catan.inc: Likewise.
9886 * math/libm-test-catanh.inc: Likewise.
9887 * math/libm-test-cbrt.inc: Likewise.
9888 * math/libm-test-ccos.inc: Likewise.
9889 * math/libm-test-ccosh.inc: Likewise.
9890 * math/libm-test-ceil.inc: Likewise.
9891 * math/libm-test-cexp.inc: Likewise.
9892 * math/libm-test-cimag.inc: Likewise.
9893 * math/libm-test-clog.inc: Likewise.
9894 * math/libm-test-clog10.inc: Likewise.
9895 * math/libm-test-conj.inc: Likewise.
9896 * math/libm-test-copysign.inc: Likewise.
9897 * math/libm-test-cos.inc: Likewise.
9898 * math/libm-test-cosh.inc: Likewise.
9899 * math/libm-test-cpow.inc: Likewise.
9900 * math/libm-test-cproj.inc: Likewise.
9901 * math/libm-test-creal.inc: Likewise.
9902 * math/libm-test-csin.inc: Likewise.
9903 * math/libm-test-csinh.inc: Likewise.
9904 * math/libm-test-csqrt.inc: Likewise.
9905 * math/libm-test-ctan.inc: Likewise.
9906 * math/libm-test-ctanh.inc: Likewise.
9907 * math/libm-test-erf.inc: Likewise.
9908 * math/libm-test-erfc.inc: Likewise.
9909 * math/libm-test-exp.inc: Likewise.
9910 * math/libm-test-exp10.inc: Likewise.
9911 * math/libm-test-exp2.inc: Likewise.
9912 * math/libm-test-expm1.inc: Likewise.
9913 * math/libm-test-fabs.inc: Likewise.
9914 * math/libm-test-fdim.inc: Likewise.
9915 * math/libm-test-floor.inc: Likewise.
9916 * math/libm-test-fma.inc: Likewise.
9917 * math/libm-test-fmax.inc: Likewise.
9918 * math/libm-test-fmaxmag.inc: Likewise.
9919 * math/libm-test-fmin.inc: Likewise.
9920 * math/libm-test-fminmag.inc: Likewise.
9921 * math/libm-test-fmod.inc: Likewise.
9922 * math/libm-test-fpclassify.inc: Likewise.
9923 * math/libm-test-frexp.inc: Likewise.
9924 * math/libm-test-fromfp.inc: Likewise.
9925 * math/libm-test-fromfpx.inc: Likewise.
9926 * math/libm-test-getpayload.inc: Likewise.
9927 * math/libm-test-hypot.inc: Likewise.
9928 * math/libm-test-ilogb.inc: Likewise.
9929 * math/libm-test-iscanonical.inc: Likewise.
9930 * math/libm-test-iseqsig.inc: Likewise.
9931 * math/libm-test-isfinite.inc: Likewise.
9932 * math/libm-test-isgreater.inc: Likewise.
9933 * math/libm-test-isgreaterequal.inc: Likewise.
9934 * math/libm-test-isinf.inc: Likewise.
9935 * math/libm-test-isless.inc: Likewise.
9936 * math/libm-test-islessequal.inc: Likewise.
9937 * math/libm-test-islessgreater.inc: Likewise.
9938 * math/libm-test-isnan.inc: Likewise.
9939 * math/libm-test-isnormal.inc: Likewise.
9940 * math/libm-test-issignaling.inc: Likewise.
9941 * math/libm-test-issubnormal.inc: Likewise.
9942 * math/libm-test-isunordered.inc: Likewise.
9943 * math/libm-test-iszero.inc: Likewise.
9944 * math/libm-test-j0.inc: Likewise.
9945 * math/libm-test-j1.inc: Likewise.
9946 * math/libm-test-jn.inc: Likewise.
9947 * math/libm-test-lgamma.inc: Likewise.
9948 * math/libm-test-llogb.inc: Likewise.
9949 * math/libm-test-llrint.inc: Likewise.
9950 * math/libm-test-llround.inc: Likewise.
9951 * math/libm-test-log.inc: Likewise.
9952 * math/libm-test-log10.inc: Likewise.
9953 * math/libm-test-log1p.inc: Likewise.
9954 * math/libm-test-log2.inc: Likewise.
9955 * math/libm-test-logb.inc: Likewise.
9956 * math/libm-test-lrint.inc: Likewise.
9957 * math/libm-test-lround.inc: Likewise.
9958 * math/libm-test-modf.inc: Likewise.
9959 * math/libm-test-nearbyint.inc: Likewise.
9960 * math/libm-test-nextafter.inc: Likewise.
9961 * math/libm-test-nextdown.inc: Likewise.
9962 * math/libm-test-nexttoward.inc: Likewise.
9963 * math/libm-test-nextup.inc: Likewise.
9964 * math/libm-test-pow.inc: Likewise.
9965 * math/libm-test-remainder.inc: Likewise.
9966 * math/libm-test-remquo.inc: Likewise.
9967 * math/libm-test-rint.inc: Likewise.
9968 * math/libm-test-round.inc: Likewise.
9969 * math/libm-test-roundeven.inc: Likewise.
9970 * math/libm-test-scalb.inc: Likewise.
9971 * math/libm-test-scalbln.inc: Likewise.
9972 * math/libm-test-scalbn.inc: Likewise.
9973 * math/libm-test-setpayload.inc: Likewise.
9974 * math/libm-test-setpayloadsig.inc: Likewise.
9975 * math/libm-test-signbit.inc: Likewise.
9976 * math/libm-test-significand.inc: Likewise.
9977 * math/libm-test-sin.inc: Likewise.
9978 * math/libm-test-sincos.inc: Likewise.
9979 * math/libm-test-sinh.inc: Likewise.
9980 * math/libm-test-sqrt.inc: Likewise.
9981 * math/libm-test-tan.inc: Likewise.
9982 * math/libm-test-tanh.inc: Likewise.
9983 * math/libm-test-tgamma.inc: Likewise.
9984 * math/libm-test-totalorder.inc: Likewise.
9985 * math/libm-test-totalordermag.inc: Likewise.
9986 * math/libm-test-trunc.inc: Likewise.
9987 * math/libm-test-ufromfp.inc: Likewise.
9988 * math/libm-test-ufromfpx.inc: Likewise.
9989 * math/libm-test-y0.inc: Likewise.
9990 * math/libm-test-y1.inc: Likewise.
9991 * math/libm-test-yn.inc: Likewise.
9992 * math/README.libm-test: Update.
9993
9994 * math/gen-auto-libm-tests.c: Update comment about use of program.
9995 (generate_output): Add argument FUNCTION.
9996 (main): Require extra argument. Pass function name to
9997 generate_output.
9998 * math/Makefile (generated): Add auto-libm-test-out.
9999 (libm-test-funcs-auto): New variable.
10000 (auto-libm-test-out-files): New variable.
10001 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
10002 Concatenate those files to form $(objpfx)auto-libm-test-out and
10003 use it as input to gen-libm-test.pl.
10004 * math/README.libm-test: Update.
10005 * math/auto-libm-test-out: Remove.
10006 * math/auto-libm-test-out-acos: New generated file.
10007 * math/auto-libm-test-out-acosh: Likewise.
10008 * math/auto-libm-test-out-asin: Likewise.
10009 * math/auto-libm-test-out-asinh: Likewise.
10010 * math/auto-libm-test-out-atan: Likewise.
10011 * math/auto-libm-test-out-atan2: Likewise.
10012 * math/auto-libm-test-out-atanh: Likewise.
10013 * math/auto-libm-test-out-cabs: Likewise.
10014 * math/auto-libm-test-out-carg: Likewise.
10015 * math/auto-libm-test-out-cbrt: Likewise.
10016 * math/auto-libm-test-out-ccos: Likewise.
10017 * math/auto-libm-test-out-ccosh: Likewise.
10018 * math/auto-libm-test-out-cexp: Likewise.
10019 * math/auto-libm-test-out-clog: Likewise.
10020 * math/auto-libm-test-out-clog10: Likewise.
10021 * math/auto-libm-test-out-cos: Likewise.
10022 * math/auto-libm-test-out-cosh: Likewise.
10023 * math/auto-libm-test-out-cpow: Likewise.
10024 * math/auto-libm-test-out-csin: Likewise.
10025 * math/auto-libm-test-out-csinh: Likewise.
10026 * math/auto-libm-test-out-csqrt: Likewise.
10027 * math/auto-libm-test-out-ctan: Likewise.
10028 * math/auto-libm-test-out-ctanh: Likewise.
10029 * math/auto-libm-test-out-erf: Likewise.
10030 * math/auto-libm-test-out-erfc: Likewise.
10031 * math/auto-libm-test-out-exp: Likewise.
10032 * math/auto-libm-test-out-exp10: Likewise.
10033 * math/auto-libm-test-out-exp2: Likewise.
10034 * math/auto-libm-test-out-expm1: Likewise.
10035 * math/auto-libm-test-out-fma: Likewise.
10036 * math/auto-libm-test-out-hypot: Likewise.
10037 * math/auto-libm-test-out-j0: Likewise.
10038 * math/auto-libm-test-out-j1: Likewise.
10039 * math/auto-libm-test-out-jn: Likewise.
10040 * math/auto-libm-test-out-lgamma: Likewise.
10041 * math/auto-libm-test-out-log: Likewise.
10042 * math/auto-libm-test-out-log10: Likewise.
10043 * math/auto-libm-test-out-log1p: Likewise.
10044 * math/auto-libm-test-out-log2: Likewise.
10045 * math/auto-libm-test-out-pow: Likewise.
10046 * math/auto-libm-test-out-sin: Likewise.
10047 * math/auto-libm-test-out-sincos: Likewise.
10048 * math/auto-libm-test-out-sinh: Likewise.
10049 * math/auto-libm-test-out-sqrt: Likewise.
10050 * math/auto-libm-test-out-tan: Likewise.
10051 * math/auto-libm-test-out-tanh: Likewise.
10052 * math/auto-libm-test-out-tgamma: Likewise.
10053 * math/auto-libm-test-out-y0: Likewise.
10054 * math/auto-libm-test-out-y1: Likewise.
10055 * math/auto-libm-test-out-yn: Likewise.
10056
10057 * math/Makefile (generated): Do not include libm-test.stmp.
10058 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
10059 on $(objpfx)libm-test.stmp.
10060 ($(objpfx)libm-test.stmp): Remove rule.
10061 ($(objpfx)libm-test-ulps.h): New rule.
10062 ($(objpfx)libm-test.c): Likewise.
10063 ($(objpfx)libm-have-vector-test.h): Likewise.
10064 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
10065 individual generated files, not libm-test.stmp.
10066
10067 * math/gen-libm-test.pl ($output_dir): Remove variable.
10068 ($srcdir): Likewise.
10069 ($opt_a): New variable.
10070 ($opt_c): Likewise.
10071 ($opt_C): Likewise.
10072 ($opt_H): Likewise.
10073 (-n): Make option take argument and use it as NewUlps output.
10074 (-a): New option. Use its argument for auto-libm-test-out input.
10075 (-c): New option. Use its argument for libm-test.inc input.
10076 (-C): New option. Use its argument for libm-test.c output.
10077 (-H): New option. Use its argument for libm-test-ulps.h output.
10078 (top level): Only process inputs needed to generate outputs
10079 specified by command-line options. Only generate outputs
10080 specified by command-line options.
10081 * math/README.libm-test: Update example gen-libm-test.pl command.
10082 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
10083 commands.
10084 (regen-ulps): Likewise.
10085
10086 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
10087
10088 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
10089 * include/string.h (index): Remove define.
10090 (rindex): Likewise.
10091 * misc/getttyent.c (__getttyent): Rename index to strchr.
10092 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
10093 * sunrpc/rpc_main.c (mkfile_output): Likewise.
10094
10095 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10096
10097 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
10098 * math/libm-test.inc: Move all contents, other than tests of
10099 individual functions, to libm-test-driver.c.
10100 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
10101 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
10102 [!FE_UPWARD] (FE_UPWARD): Likewise.
10103 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
10104 (NO_EXCEPTION): Likewise.
10105 (INVALID_EXCEPTION): Likewise.
10106 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
10107 (OVERFLOW_EXCEPTION): Likewise.
10108 (UNDERFLOW_EXCEPTION): Likewise.
10109 (INEXACT_EXCEPTION): Likewise.
10110 (INVALID_EXCEPTION_OK): Likewise.
10111 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10112 (OVERFLOW_EXCEPTION_OK): Likewise.
10113 (UNDERFLOW_EXCEPTION_OK): Likewise.
10114 (NO_INEXACT_EXCEPTION): Likewise.
10115 (EXCEPTIONS_OK): Likewise.
10116 (IGNORE_ZERO_INF_SIGN): Likewise.
10117 (TEST_NAN_SIGN): Likewise.
10118 (TEST_NAN_PAYLOAD): Likewise.
10119 (NO_TEST_INLINE): Likewise.
10120 (XFAIL_TEST): Likewise.
10121 (ERRNO_UNCHANGED): Likewise.
10122 (ERRNO_EDOM): Likewise.
10123 (ERRNO_ERANGE): Likewise.
10124 (IGNORE_RESULT): Likewise.
10125 (NON_FINITE): Likewise.
10126 (TEST_SNAN): Likewise.
10127 (NO_TEST_MATHVEC): Likewise.
10128 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
10129 (__CONCATX): Likewise.
10130 (TYPE_MIN): Likewise.
10131 (TYPE_TRUE_MIN): Likewise.
10132 (TYPE_MAX): Likewise.
10133 (MIN_EXP): Likewise.
10134 (MAX_EXP): Likewise.
10135 (MANT_DIG): Likewise.
10136 (FSTR_MAX): Likewise.
10137 (ULP_IDX): Likewise.
10138 (QTYPE_STR): Likewise.
10139 (TEST_COND_binary32): Likewise.
10140 (TEST_COND_binary64): Likewise.
10141 (TEST_COND_binary128): Likewise.
10142 (TEST_COND_ibm128): Likewise.
10143 (TEST_COND_intel96): Likewise.
10144 (TEST_COND_m68k96): Likewise.
10145 (TEST_COND_ibm128_libgcc): Likewise.
10146 (XFAIL_IBM128_LIBGCC): Likewise.
10147 (PAYLOAD_DIG): Likewise.
10148 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10149 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10150 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10151 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10152 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10153 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10154 (TEST_COND_long32): Likewise.
10155 (TEST_COND_long64): Likewise.
10156 (TEST_COND_before_rounding): Likewise.
10157 (TEST_COND_after_rounding): Likewise.
10158 (lit_pi_3_m_4_d): Likewise.
10159 (lit_pi_3_m_4_ln10_m_d): Likewise.
10160 (lit_pi_2_ln10_m_d): Likewise.
10161 (lit_pi_4_ln10_m_d): Likewise.
10162 (lit_pi_ln10_d): Likewise.
10163 (lit_pi_2_d): Likewise.
10164 (lit_pi_4_d): Likewise.
10165 (lit_pi): Likewise.
10166 (lit_e): Likewise.
10167 (ulps_file_name): Likewise.
10168 (ulps_file): Likewise.
10169 (output_ulps): Likewise.
10170 (output_dir): Likewise.
10171 (noErrors): Likewise.
10172 (noTests): Likewise.
10173 (noExcTests): Likewise.
10174 (noErrnoTests): Likewise.
10175 (verbose): Likewise.
10176 (output_max_error): Likewise.
10177 (output_points): Likewise.
10178 (ignore_max_ulp): Likewise.
10179 (plus_zero): Likewise.
10180 (minus_zero): Likewise.
10181 (plus_infty): Likewise.
10182 (minus_infty): Likewise.
10183 (qnan_value_pl): Likewise.
10184 (qnan_value): Likewise.
10185 (snan_value_pl): Likewise.
10186 (snan_value): Likewise.
10187 (max_value): Likewise.
10188 (min_value): Likewise.
10189 (min_subnorm_value): Likewise.
10190 (snan_value_ld): Likewise.
10191 (max_error): Likewise.
10192 (real_max_error): Likewise.
10193 (imag_max_error): Likewise.
10194 (prev_max_error): Likewise.
10195 (prev_real_max_error): Likewise.
10196 (prev_imag_max_error): Likewise.
10197 (max_valid_error): Likewise.
10198 (TYPE_DECIMAL_DIG): Likewise.
10199 (TYPE_HEX_DIG): Likewise.
10200 (fmt_ftostr): Likewise.
10201 (compare_ulp_data): Likewise.
10202 (find_ulps): Likewise.
10203 (init_max_error): Likewise.
10204 (set_max_error): Likewise.
10205 (print_float): Likewise.
10206 (print_screen): Likewise.
10207 (print_screen_max_error): Likewise.
10208 (update_stats): Likewise.
10209 (print_function_ulps): Likewise.
10210 (print_complex_function_ulps): Likewise.
10211 (fpstack_test): Likewise.
10212 (print_max_error): Likewise.
10213 (print_complex_max_error): Likewise.
10214 (test_single_exception): Likewise.
10215 (test_exceptions): Likewise.
10216 (test_single_errno): Likewise.
10217 (test_errno): Likewise.
10218 (ULPDIFF): Likewise.
10219 (ulp): Likewise.
10220 (check_float_internal): Likewise.
10221 (check_float): Likewise.
10222 (check_complex): Likewise.
10223 (check_int): Likewise.
10224 (check_long): Likewise.
10225 (check_bool): Likewise.
10226 (check_longlong): Likewise.
10227 (check_intmax_t): Likewise.
10228 (check_uintmax_t): Likewise.
10229 (enable_test): Likewise.
10230 (struct test_f_f_data): Likewise.
10231 (struct test_ff_f_data): Likewise.
10232 (struct test_fj_f_data): Likewise.
10233 (struct test_fi_f_data): Likewise.
10234 (struct test_fl_f_data): Likewise.
10235 (struct test_if_f_data): Likewise.
10236 (struct test_fff_f_data): Likewise.
10237 (struct test_fiu_M_data): Likewise.
10238 (struct test_fiu_U_data): Likewise.
10239 (struct test_c_f_data): Likewise.
10240 (struct test_f_f1_data): Likewise.
10241 (struct test_fF_f1_data): Likewise.
10242 (struct test_ffI_f1_data): Likewise.
10243 (struct test_c_c_data): Likewise.
10244 (struct test_cc_c_data): Likewise.
10245 (struct test_f_i_data): Likewise.
10246 (struct test_ff_i_data): Likewise.
10247 (struct test_f_l_data): Likewise.
10248 (struct test_f_L_data): Likewise.
10249 (struct test_fFF_11_data): Likewise.
10250 (struct test_Ff_b1_data): Likewise.
10251 (IF_ROUND_INIT_): Likewise.
10252 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10253 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10254 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10255 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10256 (ROUND_RESTORE_): Likewise.
10257 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10258 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10259 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10260 (ROUND_RESTORE_FE_UPWARD): Likewise.
10261 (RM_): Likewise.
10262 (RM_FE_DOWNWARD): Likewise.
10263 (RM_FE_TONEAREST): Likewise.
10264 (RM_FE_TOWARDZERO): Likewise.
10265 (RM_FE_UPWARD): Likewise.
10266 (COMMON_TEST_SETUP): Likewise.
10267 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10268 (COMMON_TEST_CLEANUP): Likewise.
10269 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10270 (RUN_TEST_f_f): Likewise.
10271 (RUN_TEST_LOOP_f_f): Likewise.
10272 (RUN_TEST_fp_f): Likewise.
10273 (RUN_TEST_LOOP_fp_f): Likewise.
10274 (RUN_TEST_2_f): Likewise.
10275 (RUN_TEST_LOOP_2_f): Likewise.
10276 (RUN_TEST_ff_f): Likewise.
10277 (RUN_TEST_LOOP_ff_f): Likewise.
10278 (RUN_TEST_LOOP_fj_f): Likewise.
10279 (RUN_TEST_fi_f): Likewise.
10280 (RUN_TEST_LOOP_fi_f): Likewise.
10281 (RUN_TEST_fl_f): Likewise.
10282 (RUN_TEST_LOOP_fl_f): Likewise.
10283 (RUN_TEST_if_f): Likewise.
10284 (RUN_TEST_LOOP_if_f): Likewise.
10285 (RUN_TEST_fff_f): Likewise.
10286 (RUN_TEST_LOOP_fff_f): Likewise.
10287 (RUN_TEST_fiu_M): Likewise.
10288 (RUN_TEST_LOOP_fiu_M): Likewise.
10289 (RUN_TEST_fiu_U): Likewise.
10290 (RUN_TEST_LOOP_fiu_U): Likewise.
10291 (RUN_TEST_c_f): Likewise.
10292 (RUN_TEST_LOOP_c_f): Likewise.
10293 (RUN_TEST_f_f1): Likewise.
10294 (RUN_TEST_LOOP_f_f1): Likewise.
10295 (RUN_TEST_fF_f1): Likewise.
10296 (RUN_TEST_LOOP_fF_f1): Likewise.
10297 (RUN_TEST_fI_f1): Likewise.
10298 (RUN_TEST_LOOP_fI_f1): Likewise.
10299 (RUN_TEST_ffI_f1_mod8): Likewise.
10300 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10301 (RUN_TEST_Ff_b1): Likewise.
10302 (RUN_TEST_LOOP_Ff_b1): Likewise.
10303 (RUN_TEST_Ffp_b1): Likewise.
10304 (RUN_TEST_LOOP_Ffp_b1): Likewise.
10305 (RUN_TEST_c_c): Likewise.
10306 (RUN_TEST_LOOP_c_c): Likewise.
10307 (RUN_TEST_cc_c): Likewise.
10308 (RUN_TEST_LOOP_cc_c): Likewise.
10309 (RUN_TEST_f_i): Likewise.
10310 (RUN_TEST_LOOP_f_i): Likewise.
10311 (RUN_TEST_f_i_tg): Likewise.
10312 (RUN_TEST_LOOP_f_i_tg): Likewise.
10313 (RUN_TEST_ff_b): Likewise.
10314 (RUN_TEST_LOOP_ff_b): Likewise.
10315 (RUN_TEST_ff_i_tg): Likewise.
10316 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10317 (RUN_TEST_f_b): Likewise.
10318 (RUN_TEST_LOOP_f_b): Likewise.
10319 (RUN_TEST_f_b_tg): Likewise.
10320 (RUN_TEST_LOOP_f_b_tg): Likewise.
10321 (RUN_TEST_f_l): Likewise.
10322 (RUN_TEST_LOOP_f_l): Likewise.
10323 (RUN_TEST_f_L): Likewise.
10324 (RUN_TEST_LOOP_f_L): Likewise.
10325 (RUN_TEST_fFF_11): Likewise.
10326 (RUN_TEST_LOOP_fFF_11): Likewise.
10327 (VEC_SUFF): Likewise.
10328 (STR_CONCAT): Likewise.
10329 (STR_CON3): Likewise.
10330 (HAVE_VECTOR): Likewise.
10331 (START): Likewise.
10332 (END): Likewise.
10333 (END_COMPLEX): Likewise.
10334 (ALL_RM_TEST): Likewise.
10335 (matherr): Likewise.
10336 (initialize): Likewise.
10337 (options): Likewise.
10338 (doc): Likewise.
10339 (parse_opt): Likewise.
10340 (argp): Likewise.
10341 (check_ulp): Likewise.
10342 (main): Likewise.
10343 (do_test): New function. Call tests of individual functions
10344 previously called from main.
10345
10346 * math/libm-test.inc: Remove comment listing functions tested and
10347 not tested.
10348
10349 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10350
10351 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10352 (allocate_stack): Remove COLORING_INCREMENT usage.
10353 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10354 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10355
10356 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10357
10358 * manual/libm-err-tab.pl (@all_functions): Change to
10359 %all_functions. Initialize as empty.
10360 (parse_ulps): Add to %all_functions based on functions found in
10361 ulps files. Ignore results for non-default rounding modes and
10362 vector functions.
10363 (print_platforms): Use %all_platforms.
10364 * manual/math.texi (Errors in Math Functions): Document omissions
10365 from the table.
10366
10367 * math/Makefile (before-compile): Remove.
10368
10369 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10370
10371 [BZ #21075]
10372 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10373 unused assignment.
10374 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10375
10376 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10377
10378 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10379 Add __glibc_unlikely hint.
10380
10381 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10382
10383 [BZ #16640]
10384 * sysdeps/i386/i686/strtok.S: Remove file.
10385 * sysdeps/i386/i686/strtok_r.S: Likewise.
10386 * sysdeps/i386/strtok.S: Likewise.
10387 * sysdeps/i386/strtok_r.S: Likewise.
10388 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10389 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10390 * sysdeps/x86_64/strtok.S: Likewise.
10391 * sysdeps/x86_64/strtok_r.S: Likewise.
10392
10393 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10394 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10395 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10396 (__ASSUME_FADVISE64_AS_64_64): Define.
10397 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10398 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10399 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10400 __ALIGNMENT_ARG usage.
10401 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10402 __NR_fadvise64_64 if it is not defined.
10403
10404 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10405
10406 * version.h (RELEASE): Set to "development"
10407 (VERSION): Set to 2.25.90.
10408 * NEWS: Add 2.26 section.
10409
10410 * version.h (RELEASE): Set to "stable"
10411 (VERSION): Set to 2.25.
10412 * include/features.h (__GLIBC_MINOR__): Set to 25.
10413
10414 * manual/contrib.texi: Add more contributors from this release
10415 and past releases.
10416
10417 * NEWS (2.25): Add list of bugs fixed.
10418
10419 * NEWS: Add missing news items.
10420
10421 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10422
10423 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10424 parent if child exited in that manner. Print WEXITSTATUS
10425 instead of the raw status.
10426 (do_test_prep): Rename to do_test.
10427 (do_test): Return the result of run_executable_sgid.
10428 (TEST_FUNCTION_ARGV): Adjust.
10429
10430 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10431 Florian Weimer <fweimer@redhat.com>
10432 Carlos O'Donell <carlos@redhat.com>
10433
10434 [BZ #20915]
10435 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10436 Do not initialize DTV.
10437 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10438
10439 2017-02-03 David S. Miller <davem@davemloft.net>
10440
10441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10450 (libm-sysdep_routines): Update.
10451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10456 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10457 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10458 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10459 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10461 Likewise.
10462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10464 Likewise.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10467 Likewise.
10468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10470 Likewise.
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10473 (libm-sysdep_routines): Update.
10474
10475 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10476
10477 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10478 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10479 against unrelocated shared library.
10480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10481
10482 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10483
10484 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10485 * elf/tst-env-setuid-tunables.c
10486 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10487 GLIBC_TUNABLES is removed in a setgid process.
10488
10489 [BZ #21073]
10490 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10491 * elf/dl-tunables.c (tunables_strdup): Remove.
10492 (get_next_env): Also return the previous envp.
10493 (parse_tunables): Erase tunables of category
10494 TUNABLES_SECLEVEL_SXID_ERASE.
10495 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10496 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10497 (__tunables_init)[TUNABLES_FRONTEND ==
10498 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10499 after parsing.
10500 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10501 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10502 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10503 to security_level.
10504 * elf/dl-tunables.list: Add security_level annotations for all
10505 tunables.
10506 * scripts/gen-tunables.awk: Recognize and generate enum values
10507 for security_level.
10508 * elf/tst-env-setuid.c: New test case.
10509 * elf/tst-env-setuid-tunables: new test case.
10510 * elf/Makefile (tests-static): Add them.
10511
10512 2017-02-01 Richard Henderson <rth@twiddle.net>
10513
10514 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10515 adjusting the byte count.
10516
10517 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10518
10519 * conform/Makefile (linknamespace-libs): Define.
10520
10521 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10522 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10523 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10524 operands.
10525
10526 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10527
10528 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10529
10530 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10531
10532 [BZ #21081]
10533 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10534 (L(stosb)): Add VZEROUPPER before ret.
10535
10536 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10537 Alexey Makhalov <amakhalov@vmware.com>
10538 Florian Weimer <fweimer@redhat.com>
10539
10540 [BZ #20116]
10541 * nptl/pthread_create.c: Document concurrency notes.
10542 Enhance thread creation notes.
10543 (create_thread): Use bool *stopped_start.
10544 (START_THREAD_DEFN): Comment ownership of PD.
10545 (__pthread_create_2_1): Add local bool stopped_start and use
10546 that instead of pd->stopped_start where appropriate.
10547 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10548 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10549 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10550 * nptl/tst-create-detached.c: New file.
10551 * nptl/Makefile (tests): Add tst-create-detached.
10552 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10553 Reference the enhanced thread creation notes.
10554 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10555 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10556 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10557 (__pthread_current_priority): Likewise.
10558 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10559 xpthread_attr_init, xpthread_attr_setdetachstate, and
10560 xpthread_attr_setstacksize.
10561 * support/xpthread_attr_destroy.c: New file.
10562 * support/xpthread_attr_init.c: New file.
10563 * support/xpthread_attr_setdetachstate.c: New file.
10564 * support/xpthread_attr_setstacksize.c: New file.
10565 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10566 xpthread_attr_init, xpthread_attr_setdetachstate, and
10567 xpthread_attr_setstacksize.
10568
10569 2017-01-27 Florian Weimer <fweimer@redhat.com>
10570
10571 * nptl/Makefile (tests): Add tst-robust-fork.
10572 * nptl/tst-robust-fork.c: New file.
10573 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10574 xpthread_mutex_consistent, xpthread_mutex_destroy,
10575 xpthread_mutex_init, xpthread_mutexattr_destroy,
10576 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10577 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10578 xpthread_mutexattr_settype.
10579 * support/xmmap.c: New file.
10580 * support/xmunmap.c: Likewise.
10581 * support/xpthread_mutex_consistent.c: Likewise.
10582 * support/xpthread_mutex_destroy.c: Likewise.
10583 * support/xpthread_mutex_init.c: Likewise.
10584 * support/xpthread_mutexattr_destroy.c: Likewise.
10585 * support/xpthread_mutexattr_init.c: Likewise.
10586 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10587 * support/xpthread_mutexattr_setpshared.c: Likewise.
10588 * support/xpthread_mutexattr_setrobust.c: Likewise.
10589 * support/xpthread_mutexattr_settype.c: Likewise.
10590 * support/xthread.h (xpthread_mutexattr_destroy)
10591 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10592 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10593 (xpthread_mutexattr_settype, xpthread_mutex_init)
10594 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10595 * support/xunistd.h (xmmap, xmunmap): Likewise.
10596
10597 2017-01-25 Florian Weimer <fweimer@redhat.com>
10598
10599 * string/Makefile (xtests): Add comment.
10600 (LOCALES): Add en_GB.UTF-8.
10601 (tst-strcoll-overflow.out): Depend on generated locales.
10602 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10603 (SIZE, TIMEOUT): Update comments.
10604 (do_test): Define as static. Fail test if setlocale fails.
10605 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10606 messages.
10607 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10608 TIMEOUT at 300 seconds should be enough to run this test
10609 successfully.
10610
10611 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10612
10613 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10614 /* FALLTHRU */ comments.
10615
10616 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10617
10618 [BZ #21053]
10619 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10620 constants instead of the old R* ones.
10621 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10622 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10623 (NGREG): ... to this, to fit in with other architectures.
10624 (gpregset_t): Use new NGREG macro.
10625 [__USE_GNU]: Remove condition; all architectures other than tile
10626 are unconditional.
10627 (R*): Rename to REG_R*.
10628
10629 2017-01-20 DJ Delorie <dj@redhat.com>
10630
10631 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10632 (tunable_set_val_if_valid_range_signed) ... this, and ...
10633 (tunable_set_val_if_valid_range_unsigned) ... this.
10634 (tunable_initialize): Call the correct one of the above based on type.
10635
10636 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10637
10638 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10639 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10640 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10641 * sysdeps/microblaze/libm-test-ulps: Likewise.
10642 * sysdeps/sh/libm-test-ulps: Likewise.
10643
10644 * math/README.libm-test: Update list of characters for input and
10645 output types.
10646
10647 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10648
10649 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10650 (__lll_unlock_elision): Fix adapt_count decrement.
10651
10652 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10653
10654 * README.pretty-printers (Known issues): Warn about printers not
10655 always covering everything.
10656 * nptl/nptl-printers.py (MutexPrinter): Change output.
10657 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10658
10659 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10660
10661 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10662 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10663 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10664 (__lll_lock_elision): Do not test futex before starting a
10665 transaction. Use __glibc_likely instead of __builtin_expect.
10666 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10667 (__lll_trylock_elision): Do not test futex before starting a
10668 transaction. Use __glibc_likely instead of __builtin_expect.
10669
10670 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10671
10672 * po/Makefile (update-translations): New target.
10673
10674 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10675
10676 [BZ #21061]
10677 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10678
10679 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10680
10681 * elf/dl-tunables (get_next_env): Always advance envp.
10682 * stdlib/tst-empty-env.c: New test case.
10683 * stdlib/Makefile (tests): Use it.
10684
10685 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10686
10687 [BZ #21047]
10688 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10689 name for instruction.
10690 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10691
10692 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10693
10694 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10695 for make install.
10696
10697 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10698
10699 * po/bg.po: Merge from Translation Project.
10700 * po/fr.po: Likewise.
10701 * po/ko.po: Likewise.
10702 * po/nl.po: Likewise.
10703 * po/sv.po: Likewise.
10704
10705 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10706
10707 * manual/install.texi (Tools for Compilation): Update GCC version
10708 known to work to build glibc.
10709 * INSTALL: Regenerated.
10710
10711 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10712
10713 [BZ #21006]
10714 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10715
10716 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10717
10718 [BZ #21045]
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10720 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10721 to __sigprocmask.
10722
10723 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10724
10725 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10726 wrap-around.
10727 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10728
10729 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10730
10731 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10732
10733 * NEWS: Fix typo.
10734
10735 2016-01-13 Torvald Riegel <triegel@redhat.com>
10736
10737 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10738 barriers and comments.
10739 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10740 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10741 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10742
10743 2016-01-13 Torvald Riegel <triegel@redhat.com>
10744
10745 [BZ #19402]
10746 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10747 mutexes.
10748
10749 2016-01-13 Torvald Riegel <triegel@redhat.com>
10750
10751 [BZ #20985]
10752 * nptl/Makefile: Adapt.
10753 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10754 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10755 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10756 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10757 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10758 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10759 lll_robust* functions and adapt.
10760 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10761 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10762 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10763 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10764 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10765 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10766 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10767 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10768 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10769 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10770 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10771 * nptl/lowlevelrobustlock.c: Remove file.
10772 * nptl/lowlevelrobustlock.sym: Likewise.
10773 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10774 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10775
10776 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10777
10778 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10779
10780 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10781
10782 * po/cs.po: Merge translations from the Translation Project.
10783 * po/de.po: Likewise.
10784 * po/pl.po: Likewise.
10785 * po/ru.po: Likewise.
10786 * po/tr.po: Likewise.
10787 * po/uk.po: Likewise.
10788 * po/vi.po: Likewise.
10789 * po/zh_CN.po: Likewise.
10790
10791 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10792
10793 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10794
10795 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10796 object.
10797
10798 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10799
10800 [BZ #16458]
10801 * bits/uintn-identity.h: New file.
10802 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10803 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10804 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10805 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10806 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10807 * string/endian.h: Include <bits/uintn-identity.h>.
10808 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10809 __uint16_identity.
10810 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10811 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10812 __uint32_identity.
10813 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10814 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10815 __uint64_identity.
10816 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10817 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10818 __uint16_identity.
10819 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10820 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10821 __uint32_identity.
10822 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10823 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10824 __uint64_identity.
10825 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10826 * string/Makefile (headers): Add bits/uintn-identity.h.
10827 (tests): Add test-endian-types.
10828 * string/test-endian-types.c: New file.
10829 * inet/Makefile (tests): Add test-hnto-types.
10830 * inet/test-hnto-types.c: New file.
10831
10832 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10833
10834 * po/be.po: Update from Translation Project.
10835 * po/bg.po: Likewise.
10836 * po/ca.po: Likewise.
10837 * po/cs.po: Likewise.
10838 * po/da.po: Likewise.
10839 * po/de.po: Likewise.
10840 * po/el.po: Likewise.
10841 * po/eo.po: Likewise.
10842 * po/es.po: Likewise.
10843 * po/fi.po: Likewise.
10844 * po/fr.po: Likewise.
10845 * po/gl.po: Likewise.
10846 * po/hr.po: Likewise.
10847 * po/hu.po: Likewise.
10848 * po/ia.po: Likewise.
10849 * po/id.po: Likewise.
10850 * po/it.po: Likewise.
10851 * po/ja.po: Likewise.
10852 * po/ko.po: Likewise.
10853 * po/lt.po: Likewise.
10854 * po/nb.po: Likewise.
10855 * po/nl.po: Likewise.
10856 * po/pl.po: Likewise.
10857 * po/pt_BR.po: Likewise.
10858 * po/ru.po: Likewise.
10859 * po/rw.po: Likewise.
10860 * po/sk.po: Likewise.
10861 * po/sl.po: Likewise.
10862 * po/sv.po: Likewise.
10863 * po/tr.po: Likewise.
10864 * po/uk.po: Likewise.
10865 * po/vi.po: Likewise.
10866 * po/zh_CN.po: Likewise.
10867 * po/zh_TW.po: Likewise.
10868
10869 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10870
10871 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10872 -Wformat-truncation instead of -Wformat-length.
10873 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10874 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10875 GCC 7.
10876 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10877 (do_test): Ignore -Wformat-truncation for GCC 7.
10878
10879 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10880 buffer used to print long int value.
10881
10882 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10883 one byte. Print it with %ld, cast to long int.
10884
10885 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10886
10887 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10888 (re.fullmatch, subprocess.run): Likewise.
10889
10890 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10891
10892 * po/libc.pot: Regenerate.
10893
10894 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10895
10896 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10897 (min_strlen): Likewise.
10898 (disable_tunable): Likewise.
10899 (maybe_disable_malloc_check): Rename to
10900 maybe_enable_malloc_check.
10901 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10902 if /etc/suid-debug file exists.
10903 (__tunables_init): Update caller.
10904 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10905 secure.
10906
10907 2016-01-10 Torvald Riegel <triegel@redhat.com>
10908
10909 * nptl/DESIGN-rwlock.txt: Remove.
10910 * nptl/lowlevelrwlock.sym: Remove.
10911 * nptl/Makefile: Add new tests.
10912 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10913 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10914 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10915 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10916 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10917 PTHREAD_RWLOCK_FUTEX_USED): New.
10918 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10919 implementation.
10920 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10921 (__pthread_rwlock_rdlock): Adapt.
10922 * nptl/pthread_rwlock_timedrdlock.c
10923 (pthread_rwlock_timedrdlock): Adapt.
10924 * nptl/pthread_rwlock_timedwrlock.c
10925 (pthread_rwlock_timedwrlock): Adapt.
10926 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10927 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10928 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10929 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10930 (__pthread_rwlock_wrlock): Adapt.
10931 * nptl/tst-rwlock10.c: Adapt.
10932 * nptl/tst-rwlock11.c: Adapt.
10933 * nptl/tst-rwlock17.c: New file.
10934 * nptl/tst-rwlock18.c: New file.
10935 * nptl/tst-rwlock19.c: New file.
10936 * nptl/tst-rwlock2b.c: New file.
10937 * nptl/tst-rwlock8.c: Adapt.
10938 * nptl/tst-rwlock9.c: Adapt.
10939 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10940 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10941 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10942 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10943 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10944 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10945 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10946 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10947 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10948 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10949 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10950 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10951 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10952 (pthread_rwlock_t): Adapt.
10953 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10954 (pthread_rwlock_t): Adapt.
10955 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10956 * nptl/nptl-printers.py (): Adapt.
10957 * nptl/nptl_lock_constants.pysym: Adapt.
10958 * nptl/test-rwlock-printers.py: Adapt.
10959 * nptl/test-rwlockattr-printers.c: Adapt.
10960 * nptl/test-rwlockattr-printers.py: Adapt.
10961
10962 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10963
10964 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10965 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10966 (fma_test_data): Likewise.
10967 (hypot_test_data): Likewise.
10968 (log1p_test_data): Likewise.
10969 (modf_test_data): Likewise.
10970 (pow_test_data): Likewise.
10971 (remainder_test_data): Likewise.
10972 (remquo_test_data): Likewise.
10973 (scalb_test_data): Likewise.
10974 (scalbn_test_data): Likewise.
10975 (scalbln_test_data): Likewise.
10976 * math/gen-libm-test.pl (parse_args): Transform
10977 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10978 on the rounding mode.
10979
10980 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10981
10982 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10983 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10984 and those that can underflow to zero.
10985 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10986 add others.
10987 * math/auto-libm-test-out: Regenerated.
10988
10989 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10990 supported.
10991 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10992 modes support if not supported.
10993
10994 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10995 Add libc.so PLT entry.
10996 (__tls_get_addr): Make ld.so PLT entry optional.
10997
10998 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10999
11000 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
11001 * string/bits/string3.h: ... here.
11002
11003 2017-01-05 Joseph Myers <joseph@codesourcery.com>
11004
11005 [BZ #21028]
11006 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
11007 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
11008 if EXCEPTION_TESTS returns false.
11009
11010 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11011
11012 [BZ #20558]
11013 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
11014 strings_fortified.h.
11015 [__USE_MISC] (bzero): Likewise.
11016 [__USE_MISC] (explicit_bzero): Likewise.
11017 * string/strings.h: Include strings_fortified.h.
11018 * string/Makefile (headers): Add strings_fortified.h.
11019 * string/bits/strings_fortified.h: New file.
11020 * include/bits/strings_fortified.h: Likewise.
11021
11022 2017-01-05 Joseph Myers <joseph@codesourcery.com>
11023
11024 * elf/tst-tls13.c (TIMEOUT): Remove.
11025 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
11026 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
11027 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
11028 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
11029 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
11030
11031 [BZ #21026]
11032 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
11033 (readahead): New syscall entry.
11034
11035 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11036
11037 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
11038 around tests of strncat with large sizes.
11039
11040 * malloc/tst-malloc.c: Include <libc-internal.h>.
11041 (do_test): Disable -Walloc-size-larger-than= around tests of
11042 malloc with negative sizes.
11043 * malloc/tst-mcheck.c: Include <libc-internal.h>.
11044 (do_test): Disable -Walloc-size-larger-than= around tests of
11045 malloc and realloc with negative sizes.
11046 * malloc/tst-realloc.c: Include <libc-internal.h>.
11047 (do_test): Disable -Walloc-size-larger-than= around tests of
11048 realloc with negative sizes.
11049
11050 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
11051 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
11052 allowed to 16 ulps.
11053 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
11054 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
11055 * math/auto-libm-test-out: Regenerated.
11056
11057 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11058
11059 * math/Makefile (libm-calls): Move wrappers...
11060 (libm-compat-call-auto): Here.
11061 (libm-routines): Add items in libm-compat-calls-auto.
11062 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
11063 the filenames of the wrappers that have been renamed.
11064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11066
11067 * math/w_acos.c: Add _compat suffix to filename.
11068 * math/w_acosf.c: Likewise.
11069 * math/w_acosh.c: Likewise.
11070 * math/w_acoshf.c: Likewise.
11071 * math/w_acoshl.c: Likewise.
11072 * math/w_acosl.c: Likewise.
11073 * math/w_asin.c: Likewise.
11074 * math/w_asinf.c: Likewise.
11075 * math/w_asinl.c: Likewise.
11076 * math/w_atan2.c: Likewise.
11077 * math/w_atan2f.c: Likewise.
11078 * math/w_atan2l.c: Likewise.
11079 * math/w_atanh.c: Likewise.
11080 * math/w_atanhf.c: Likewise.
11081 * math/w_atanhl.c: Likewise.
11082 * math/w_cosh.c: Likewise.
11083 * math/w_coshf.c: Likewise.
11084 * math/w_coshl.c: Likewise.
11085 * math/w_exp10.c: Likewise.
11086 * math/w_exp10f.c: Likewise.
11087 * math/w_exp10l.c: Likewise.
11088 * math/w_exp2.c: Likewise.
11089 * math/w_exp2f.c: Likewise.
11090 * math/w_exp2l.c: Likewise.
11091 * math/w_fmod.c: Likewise.
11092 * math/w_fmodf.c: Likewise.
11093 * math/w_fmodl.c: Likewise.
11094 * math/w_hypot.c: Likewise.
11095 * math/w_hypotf.c: Likewise.
11096 * math/w_hypotl.c: Likewise.
11097 * math/w_j0.c: Likewise.
11098 * math/w_j0f.c: Likewise.
11099 * math/w_j0l.c: Likewise.
11100 * math/w_j1.c: Likewise.
11101 * math/w_j1f.c: Likewise.
11102 * math/w_j1l.c: Likewise.
11103 * math/w_jn.c: Likewise.
11104 * math/w_jnf.c: Likewise.
11105 * math/w_jnl.c: Likewise.
11106 * math/w_log10.c: Likewise.
11107 * math/w_log10f.c: Likewise.
11108 * math/w_log10l.c: Likewise.
11109 * math/w_log2.c: Likewise.
11110 * math/w_log2f.c: Likewise.
11111 * math/w_log2l.c: Likewise.
11112 * math/w_log.c: Likewise.
11113 * math/w_logf.c: Likewise.
11114 * math/w_logl.c: Likewise.
11115 * math/w_pow.c: Likewise.
11116 * math/w_powf.c: Likewise.
11117 * math/w_powl.c: Likewise.
11118 * math/w_remainder.c: Likewise.
11119 * math/w_remainderf.c: Likewise.
11120 * math/w_remainderl.c: Likewise.
11121 * math/w_scalb.c: Likewise.
11122 * math/w_scalbf.c: Likewise.
11123 * math/w_scalbl.c: Likewise.
11124 * math/w_sinh.c: Likewise.
11125 * math/w_sinhf.c: Likewise.
11126 * math/w_sinhl.c: Likewise.
11127 * math/w_sqrt.c: Likewise.
11128 * math/w_sqrtf.c: Likewise.
11129 * math/w_sqrtl.c: Likewise.
11130 * math/w_tgamma.c: Likewise.
11131 * math/w_tgammaf.c: Likewise.
11132 * math/w_tgammal.c: Likewise.
11133
11134 * math/w_acos_compat.c: New file copied from above and
11135 adjusted for new #includes path
11136 * math/w_acosf_compat.c: Likewise.
11137 * math/w_acosh_compat.c: Likewise.
11138 * math/w_acoshf_compat.c: Likewise.
11139 * math/w_acoshl_compat.c: Likewise.
11140 * math/w_acosl_compat.c: Likewise.
11141 * math/w_asin_compat.c: Likewise.
11142 * math/w_asinf_compat.c: Likewise.
11143 * math/w_asinl_compat.c: Likewise.
11144 * math/w_atan2_compat.c: Likewise.
11145 * math/w_atan2f_compat.c: Likewise.
11146 * math/w_atan2l_compat.c: Likewise.
11147 * math/w_atanh_compat.c: Likewise.
11148 * math/w_atanhf_compat.c: Likewise.
11149 * math/w_atanhl_compat.c: Likewise.
11150 * math/w_cosh_compat.c: Likewise.
11151 * math/w_coshf_compat.c: Likewise.
11152 * math/w_coshl_compat.c: Likewise.
11153 * math/w_exp10_compat.c: Likewise.
11154 * math/w_exp10f_compat.c: Likewise.
11155 * math/w_exp10l_compat.c: Likewise.
11156 * math/w_exp2_compat.c: Likewise.
11157 * math/w_exp2f_compat.c: Likewise.
11158 * math/w_exp2l_compat.c: Likewise.
11159 * math/w_fmod_compat.c: Likewise.
11160 * math/w_fmodf_compat.c: Likewise.
11161 * math/w_fmodl_compat.c: Likewise.
11162 * math/w_hypot_compat.c: Likewise.
11163 * math/w_hypotf_compat.c: Likewise.
11164 * math/w_hypotl_compat.c: Likewise.
11165 * math/w_j0_compat.c: Likewise.
11166 * math/w_j0f_compat.c: Likewise.
11167 * math/w_j0l_compat.c: Likewise.
11168 * math/w_j1_compat.c: Likewise.
11169 * math/w_j1f_compat.c: Likewise.
11170 * math/w_j1l_compat.c: Likewise.
11171 * math/w_jn_compat.c: Likewise.
11172 * math/w_jnf_compat.c: Likewise.
11173 * math/w_jnl_compat.c: Likewise.
11174 * math/w_log10_compat.c: Likewise.
11175 * math/w_log10f_compat.c: Likewise.
11176 * math/w_log10l_compat.c: Likewise.
11177 * math/w_log2_compat.c: Likewise.
11178 * math/w_log2f_compat.c: Likewise.
11179 * math/w_log2l_compat.c: Likewise.
11180 * math/w_log_compat.c: Likewise.
11181 * math/w_logf_compat.c: Likewise.
11182 * math/w_logl_compat.c: Likewise.
11183 * math/w_pow_compat.c: Likewise.
11184 * math/w_powf_compat.c: Likewise.
11185 * math/w_powl_compat.c: Likewise.
11186 * math/w_remainder_compat.c: Likewise.
11187 * math/w_remainderf_compat.c: Likewise.
11188 * math/w_remainderl_compat.c: Likewise.
11189 * math/w_scalb_compat.c: Likewise.
11190 * math/w_scalbf_compat.c: Likewise.
11191 * math/w_scalbl_compat.c: Likewise.
11192 * math/w_sinh_compat.c: Likewise.
11193 * math/w_sinhf_compat.c: Likewise.
11194 * math/w_sinhl_compat.c: Likewise.
11195 * math/w_sqrt_compat.c: Likewise.
11196 * math/w_sqrtf_compat.c: Likewise.
11197 * math/w_sqrtl_compat.c: Likewise.
11198 * math/w_tgamma_compat.c: Likewise.
11199 * math/w_tgammaf_compat.c: Likewise.
11200 * math/w_tgammal_compat.c: Likewise.
11201
11202 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11203 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11204 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11205 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11206 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11207 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11208 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11209 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11210 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11211 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11212 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11213 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11214 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11215 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11216 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11217 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11218 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11219 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11220 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11221 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11222 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11223 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11224 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11225 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11226 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11227 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11228 * sysdeps/ia64/fpu/w_log.c: Likewise.
11229 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11230 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11231 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11232 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11233 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11234 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11235 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11236 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11237 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11238 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11239 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11240 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11241 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11242 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11243 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11244 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11245 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11246 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11247 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11248 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11249 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11250 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11251 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11252 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11253 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11254 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11255 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11256 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11257 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11258 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11259 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11260 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11261 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11262 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11265 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11267 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11268 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11269 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11271 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11273 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11274 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11275 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11277 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11279 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11280 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11281 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11282 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11283 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11285 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11286 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11287 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11288 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11289 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11291 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11293 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11295 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11297 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11299 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11301 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11303 Likewise.
11304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11305 Likewise.
11306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11308 Likewise.
11309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11310 Likewise.
11311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11312 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11314 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11315 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11316 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11317 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11326
11327 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11328 and adjusted for new #includes path
11329 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11330 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11331 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11332 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11333 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11334 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11335 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11336 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11337 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11338 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11339 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11340 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11341 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11342 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11343 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11344 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11345 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11346 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11347 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11348 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11349 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11350 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11351 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11352 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11353 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11354 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11355 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11356 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11357 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11358 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11359 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11360 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11361 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11362 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11363 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11364 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11365 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11366 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11367 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11368 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11369 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11370 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11371 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11372 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11373 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11374 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11375 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11376 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11377 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11378 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11379 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11380 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11381 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11382 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11383 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11384 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11385 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11386 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11387 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11388 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11389 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11390 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11391 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11392 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11393 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11394 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11395 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11396 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11397 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11398 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11399 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11400 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11401 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11402 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11403 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11404 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11405 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11406 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11407 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11408 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11409 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11410 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11411 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11412 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11413 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11414 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11415 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11416 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11417 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11418 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11419 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11420 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11421 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11422 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11423 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11424 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11425 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11426 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11427 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11429 Likewise.
11430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11431 Likewise.
11432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11433 Likewise.
11434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11435 Likewise.
11436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11437 Likewise.
11438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11439 Likewise.
11440 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11441 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11442 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11443 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11444 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11445 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11447 Likewise.
11448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11449 Likewise.
11450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11451 Likewise.
11452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11453 Likewise.
11454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11456 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11457 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11458
11459 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11460
11461 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11462 __jmp_buf_internal_tag.
11463
11464 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11465 preserve NaN payload if [__mips_nan2008].
11466 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11467
11468 [BZ #21022]
11469 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11470
11471 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11472
11473 * sysdeps/i386/fpu/libm-test-ulps: Update.
11474
11475 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11476
11477 * sysdeps/ia64/strcat.c: Remove file.
11478 * sysdeps/powerpc/strcat.c: Likewise.
11479 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11480 C implementation.
11481 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11482 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11483
11484 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11485 Steven Munroe <sjmunroe@us.ibm.com>
11486 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11487
11488 [BZ #20822]
11489 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11490 (__lll_lock_elision): Access adapt_count via C11 atomics.
11491 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11492 (__lll_trylock_elision): Likewise.
11493 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11494 (__lll_unlock_elision): Update adapt_count variable inside the
11495 critical section using C11 atomics.
11496
11497 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11498
11499 * math/test-fenvinline.c (do_test): Disable tests of raised
11500 exceptions if !EXCEPTION_TESTS (FLOAT).
11501
11502 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11503
11504 [BZ #19390]
11505 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11506 maximum string size.
11507 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11508 in pointer addition.
11509 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11510 Likewise.
11511
11512 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11513
11514 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11515 passed to tst-ldconfig-X.sh.
11516
11517 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11518
11519 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11520
11521 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11522
11523 [BZ #21019]
11524 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11525 New syscall entry.
11526 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11527 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11528 lseek.
11529
11530 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11531 power4 glibc for powerpc-linux-gnu.
11532
11533 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11534
11535 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11536 semctl.
11537
11538 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11539
11540 * math/test-nearbyint-except.c: Include <stdbool.h>.
11541 (any_supported): New variable.
11542 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11543 set any_supported.
11544 (do_test): Return 77 if no floating-point type supported
11545 exceptions.
11546
11547 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11548 condition on [__mips_hard_float].
11549
11550 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11551
11552 [BZ #21014]
11553 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11554 in pointer addition.
11555 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11556
11557 2017-01-02 Torvald Riegel <triegel@redhat.com>
11558
11559 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11560 new condvar.
11561
11562 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11563
11564 * scripts/build-many-glibcs.py (Context.checkout): Default
11565 binutils version to 2.28 branch.
11566
11567 2017-01-01 Florian Weimer <fweimer@redhat.com>
11568
11569 * support/support_format_netent.c (support_format_netent): Work
11570 around alpha struct netent definition difference.
11571
11572 2017-01-01 Florian Weimer <fweimer@redhat.com>
11573
11574 * support/xwrite.c (xwrite): Use %td for pointer difference.
11575
11576 2017-01-01 Florian Weimer <fweimer@redhat.com>
11577
11578 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11579 have-tunables only.
11580 (tests-static): Add tst-malloc-usable-static-tunables for
11581 have-tunables only.
11582
11583 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11584
11585 * scripts/config.guess: Update to version 2017-01-01.
11586 * scripts/config.sub: Update to version 2017-01-01.
11587
11588 * NEWS: Update copyright dates.
11589 * catgets/gencat.c (print_version): Likewise.
11590 * csu/version.c (banner): Likewise.
11591 * debug/catchsegv.sh: Likewise.
11592 * debug/pcprofiledump.c (print_version): Likewise.
11593 * debug/xtrace.sh (do_version): Likewise.
11594 * elf/ldconfig.c (print_version): Likewise.
11595 * elf/ldd.bash.in: Likewise.
11596 * elf/pldd.c (print_version): Likewise.
11597 * elf/sotruss.sh: Likewise.
11598 * elf/sprof.c (print_version): Likewise.
11599 * iconv/iconv_prog.c (print_version): Likewise.
11600 * iconv/iconvconfig.c (print_version): Likewise.
11601 * locale/programs/locale.c (print_version): Likewise.
11602 * locale/programs/localedef.c (print_version): Likewise.
11603 * login/programs/pt_chown.c (print_version): Likewise.
11604 * malloc/memusage.sh (do_version): Likewise.
11605 * malloc/memusagestat.c (print_version): Likewise.
11606 * malloc/mtrace.pl: Likewise.
11607 * manual/libc.texinfo: Likewise.
11608 * nptl/version.c (banner): Likewise.
11609 * nscd/nscd.c (print_version): Likewise.
11610 * nss/getent.c (print_version): Likewise.
11611 * nss/makedb.c (print_version): Likewise.
11612 * posix/getconf.c (main): Likewise.
11613 * scripts/test-installation.pl: Likewise.
11614 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11615
11616 * All files with FSF copyright notices: Update copyright dates
11617 using scripts/update-copyrights.
11618 * intl/plural.c: Regenerated.
11619 * locale/programs/charmap-kw.h: Likewise.
11620 * locale/programs/locfile-kw.h: Likewise.
11621
11622 2016-12-31 Florian Weimer <fweimer@redhat.com>
11623
11624 [BZ #20593]
11625 Update DNS RR type definitions.
11626 * scripts/gen-rrtypes.py: New file.
11627 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11628 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11629 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11630 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11631 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11632 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11633 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11634 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11635 ns_t_ta, ns_t_dlv.
11636 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11637 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11638 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11639 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11640 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11641 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11642 Define.
11643 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11644 entry for ns_t_zxfr.
11645
11646 2016-12-31 Florian Weimer <fweimer@redhat.com>
11647
11648 [BZ #18784]
11649 CVE-2015-5180
11650 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11651 T_UNSPEC. Adjust value.
11652 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11653 * resolv/res_query.c (__libc_res_nquery): Likewise.
11654 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11655 QTYPEs.
11656 * resolv/tst-resolv-qtypes.c: New file.
11657 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11658 (tst-resolv-qtypes): Link against libresolv and libpthread.
11659
11660 2016-12-31 Florian Weimer <fweimer@redhat.com>
11661
11662 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11663
11664 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11665
11666 * manual/tunables.texi: New chapter.
11667 * manual/Makefile (chapters): Add it.
11668 * manual/probes.texi (@node): Point to the Tunables chapter.
11669
11670 * Makeconfig (have-tunables): Check for non-negative instead
11671 of positive.
11672 * configure.ac: Add 'valstring' as a valid value for
11673 --enable-tunables.
11674 * configure: Regenerate.
11675 * elf/Makefile (have-tunables): Check for non-negative instead
11676 of positive.
11677 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11678 dl-tunables.c.
11679 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11680 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11681 (tunables_strdup): Likewise.
11682 (disable_tunables): Likewise.
11683 (parse_tunables): Likewise.
11684 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11685 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11686 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11687 (TUNABLES_FRONTEND_yes): New macro, define as
11688 TUNABLES_FRONTEND_valstring by default.
11689 * manual/install.texi: Document new acceptable values for
11690 --enable-tunables.
11691 * INSTALL: Regenerate.
11692
11693 * config.make.in (have-loop-to-function): Define.
11694 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11695 -fno-tree-loop-distribute-patterns.
11696 * elf/dl-tunables.c: Include libc-internals.h.
11697 (GLIBC_TUNABLES): New macro.
11698 (tunables_strdup): New function.
11699 (parse_tunables): New function.
11700 (min_strlen): New function.
11701 (__tunables_init): Use the new functions and macro.
11702 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11703 * malloc/tst-malloc-usable-tunables.c: New test case.
11704 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11705 * malloc/Makefile (tests, tests-static): Add tests.
11706
11707 * manual/install.texi: Add --enable-tunables option.
11708 * INSTALL: Regenerate.
11709 * README.tunables: New file.
11710 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11711 (before-compile): Generate dl-tunable-list.h early.
11712 * config.h.in: Add HAVE_TUNABLES.
11713 * config.make.in: Add have-tunables.
11714 * configure.ac: Add --enable-tunables option.
11715 * configure: Regenerate.
11716 * csu/init-first.c (__libc_init_first): Move
11717 __libc_init_secure earlier...
11718 * csu/init-first.c (LIBC_START_MAIN):... to here.
11719 Include dl-tunables.h, libc-internal.h.
11720 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11721 binaries.
11722 * elf/Makefile (dl-routines): Add dl-tunables.
11723 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11724 namespace.
11725 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11726 only when !HAVE_TUNABLES.
11727 * elf/rtld.c (process_envvars): Likewise.
11728 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11729 (_dl_sysdep_start): Call __tunables_init.
11730 * elf/dl-tunable-types.h: New file.
11731 * elf/dl-tunables.c: New file.
11732 * elf/dl-tunables.h: New file.
11733 * elf/dl-tunables.list: New file.
11734 * malloc/tst-malloc-usable-static.c: New test case.
11735 * malloc/Makefile (tests-static): Add it.
11736 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11737 Define TUNABLE_NAMESPACE.
11738 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11739 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11740 callback functions.
11741 (ptmalloc_init): Set tunable values.
11742 * scripts/gen-tunables.awk: New file.
11743 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11744 (_dl_sysdep_start): Call __tunables_init.
11745
11746 2016-12-31 Florian Weimer <fweimer@redhat.com>
11747
11748 * resolv/resolv.h (RES_BLAST): Deprecate.
11749 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11750 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11751 to RES_BLAST.
11752
11753 2016-12-27 Florian Weimer <fweimer@redhat.com>
11754
11755 [BZ #19582]
11756 Deprecate RES_USE_INET6.
11757 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11758 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11759 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11760 RES_USE_INET6.
11761 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11762 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11763 (_nss_nisplus_gethostbyaddr_r): Likewise.
11764 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11765 of res_use_inet6.
11766 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11767 instead of RES_USE_INET6.
11768 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11769 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11770 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11771 Likewise.
11772 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11773 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11774 Likewise.
11775 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11776 (_nss_dns_gethostbyname_r): Likewise.
11777 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11778 alternate RES_USE_INET6 handling.
11779 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11780 instead of RES_USE_INET6.
11781 * resolv/res_init.c (res_setoptions): Likewise.
11782 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11783 * resolv/resolv-internal.h: New file.
11784 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11785 make the deprecation warning non-fatal.
11786 * resolv/README (Using the resolver in multi-threaded code): Drop
11787 reference to RES_USE_INET6.
11788 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11789 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11790
11791 2016-12-31 Florian Weimer <fweimer@redhat.com>
11792
11793 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11794 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11795 tst-resolv-search.
11796 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11797 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11798 with libresolv and libpthread.
11799 * resolv/tst-bug18665.c: New file.
11800 * resolv/tst-bug18665-tcp: Likewise.
11801 * resolv/tst-res_use_inet6: Likewise.
11802 * resolv/tst-resolv-basic: Likewise.
11803 * resolv/tst-resolv-network: Likewise.
11804 * resolv/tst-resolv-search: Likewise.
11805 * support/Makefile (libsupport-routines): Add check_addrinfo,
11806 check_dns_packet, check_hostent, check_netent, resolv_test,
11807 support_format_address_family, support_format_addrinfo,
11808 support_format_dns_packet, support_format_herrno,
11809 support_format_hostent, support_format_netent, support_run_diff,
11810 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11811 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11812 xstrdup, xwrite.
11813 * support/check_addrinfo.c: New file.
11814 * support/check_dns_packet.c: Likewise.
11815 * support/check_hostent.c: Likewise.
11816 * support/check_netent.c: Likewise.
11817 * support/check_nss.h: Likewise.
11818 * support/format_nss.h: Likewise.
11819 * support/resolv_test.c: Likewise.
11820 * support/resolv_test.h: Likewise.
11821 * support/run_diff.h: Likewise.
11822 * support/support_format_address_family.c: Likewise.
11823 * support/support_format_addrinfo.c: Likewise.
11824 * support/support_format_dns_packet.c: Likewise.
11825 * support/support_format_herrno.c: Likewise.
11826 * support/support_format_hostent.c: Likewise.
11827 * support/support_format_netent.c: Likewise.
11828 * support/support_run_diff.c: Likewise.
11829 * support/xaccept.c: Likewise.
11830 * support/xbind.c: Likewise.
11831 * support/xconnect.c: Likewise.
11832 * support/xfclose.c: Likewise.
11833 * support/xfopen.c: Likewise.
11834 * support/xgetsockname.c: Likewise.
11835 * support/xlisten.c: Likewise.
11836 * support/xmemstream.c: Likewise.
11837 * support/xmemstream.h: Likewise.
11838 * support/xpoll.c: Likewise.
11839 * support/xpthread_once.c: Likewise.
11840 * support/xrecvfrom.c: Likewise.
11841 * support/xsendto.c: Likewise.
11842 * support/xsetsockopt.c: Likewise.
11843 * support/xstdio.h: Likewise.
11844 * support/xstrdup.c: Likewise.
11845 * support/support.h (xstrdup): Declare.
11846 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11847 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11848 * support/xthread.h (xpthread_once): Likwise.
11849 * support/xunistd.h (xwrite): Declare.
11850
11851 2016-12-31 Florian Weimer <fweimer@redhat.com>
11852
11853 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11854 (test_verbose): Declare.
11855 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11856 * support/support_test_main.c (default_options): Likewise.
11857 (usage, support_test_main): Handle 'v'.
11858 (test_verbose): Define.
11859 * support/tst-support_record_failure.c (do_test): Use
11860 test_verbose.
11861 * support/tst-support_record_failure-2.sh (different_status): Add
11862 --verbose test.
11863
11864 2016-12-31 Florian Weimer <fweimer@redhat.com>
11865
11866 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11867 test failures are recorded.
11868 * support/check.c (support_print_failure_impl): Call
11869 support_record_failure.
11870 (support_exit_failure_impl): Call support_record_failure if status
11871 indicates failure.
11872 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11873 * support/xasprintf.c (xasprintf): Likewise.
11874 * support/xfork.c (xfork): Likewise.
11875 * support/xpthread_check_return.c (xpthread_check_return):
11876 Likewise.
11877 * support/xsocket.c (xsocket): Likeweise.
11878 * support/xwaitpid.c (xwaitpid): Likewise.
11879 * support/support_record_failure.c (struct test_failures): Adjust
11880 to coding style.
11881 * support/support_test_verify_impl.c (support_test_verify_impl):
11882 Adjust error messages.
11883 * support/tst-support_record_failure-2.sh (different_status):
11884 Adjust error messages.
11885
11886 2016-12-31 Florian Weimer <fweimer@redhat.com>
11887
11888 * support/namespace.h: New file.
11889 * support/support_become_root.c: Likewise.
11890 * support/support_enter_network_namespace.c: Likewise.
11891 * support/tst-support-namespace.c: Likewise.
11892 * support/xsocket.c: Likewise.
11893 * support/xsocket.h: Likewise.
11894 * support/Makefile (libsupport-routines): Add support_become_root,
11895 support_enter_network_namespace, xsocket.
11896 (tests): Add tst-support-namespace.
11897
11898 2016-12-31 Florian Weimer <fweimer@redhat.com>
11899
11900 [BZ #17252]
11901 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11902 __USE_GNU.
11903
11904 2016-12-31 Torvald Riegel <triegel@redhat.com>
11905
11906 [BZ #13165]
11907 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11908 use new algorithm.
11909 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11910 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11911 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11912 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11913 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11914 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11915 __condvar_cleanup_waiting, __condvar_dec_grefs,
11916 __pthread_cond_wait_common): New.
11917 (__condvar_cleanup): Remove.
11918 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11919 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11920 Likewise.
11921 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11922 Likewise.
11923 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11924 * nptl/tst-cond1.c: Add comment.
11925 * nptl/tst-cond20.c (do_test): Adapt.
11926 * nptl/tst-cond22.c (do_test): Likewise.
11927 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11928 structure.
11929 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11930 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11931 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11932 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11933 Likewise.
11934 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11935 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11936 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11937 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11938 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11939 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11940 Likewise.
11941 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11942 Likewise.
11943 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11944 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11945 (COND_CLOCK_BITS): Adapt.
11946 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11947 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11948 __PTHREAD_COND_SHARED_MASK): New.
11949 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11950 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11951 * nptl/nptl_lock_constants.pysym: Adapt.
11952 * nptl/test-cond-printers.py: Adapt.
11953 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11954 cond_compat_check_and_clear): Adapt.
11955 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11956 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11957 (__pthread_cond_timedwait): ... and move here.
11958 * nptl/DESIGN-condvar.txt: Remove file.
11959 * nptl/lowlevelcond.sym: Likewise.
11960 * nptl/pthread_cond_timedwait.c: Likewise.
11961 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11962 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11963 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11964 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11965 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11966 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11967 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11968 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11969 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11970 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11971 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11972 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11973 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11974 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11975 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11976 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11977
11978 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11979
11980 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11981 (fromfp): New declaration.
11982 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11983 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11984 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11985 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11986 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11987 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11989 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11990 * math/math.h: Include <bits/types.h>.
11991 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11992 constant and macro.
11993 (FP_INT_DOWNWARD): Likewise.
11994 (FP_INT_TOWARDZERO): Likewise.
11995 (FP_INT_TONEARESTFROMZERO): Likewise.
11996 (FP_INT_TONEAREST): Likewise.
11997 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11998 (fromfpf): Likewise.
11999 (fromfpl): Likewise.
12000 (ufromfp): Likewise.
12001 (ufromfpf): Likewise.
12002 (ufromfpl): Likewise.
12003 (fromfpx): Likewise.
12004 (fromfpxf): Likewise.
12005 (fromfpxl): Likewise.
12006 (ufromfpx): Likewise.
12007 (ufromfpxf): Likewise.
12008 (ufromfpxl): Likewise.
12009 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
12010 s_fromfpxF and s_ufromfpxF.
12011 * math/gen-fromfp-tests.py: New file.
12012 * math/gen-fromfp-tests-inputs: Likewise.
12013 * math/libm-test.inc: Include <stdint.h>
12014 (check_intmax_t): New function.
12015 (check_uintmax_t): Likewise.
12016 (struct test_fiu_M_data): New type.
12017 (struct test_fiu_U_data): Likewise.
12018 (RUN_TEST_fiu_M): New macro.
12019 (RUN_TEST_LOOP_fiu_M): Likewise.
12020 (RUN_TEST_fiu_U): Likewise.
12021 (RUN_TEST_LOOP_fiu_U): Likewise.
12022 (fromfp_test_data): New array.
12023 (fromfp_test): New function.
12024 (fromfpx_test_data): New array.
12025 (fromfpx_test): New function.
12026 (ufromfp_test_data): New array.
12027 (ufromfp_test): New function.
12028 (ufromfpx_test_data): New array.
12029 (ufromfpx_test): New function.
12030 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
12031 ufromfpx_test.
12032 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
12033 characters.
12034 * math/test-tgmath-ret.c: Include <stdint.h>.
12035 (rm): New variable.
12036 (width): Likewise.
12037 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
12038 called function.
12039 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
12040 CHECK_RET_CONST_TYPE.
12041 (CHECK_RET_CONST_DOUBLE): Likewise.
12042 (CHECK_RET_CONST_LDOUBLE): Likewise.
12043 (CHECK_RET_CONST): Take extra arguments and pass them to calls
12044 macros.
12045 (fromfp): New CHECK_RET_CONST call.
12046 (ufromfp): Likewise.
12047 (fromfpx): Likewise.
12048 (ufromfpx): Likewise.
12049 (do_test): Call check_return_fromfp, check_return_ufromfp,
12050 check_return_fromfpx and check_return_ufromfpx.
12051 * math/test-tgmath.c: Include <stdint.h>
12052 (NCALLS): Increase to 138.
12053 (F(compile_test)): Initialize i. Call fromfp functions.
12054 (F(fromfp)): New function.
12055 (F(fromfpx)): Likewise.
12056 (F(ufromfp)): Likewise.
12057 (F(ufromfpx)): Likewise.
12058 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
12059 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
12060 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
12061 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
12062 ufromfpxl.
12063 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
12064 ufromfp and ufromfpx.
12065 * math/fromfp.h: New file.
12066 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
12071 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
12072 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
12073 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
12074 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
12075 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
12076 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
12082 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
12083 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
12084 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
12085 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
12086 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
12087 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
12088 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
12089 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
12090 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
12092 ufromfp, fromfpx and ufromfpx.
12093 (CFLAGS-nldbl-fromfp.c): New variable.
12094 (CFLAGS-nldbl-fromfpx.c): Likewise.
12095 (CFLAGS-nldbl-ufromfp.c): Likewise.
12096 (CFLAGS-nldbl-ufromfpx.c): Likewise.
12097 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
12098 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
12099 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
12100 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
12101 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
12102 * sysdeps/nacl/libm.abilist: Update.
12103 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12116 Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12118 Likewise.
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12120 Likewise.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12122 Likewise.
12123 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12129 Likewise.
12130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12131 Likewise.
12132 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12135
12136 2016-12-30 Florian Weimer <fweimer@redhat.com>
12137
12138 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
12139 compat-gethnamaddr.
12140 (CPPFLAGS): Remove.
12141 * resolv/gethnamaddr.c: Rename ...
12142 * resolv/compat-gethnamaddr.c: ... to this file.
12143 (_endhtent): Make static.
12144 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
12145 symbol.
12146 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
12147 compat symbol.
12148 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
12149 symbol.
12150 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12151 Turn into compat symbol.
12152 * include/resolv.h (_endhtent): Remove declaration.
12153
12154 2016-12-30 Joseph Myers <joseph@codesourcery.com>
12155
12156 * bits/types.h (__intmax_t): New typedef.
12157 (__uintmax_t): Likewise.
12158 * sysdeps/generic/stdint.h: Include <bits/types.h>.
12159 (intmax_t): Define using __intmax_t.
12160 (uintmax_t): Define using __uintmax_t.
12161
12162 * support/Makefile (tests-special): Make definition conditional on
12163 [$(run-built-tests) = yes].
12164 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12165 on [$(run-built-tests) = yes].
12166
12167 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
12168
12169 * Rules (tests): Add tests-printers-programs to tests to be
12170 built.
12171
12172 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12173
12174 * sysvipc/Makefile (tests): Add test-sysvshm.
12175 * sysvipc/test-sysvshm.c: New file.
12176
12177 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12178 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12179 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12180 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12181 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12182 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12183 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12184 Likewise.
12185 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12186 Likewise.
12187 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12188 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12189 is defined.
12190
12191 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12192 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12193 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12194 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12195 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12196 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12197 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12198 Likewise.
12199 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12200 Likewise.
12201 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12202 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12203 defined.
12204
12205 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12206 oldshmctl.
12207 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12208 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12209 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12210 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12211 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12212 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12213 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12214 Likewise.
12215 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12216 Likewise.
12217 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12218 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12219 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12220 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12221 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12222 implementation.
12223 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12224 if it is defined.
12225
12226 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12227 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12228 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12229 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12230 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12231 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12232 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12233 Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12235 Likewise.
12236 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12237 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12238 Define to __NR_osf_shmat.
12239 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12240 defined.
12241
12242 * sysvipc/Makefile (tests): Add test-sysvsem.
12243 * sysvipc/test-sysvsem.c: New file.
12244
12245 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12246 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12247 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12248 Likewise.
12249 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12250 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12251 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12252 Likewise.
12253 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12254 Likewise.
12255 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12256 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12257 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12258 add a comment about s390 syscall difference from default one.
12259 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12260 syscall if it is defined.
12261
12262 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12263 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12264 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12265 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12266 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12267 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12268 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12269 Likewise.
12270 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12271 Likewise.
12272 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12273 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12274 defined.
12275
12276 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12277 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12278 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12279 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12280 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12281 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12282 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12283 Likewise.
12284 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12285 Likewise.
12286 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12287 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12288 if it is defined.
12289
12290 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12291 oldsemctl.
12292 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12293 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12294 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12295 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12296 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12297 implementation.
12298 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12299 syscall if it is defined.
12300 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12301 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12302 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12303 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12304 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12305 Likewise.
12306 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12307
12308 * sysvipc/Makefile (tests): Add test-sysvmsg.
12309 * sysvipc/test-sysvmsg.c: New file.
12310 * support/check.h (FAIL_UNSUPPORTED): New define.
12311
12312 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12313 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12314 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12315 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12316 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12317 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12318 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12319 Likewise.
12320 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12321 Likewise.
12322 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12323 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12324 define.
12325
12326 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12327 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12328 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12329 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12330 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12331 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12332 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12333 Likewise.
12334 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12335 Likewise.
12336 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12337 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12338 if defined.
12339
12340 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12341 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12342 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12343 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12344 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12345 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12346 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12347 Likewise.
12348 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12349 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12350 Likewise.
12351 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12352 if defined.
12353 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12354
12355 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12356 oldmsgctl.
12357 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12358 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12359 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12360 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12361 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12362 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12363 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12364 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12365 Likewise.
12366 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12367 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12368 implementation.
12369 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12370 if defined.
12371
12372 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12373 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12374 definition and define its own.
12375 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12376 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12377 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12378 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12379 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12380 definitions to common header.
12381 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12382 operation from ipc_ops.h.
12383
12384 * sysdeps/unix/sysv/linux/kernel-features.h
12385 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12386 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12387 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12389 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12390 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12391 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12392 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12393 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12394 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12395 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12396 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12397 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12398 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12399 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12400
12401 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12402
12403 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12404 overflow in pointer addition.
12405
12406 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12407
12408 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12409 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12411 (strchr): Add __strchr_power8 to list of strchr functions.
12412 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12413 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12414 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12415 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12416 (strchr): Add __strchr_power8 to ifunc list.
12417 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12418 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12419 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12420 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12421
12422 2016-12-28 Florian Weimer <fweimer@redhat.com>
12423
12424 * support/Makefile (libsupport-routines): Add
12425 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12426 (tests): Add tst-support_record_failure.
12427 (tests-special): tst-support_record_failure-2.
12428 (tst-support_record_failure-2.out): Depend on
12429 tst-support_record_failure-2.sh and tst-support_record_failure.
12430 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12431 (support_test_verify_impl, support_record_failure)
12432 (support_report_failure, support_report_failure_reset): Declare.
12433 * support/support_test_main.c (adjust_exit_status): New function.
12434 (support_test_main): Call it to incorporate record test failures.
12435 * support/support_test_verify_impl.c: New file.
12436 * support/support_record_failure.c: Likewise.
12437 * support/tst-support_record_failure.c: Likewise.
12438 * support/tst-support_record_failure-2.sh: Likewise.
12439 * support/xunistd.h: Likewise.
12440 * support/xfork.c: Likewise.
12441 * support/xwaitpid.c: Likewise.
12442
12443 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12444
12445 * scripts/check-c++-types.sh: Add comments.
12446
12447 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12448
12449 [BZ #19514]
12450 * resolv/res_send.c: Fix typo in comment.
12451 * sysdeps/i386/i386-mcount.S: Likewise.
12452 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12453 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12454 * sysdeps/sparc/sparc-mcount.S: Likewise.
12455
12456 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12457
12458 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12459 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12460 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12461 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12466
12467 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12468
12469 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12470
12471 2016-12-27 Florian Weimer <fweimer@redhat.com>
12472
12473 [BZ #17252]
12474 * posix/unistd.h (getentropy): Declare.
12475
12476 2016-12-27 Florian Weimer <fweimer@redhat.com>
12477
12478 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12479 Remove.
12480 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12481 (cmd): Remove spoof, nospoof, spoofalert.
12482 (parse_line): Ignore spoof-related lines.
12483 (do_init): Do not process RESOLV_SPOOF_CHECK.
12484
12485 2016-12-27 Florian Weimer <fweimer@redhat.com>
12486
12487 [BZ #20964]
12488 sunrpc: Always obtain AF_INET addresses from NSS.
12489 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12490 * sunrpc/rpc_gethostbyname.c: New file.
12491 * sunrpc/Makefile (routines): Add it.
12492 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12493 * sunrpc/clnt_simp.c (callrpc): Likewise.
12494 * sunrpc/getrpcport.c (getrpcport): Likewise.
12495
12496 2016-12-27 Florian Weimer <fweimer@redhat.com>
12497
12498 * sunrpc/rpcinfo.c: Remove.
12499 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12500
12501 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12502
12503 [BZ #19387]
12504 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12505 addition.
12506 * string/test-memchr.c (do_test): Remove alignment limitation.
12507 (test_main): Add test that trigger BZ #19387.
12508
12509 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12510
12511 [BZ #7065]
12512 Enable stack protectore if requested by ./configure.
12513 * Makeconfig (+stack-protector): New variable.
12514 (+cflags): Use it.
12515
12516 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12517
12518 [BZ #7065]
12519 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12521 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12523 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12524
12525 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12526
12527 [BZ #7065]
12528 * login/Makefile (pt_chown-cflags): Remove.
12529 * nscd/Makefile (CFLAGS-nscd): Likewise.
12530 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12531
12532 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12533
12534 [BZ #7065]
12535 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12536 non-libc-linking testcase.
12537
12538 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12539 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12540 Florian Weimer <fweimer@redhat.com>
12541
12542 [BZ #7065]
12543 PLT avoidance for __stack_chk_fail*.
12544 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12545 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12546 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12547 __stack_chk_fail_local alias.
12548 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12549 (__stack_chk_fail): Turn into hidden reference to
12550 __stack_chk_fail_local.
12551
12552 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12553
12554 [BZ #7065]
12555 * configure.ac: Add check for unsupported stack-protection level.
12556 (libc_cv_predef_stack_protector): Remove.
12557 (no_ssp): New variable.
12558 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12559 (stack_protector): Set to -fno-stack-protector similarly.
12560 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12561 (libc_cv_asm_set_directive): Likewise.
12562 (libc_cv_protected_data): Likewise.
12563 (libc_cv_z_combreloc): Likewise.
12564 (libc_cv_hashstyle): Likewise.
12565 (libc_cv_has_glob_dat): Likewise.
12566 (libc_cv_output_format): Likewise.
12567 (libc_cv_output_format): Likewise.
12568 (libc_cv_ehdr_start): Likewise.
12569 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12570 (LIBC_LINKER_FEATURE): Likewise.
12571 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12572
12573 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12574
12575 [BZ #7065]
12576 * elf/Makefile (dummy-stack-chk-fail): New.
12577 (librtld.map): Use it.
12578
12579 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12580
12581 [BZ #7065]
12582 Compile the dynamic linker without stack protection.
12583 * elf/Makefile (elide-stack-protector): New.
12584 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12585 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12586 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12587 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12588
12589 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12590
12591 [BZ #7065]
12592 * config.make.in (have-ssp, no-stack-protector): New.
12593 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12594 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12595 (CFLAGS-sbrk.op): Likewise.
12596 (CFLAGS-brk.o): Likewise.
12597 (CFLAGS-brk.op): Likewise.
12598 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12599 (CFLAGS-wordcopy.c): Likewise.
12600
12601 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12602
12603 [BZ #7065]
12604 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12605 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12606 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12607 (__ifunc_resolver): Use it.
12608 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12609 inhibit_stack_protector.
12610 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12611 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12612 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12613 (foo_protected_ifunc): Likewise.
12614 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12615 (foo_protected_ifunc): Likewise.
12616 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12617 * sysdeps/nacl/nacl_interface_query.c
12618 (nacl_interface_query_ifunc): Likewise.
12619 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12620 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12621 Likewise.
12622 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12623 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12624 the generated vDSO syscall resolver.
12625
12626 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12627 Florian Weimer <fweimer@redhat.com>
12628
12629 [BZ #7065]
12630 Initialize the stack guard earlier when linking statically.
12631 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12632 (__pthread_initialize_minimal): Declare.
12633 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12634 declaration.
12635 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12636 stack canary and apply_irel initialization up. Call
12637 __pthread_initialize_minimal only if linked in.
12638 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12639 constant values.
12640 (__pthread_initialize_minimal): Remove.
12641 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12642 (__pthread_initialize_minimal_internal): Do not call
12643 __libc_setup_tls.
12644
12645 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12646
12647 [BZ #7065]
12648 * configure.ac (libc_cv_ssp): Move up.
12649 (libc_cv_ssp_strong): Likewise.
12650 (libc_cv_ssp_all): New.
12651 (stack_protector): Augment, adding -fstack-protector-all.
12652 (no_stack_protector): New.
12653 (STACK_PROTECTOR_LEVEL): New.
12654 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12655 * manual/install.texi (--enable-stack-protector): Document it.
12656 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12657
12658 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12659
12660 * README.pretty-printers: Must specify CPPFLAGS-* also.
12661 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12662 (CPPFLAGS-test-mutex-printers.c): Define.
12663 (CPPFLAGS-test-condattr-printers.c): Define.
12664 (CPPFLAGS-test-cond-printers.c): Define.
12665 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12666 (CPPFLAGS-test-rwlock-printers.c): Define.
12667
12668 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12669 (tests): Add tst-cancel-getpwuid_r.
12670 * nss/tst-cancel-getpwuid_r.c: New file.
12671
12672 [BZ #11941]
12673 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12674 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12675 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12676 tst-nodelete-dlclose.
12677 (modules-names): Add tst-nodelete-dlclose-dso and
12678 tst-nodelete-dlclose-plugin.
12679 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12680 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12681 ($(objpfx)tst-nodelete-dlclose): Define.
12682 ($(objpfx)tst-nodelete-dlclose.out): Define.
12683
12684 2016-12-23 Florian Weimer <fweimer@redhat.com>
12685
12686 * scripts/test_printers_common.py: Log GDB output in case of
12687 Python detection failure.
12688
12689 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12690
12691 * configure.ac: Check for python3 or python.
12692 * configure: Regenerated.
12693 * config.make.in (PYTHON): New variable.
12694 * benchtests/Makefile: Don't define PYTHON.
12695 (bench): Define target only if PYTHON was defined.
12696 * Rules: Don't define PYTHON.
12697 Define pretty printer targets only if PYTHON was defined.
12698 (tests-printers): Add to tests-unsupported if PYTHON is not
12699 found.
12700 (python-flags, python-invoke): Remove.
12701 (tests-printers-out): Use PYTHON instead of python-invoke.
12702
12703 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12704
12705 [BZ #20978]
12706 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12707 Compare name == NULL, not name != NULL.
12708
12709 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12710 trailing whitespace removed.
12711 * scripts/config.guess: Update to version 2016-10-02.
12712 * scripts/config.sub: Update to version 2016-11-19.
12713 * scripts/install-sh: Update to version 2016-01-11.22.
12714 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12715 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12716
12717 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12718
12719 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12720 (do_one_test) Restore original string so iteration works.
12721 * string/string-inlines.c (do_test): Create better input strings.
12722 (test_main) Reduce number of testruns.
12723 * string/string-inlines.c (__old_strsep_1c): New function.
12724 (__old_strsep_2c): Likewise.
12725 (__old_strsep_3c): Likewise.
12726 * string/strsep.c (__strsep): Remove case of small delim string.
12727 Call strcspn directly rather than strpbrk.
12728 * string/bits/string2.h (__strsep): Remove define.
12729 (__strsep_1c): Remove.
12730 (__strsep_2c): Remove.
12731 (__strsep_3c): Remove.
12732 (strsep): Remove.
12733 * sysdeps/unix/sysv/linux/internal_statvfs.c
12734 (__statvfs_getflags): Rename to __strsep.
12735
12736 2016-12-21 Florian Weimer <fweimer@redhat.com>
12737
12738 * csu/libc-tls.c (_dl_tls_setup): Remove.
12739 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12740 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12741 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12742
12743 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12744
12745 [BZ #7065]
12746 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12747 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12748
12749 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12750 Florian Weimer <fweimer@redhat.com>
12751
12752 [BZ #7065]
12753 * csu/Makefile (tests): Empty assignment and document it.
12754 (tests-static): Remove.
12755 * csu/tst-empty.c: Move to...
12756 * misc/tst-empty.c: ... here. Switch to new test driver.
12757 * csu/tst-atomic.c: Move to...
12758 * misc/tst-atomic.c: ... here. Switch to new test driver.
12759 * csu/tst-atomic-long.c: Move to...
12760 * misc/tst-atomic-long.c: ... here.
12761 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12762 tst-atomic-long.
12763 (tests-static): Add tst-empty.
12764
12765 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12766
12767 * manual/nss.texi: Change incorrect @vtable to @table.
12768 * manual/arith.texi: Convert @tables of variables to @vtables
12769 and remove unnecessary indexing.
12770 * manual/filesys.texi: Likewise.
12771 * manual/llio.texi: Likewise.
12772 * manual/memory.texi: Likewise.
12773 * manual/process.texi: Likewise.
12774 * manual/resource.texi: Likewise.
12775 * manual/search.texi: Likewise.
12776 * manual/signal.texi: Likewise.
12777 * manual/socket.texi: Likewise.
12778 * manual/stdio.texi: Likewise.
12779 * manual/sysinfo.texi: Likewise.
12780 * manual/syslog.texi: Likewise.
12781 * manual/terminal.texi: Likewise.
12782 * manual/time.texi: Likewise.
12783 * manual/users.texi: Likewise.
12784
12785 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12786
12787 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12788 (roundeven): New declaration.
12789 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12790 macro.
12791 * math/Versions (roundeven): New libm symbol at version
12792 GLIBC_2.25.
12793 (roundevenf): Likewise.
12794 (roundevenl): Likewise.
12795 * math/Makefile (libm-calls): Add s_roundevenF.
12796 * math/libm-test.inc (roundeven_test_data): New array.
12797 (roundeven_test): New function.
12798 (main): Call roundeven_test.
12799 * math/test-tgmath.c (NCALLS): Increase to 134.
12800 (F(compile_test)): Call roundeven.
12801 (F(roundeven)): New function.
12802 * manual/arith.texi (Rounding Functions): Document roundeven,
12803 roundevenf and roundevenl.
12804 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12805 * include/math.h (roundeven): Use libm_hidden_proto.
12806 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12807 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12808 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12813 roundeven.
12814 (CFLAGS-nldbl-roundeven.c): New variable.
12815 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12816 * sysdeps/nacl/libm.abilist: Update.
12817 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12830 Likewise.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12832 Likewise.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12834 Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12843 Likewise.
12844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12845 Likewise.
12846 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12849
12850 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12851
12852 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12853 preprocessor indentation inside #if.
12854
12855 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12856
12857 * math/libm-test.inc (fmt_ftostr): New function.
12858 (print_float, check_float_internal): Replace some uses of
12859 FTOSTR with uses of fmt_ftostr.
12860 (print_max_error, print_complex_max_error, print_function_ulps)
12861 (print_complex_function_ulps): Remove uses of the macros
12862 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12863 * math/test-double.h (FTOSTR): Define to strfromd.
12864 (PRINTF_EXPR): Delete.
12865 (PRINTF_XEXPR): Likewise.
12866 (PRINTF_NEXPR): Likewise.
12867 * math/test-float.h (FTOSTR): Define to strfromf.
12868 (PRINTF_EXPR): Delete.
12869 (PRINTF_XEXPR): Likewise.
12870 (PRINTF_NEXPR): Likewise.
12871 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12872 (PRINTF_EXPR): Delete.
12873 (PRINTF_XEXPR): Likewise.
12874 (PRINTF_NEXPR): Likewise.
12875
12876 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12877
12878 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12879 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12880 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12881 (__lll_lock_elision): Decrement adapt_count while unlocking
12882 instead of before locking.
12883 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12884 (__lll_trylock_elision): Likewise.
12885 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12886 (__lll_unlock_elision): Likewise.
12887
12888 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12889
12890 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12891 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12892 Use __libc_tbegin_retry macro.
12893
12894 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12895
12896 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12897 Add -msoft-float.
12898 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12899 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12900 Use __libc_t* transaction macros instead of __builtin_t*.
12901 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12902 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12903
12904 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12905
12906 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12907 (__lll_lock_elision): Use atomics to load / store adapt_count.
12908 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12909 (__lll_trylock_elision): Likewise.
12910
12911 2016-12-20 Florian Weimer <fweimer@redhat.com>
12912
12913 Do not require memset elimination in explicit_bzero test.
12914 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12915 (enum test_expectation): Add NO_EXPECTATIONS.
12916 (subtests): NO_EXPECTATIONS for ordinary clear.
12917 (check_test_buffer): Handle NO_EXPECTATIONS.
12918 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12919
12920 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12921
12922 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12923 (fmaxmag): New declaration.
12924 (fminmag): Likewise.
12925 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12926 macro.
12927 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12928 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12929 (fmaxmagf): Likewise.
12930 (fmaxmagl): Likewise.
12931 (fminmag): Likewise.
12932 (fminmagf): Likewise.
12933 (fminmagl): Likewise.
12934 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12935 * math/s_fmaxmag_template.c: New file.
12936 * math/s_fminmag_template.c: Likewise.
12937 * math/libm-test.inc (fmaxmag_test_data): New array.
12938 (fmaxmag_test): New function.
12939 (fminmag_test_data): New array.
12940 (fminmag_test): New function.
12941 (main): Call fmaxmag_test and fminmag_test.
12942 * math/test-tgmath.c (NCALLS): Increase to 132.
12943 (F(compile_test)): Call fmaxmag and fminmag.
12944 (F(fminmag)): New function.
12945 (F(fmaxmag)): Likewise.
12946 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12947 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12948 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12949 fminmag.
12950 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12951 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12952 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12953 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12955 and fminmag.
12956 (CFLAGS-nldbl-fmaxmag.c): New variable.
12957 (CFLAGS-nldbl-fminmag.c): Likewise.
12958 * sysdeps/nacl/libm.abilist: Update.
12959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12972 Likewise.
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12974 Likewise.
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12976 Likewise.
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12978 Likewise.
12979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12985 Likewise.
12986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12987 Likewise.
12988 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12991
12992 2016-12-19 Torvald Riegel <triegel@redhat.com>
12993
12994 [BZ #20973]
12995 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12996 wake-up in robust mutexes.
12997 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12998
12999 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13000
13001 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
13002 (CFLAGS-bench-fmaxf.c): New rule.
13003 (CFLAGS-bench-fminf.c): Likewise.
13004 * benchtests/fmaxf-inputs: New file.
13005 * benchtests/fminf-inputs: Likewise.
13006
13007 * benchtests/Makefile (bench-math): Add fmin and fmax.
13008 (CFLAGS-bench-fmax.c): New rule.
13009 (CFLAGS-bench-fmin.c): Likewise.
13010 * benchtests/fmax-inputs: New file.
13011 * benchtests/fmin-inputs: Likewise.
13012
13013 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
13014 parenthesis.
13015 (CMDLINE_PROCESS): Define using function instead of macro.
13016 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
13017 of test-skeleton.
13018 * benchtests/bench-memchr.c: Likewise.
13019 * benchtests/bench-memcmp.c: Likewise.
13020 * benchtests/bench-memcpy-large.c: Likewise.
13021 * benchtests/bench-memcpy.c: Likewise.
13022 * benchtests/bench-memmem.c: Likewise.
13023 * benchtests/bench-memmove-large.c: Likewise.
13024 * benchtests/bench-memmove.c: Likewise.
13025 * benchtests/bench-memset-large.c: Likewise.
13026 * benchtests/bench-memset.c: Likewise.
13027 * benchtests/bench-rawmemchr.c: Likewise.
13028 * benchtests/bench-strcasecmp.c: Likewise.
13029 * benchtests/bench-strcasestr.c: Likewise.
13030 * benchtests/bench-strcat.c: Likewise.
13031 * benchtests/bench-strchr.c: Likewise.
13032 * benchtests/bench-strcmp.c: Likewise.
13033 * benchtests/bench-strcpy.c: Likewise.
13034 * benchtests/bench-strcpy_chk.c: Likewise.
13035 * benchtests/bench-strlen.c: Likewise.
13036 * benchtests/bench-strncasecmp.c: Likewise.
13037 * benchtests/bench-strncmp.c: Likewise.
13038 * benchtests/bench-strncpy.c: Likewise.
13039 * benchtests/bench-strnlen.c: Likewise.
13040 * benchtests/bench-strpbrk.c: Likewise.
13041 * benchtests/bench-strrchr.c: Likewise.
13042 * benchtests/bench-strsep.c: Likewise.
13043 * benchtests/bench-strspn.c: Likewise.
13044 * benchtests/bench-strstr.c: Likewise.
13045 * benchtests/bench-strtok.c: Likewise.
13046
13047 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
13048
13049 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
13050 stepping identification.
13051 (init_cpu_features): Add handle of Haswell.
13052
13053 2016-11-25 Jim Meyering <meyering@fb.com>
13054
13055 [BZ #20386]
13056 Let gcc detect assert(a = 1) errors.
13057 * assert/assert.h (assert): Rewrite, retaining the old definintion
13058 when required, but otherwise putting the expression as-is in an "if"
13059 expression (hence, with no added parentheses) within a statement
13060 expression.
13061
13062 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
13063
13064 * benchtests/Makefile (binaries-benchset): Depend on libsupport
13065 DSO.
13066
13067 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
13068
13069 * Rules (python-flags, python-invoke): New.
13070 ($(test-printers-out)): Use $(python-flags).
13071
13072 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13073
13074 * manual/arith.texi (Math Error Reporting): Document that sNaN
13075 arguments are not considered domain errors.
13076
13077 2016-12-16 Zack Weinberg <zackw@panix.com>
13078 Florian Weimer <fweimer@redhat.com>
13079 Nick Mathewson <nickm@torproject.org>
13080
13081 * string/explicit_bzero.c: New routine.
13082 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
13083 * string/Makefile (routines, strop-tests, tests): Add them.
13084 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
13085 * string/string.h [__USE_MISC]: Declare explicit_bzero.
13086
13087 * debug/explicit_bzero_chk.c: New routine.
13088 * debug/Makefile (routines): Add it.
13089 * debug/tst-chk1.c: Test fortification of explicit_bzero.
13090 * string/bits/string3.h: Fortify explicit_bzero.
13091
13092 * manual/string.texi: Document explicit_bzero.
13093 * NEWS: Mention addition of explicit_bzero.
13094
13095 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
13096 data before returning, using explicit_bzero.
13097 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
13098 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13099 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13100
13101 * include/string.h: Redirect internal uses of explicit_bzero
13102 to __explicit_bzero_chk[_internal].
13103 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
13104 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
13105 * sysdeps/arm/nacl/libc.abilist
13106 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13107 * sysdeps/unix/sysv/linux/alpha/libc.abilist
13108 * sysdeps/unix/sysv/linux/arm/libc.abilist
13109 * sysdeps/unix/sysv/linux/hppa/libc.abilist
13110 * sysdeps/unix/sysv/linux/i386/libc.abilist
13111 * sysdeps/unix/sysv/linux/ia64/libc.abilist
13112 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13113 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13114 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13115 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13116 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13117 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13118 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13119 * sysdeps/unix/sysv/linux/nios2/libc.abilist
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13126 * sysdeps/unix/sysv/linux/sh/libc.abilist
13127 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13128 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13131 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13132 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13133 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13134 Add entries for explicit_bzero and __explicit_bzero_chk.
13135
13136 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13137
13138 * math/fenv.h
13139 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
13140 (FE_SNANS_ALWAYS_SIGNAL): New macro.
13141 * math/test-fe-snans-always-signal.c: New file.
13142 * math/Makefile (tests): Add test-fe-snans-always-signal.
13143 (CFLAGS-test-fe-snans-always-signal.c): New variable.
13144 * manual/arith.texi (Infinity and NaN): Document
13145 FE_SNANS_ALWAYS_SIGNAL.
13146
13147 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13148
13149 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
13150 bracket.
13151
13152 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13153
13154 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13155 before calling execv.
13156
13157 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13158
13159 [BZ #20971]
13160 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13161 overflow in pointer addition.
13162 * string/test-memchr.c (do_test): Add an argument to pass as
13163 the size on memchr.
13164 (test_main): Add check for SIZE_MAX.
13165
13166 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13167
13168 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13169 (libm-calls): Add w_scalblnF.
13170 * math/w_scalbln.c: Remove.
13171 * math/w_scalblnf.c: Likewise.
13172 * math/w_scalblnl.c: Likewise.
13173 * math/w_scalbln_template.c: New file with type-generic
13174 implementation based on math/w_scalbln.c.
13175 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13176 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13177
13178 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13179
13180 [BZ #20947]
13181 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13182 either is a signaling NaN.
13183 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
13184 follow fmaxl more closely.
13185 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13186 when either is a signaling NaN.
13187 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13188 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13189 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13190 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13191 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13192 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13193 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13194 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13195 (fmin_test_data): Likewise.
13196
13197 2016-12-15 Andreas Schwab <schwab@suse.de>
13198
13199 * support/support_test_main.c (support_test_main): Don't shadow
13200 file-local variable test_pid.
13201
13202 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13203
13204 [BZ #20947]
13205 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13206 either is a signaling NaN.
13207 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13208
13209 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #20947]
13212 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13213 when either is a signaling NaN.
13214 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13215
13216 * bits/long-double.h: New file.
13217 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13218 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13219 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13220 * sysdeps/mips/bits/long-double.h: Likewise.
13221 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13222 * math/Makefile (headers): Add bits/long-double.h.
13223 * misc/sys/cdefs.h: Include <bits/long-double.h>.
13224 * stdlib/strtold.c: Include <bits/long-double.h> instead of
13225 <bits/wordsize.h>.
13226 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13227 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13228 * math/math.h: Do not include <bits/mathdef.h>.
13229 * sysdeps/aarch64/bits/mathdef.h: Remove file.
13230 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13231 inclusion.
13232 * sysdeps/ia64/bits/mathdef.h: Remove file.
13233 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13234 * sysdeps/mips/bits/mathdef.h: Likewise.
13235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13236 * sysdeps/s390/bits/mathdef.h: Likewise.
13237 * sysdeps/sparc/bits/mathdef.h: Likewise.
13238 * sysdeps/x86/bits/mathdef.h: Likewise.
13239 * sysdeps/s390/s390-32/bits/wordsize.h
13240 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13241 conditional code.
13242 * sysdeps/s390/s390-64/bits/wordsize.h
13243 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13244 Likewise.
13245 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13246 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13247 Likewise.
13248 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13249 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13250 Likewise.
13251 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13252 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13253 Likewise.
13254
13255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13256 <linux/falloc.h>.
13257 (FALLOC_FL_KEEP_SIZE): Remove.
13258 (FALLOC_FL_PUNCH_HOLE): Likewise.
13259 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13260 (FALLOC_FL_ZERO_RANGE): Likewise.
13261
13262 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13263
13264 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13265
13266 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13267
13268 * sysdeps/unix/sysv/linux/renameat.c: New file.
13269 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13270
13271 * sysdeps/unix/sysv/linux/rename.c: New file.
13272 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13273
13274 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13275
13276 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13277 * string/strtok.c (strtok): Change to tailcall __strtok_r.
13278 * string/strtok_r.c (__strtok_r): Optimize for performance.
13279 * string/string-inlines.c (__old_strtok_r_1c): New function.
13280 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13281
13282 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13283
13284 * math/Makefile (gen-libm-calls): Add w_log1pF.
13285 (libm-calls): Remove w_log1pF.
13286 * math/w_log1p.c: Remove.
13287 * math/w_log1pf.c: Likewise.
13288 * math/w_log1pl.c: Likewise.
13289 * math/w_log1p_template.c: New file with type-generic
13290 implementation based on math/w_log1p.c.
13291 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13292 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13293
13294 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13295
13296 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13297
13298 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13299
13300 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13301 kernel version to 4.9.
13302
13303 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
13304
13305 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13306 ($(inst_libdir)/libm.a): Fix rule to create the target only.
13307
13308 2016-12-13 Andreas Schwab <schwab@suse.de>
13309
13310 * sysdeps/powerpc/dl-procinfo.c: Don't define
13311 _dl_powerpc_platforms.
13312 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13313 constants instead of referencing _dl_powerpc_platforms.
13314 (_dl_platform_string): Remove.
13315
13316 2016-12-13 Florian Weimer <fweimer@redhat.com>
13317
13318 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13319
13320 2016-12-13 Florian Weimer <fweimer@redhat.com>
13321
13322 * Rules (binaries-shared-tests, binaries-pie-tests)
13323 (binaries-static-tests): Link with $(link-extra-libs-tests).
13324 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13325 Remove $(link-extra-libs-tests).
13326
13327 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13328
13329 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13330 (sysdep_routines): Add strncmp_power9.
13331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13332 (strncmp): Add __strncmp_power9 to list of strncmp functions.
13333 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13334 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13335 (strncmp): Add __strncmp_power9 to ifunc list.
13336 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13337
13338 2016-12-12 Florian Weimer <fweimer@redhat.com>
13339
13340 [BZ #17252]
13341 Add getentropy, getrandom.
13342 * stdlib/sys/random.h: New file.
13343 (headers): Add it.
13344 * stdlib/Makefile (routines): Add getentropy, getrandom.
13345 (tests): Add tst-getrandom.
13346 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13347 * stdlib/getentropy.c: New file.
13348 * stdlib/getrandom.c: Likewise.
13349 * stdlib/tst-getrandom.c: Likewise.
13350 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13351 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13352 * manual/crypt.texi (Unpredictable Bytes): New section.
13353 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13354 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13355 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13370 Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13372 Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13385
13386 2016-12-10 Florian Weimer <fweimer@redhat.com>
13387
13388 [BZ #20956]
13389 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13390 as additional compiler barriers.
13391 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13392 (fn2, do_test): Declare with external linkage.
13393 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13394 (do_test): Declare with external linkage.
13395 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13396 (do_test): Declare with external linkage.
13397 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13398 (do_test): Declare with external linkage.
13399
13400 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13401
13402 * support/support_test_main.c (support_test_main): Use correct
13403 timeout.
13404
13405 2016-12-09 Carlos O'Donell <carlos@redhat.com>
13406 Florian Weimer <fweimer@redhat.com>
13407
13408 [BZ #16421]
13409 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13410 and __u6_addr32 members.
13411 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13412 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13413 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13414 Use __u6_addr32.
13415 * inet/tst-checks.c: Use <support/test-driver.c>
13416 * inet/tst-checks-posix.c: New file.
13417 * inet/Makefile (tests): Add it.
13418 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13419
13420 2016-12-09 Florian Weimer <fweimer@redhat.com>
13421
13422 New subdirectory support for build and test infrastructure.
13423 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13424 setting install-lib.
13425 * Makeconfig (link-extra-libs-tests): Define.
13426 (+link-pie-tests, +link-static-tests, +link-tests): Use
13427 link-extra-libs-tests.
13428 (rpath-dirs, all-subdirs): Add support.
13429 (built-modules): Add libsupport.
13430 (libsupport): Define.
13431 * support: New directory.
13432 * support/Makefile: New file.
13433 * support/check.c: Likewise.
13434 * support/check.h: Likewise.
13435 * support/delayed_exit.c: Likewise.
13436 * support/ignore_stderr.c: Likewise.
13437 * support/oom_error.c: Likewise.
13438 * support/set_fortify_handler.c: Likewise.
13439 * support/support.h: Likewise.
13440 * support/temp_file-internal.h: Likewise.
13441 * support/temp_file.c: Likewise.
13442 * support/test-driver.c: Likewise.
13443 * support/test-driver.h: Likewise.
13444 * support/test_main.c: Likewise.
13445 * support/write_message.c: Likewise.
13446 * support/xasprintf.c: Likewise.
13447 * support/xcalloc.c: Likewise.
13448 * support/xmalloc.c: Likewise.
13449 * support/xpthread_barrier_destroy.c: Likewise.
13450 * support/xpthread_barrier_init.c: Likewise.
13451 * support/xpthread_barrier_wait.c: Likewise.
13452 * support/xpthread_cancel.c: Likewise.
13453 * support/xpthread_check_return.c: Likewise.
13454 * support/xpthread_cond_wait.c: Likewise.
13455 * support/xpthread_create.c: Likewise.
13456 * support/xpthread_detach.c: Likewise.
13457 * support/xpthread_join.c: Likewise.
13458 * support/xpthread_mutex_lock.c: Likewise.
13459 * support/xpthread_mutex_unlock.c: Likewise.
13460 * support/xpthread_sigmask.c: Likewise.
13461 * support/xpthread_spin_lock.c: Likewise.
13462 * support/xpthread_spin_unlock.c: Likewise.
13463 * support/xrealloc.c: Likewise.
13464 * support/xsignal.h: Likewise.
13465 * support/xthread.h: Likewise.
13466 * support_tempfile.h: Likewise.
13467 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13468 (TEST_DATA_LIMIT): Remove unused macro.
13469 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13470 <support/check.h>.
13471 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13472 (ignore_stderr, set_fortify_handler): Remove. Now in
13473 <support/support.h>.
13474 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13475 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13476 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13477 (xpthread_join): Remove. Now in <support/xthread.h>.
13478 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13479 Introduce legacy wrappers.
13480 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13481 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13482 (write_message): Remove.
13483 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13484 test-skeleton.c.
13485 * io/test-open-tmpfile: Likewise.
13486 * io/tst-posix_fallocate-common.c: Likewise.
13487 * libio/tst-fseek.c: Likewise.
13488 * malloc/tst-malloc-backtrace.c: Likewise.
13489 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13490 * malloc/tst-malloc-thread-exit.c: Likewise.
13491 * nptl/tst-cancel7.c: Likewise.
13492 * nptl/tst-cleanup0.c: Likewise.
13493 * posix/tst-posix_fadvise-common.c: Likewise.
13494 * rt/tst-shm.c: Likewise.
13495 * time/bug-getdate1.c: Likewise.
13496 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13497 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13498 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13499
13500 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13501
13502 * Rules [$(run-built-tests) != no] (tests-expected): Add
13503 $(tests-printers).
13504 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13505
13506 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13507
13508 [BZ #20539]
13509 * math/Makefile (install-lib-ldscripts): Add libm.a.
13510 (install_subdir): Remove.
13511 (install-others): Add.
13512 ($(inst_libdir)/libm.a): Add rule for installation as
13513 linker script.
13514 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13515
13516 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13517
13518 * INSTALL: Regenerated.
13519 * Makeconfig: Add comments and whitespace to make the control flow
13520 clearer.
13521 (+link-printers-tests, +link-pie-printers-tests,
13522 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13523 built-rtld-LDFLAGS, link-libc-rpath,
13524 link-libc-tests-after-rpath-link,
13525 link-libc-printers-tests): New.
13526 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13527 link-libc-tests): Use the new variables as required.
13528 * Makerules ($(py-const)): New rule.
13529 generated: Add $(py-const).
13530 * README.pretty-printers: New file.
13531 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13532 (others): Depend on $(py-const).
13533 (tests): Depend on $(tests-printers-programs) or
13534 $(tests-printers-out),
13535 as required. Pass $(tests-printers) to merge-test-results.sh.
13536 * manual/install.texi: Add requirements for testing the pretty
13537 printers.
13538 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13539 tests-printers, CFLAGS-test-mutexattr-printers.c
13540 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13541 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13542 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13543 * nptl/nptl-printers.py: New file.
13544 * nptl/nptl_lock_constants.pysym: Likewise.
13545 * nptl/test-cond-printers.c: Likewise.
13546 * nptl/test-cond-printers.py: Likewise.
13547 * nptl/test-condattr-printers.c: Likewise.
13548 * nptl/test-condattr-printers.py: Likewise.
13549 * nptl/test-mutex-printers.c: Likewise.
13550 * nptl/test-mutex-printers.py: Likewise.
13551 * nptl/test-mutexattr-printers.c: Likewise.
13552 * nptl/test-mutexattr-printers.py: Likewise.
13553 * nptl/test-rwlock-printers.c: Likewise.
13554 * nptl/test-rwlock-printers.py: Likewise.
13555 * nptl/test-rwlockattr-printers.c: Likewise.
13556 * nptl/test-rwlockattr-printers.py: Likewise.
13557 * scripts/gen-py-const.awk: Likewise.
13558 * scripts/test_printers_common.py: Likewise.
13559 * scripts/test_printers_exceptions.py: Likewise.
13560
13561 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13562
13563 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13564 argument.
13565 (Glibc.build_glibc): Strip installed shared libraries if
13566 requested.
13567 (get_parser): Add --strip option.
13568 (main): Update Context call.
13569
13570 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13571 Dominik Vogt <vogt@linux.vnet.ibm.com>
13572
13573 [BZ #20847]
13574 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13575 array bounds for else branch.
13576 (__execvpe): Style fixes.
13577 * posix/tst-vfork3.c (run_script): New function.
13578 (create_script): Likewise.
13579 (do_test): Use run_script internal function.
13580 (do_prepare): Use create_script internal function.
13581
13582 2016-12-07 Andreas Schwab <schwab@suse.de>
13583
13584 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13585 (__elision_available): Don't declare.
13586 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13587 (__elision_available): Don't define.
13588 (elision_init): Don't set __elision_available.
13589
13590 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13591
13592 [BZ #20940]
13593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13594 return Inf for arguments Inf and sNaN.
13595 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13596 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13597 Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13599 Likewise.
13600 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13601 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13602 for arguments Inf and sNaN. When returning a NaN, compute it by
13603 arithmetic on the arguments.
13604 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13605 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13606 arguments.
13607
13608 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13609
13610 [BZ #20916]
13611 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13612 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13613 to compute result.
13614 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13615 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13616
13617 2016-12-05 Torvald Riegel <triegel@redhat.com>
13618
13619 * include/atomic.h (__atomic_check_size_ls): New.
13620 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13621 atomic_store_release): Use it.
13622 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13623 (elision_adapt, ELIDE_LOCK): Use atomics.
13624 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13625 atomics and improve code comments.
13626 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13627 (__lll_trylock_elision): Likewise.
13628
13629 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13630
13631 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13632 programs.
13633
13634 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13635
13636 [BZ #20916]
13637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13638 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13639 arguments to compute result.
13640 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13641 1 for arguments (sNaN, 0) or (1, sNaN).
13642 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13644
13645 [BZ #20919]
13646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13647 NaN first argument when raised to power 0.
13648 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13649 raising to power zero.
13650 * math/w_powf.c (__powf): Likewise.
13651 * math/w_powl.c (__powl): Likewise.
13652 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13653 pow (0, 0) or pow (NaN, 0).
13654
13655 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13656
13657 [BZ #20918]
13658 * configure.ac: Test for static NSS cryptographic libraries and set
13659 libc_cv_static_nss_crypt.
13660 * configure: Regenerate.
13661 * config.make.in (static-nss-crypt): Define.
13662 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13663 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13664 (CFLAGS-tst-linkall-static.c): Define.
13665 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13666 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13667 ($(objpfx)tst-linkall-static): Define.
13668 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13669 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13670
13671 2016-12-02 Florian Weimer <fweimer@redhat.com>
13672
13673 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13674 (one-hundred, tst-tls-many-dynamic-modules): Define.
13675 (modules-names): Add $(tst-tls-many-dynamic-modules).
13676 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13677 macros.
13678 (tst-tls-manydynamic): Link against libdl, libpthread.
13679 (tst-tls-manydynamic.out): The test needs the test modules at run
13680 time.
13681 * elf/tst-tls-manydynamic.c: New file.
13682 * elf/tst-tls-manydynamic.h: Likewise.
13683 * elf/tst-tls-manydynamicmod.c: Likewise.
13684
13685 2016-12-02 Florian Weimer <fweimer@redhat.com>
13686
13687 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13688 (TLS_DTV_UNALLOCATED): Add.
13689 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13690 offsets.
13691
13692 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13693
13694 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13695
13696 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13697
13698 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13699 Add -fno-optimize-sibling-calls.
13700
13701 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13702
13703 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13704 New declaration.
13705 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13706 macro.
13707 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13708 New macro.
13709 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13710 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13711 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13712 (llogbf): Likewise.
13713 (llogbl): Likewise.
13714 * math/Makefile (gen-libm-calls): Add w_llogbF.
13715 (tests): Add test-fp-llogb-constants.
13716 * math/w_llogb_template.c: New file. Based on
13717 math/w_ilogb_template.c.
13718 * math/libm-test.inc (llogb_test_data): New array.
13719 (llogb_test): New function.
13720 (main): Call llogb_test.
13721 * math/test-fp-llogb-constants.c: New file. Based on
13722 math/test-fp-ilogb-constants.c.
13723 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13724 (do_test): Call check_return_llogb.
13725 * math/test-tgmath.c (NCALLS): Increase to 126.
13726 (F(compile_test)): Call llogb.
13727 (F(llogb)): New function.
13728 * manual/math.texi (Exponents and Logarithms): Document llogb,
13729 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13730 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13731 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13732 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13734 (CFLAGS-nldbl-llogb.c): New variable.
13735 * sysdeps/nacl/libm.abilist: Update.
13736 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13749 Likewise.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13751 Likewise.
13752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13753 Likewise.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13755 Likewise.
13756 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13762 Likewise.
13763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13764 Likewise.
13765 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13768
13769 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13770
13771 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13772 _Float128 instead of long double.
13773 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13774
13775 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13776 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13777 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13778 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13779 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13780 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13781 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13782 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13783 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13784 Likewise.
13785
13786 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13787
13788 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13789 Remove redirection to __strrchr_ppc.
13790
13791 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13792
13793 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13794 (sysdep_routines): Add strcmp_power9.
13795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13796 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13797 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13798 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13799 (strcmp): Add __strcmp_power9 to ifunc list.
13800 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13801
13802 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13803
13804 * bits/fp-logb.h: New file.
13805 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13806 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13807 * sysdeps/x86/bits/fp-logb.h: Likewise.
13808 * math/Makefile (headers): Add bits/fp-logb.h.
13809 * math/math.h: Include <bits/fp-logb.h>.
13810 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13811 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13812 * bits/mathdef.h (FP_ILOGB0): Remove.
13813 (FP_ILOGBNAN): Likewise.
13814 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13815 (FP_ILOGBNAN): Likewise.
13816 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13817 (FP_ILOGBNAN): Likewise.
13818 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13819 (FP_ILOGBNAN): Likewise.
13820 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13821 (FP_ILOGBNAN): Likewise.
13822 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13823 (FP_ILOGBNAN): Likewise.
13824 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13825 (FP_ILOGBNAN): Likewise.
13826 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13827 (FP_ILOGBNAN): Likewise.
13828 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13829 (FP_ILOGBNAN): Likewise.
13830 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13831 (FP_ILOGBNAN): Likewise.
13832
13833 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13834 time module.
13835 (Context.__init__): Initialize self.logsdir_old.
13836 (Context.run_builds): Handle bot action.
13837 (Context.bot_cycle): Copy logs directory before running builds.
13838 (Context.bot_run_self): Take argument for whether to check
13839 subprocess result. Flush stdout before running subprocess.
13840 (Context.bot): New function.
13841 (get_parser): Allow bot action.
13842
13843 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13844
13845 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13846 Import email.mime.text, email.utils and smtplib modules.
13847 (Context.__init__): Initialize self.bot_config_json.
13848 (Context.run_builds): Handle bot-cycle action.
13849 (Context.load_bot_config_json): New function.
13850 (Context.part_build_old): Likewise.
13851 (Context.bot_cycle): Likewise.
13852 (Context.bot_build_mail): Likewise.
13853 (Context.bot_run_self): Likewise.
13854 (get_parser): Allow bot-cycle action.
13855
13856 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13857
13858 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13859 Remove redirection to __stpcpy_ppc.
13860
13861 2016-11-30 Florian Weimer <fweimer@redhat.com>
13862
13863 Remove __libc_memalign from ld.so because it is unused.
13864 * elf/dl-minimal.c: Update comment on the malloc implementation.
13865 (malloc): Renamed from __libc_memalign, replacing the original
13866 malloc implementation. Replace the align parameter with
13867 MALLOC_ALIGNMENT.
13868 * elf/Versions (ld): Update comment and remove __libc_memalign.
13869 * sysdeps/nacl/ld.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13896 * sysdeps/generic/localplt.data (ld.so): Likewise.
13897 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13898 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13899 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13900 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13901 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13902 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13903 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13904 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13905 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13907 (ld.so): Likewise.
13908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13909 (ld.so): Likewise.
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13911 Likewise.
13912 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13913 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13914 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13915 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13916 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13917
13918 2016-11-30 Florian Weimer <fweimer@redhat.com>
13919
13920 [BZ #16628]
13921 Implement _dl_catch_error, _dl_signal_error in libc.so.
13922 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13923 (catch_hook): Define as thread-local or regular variable,
13924 depending on DL_ERROR_BOOTSTRAP.
13925 (CATCH_HOOK): Remove.
13926 (dl_signal_error, _dl_catch_error): Use
13927 catch_hook. Add hidden definition for libc.
13928 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13929 for DL_ERROR_BOOTSTRAP only.
13930 * elf/dl-error.c: New file.
13931 * elf/dl-error-minimal.c: Likewise.
13932 * elf/tst-latepthread.c: Likewise.
13933 * elf/tst-latepthreadmod.c: Likewise.
13934 * elf/Makefile (routines): Add dl-error.
13935 (dl-routines): Remove dl-error.
13936 (rtld-routines): Add dl-error-minimal.
13937 [build-shared] (tests): Add tst-latepthread.
13938 (module-names): Add tst-latepthreadmod.
13939 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13940 symbol.
13941 (tst-latepthreadmod.so): Link against libpthread.
13942 (tst-latepthread): Link against libdbl.
13943 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13944 _dl_catch_error.
13945 [ld] (GLIBC_PRIVATE): Likewise.
13946 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13947 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13948 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13949 directly.
13950 * elf/dl-tsd.c: Remove file.
13951 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13952 _dl_catch_error, _dl_signal_error.
13953 (_dl_initial_error_catch_tsd): Remove definition.
13954 (do_preload): Remove initialization of dl_error_catch_tsd.
13955 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13956 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13957 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13958 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13959 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13960 set dl_error_catch_tsd.
13961 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13962 _dl_error_catch_tsd member.
13963 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13964 members.
13965 (_dl_initial_error_catch_tsd): Remove declaration.
13966 (_dl_dprintf): Provide definition for use outside of ld.so.
13967 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13968 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13969 prototype for libc.
13970 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13971 _dl_catch_error.
13972 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13973 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13974 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13975 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13976 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13977 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13978 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13979 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13980 Likewise.
13981 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13983 (ld.so): Likewise.
13984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13985 (ld.so): Likewise.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13987 Likewise.
13988 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13989 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13990 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13991 Likewise.
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13993 Likewise.
13994 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13995
13996 2016-11-30 Florian Weimer <fweimer@redhat.com>
13997
13998 [BZ #4099]
13999 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
14000 _IO_BUFSIZ (8192).
14001
14002 2016-11-30 Carlos O'Donell <carlos@redhat.com>
14003
14004 * PROJECTS: Remove file.
14005
14006 2016-11-29 Florian Weimer <fweimer@redhat.com>
14007
14008 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
14009
14010 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
14011 Steve Ellcey <sellcey@caviumnetworks.com>
14012
14013 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
14014 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
14015 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
14016 fxstatat.
14017 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
14018 lxstat.
14019 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
14020 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
14021 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
14022 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
14023 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
14024 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
14025 __xstat.
14026
14027 2016-11-29 Florian Weimer <fweimer@redhat.com>
14028
14029 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
14030 Define.
14031 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
14032 definition.
14033
14034 2016-11-29 Florian Weimer <fweimer@redhat.com>
14035
14036 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
14037 version and turn into strong alias. Remove compat symbol.
14038
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14040 (__longjmp): Remove.
14041
14042 2016-11-29 Joseph Myers <joseph@codesourcery.com>
14043
14044 * bits/fp-fast.h: New file.
14045 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
14046 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
14047 * math/Makefile (headers): Add bits/fp-fast.h.
14048 * math/math.h: Include <bits/fp-fast.h>.
14049 * bits/mathdef.h (FP_FAST_FMA): Remove.
14050 (FP_FAST_FMAF): Likewise.
14051 (FP_FAST_FMAL): Likewise.
14052 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
14053 (FP_FAST_FMAF): Likewise.
14054 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
14055 (FP_FAST_FMAF): Likewise.
14056 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
14057 (FP_FAST_FMAF): Likewise.
14058 (FP_FAST_FMAL): Likewise.
14059 * sysdeps/arm/bits/mathdef.h: Remove file.
14060 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
14061 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14062 * sysdeps/tile/bits/mathdef.h: Likewise.
14063
14064 2016-11-28 Joseph Myers <joseph@codesourcery.com>
14065
14066 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
14067 * math/w_ilogb.c: Remove.
14068 * math/w_ilogbf.c: Likewise.
14069 * math/w_ilogbl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
14071 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
14072 * math/Makefile (gen-libm-calls): Add w_ilogbF.
14073 (libm-calls): Remove w_ilogbF.
14074 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
14075 (LDOUBLE_ilogbl_libm_version): New macro.
14076
14077 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
14078
14079 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
14080 [!__STRICT_ANSI__ && !__cplusplus].
14081
14082 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
14083
14084 [BZ #20750]
14085 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
14086 of PIC.
14087
14088 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
14089 Yury Norov <ynorov@caviumnetworks.com>
14090 Steve Ellcey <sellcey@caviumnetworks.com>
14091
14092 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
14093 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
14094 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
14095 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
14096 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
14097 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
14098 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
14099 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
14100 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
14101 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
14102 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
14103 to get correct reg name for ILP32.
14104 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
14105 (RELA_SIZE): New Macro.
14106 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
14107 to support ILP32.
14108 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
14109 cast for ILP32 mode.
14110 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
14111 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
14112 * sysdeps/aarch64/memset.S (__memset): Ditto.
14113 * sysdeps/aarch64/strchr.S (strchr): Ditto.
14114 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
14115 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
14116 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
14117 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
14118 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
14119 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
14120 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
14121 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
14122 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
14123 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
14124 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
14125 change PTR_MANGLE call to use register numbers instead of names.
14126 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
14127 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
14128 ILP32 mode, change PTR_MANGLE calls to use register numbers.
14129 * sysdeps/aarch64/start.S (_start): Ditto.
14130 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
14131 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
14132 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
14133 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
14134 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
14135 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
14136 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
14137 Make defined values dependent on __ILP32__.
14138 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
14139 (sem_t): Change __align type.
14140 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
14141 PTR_SIZE): New Macros.
14142 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
14143 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
14144 Set when in ILP32 mode.
14145 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
14146 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
14147 Set elf flags for ILP32.
14148 (add_system_dir): Set ILP32 library directories.
14149 * sysdeps/unix/sysv/linux/aarch64/init-first.c
14150 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14151 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14152 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14153 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14154 New Macros.
14155 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14156
14157 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
14158
14159 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14160 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14161 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14162
14163 2016-11-28 Joseph Myers <joseph@codesourcery.com>
14164
14165 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14166 <asm/cachectl.h>.
14167
14168 2016-11-27 Zack Weinberg <zackw@panix.com>
14169
14170 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14171 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14172
14173 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14174
14175 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14176 error_t to fix usage in C++ programs.
14177
14178 2016-11-26 Joseph Myers <joseph@codesourcery.com>
14179
14180 * scripts/build-many-glibcs.py: Import datetime module.
14181 (Context.__init__): Load JSON build state. Initialize list of
14182 status logs.
14183 (Context.run_builds): Update saved build state.
14184 (Context.add_makefile_cmdlist): Update list of status logs.
14185 (Context.load_build_state_json): New function.
14186 (Context.store_build_state_json): Likewise.
14187 (Context.clear_last_build_state): Likewise.
14188 (Context.update_build_state): Likewise.
14189 (CommandList.status_logs): Likewise.
14190
14191 2016-11-25 Joseph Myers <joseph@codesourcery.com>
14192
14193 * scripts/build-many-glibcs.py (Context.__init__): Save text of
14194 script being executed.
14195 (Context.get_script_text): New function.
14196 (Context.exec_self): Likewise.
14197 (Context.checkout): Re-exec script if changed by checkout process.
14198
14199 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14200
14201 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14202 (setpayloadsig): New declaration.
14203 * math/Versions (setpayloadsig): New libm symbol at version
14204 GLIBC_2.25.
14205 (setpayloadsigf): Likewise.
14206 (setpayloadsigl): Likewise.
14207 * math/Makefile (libm-calls): Add s_setpayloadsigF.
14208 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14209 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14210 (setpayloadsig_test_data): New array.
14211 (setpayloadsig_test): New function.
14212 (main): Call setpayloadsig_test.
14213 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14214 setpayloadsigf and setpayloadsigl.
14215 * manual/libm-err-tab.pl: Update comment on interfaces without
14216 ulps tabulated.
14217 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14218 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14223 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14224 setpayloadsig.
14225 (CFLAGS-nldbl-setpayloadsig.c): New variable.
14226 * sysdeps/nacl/libm.abilist: Update.
14227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14240 Likewise.
14241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14242 Likewise.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14244 Likewise.
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14246 Likewise.
14247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14253 Likewise.
14254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14255 Likewise.
14256 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14259
14260 * scripts/build-many-glibcs.py: Import json module.
14261 (Context.__init__): Take replace_sources argument. Load
14262 versions.json.
14263 (Context.load_versions_json): New function.
14264 (Context.store_json): Likewise.
14265 (Context.store_versions_json): Likewise.
14266 (Context.set_component_version): Likewise.
14267 (Context.checkout): Update versions.json. Check for and handle
14268 changes of version. Prefer previously explicitly specified
14269 version to default version.
14270 (Context.checkout_vcs): Return a revision identifier.
14271 (Context.git_checkout): Likewise.
14272 (Context.gcc_checkout): Likewise.
14273 (get_parser): Add --replace-sources option.
14274 (main): Pass replace_sources argument to Context call.
14275
14276 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14277
14278 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14279 * nptl/allocatestack.c (allocate_stack): Likewise.
14280 (__reclaim_stacks): Likewise.
14281 (setxid_signal_thread): Obtain pid through syscall.
14282 * nptl/nptl-init.c (sigcancel_handler): Likewise.
14283 (sighandle_setxid): Likewise.
14284 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14285 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14286 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14287 Likewise.
14288 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14289 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14290 comment.
14291 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14292 * nptl/descr.h (struct pthread): Change comment about pid value.
14293 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14294 pid assert.
14295 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14296 Do not set pid value.
14297 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14298 pid cache check.
14299 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14300 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14301 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14302 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14303 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14304 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14305 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14306 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14307 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14308 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14309 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14310 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14311 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14312 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14313 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14314 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14315 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14316 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14317 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14318 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14319 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14320 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14321 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14322 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14323 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14326 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14328 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14329 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14330 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14331 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14332 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14333 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14334 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14335 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14336 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14337 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14338 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14339 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14340 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14341 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14344 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14345 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14346 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14347 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14348 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14349 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14350 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14351 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14352 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14353 struct access.
14354 (clone_test): Remove function.
14355 (do_test): Rewrite to take in consideration pid is not cached anymore.
14356
14357 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14358
14359 * bits/flt-eval-method.h: New file.
14360 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14361 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14362 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14363 * math/Makefile (headers): Add bits/flt-eval-method.h.
14364 * math/math.h: Include <bits/flt-eval-method.h>.
14365 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14366 [__USE_ISOC99] (double_t): Likewise.
14367 * bits/mathdef.h (float_t): Remove.
14368 (double_t): Likewise.
14369 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14370 (double_t): Likewise.
14371 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14372 (double_t): Likewise.
14373 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14374 (double_t): Likewise.
14375 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14376 (double_t): Likewise.
14377 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14378 (double_t): Likewise.
14379 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14380 (double_t): Likewise.
14381 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14382 (double_t): Likewise.
14383 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14384 (double_t): Likewise.
14385 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14386 (double_t): Likewise.
14387 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14388 (double_t): Likewise.
14389 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14390 (double_t): Likewise.
14391 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14392 (double_t): Likewise.
14393 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14394 (double_t): Likewise.
14395
14396 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14397
14398 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14399 instead of PIC.
14400
14401 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14402
14403 [BZ #20859]
14404 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14405 (-0x7fffffff) instead of 0x80000001.
14406 * math/test-fp-ilogb-constants.c: New file.
14407 * math/Makefile (tests): Add test-fp-ilogb-constants.
14408
14409 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14410
14411 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14412 (_init): Use it in place of hardcoded R_MIPS_JALR.
14413 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14414 (_init): Use it in place of hardcoded R_MIPS_JALR.
14415 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14416 (_init): Use it in place of hardcoded R_MIPS_JALR.
14417
14418 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14419
14420 [BZ #20787]
14421 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14422 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14423 (double_t): Do not define to double if [__x86_64__] when
14424 __FLT_EVAL_METHOD__ is nonzero.
14425 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14426 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14427 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14428 test-flt-eval-method-387 and test-flt-eval-method-sse.
14429 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14430 variable.
14431 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14432
14433 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14434
14435 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14436 use of -fno-isolate-erroneous-paths options for tilepro.
14437
14438 2016-11-23 Florian Weimer <fweimer@redhat.com>
14439
14440 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14441 structure initialization is no longer needed.
14442
14443 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14444
14445 [BZ #20855]
14446 * bits/mathdef.h (float_t): Define to float.
14447 * math/test-flt-eval-method.c: New file.
14448 * math/Makefile (tests): Add test-flt-eval-method.
14449 (CFLAGS-test-flt-eval-method.c): New variable.
14450
14451 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14452
14453 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14454 and __fstatfs. Make them aliases of __fstatfs64 if
14455 STATFS_IS_STATFS64 is set to non-zero.
14456 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14457 and __statfs64.
14458 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14459 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14460 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14461 for __statfs and statfs.
14462 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14463 to 0.
14464 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14465 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14466 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14467 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14468 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14469 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14472 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14473 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14474 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14475 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14476
14477 2016-11-22 Andreas Schwab <schwab@suse.de>
14478
14479 * misc/mkstemp.c: Include <fcntl.h>.
14480 * misc/mkstemps.c: Likewise.
14481 * misc/mkostemp.c: Likewise.
14482 * misc/mkostemps.c: Likewise.
14483
14484 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14485
14486 [BZ #20847]
14487 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14488 array bounds.
14489 (__execvpe): Likewise.
14490
14491 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14492
14493 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14494 -fno-isolate-erroneous-paths options for tilepro.
14495
14496 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14497
14498 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14499 to 0 when in 32 bit mode.
14500 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14501 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14502 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14503 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14505 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14506 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14507 XSTAT_IS_XSTAT64 test.
14508 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14509 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14510 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14511 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14512 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14513 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14514 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14515 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14516 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14517 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14518 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14519
14520 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14521
14522 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14523 (setpayload): New declaration.
14524 * math/Versions (setpayload): New libm symbol at version
14525 GLIBC_2.25.
14526 (setpayloadf): Likewise.
14527 (setpayloadl): Likewise.
14528 * math/Makefile (libm-calls): Add s_setpayloadF.
14529 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14530 test_Ff_b1_data.
14531 (RUN_TEST_Ff_b1): New macro.
14532 (RUN_TEST_LOOP_Ff_b1): Likewise.
14533 (canonicalize_test_data): Update type.
14534 (setpayload_test_data): New array.
14535 (setpayload_test): New function.
14536 (main): Call setpayload_test.
14537 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14538 setpayloadf and setpayloadl.
14539 * manual/libm-err-tab.pl: Update comment on interfaces without
14540 ulps tabulated.
14541 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14542 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14544 Likewise.
14545 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14546 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14549 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14551 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14553 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14554 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14555 setpayload.
14556 (CFLAGS-nldbl-setpayload.c): New variable.
14557 * sysdeps/nacl/libm.abilist: Update.
14558 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14571 Likewise.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14573 Likewise.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14575 Likewise.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14577 Likewise.
14578 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14584 Likewise.
14585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14586 Likewise.
14587 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14590
14591 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14592
14593 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14594 * include/unistd.h: Extend comment about __access_noerrno return
14595 semantics.
14596 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14597 (access_common): Correct typo for EACCES.
14598
14599 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14600
14601 * sysdeps/tile/math-tests.h: New file.
14602
14603 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14604 (__old_set_dataplane): Rename from set_dataplane and make a
14605 compatibility symbol.
14606 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14607 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14608 sys/dataplane.h.
14609
14610 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14611
14612 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14613 script quote words in command output to log suitably for input to
14614 the shell.
14615
14616 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14617 Maciej W. Rozycki <macro@imgtec.com>
14618
14619 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14620 `.Lno_weak_fn' label.
14621 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14622 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14623
14624 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14625 Yury Norov <ynorov@caviumnetworks.com>
14626
14627 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14628 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14629 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14630 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14631 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14632 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14633 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14634 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14635 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14636 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14637 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14638 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14639 (sysdep_routines): Remove oldgetrlimit64.
14640 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14641 (sysdep_routines): Likewise.
14642 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14643 (sysdep_routines): Likewise.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14645 [$(subdir) = resource] (sysdep_routines): Likewise.
14646 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14647 [$(subdir) = resource] (sysdep_routines): Likewise.
14648 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14649 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14650 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14651 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14652 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14653 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14654 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14655 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14656 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14657 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14659 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14660 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14661 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14662 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14663 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14664 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14665 setrlimit and getrlimit.
14666 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14668 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14671 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14672 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14673 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14674 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14675 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14676 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14677 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14678 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14679 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14680 (__old_getrlimit64): Add compatibility symbol.
14681 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14682
14683 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14684
14685 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14686 newly built gmp, mpfr and mpc.
14687
14688 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14689
14690 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14691
14692 * conform/Makefile (linknamespace-libs): Rename to
14693 linknamespace-libs-thr.
14694 (linknamespace-libs-posix): New variable.
14695 (linknamespace-libs-xsi): Likewise.
14696 (linknamespace-libs-XPG3): Include libcrypt.a.
14697 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14698 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14699 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14700 (linknamespace-libs-XOPEN2K): Likewise.
14701 (linknamespace-libs-XOPEN2K8): Likewise.
14702 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14703
14704 [BZ #20829]
14705 * stdio-common/Versions (__snprintf): Add to version
14706 GLIBC_PRIVATE.
14707 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14708 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14709 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14710 of snprintf.
14711 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14712
14713 2016-11-16 Zack Weinberg <zackw@panix.com>
14714
14715 * string/string.h: Remove obsolete comment stating that
14716 strcoll_l and strxfrm_l have not yet been standardized.
14717
14718 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14719
14720 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14721 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14722 __access_noerrno.
14723 * io/access.c (__access_noerrno): New function.
14724 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14725 (hurd_fail_seterrno): Likewise.
14726 (access_common): Likewise.
14727 (__access_noerrno): Likewise.
14728 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14729 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14730 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14731 macro.
14732
14733 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14734
14735 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14736 Only declare fpregs if [__SH_FPU_ANY__].
14737
14738 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14739
14740 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14741 Make code unconditional.
14742 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14743
14744 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14745
14746 * manual/sysinfo.texi (S_APPEND): Delete.
14747 (S_IMMUTABLE): Likewise.
14748
14749 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14750 Magnus Granberg <zorry@gentoo.org>
14751 Mike Frysinger <vapier@gentoo.org>
14752
14753 [BZ #20662]
14754 * configure.ac (libc_cv_predef_stack_protector): Also check for
14755 __stack_chk_fail_local symbols.
14756 * configure: Regenerated.
14757
14758 2016-11-15 Florian Weimer <fweimer@redhat.com>
14759
14760 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14761 (libc_hidden_def): Remove redefinition.
14762 (__sigsetjmp): Add hidden definition.
14763 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14764 (libc_hidden_def): Remove redefinition.
14765 (__sigsetjmp): Add hidden definition.
14766
14767 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14768
14769 * scripts/build-many-glibcs.py (os.path): Do not import.
14770 (Context): Inherit explicitly from object. Remove blank line
14771 between class and docstring.
14772 (Config): Likewise.
14773 (Glibc): Likewise.
14774 (Command): Likewise.
14775 (CommandList): Likewise.
14776 (Context.write_files): Store chmod mode in a variable.
14777
14778 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14779 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14780 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14781
14782 2016-11-14 Zack Weinberg <zackw@panix.com>
14783
14784 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14785 creating or re-creating it.
14786
14787 * string/bits/string2.h: Fix typo in comment.
14788
14789 2016-11-14 Zack Weinberg <zackw@panix.com>
14790
14791 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14792 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14793 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14794 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14795 of redirected function names.
14796
14797 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14798 as well. Document that MESSAGE must be a single string literal.
14799
14800 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14801
14802 * scripts/build-many-glibcs.py: New file.
14803
14804 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14805 (do_test): Disable -Wmaybe-uninitialized around uses of
14806 except_mask.
14807
14808 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14809
14810 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14811
14812 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14813 (atomic_store_release): Provide tilepro-specific implementations.
14814
14815 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14816
14817 * math/math.h (__MATH_TG): New macro.
14818 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14819 [__USE_ISOC99] (signbit): Likewise.
14820 [__USE_ISOC99] (isfinite): Likewise.
14821 [__USE_ISOC99] (isnan): Likewise.
14822 [__USE_ISOC99] (isinf): Likewise.
14823 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14824 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14825 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14826 __MATH_TG and __MATH_EVAL_FMT2.
14827 * sysdeps/generic/math_private.h (fabs_tg): Define using
14828 __MATH_TG.
14829 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14830 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14831 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14832 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14833 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14834 macro.
14835 (__iscanonical): Likewise.
14836 (iscanonical): Define using __MATH_TG.
14837
14838 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14839
14840 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14841 guards.
14842
14843 * sysdeps/unix/sysv/linux/access.c: New file.
14844 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14845
14846 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14847
14848 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14849 and __WORDSIZE32_PTRDIFF_LONG.
14850
14851 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14852
14853 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14854
14855 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14856
14857 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14858 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14859 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14860 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14861 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14863 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14864 * sysdeps/unix/sysv/linux/truncate.c: New file.
14865 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14866 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14867 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14868 Remove.
14869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14870 Likewise.
14871
14872 * posix/tst-truncate-common.c: New file.
14873 * posix/tst-truncate.c: Use tst-truncate-common.c.
14874 * posix/tst-truncate64.c: Likewise and add LFS tests.
14875 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14876 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14877 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14878 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14879 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14881 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14882 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14883 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14884 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14885 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14886 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14887 Remove.
14888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14889 Likewise.
14890
14891 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14892
14893 [BZ #20790]
14894 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14895 to MAXLINESIZE.
14896 * sunrpc/bug20790.x: New file.
14897 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14898 variable.
14899 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14900 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14901
14902 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14903
14904 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14905
14906 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14907 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14908 calloc, realloc, free, memalign and __libc_memalign rather than
14909 making them optional.
14910
14911 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14912 for libc.so.
14913
14914 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14915
14916 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14917 ptw-lseek64.
14918 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14919 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14920 Likewise.
14921 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14922 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14923 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14924 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14925 * sysdeps/unix/sysv/linux/lseek.c: New file.
14926 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14927 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14928 __libc_lseek64 from auto-generation.
14929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14930 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14931
14932 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14933
14934 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14935 * nptl/tst-cleanup1.c (do_test): Likewise.
14936 * nptl/tst-cleanup3.c (do_test): Likewise.
14937 * nptl/tst-key1.c (do_test): Likewise.
14938 * nptl/tst-key2.c (tf, do_test): Likewise.
14939 * nptl/tst-key3.c (tf, do_test): Likewise.
14940 * nptl/tst-stdio1.c (do_test): Likewise.
14941 * nptl/tst-stdio2.c (do_test): Likewise.
14942
14943 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14944 * nptl/tst-kill6.c (handler): Likewise.
14945 * nptl/tst-tls2.c (CB): Likewise.
14946 * nptl/tst-tls3.c (CB): Likewise.
14947
14948 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14949
14950 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14951
14952 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14953 Steve Ellcey <sellcey@caviumnetworks.com>
14954
14955 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14956 __ASSUME_ST_INO_64_BIT as 0
14957 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14958 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14959 over the code where __ASSUME_ST_INO_64_BIT is used.
14960 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14961 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14962 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14963
14964 2016-11-07 Florian Weimer <fweimer@redhat.com>
14965
14966 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14967 Document ABI exposure of the __kind offset.
14968 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14969 Mention reason for the __kind offset exposure in the ABI.
14970 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14971 Likewise.
14972 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14973 Likewise.
14974 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14975 Likewise.
14976 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14977 (struct __pthread_mutex_s): Likewise.
14978 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14979 Likewise.
14980 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14981 Likewise.
14982 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14983 Likewise.
14984 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14985 Likewise.
14986 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14987 Likewise.
14988 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14989 Likewise.
14990 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14991 (struct __pthread_mutex_s): Likewise.
14992 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14993 (struct __pthread_mutex_s): Likewise.
14994 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14995 Likewise.
14996
14997 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14998
14999 * test-skeleton.c: Document do_test usage.
15000
15001 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
15002
15003 * iconv/gconv.h (__gconv_info): Define __data element using a
15004 zero-length array.
15005
15006 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
15007
15008 * math/test-tgmath2.c: Split up test function.
15009
15010 2016-11-04 Joseph Myers <joseph@codesourcery.com>
15011
15012 * Rules (tests-expected): New variable, depending on
15013 $(run-built-tests).
15014 (tests): Pass $(tests-expected) to merge-test-results.sh, not
15015 $(tests).
15016
15017 * Rules [$(run-built-tests) = no] (tests): Do not depend on
15018 $(tests-unsupported).
15019
15020 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15021
15022 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
15023 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
15024
15025 2016-11-04 Joseph Myers <joseph@codesourcery.com>
15026
15027 [BZ #20768]
15028 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
15029 __fegetenv instead of fegetenv.
15030
15031 [BZ #14139]
15032 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
15033 (find_files): Obtain platform name from libm-test-ulps-name and
15034 store in %pplatforms.
15035 (canonicalize_platform): Remove.
15036 (print_platforms): Use $pplatforms directly.
15037 (by_platforms): Do not allow for platforms missing from
15038 %pplatforms.
15039 * sysdeps/aarch64/libm-test-ulps-name: New file.
15040 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
15041 * sysdeps/arm/libm-test-ulps-name: Likewise.
15042 * sysdeps/generic/libm-test-ulps-name: Likewise.
15043 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
15044 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
15045 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
15046 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
15047 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
15048 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
15049 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
15050 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
15051 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
15052 * sysdeps/nios2/libm-test-ulps-name: Likewise.
15053 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
15054 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
15055 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
15056 * sysdeps/sh/libm-test-ulps-name: Likewise.
15057 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
15058 * sysdeps/tile/libm-test-ulps-name: Likewise.
15059 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
15060
15061 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
15062
15063 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
15064 (test-xfail-check-execstack): New variable.
15065
15066 * sysdeps/mips/localplt.data: New file.
15067
15068 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
15069 Steve Ellcey <sellcey@caviumnetworks.com>
15070
15071 * bits/wordsize.h: Add documentation.
15072 * sysdeps/aarch64/bits/wordsize.h : New file
15073 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
15074 definitions.
15075 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
15076 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
15077 with #if instead of #ifdef.
15078 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
15079 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
15080 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
15081 Add or change defines.
15082 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
15083 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15084 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
15085 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
15086 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15087 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15088 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
15089 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15090 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
15091 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15092 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
15093 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
15094 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
15095 * sysdeps/x86/bits/wordsize.h: Likewise.
15096
15097 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
15098 Kevin Petit <kevin.petit@arm.com>
15099
15100 * sysdeps/aarch64/memchr.S (__memchr): New file.
15101
15102 2016-11-04 Joseph Myers <joseph@codesourcery.com>
15103
15104 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
15105
15106 2016-11-03 Joseph Myers <joseph@codesourcery.com>
15107
15108 [BZ #19398]
15109 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
15110 $(linknamespace-symlists-tests).
15111
15112 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
15113
15114 * time/tst-strptime2.c: Ignore -Wformat-length warning.
15115
15116 2016-11-02 Florian Weimer <fweimer@redhat.com>
15117 Carlos O'Donell <carlos@redhat.com>
15118
15119 [Bug #20729]
15120 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
15121 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
15122 for -Os related change.
15123
15124 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
15125
15126 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
15127
15128 2016-11-01 Joseph Myers <joseph@codesourcery.com>
15129
15130 [BZ #19673]
15131 * manual/math.texi (Exponents and Logarithms): Correct description
15132 of clog10.
15133
15134 2016-10-31 Carlos O'Donell <carlos@redhat.com>
15135
15136 [Bz #20729]
15137 * locale/weight.h: Include libc-internal.h.
15138 * locale/weightwc.h: Likewise.
15139 * nptl/nptl_dbP.h: Likewise.
15140
15141 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
15142
15143 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
15144 when it is MACH_PORT_NULL.
15145
15146 2016-10-31 Andreas Schwab <schwab@suse.de>
15147
15148 [BZ #20707]
15149 * posix/glob.c (glob): Initialize pglob before checking for
15150 GLOB_BRACE. Don't call glob recursively if pattern contains no
15151 valid brace expression despite GLOB_BRACE.
15152 * posix/globtest.sh: Test it.
15153
15154 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15155
15156 [BZ #20729]
15157 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15158 Define.
15159 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15160 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15161 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15162 for seq2.back_us and seq1.back_us only for -Os compiles.
15163 * locale/weightwc.h (findix): Likewise.
15164 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15165 DB_GET_FIELD_ADDRESS only for -Os compiles.
15166 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15167 for slen only for -Os compiles.
15168 * string/strcoll_l.c (get_next_seq): Ignore
15169 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15170 for -Os compiles.
15171
15172 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15173 * include/crypt.h: New file.
15174
15175 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15176
15177 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15178 from test-skeleton.c.
15179 (statclass): Replace calls to write with calls to write_message.
15180
15181 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15182
15183 * math/math.h
15184 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15185 New macro.
15186 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15187 Likewise.
15188 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15189 Likewise.
15190 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15191 SNANL.
15192 * math/test-double.h (snan_value_MACRO): New macro.
15193 * math/test-float.h (snan_value_MACRO): Likewise.
15194 * math/test-ldouble.h (snan_value_MACRO): Likewise.
15195 * math/libm-test.inc (issignaling_test_data): Add tests of
15196 snan_value_MACRO.
15197
15198 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15199
15200 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15201 behavior when eliding a lock not held by the current thread.
15202 * sysdeps/powerpc/nptl/elide.h: Likewise.
15203
15204 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15205
15206 [BZ #20728]
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15208 branch to _exit() by a function call.
15209
15210 2016-10-28 Florian Weimer <fweimer@redhat.com>
15211
15212 * malloc/malloc.c: Update chunk layout comments.
15213 (chunk_main_arena): Update comment.
15214
15215 2016-10-28 Florian Weimer <fweimer@redhat.com>
15216
15217 * crypt/sha256.c, crypt/sha256-block.c,
15218 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15219 sha256_process_block to __sha256_process_block.
15220 * crypt/sha512.c, crypt/sha512-block.c,
15221 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15222 sha512_process_block to __sha512_process_block.
15223
15224 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15225
15226 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15227
15228 * math/test-nan-overflow.c: Include stdlib.h for malloc.
15229
15230 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
15231
15232 [BZ #20019]
15233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15234 definition in unrelocated shared library.
15235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15236
15237 2016-10-28 Florian Weimer <fweimer@redhat.com>
15238
15239 [BZ #20729]
15240 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15241 * sysdeps/unix/sysv/linux/i386/Makefile
15242 (uses-6-syscall-arguments): Define.
15243 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15244 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15245 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15246 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15247 Likewise.
15248 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15249 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15250 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15251 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15252 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15253 (CFLAGS-fallocate64.os): Likewise.
15254 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15255 (CFLAGS-pthread_rwlock_timedrdlock.os)
15256 (CFLAGS-pthread_rwlock_timedwrlock.o)
15257 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15258 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15259 (CFLAGS-sem_timedwait.os): Likewise.
15260
15261 2016-10-28 Florian Weimer <fweimer@redhat.com>
15262
15263 * elf/tst-linkall-static.c: New file.
15264 * elf/Makefile (tests-static): Add tst-linkall-static.
15265 (tst-linkall-static): Link against static libraries.
15266
15267 2016-10-27 Florian Weimer <fweimer@redhat.com>
15268
15269 * malloc/malloc.c (sysmalloc): Initialize previous size field of
15270 mmaped chunks.
15271
15272 2016-10-28 Florian Weimer <fweimer@redhat.com>
15273
15274 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15275 members to mchunk_prev_size, mchunk_size.
15276 (chunk_main_arena): Reverse sense and rename from
15277 chunk_non_main_arena.
15278 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15279 mchunk_size instead of size.
15280 (set_non_main_arena): Define.
15281 (chunksize): Use chunksize_nomask instead of direct member access.
15282 (chunksize_nomask): Define.
15283 (next_chunk): Use chunksize instead of direct member access.
15284 (prev_size, set_prev_size): Define.
15285 (prev_chunk): Use prev_size instead of direct member access.
15286 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15287 (inuse_bit_at_offset, set_inuse_bit_at_offset)
15288 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15289 (mchunk_prev_size, mchunk_size): Poison tokens.
15290 (unlink): Use chunksize_nomask, prev_size accessors.
15291 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15292 (do_check_free_chunk): Use prev_size accessor.
15293 (sysmalloc): Use set_prev_size, set_head accessors.
15294 (munmap_chunk, mremap_chunk): Use prev_size accessor.
15295 (__libc_free): Use chunksize_nomask accessor.
15296 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15297 chunk_main_arena accessors.
15298 (_int_free): Use chunksize_nomask, prev_size accessors.
15299 (malloc_consolidate): Use chunksize, prev_size accessors.
15300 (_int_realloc): Use chunksize_nomask accessor.
15301 (_int_memalign): Use set_prev_size accessor.
15302 (__malloc_info): Use chunksize_nomask accessor.
15303 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15304 accessors.
15305 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15306 (heap_trim): Use chunksize_nomask, prev_size accessors.
15307
15308 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15309
15310 [BZ #19380]
15311 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15312 for inexact results.
15313 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15314 of inexact result where mpfr_subnormalize is the only inexact
15315 step.
15316 * stdlib/tst-strtod-round-data.h: Regenerated.
15317 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15318 Define to 0.
15319 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15320
15321 2016-10-27 David S. Miller <davem@davemloft.net>
15322
15323 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15324
15325 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
15326
15327 * malloc/malloc.c (do_set_mallopt_check): New function.
15328 (do_set_mmap_threshold): Likewise.
15329 (do_set_mmaps_max): Likewise.
15330 (do_set_top_pad): Likewise.
15331 (do_set_perturb_byte): Likewise.
15332 (do_set_trim_threshold): Likewise.
15333 (do_set_arena_max): Likewise.
15334 (do_set_arena_test): Likewise.
15335 (__libc_mallopt): Use them.
15336
15337 2016-10-26 Joseph Myers <joseph@codesourcery.com>
15338
15339 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15340 (canonicalize): New declaration.
15341 * math/Versions (canonicalize): New libm symbol at version
15342 GLIBC_2.25.
15343 (canonicalizef): Likewise.
15344 (canonicalizel): Likewise.
15345 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15346 * math/s_canonicalize_template.c: New file.
15347 * math/libm-test.inc: Update comment on functions tested and
15348 testing of NaN payloads.
15349 (TEST_NAN_PAYLOAD): New macro.
15350 (NO_TEST_INLINE): Update value.
15351 (XFAIL_TEST): Likewise.
15352 (ERRNO_UNCHANGED): Likewise.
15353 (ERRNO_EDOM): Likewise.
15354 (ERRNO_ERANGE): Likewise.
15355 (IGNORE_RESULT): Likewise.
15356 (NON_FINITE): Likewise.
15357 (TEST_SNAN): Likewise.
15358 (NO_TEST_MATHVEC): Likewise.
15359 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15360 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15361 (struct test_Ffp_b1_data): New type.
15362 (RUN_TEST_Ffp_b1): New macro.
15363 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15364 (canonicalize_test_data): New array.
15365 (canonicalize_test): New function.
15366 (main): Call canonicalize_test.
15367 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15368 canonicalizef and canonicalizel.
15369 * manual/libm-err-tab.pl: Update comment on interfaces without
15370 ulps tabulated.
15371 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15372 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15373 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15374 canonicalize.
15375 (CFLAGS-nldbl-canonicalize.c): New variable.
15376 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15377 to ...
15378 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15379 ... here.
15380 (do_test): Also test canonicalizel.
15381 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15382 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15383 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15384 file.
15385 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15386 Use libm_hidden_def.
15387 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15388 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15389 (do_test): Also test canonicalizel.
15390 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15391 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15392 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15393 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15394 libm_hidden_def.
15395 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15396 macro.
15397 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15398 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15399 * sysdeps/nacl/libm.abilist: Update.
15400 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15413 Likewise.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15415 Likewise.
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15417 Likewise.
15418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15419 Likewise.
15420 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15421 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15422 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15424 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15426 Likewise.
15427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15428 Likewise.
15429 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15432
15433 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15434 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15435 getpayload.
15436 (CFLAGS-nldbl-getpayload.c): New variable.
15437
15438 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15439
15440 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15441 integer from the format string.
15442
15443 2016-10-26 Florian Weimer <fweimer@redhat.com>
15444
15445 [BZ #19473]
15446 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15447 declarations.
15448 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15449 weak aliases.
15450 * malloc/hooks.c (__malloc_get_state): Remove definition.
15451 (malloc_get_state): New stub implementation as
15452 compatibility symbol.
15453 (malloc_set_state): Rename from __malloc_set_state. Turn into
15454 compat symbol.
15455 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15456 malloc_set_state.
15457 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15458
15459 2016-10-26 Florian Weimer <fweimer@redhat.com>
15460
15461 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15462 (names): Turn into concatenation of strings.
15463 (gconv_init): Adapt iteration over names.
15464
15465 2016-10-26 Florian Weimer <fweimer@redhat.com>
15466
15467 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15468 make const.
15469 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15470 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15471 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15472 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15473 character in sbconv.
15474 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15475 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15476 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15477
15478 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15479
15480 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15481
15482 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15483 (M_TRIM_THRESHOLD): Likewise.
15484
15485 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15486 (M_ARENA_MAX): Likewise.
15487 * malloc/malloc.c: Remove obsolete comment.
15488
15489 * manual/memory.texi: Add environment variable alternatives to
15490 setting mallopt parameters.
15491
15492 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15493
15494 * include/atomic.h
15495 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15496 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15497
15498 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15499
15500 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15501 * stdlib/tst-strfrom.h: New file.
15502 * stdlib/tst-strfrom.c: New file.
15503 * stdlib/tst-strfrom-locale.c: New file.
15504
15505 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15506 * stdlib/bug-strtod2.c: Likewise.
15507 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15508 * stdlib/tst-strtod6.c: Likewise.
15509 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15510
15511 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15512
15513 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15514 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15515 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15516 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15517 * stdlib/stdlib.h (strfromd): New declaration.
15518 (strfromf): Likewise.
15519 (strfroml): Likewise.
15520 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15521 strfrom.
15522 * stdlib/strfromd.c: New file.
15523 * stdlib/strfromf.c: Likewise.
15524 * stdlib/strfroml.c: Likewise.
15525 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15526 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15527 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15528 * sysdeps/arm/nacl/libc.abilist: Update.
15529 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15548 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15549 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15557
15558 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15559
15560 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15561 instead of cmpli.
15562 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15563 instead of cmpli.
15564
15565 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15566
15567 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15568 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15569 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15570 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15571 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15572 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15573
15574 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15575
15576 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15577 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15578 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15579 SYSCALL_LL64_PRW.
15580 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15581 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15582 __ASSUME_PRW_DUMMY_ARG.
15583 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15584 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15585 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15586 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15587 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15588 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15589
15590 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15591
15592 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15593
15594 2016-10-22 Florian Weimer <fweimer@redhat.com>
15595
15596 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15597 "C++", to override a potential extern "C" directive around the
15598 header file inclusion.
15599
15600 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15601
15602 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15603
15604 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15605
15606 * sysdeps/powerpc/fpu/fenv_private.h:
15607 (_FPU_MASK_ALL): Rename to...
15608 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15609 XE FPSCR bits.
15610
15611 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15612
15613 (_FPU_MASK_ROUNDING): Rename to...
15614 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15615 NI bits.
15616
15617 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15618 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15619 bits and rounding bits.
15620
15621 (__libc_feholdbits_ppc): New inline function to mask, set,
15622 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15623 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15624 (libc_feholdexcept_setround_ppc): Likewise.
15625
15626 (__libc_femergeenv_ppc): New function to dynamically mask both
15627 old and new FP environments and merge.
15628 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15629 (libc_feresetround_ppc): Likewise.
15630 (libc_feupdateenv_test_ppc): Likewise.
15631 (libc_feupdateenv_ppc): Likewise.
15632
15633 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15634 of ISA RN bits, and update macro names.
15635 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15636 effectively the same as the previously mentioned function.
15637
15638 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15639 usage with fe_resetround_ppc.
15640
15641 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15642 to be used.
15643 (libc_feholdexcept_setround_ctxf): Likewise.
15644 (libc_feholdexcept_setround_ctxl): Likewise.
15645
15646 2016-10-21 Florian Weimer <fweimer@redhat.com>
15647
15648 [BZ #20715]
15649 * math/math.h [__cplusplus] (iszero): Define as function template.
15650 * math/Makefile [CXX] (tests): Add test-math-iszero.
15651 (CFLAGS-test-math-iszero.cc): Set.
15652 * math/test-math-iszero.cc: New file.
15653
15654 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15655
15656 [BZ #20660]
15657 * sysdeps/arm/e_sqrt.c: New file.
15658 * sysdeps/arm/e_sqrtf.c: Likewise.
15659
15660 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15661
15662 [BZ #20718]
15663 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15664 not use floating-point comparisons to test sign.
15665 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15666 Likewise.
15667
15668 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15669 (getpayload): New declaration.
15670 * math/Versions (getpayload): New libm symbol at version
15671 GLIBC_2.25.
15672 (getpayloadf): Likewise.
15673 (getpayloadl): Likewise.
15674 * math/Makefile (libm-calls): Add s_getpayloadF.
15675 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15676 (struct test_f_f_data): Add comment.
15677 (RUN_TEST_fp_f): New macro.
15678 (RUN_TEST_LOOP_fp_f): Likewise.
15679 (getpayload_test_data): New array.
15680 (getpayload_test): New function.
15681 (main): Call getpayload_test.
15682 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15683 descriptor.
15684 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15685 getpayloadf and getpayloadl.
15686 * manual/libm-err-tab.pl: Update comment on interfaces without
15687 ulps tabulated.
15688 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15689 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15690 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15694 * sysdeps/nacl/libm.abilist: Update.
15695 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15698 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15699 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15700 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15701 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15708 Likewise.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15710 Likewise.
15711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15712 Likewise.
15713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15714 Likewise.
15715 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15716 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15721 Likewise.
15722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15723 Likewise.
15724 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15727
15728 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15729
15730 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15731 tst-fallocate{64}.
15732 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15733 on syscall return.
15734
15735 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15736
15737 [BZ #20689]
15738 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15739 usable.
15740
15741 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15742
15743 * sysdeps/generic/nan-high-order-bit.h: New file.
15744 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15745 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15746 * sysdeps/hppa/math_private.h: Remove file.
15747 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15748 not define here.
15749 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15750 <nan-high-order-bit.h>.
15751 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15752 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15753 <nan-high-order-bit.h>.
15754 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15755 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15756 <nan-high-order-bit.h>.
15757 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15758 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15759 <nan-high-order-bit.h>.
15760 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15761 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15762 <nan-high-order-bit.h>.
15763 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15764 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15765 <nan-high-order-bit.h>.
15766 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15767 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15768 <nan-high-order-bit.h>.
15769 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15770 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15771 <nan-high-order-bit.h>.
15772 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15773 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15774 <nan-high-order-bit.h>.
15775 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15776 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15777 <nan-high-order-bit.h>.
15778 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15779 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15780 <nan-high-order-bit.h>.
15781 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15782 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15783 <nan-high-order-bit.h>.
15784 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15785 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15786 <nan-high-order-bit.h>.
15787 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15788 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15789 <nan-high-order-bit.h>.
15790 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15791 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15792 <nan-high-order-bit.h>.
15793 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15794 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15795 <nan-high-order-bit.h>.
15796 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15797 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15798 <nan-high-order-bit.h>.
15799 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15800 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15801 <nan-high-order-bit.h>.
15802 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15803
15804 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15805
15806 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15807
15808 2016-09-22 John David Anglin <dave.anglin@bell.net>
15809
15810 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15811 abort-instr.h.
15812 (EFAULT): Remove conditional define.
15813 (ENOSYS): Likewise.
15814 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15815 instead of conditional branch instructions.
15816
15817 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15818
15819 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15820 (totalordermag): New declaration.
15821 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15822 New macro.
15823 * math/Versions (totalordermag): New libm symbol at version
15824 GLIBC_2.25.
15825 (totalordermagf): Likewise.
15826 (totalordermagl): Likewise.
15827 * math/Makefile (libm-calls): Add s_totalordermagF.
15828 * math/libm-test.inc (totalordermag_test_data): New array.
15829 (totalordermag_test): New function.
15830 (main): Call totalordermag_test.
15831 * math/test-tgmath.c (NCALLS): Increase to 125.
15832 (F(compile_test)): Call totalordermag.
15833 (F(totalordermag)): New function.
15834 * manual/arith.texi (FP Comparison Functions): Document
15835 totalordermag, totalordermagf and totalordermagl.
15836 * manual/libm-err-tab.pl: Update comment on interfaces without
15837 ulps tabulated.
15838 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15839 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15840 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15844 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15845 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15846 totalordermag.
15847 (CFLAGS-nldbl-totalordermag.c): New variable.
15848 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15849 (do_test): Also test totalordermagl.
15850 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15851 Likewise.
15852 * sysdeps/nacl/libm.abilist: Update.
15853 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15866 Likewise.
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15868 Likewise.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15870 Likewise.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15872 Likewise.
15873 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15879 Likewise.
15880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15881 Likewise.
15882 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15885
15886 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15887
15888 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15889 boolean.
15890
15891 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15892
15893 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15894 raising FE_INVALID with feraisexcept in case where part of
15895 argument is infinite, subtract that part of argument from itself.
15896 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15897 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15898 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15899
15900 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15901
15902 * math/libm-test.inc (totalorder_test_data): Add more tests.
15903
15904 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15905
15906 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15907 Undefine weak_alias and add a comment why mips64 require
15908 versioning.
15909
15910 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15911
15912 [BZ #20647]
15913 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15914 maximum CPUID level is less than 2.
15915
15916 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15917
15918 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15919 (totalorder): New declaration.
15920 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15921 New macro.
15922 * math/Versions (totalorder): New libm symbol at version
15923 GLIBC_2.25.
15924 (totalorderf): Likewise.
15925 (totalorderl): Likewise.
15926 * math/Makefile (libm-calls): Add s_totalorderF.
15927 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15928 string.
15929 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15930 (qnan_value_pl): Likewise.
15931 (snan_value_pl): Likewise.
15932 (qnan_value): Define using qnan_value_pl.
15933 (snan_value): Define using snan_value_pl.
15934 (struct test_ff_i_data): Add comment about which tests use this
15935 structure.
15936 (RUN_TEST_ff_b): New macro.
15937 (RUN_TEST_LOOP_ff_b): Likewise.
15938 (totalorder_test_data): New array.
15939 (totalorder_test): New function.
15940 (main): Call totalorder_test.
15941 * math/test-tgmath.c (NCALLS): Increase to 122.
15942 (F(compile_test)): Call totalorder.
15943 (F(totalorder)): New function.
15944 * manual/arith.texi (FP Comparison Functions): Document
15945 totalorder, totalorderf and totalorderl.
15946 * manual/libm-err-tab.pl: Update comment on interfaces without
15947 ulps tabulated.
15948 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15949 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15950 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15955 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15956 totalorder.
15957 (CFLAGS-nldbl-totalorder.c): New variable.
15958 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15959 file.
15960 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15961 Add test-totalorderl-ldbl-128ibm.
15962 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15963 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15964 test-totalorderl-ldbl-96.
15965 * sysdeps/nacl/libm.abilist: Update.
15966 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15979 Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15981 Likewise.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15983 Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15985 Likewise.
15986 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15992 Likewise.
15993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15994 Likewise.
15995 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15998
15999 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16000
16001 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
16002 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
16003 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
16004 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
16005 remove ENOSYS implementation.
16006 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
16007 Consolidate all Linux implementations.
16008
16009 2016-10-11 Florian Weimer <fweimer@redhat.com>
16010
16011 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
16012 * resolv/herror.c (herror): Cast away const-ness.
16013 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
16014 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
16015
16016 2016-10-11 Joseph Myers <joseph@codesourcery.com>
16017
16018 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
16019 instead of M_NAN + M_NAN.
16020 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
16021
16022 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16023
16024 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
16025 unused variable 'p'.
16026
16027 2016-10-09 Alan Modra <amodra@gmail.com>
16028 Andreas Schwab <schwab@linux-m68k.org>
16029
16030 [BZ #20554]
16031 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
16032 [PIC && !SHARED]: Set up PIC register for PLT call.
16033
16034 2016-10-07 Joseph Myers <joseph@codesourcery.com>
16035
16036 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
16037 conditional on value of [__FLT_EVAL_METHOD__].
16038 * math/test-iseqsig-excess-precision.c: New file.
16039 * math/Makefile (tests): Add test-iseqsig-excess-precision.
16040
16041 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16042
16043 * math/s_iseqsig_template.c: Include math-private.h.
16044
16045 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
16046 * posix/tst-posix_fadvise.c: New file.
16047 * posix/tst-posix_fadvise64.c: Likewise.
16048 * posix/tst-posix_fadvise-common.c: Likewise.
16049 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16050 (__ASSUME_FADVISE64_64_6ARG): Define.
16051 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16052 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
16053 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16054 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
16055 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
16056 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
16057 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
16058 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
16059 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
16060 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
16061 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
16062 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
16065 Likewise.
16066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
16067 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
16068 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
16069 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16070 Alias to __posix_fadvise64_l32.
16071 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
16072 Add compat definition to posix_fadvise64.
16073 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16074 Add versioned definition to posix_fadvise64.
16075 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
16076 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
16077 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
16078 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
16079 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
16080
16081 * io/Makefile (tests): Add tst-posix_fallocate and
16082 tst-posix_fallocate64.
16083 * io/tst-posix_fallocate-common.c: New file.
16084 * io/tst-posix_fallocate.c: Likewise.
16085 * io/tst-posix_fallocate64.c: Likewise.
16086 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
16087 file.
16088 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
16089 Likewise.
16090 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
16091 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
16092 Likewise.
16093 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
16094 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
16095 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
16096 SYSCALL_LL to pass both offset and len arguments.
16097 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
16098 Likewise.
16099 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
16100 __libc_pwrite64 alias used by posix_fallocate64.
16101
16102 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16103 tst-fallocate64.
16104 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16105 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16106 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16107 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16108 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16109 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16110 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16111 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16112 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16113 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16114 macro on offset argument.
16115 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16116 SYSCALL_LL64 on offset argument.
16117
16118 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16119 tst-fallocate64.
16120 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16121 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16122 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16123 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16124 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16125 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16126 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16127 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16128 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16129 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16130 macro on offset argument.
16131 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16132 SYSCALL_LL64 on offset argument.
16133 * test-skeleton.c (FAIL_RET): Add macro.
16134 (FAIL_EXIT): Likewise.
16135 (FAIL_EXIT1): Likewise.
16136 (_FAIL): Likewise.
16137
16138 2016-10-07 Florian Weimer <fweimer@redhat.com>
16139
16140 [BZ #20629]
16141 resolv: Remove RES_USEBSTRING and its implementation.
16142 * resolv/resolv.h (RES_USEBSTRING): Remove.
16143 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
16144 (digitvalue, encode_bitstring, decode_bitstring): Remove.
16145 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
16146 (labellen): Remove extended label types support.
16147 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
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: Remove RES_NOIP6DOTINT and its implementation.
16154 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16155 (RES_NOIP6DOTINT): Remove.
16156 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16157 handling.
16158 * resolv/res_debug.c (p_option): Likewise.
16159 * resolv/res_init.c (res_setoptions): Likewise.
16160 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16161
16162 2016-10-07 Florian Weimer <fweimer@redhat.com>
16163
16164 resolv: Deprecate unimplemented flags.
16165 * misc/sys/cdefs.h (__glibc_macro_warning1)
16166 (__glibc_macro_warning): Define.
16167 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16168 (RES_KEEPTSIG): Mark as deprecated.
16169 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16170 RES_NOCHECKNAME, RES_KEEPTSIG.
16171 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16172
16173 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16174
16175 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16176 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16177 Use strong_alias to create symbols for glibc verison 2.19.
16178
16179 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16180
16181 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16182
16183 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16184
16185 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16186
16187 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16188
16189 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16190
16191 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16192
16193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16194 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16195 in header for using it as type for ifunc function because __GI_* symbols
16196 for ppc32 do not target the ifunc symbols.
16197 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16198
16199 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16200
16201 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16202 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16203 libc_ifunc_hidden_def.
16204 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16205 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16206 Redirect ifunced function in header for using it as type of ifunc'ed
16207 function. Redefine libc_hidden_def to use fallback non ifunc'ed
16208 function for __GI_* symbol.
16209 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16210 * include/libc-symbols.h
16211 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16212
16213 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16214
16215 [BZ #20478]
16216 * sysdeps/s390/multiarch/ifunc-resolve.h
16217 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16218 to create ifunc symbols.
16219 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16220 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16221 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16222 for using it as type for ifunc function.
16223 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16224 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16225 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16226 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16227 * sysdeps/s390/multiarch/strcat.c: Likewise.
16228 * sysdeps/s390/multiarch/strchr.c: Likewise.
16229 * sysdeps/s390/multiarch/strcmp.c: Likewise.
16230 * sysdeps/s390/multiarch/strcpy.c: Likewise.
16231 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16232 * sysdeps/s390/multiarch/strlen.c: Likewise.
16233 * sysdeps/s390/multiarch/strncmp.c: Likewise.
16234 * sysdeps/s390/multiarch/strncpy.c: Likewise.
16235 * sysdeps/s390/multiarch/strnlen.c: Likewise.
16236 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16237 * sysdeps/s390/multiarch/strrchr.c: Likewise.
16238 * sysdeps/s390/multiarch/strspn.c: Likewise.
16239 * sysdeps/s390/multiarch/wcschr.c: Likewise.
16240 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16241 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16242 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16243 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16244 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16245 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16246 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16247 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16248 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16249 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16250 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16251
16252 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16253
16254 * include/libc-symbols.h (__ifunc_resolver):
16255 New macro is used by __ifunc* macros.
16256 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16257 depending on HAVE_GCC_IFUNC.
16258 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16259 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16261 Redirect ifunced function in header for using as type for ifunc function.
16262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16268 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16270 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16271 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16272 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16274 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16281 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16282 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16283 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16284 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16285 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16286 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16287 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16288 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16289 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16290 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16291 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16292 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16293 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16294 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16296 Add libc_hidden_def() and use libc_ifunc_hidden() macro
16297 instead of libc_ifunc() macro.
16298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16299 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16300
16301 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16302
16303 * config.h.in (HAVE_GCC_IFUNC): New undef.
16304 * configure.ac: Add check if gcc supports attribute ifunc feature.
16305 * configure: Regenerated.
16306 * manual/install.texi: Add recommendation for gcc with
16307 indirect-function support.
16308 * INSTALL: Regenerated.
16309
16310 2016-10-06 Joseph Myers <joseph@codesourcery.com>
16311
16312 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16313 macro.
16314 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16315 (__iseqsig): New declaration.
16316 * math/s_iseqsig_template.c: New file.
16317 * math/Versions (__iseqsigf): New libm symbol at version
16318 GLIBC_2.25.
16319 (__iseqsig): Likewise.
16320 (__iseqsigl): Likewise.
16321 * math/libm-test.inc (iseqsig_test_data): New array.
16322 (iseqsig_test): New function.
16323 (main): Call iseqsig_test.
16324 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16325 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16326 * manual/libm-err-tab.pl: Update comment on interfaces without
16327 ulps tabulated.
16328 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16329 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16330 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16331 * sysdeps/nacl/libm.abilist: Update.
16332 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16338 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16340 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16341 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16345 Likewise.
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16347 Likewise.
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16349 Likewise.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16351 Likewise.
16352 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16353 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16354 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16355 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16356 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16358 Likewise.
16359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16360 Likewise.
16361 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16362 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16363 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16364
16365 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16366
16367 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16368 do_sincos_2, sloww, sloww1): Update comments.
16369
16370 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16371 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16372
16373 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16374 K boolean and rename it.
16375 (__sin): Adjust.
16376 (__cos): Adjust.
16377
16378 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16379 Siddhesh Poyarekar <siddhesh@sourceware.org>
16380
16381 * manual/nss.texi: Fix typos in the manual.
16382
16383 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16384
16385 * manual/contrib.texi: Fix typos in the manual.
16386
16387 * manual/maint.texi: Fix typos in the manual.
16388
16389 * manual/install.texi: Fix typos in the manual.
16390 * INSTALL: Regenerated.
16391
16392 * manual/lang.texi: Fix typos in the manual.
16393
16394 * manual/probes.texi: Fix typos in the manual.
16395
16396 * manual/threads.texi: Fix typos in the manual.
16397
16398 * manual/debug.texi: Fix typos in the manual.
16399
16400 * manual/crypt.texi: Fix typos in the manual.
16401
16402 * manual/conf.texi: Fix typos in the manual.
16403
16404 * manual/sysinfo.texi: Fix typos in the manual.
16405
16406 * manual/users.texi: Fix typos in the manual.
16407
16408 * manual/job.texi: Fix typos in the manual.
16409
16410 * manual/process.texi: Fix typos in the manual.
16411
16412 * manual/argp.texi: Fix typos in the manual.
16413 * manual/getopt.texi: Likewise.
16414 * manual/startup.texi: Likewise.
16415
16416 * manual/signal.texi: Fix typos in the manual.
16417
16418 * manual/setjmp.texi: Fix typos in the manual.
16419
16420 * manual/resource.texi: Fix typos in the manual.
16421
16422 * manual/time.texi: Fix typos in the manual.
16423
16424 * manual/arith.texi: Fix typos in the manual.
16425
16426 * manual/math.texi: Fix typos in the manual.
16427
16428 * manual/syslog.texi: Fix typos in the manual.
16429
16430 * manual/terminal.texi: Fix typos in the manual.
16431
16432 * manual/socket.texi: Fix typos in the manual.
16433
16434 * manual/filesys.texi: Fix typos in the manual.
16435
16436 * manual/llio.texi: Fix typos in the manual.
16437
16438 * manual/stdio.text: Fix typos in the manual.
16439
16440 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16441
16442 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16443 instead of K1.
16444
16445 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16446 SHIFT_QUADRANT and make it bool.
16447 (do_sincos_2): Likewise.
16448 (sloww): Likewise.
16449 (sloww1): Likewise.
16450 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16451 (__cos): Likewise.
16452
16453 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16454
16455 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16456
16457 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16458
16459 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16460 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16461 0x7fffffffL].
16462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16463
16464 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16465
16466 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16467 inline by __inline__.
16468 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16469 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16470 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16471 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16472 sigset_t from signal.h.
16473 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16474 which is already required.
16475
16476 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16477
16478 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16479
16480 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16481
16482 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16483 (struct tcp_repair_window): New type.
16484
16485 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16486
16487 * libio/tst-memstream3.c: Include string.h.
16488
16489 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16490
16491 [BZ #18241]
16492 [BZ #20181]
16493 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16494 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16495 write position is at the end the buffer.
16496 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16497 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16498 (_IO_str_seekoff): Set correct offset from negative displacement and
16499 set EINVAL for invalid ones.
16500 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16501 buffer length.
16502 (_IO_wstr_switch_to_get_mode): New function.
16503 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16504 set EINVAL for invalid ones.
16505 * libio/tst-memstream3.c: New file.
16506 * libio/tst-wmemstream3.c: Likewise.
16507 * manual/examples/memstrm.c: Remove warning when priting size_t.
16508
16509 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16510
16511 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16512 macro to use __builtin_fma.
16513 * sysdeps/x86_64/fpu/dla.h: Remove file.
16514
16515 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16516 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16517 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16518
16519 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16520
16521 [BZ #20292]
16522 * elf/Makefile (routines): Add dl-addr-obj.
16523 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16524 tst-_dl_addr_inside_object.
16525 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16526 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16527 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16528 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16529 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16530 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16531 * elf/dl-open.c: Likewise.
16532 * elf/dl-addr-obj.c: New file.
16533 * elf/tst-_dl_addr_inside_object.c: New file.
16534
16535 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16536
16537 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16538 <bits/iscanonical.h>.
16539 * bits/iscanonical.h: New file.
16540 * math/s_iscanonicall.c: Likewise.
16541 * math/Versions (__iscanonicall): New libm symbol at version
16542 GLIBC_2.25.
16543 * math/libm-test.inc (iscanonical_test_data): New array.
16544 (iscanonical_test): New function.
16545 (main): Call iscanonical_test.
16546 * math/Makefile (headers): Add bits/iscanonical.h.
16547 (type-ldouble-routines): Add s_iscanonicall.
16548 * manual/arith.texi (Floating Point Classes): Document
16549 iscanonical.
16550 * manual/libm-err-tab.pl: Update comment on interfaces without
16551 ulps tabulated.
16552 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16553 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16554 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16555 Likewise.
16556 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16557 test-iscanonical-ldbl-128ibm.
16558 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16559 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16560 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16561 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16562 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16563 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16564 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16566 Likewise.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16568 Likewise.
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16570 Likewise.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16572 Likewise.
16573 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16574 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16575
16576 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16577
16578 * string/bits/string3.h: Remove C++ style comments.
16579
16580 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16581
16582 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16583 instead of ternary condition.
16584 (do_sincos_2): Likewise.
16585 (__sin): Likewise.
16586 (__cos): Likewise.
16587 (slow): Likewise.
16588 (sloww): Likewise.
16589 (sloww1): Likewise.
16590 (bsloww): Likewise.
16591 (bsloww1): Likewise.
16592
16593 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16594 instead of ternary condition.
16595 (do_sin_slow): Likewise.
16596 (do_sincos_1): Likewise.
16597 (do_sincos_2): Likewise.
16598 (__cos): Likewise.
16599 (sloww): Likewise.
16600 (sloww1): Likewise.
16601 (sloww2): Likewise.
16602 (bsloww): Likewise.
16603 (bsloww1): Likewise.
16604 (bsloww2): Likewise.
16605
16606 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16607 check from here...
16608 (slow2): ... and here...
16609 (__sin): ... to here.
16610
16611 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16612
16613 * math/math.h
16614 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16615 Cast argument to its own type.
16616 * math/test-iszero-excess-precision.c: New file.
16617 * math/Makefile (tests): Add test-iszero-excess-precision.
16618 (CFLAGS-test-iszero-excess-precision.c): New variable.
16619
16620 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16621
16622 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16623 field, add err field.
16624 (__spawni_child): Report error through err member instead of pipe.
16625 (__spawnix): Likewise.
16626
16627 2016-09-28 Zack Weinberg <zackw@panix.com>
16628
16629 * scripts/check-installed-headers.sh: Generalize treatment of
16630 sys/elf.h to all target architectures.
16631
16632 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16633 deleted typedef ucontext_t.
16634
16635 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16636
16637 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16638 (__INTERNAL_SYSCALL1): Likewise.
16639 (__INTERNAL_SYSCALL2): Likewise.
16640 (__INTERNAL_SYSCALL3): Likewise.
16641 (__INTERNAL_SYSCALL4): Likewise.
16642 (__INTERNAL_SYSCALL5): Likewise.
16643 (__INTERNAL_SYSCALL6): Likewise.
16644 (__INTERNAL_SYSCALL7): Likewise.
16645 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16646 (__INTERNAL_SYSCALL_NARGS): Likewise.
16647 (__INTERNAL_SYSCALL_DISP): Likewise.
16648 (INTERNAL_SYSCALL_CALL): Likewise.
16649 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16650 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16651 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16652 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16653 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16654 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16655 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16656 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16657 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16658 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16659 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16660 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16661 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16662
16663 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16664
16665 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16666 macro.
16667 * math/libm-test.inc (iszero_test_data): New array.
16668 (iszero_test): New function.
16669 (main): Call iszero_test.
16670 * manual/arith.texi (Floating Point Classes): Document iszero.
16671 * manual/libm-err-tab.pl: Update comment on interfaces without
16672 ulps tabulated.
16673
16674 2016-09-23 Zack Weinberg <zackw@panix.com>
16675
16676 * scripts/check-installed-headers.sh: New script.
16677 * Rules: In each directory that defines header files to be installed,
16678 run check-installed-headers.sh on them as a special test.
16679 * Makefile: Likewise for the headers installed at top level.
16680
16681 * include/aliases.h, include/alloca.h, include/argz.h
16682 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16683 * include/elf.h, include/envz.h, include/err.h
16684 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16685 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16686 * include/link.h, include/malloc.h, include/mcheck.h
16687 * include/mntent.h, include/netinet/ether.h
16688 * include/nss.h, include/obstack.h, include/printf.h
16689 * include/pty.h, include/resolv.h, include/rpc/auth.h
16690 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16691 * include/rpc/clnt.h, include/rpc/des_crypt.h
16692 * include/rpc/key_prot.h, include/rpc/netdb.h
16693 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16694 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16695 * include/rpc/rpc_msg.h, include/rpc/svc.h
16696 * include/rpc/svc_auth.h, include/rpc/xdr.h
16697 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16698 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16699 * include/rpcsvc/ypupd.h, include/shadow.h
16700 * include/stdio_ext.h, include/sys/epoll.h
16701 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16702 * include/sys/prctl.h, include/sys/profil.h
16703 * include/sys/statfs.h, include/sys/sysctl.h
16704 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16705 * sysdeps/arm/nacl/include/bits/setjmp.h
16706 * sysdeps/mips/include/sys/asm.h
16707 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16708 * sysdeps/unix/sysv/linux/include/sys/timex.h
16709 * sysdeps/x86/fpu/include/bits/fenv.h:
16710 Add #ifndef _ISOMAC guard around internal declarations.
16711 Add multiple-inclusion guard if not already present.
16712
16713 2016-09-23 Zack Weinberg <zackw@panix.com>
16714
16715 * sysdeps/generic/sys/ucontext.h
16716 * sysdeps/arm/sys/ucontext.h
16717 * sysdeps/i386/sys/ucontext.h
16718 * sysdeps/m68k/sys/ucontext.h
16719 * sysdeps/mips/sys/ucontext.h
16720 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16721 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16722 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16723 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16724 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16725 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16726 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16727 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16728 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16729 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16730 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16731 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16732 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16733 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16734 Include both bits/sigcontext.h and bits/sigstack.h.
16735 Fix grammar error in comment, if present.
16736
16737 * bits/sigstack.h
16738 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16739 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16740 * sysdeps/unix/sysv/linux/bits/sigstack.h
16741 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16742 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16743 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16744 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16745 * bits/sigcontext.h
16746 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16747 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16748 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16749 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16750 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16751 as well as signal.h, if this was not already allowed. Request
16752 definition of size_t if necessary. Minimize semantically-null
16753 differences across files.
16754
16755 2016-09-23 Zack Weinberg <zackw@panix.com>
16756
16757 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16758 Remove all logic conditional on __need macros. Move all the
16759 conditionally defined types to their own headers...
16760 * time/bits/types/clock_t.h: Define clock_t here.
16761 * time/bits/types/clockid_t.h: Define clockid_t here.
16762 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16763 * time/bits/types/struct_timespec.h: Define struct timespec here.
16764 * time/bits/types/struct_timeval.h: Define struct timeval here.
16765 * time/bits/types/struct_tm.h: Define struct tm here.
16766 * time/bits/types/time_t.h: Define time_t here.
16767 * time/bits/types/timer_t.h: Define timer_t here.
16768 * time/Makefile: Install the new headers.
16769
16770 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16771 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16772 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16773 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16774 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16775 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16776 * sysdeps/unix/sysv/linux/bits/resource.h
16777 * sysdeps/unix/sysv/linux/bits/timex.h
16778 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16779 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16780 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16781 * sysdeps/unix/sysv/linux/sys/acct.h
16782 * sysdeps/unix/sysv/linux/sys/timerfd.h
16783 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16784 * time/sys/time.h, time/sys/timeb.h
16785 Use the new bits/types headers.
16786
16787 * include/time.h: Remove __need logic.
16788 * include/bits/time.h
16789 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16790 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16791 * include/bits/types/struct_itimerspec.h
16792 * include/bits/types/struct_timespec.h
16793 * include/bits/types/struct_timeval.h
16794 * include/bits/types/struct_tm.h:
16795 New wrapper headers.
16796
16797 2016-09-23 Zack Weinberg <zackw@panix.com>
16798
16799 * sysdeps/mach/hurd/net/if_ppp.h
16800 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16801 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16802 if __USE_MISC is defined, to ensure struct ifreq is declared.
16803
16804 * inet/netinet/ether.h: Condition all function prototypes
16805 on __USE_MISC, to ensure struct ether_addr is declared.
16806
16807 * socket/bits/types/struct_osockaddr.h: New header.
16808 * include/bits/types/struct_osockaddr.h: New wrapper.
16809 * socket/Makefile: Install the new header.
16810 * socket/sys/socket.h, inet/protocols/talkd.h:
16811 Refer to bits/types/struct_osockaddr.h for the definition of
16812 struct osockaddr.
16813
16814 2016-09-23 Zack Weinberg <zackw@panix.com>
16815
16816 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16817 * inet/protocols/routed.h, inet/protocols/talkd.h
16818 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16819 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16820 * sysdeps/generic/netinet/if_ether.h
16821 * sysdeps/generic/netinet/in_systm.h
16822 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16823 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16824 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16825 * sysdeps/mach/hurd/net/if_arp.h
16826 * sysdeps/mach/hurd/net/if_ppp.h
16827 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16828 * sysdeps/unix/sysv/linux/bits/in.h
16829 * sysdeps/unix/sysv/linux/net/ethernet.h
16830 * sysdeps/unix/sysv/linux/net/if_arp.h
16831 * sysdeps/unix/sysv/linux/net/if_ppp.h
16832 * sysdeps/unix/sysv/linux/net/if_shaper.h
16833 * sysdeps/unix/sysv/linux/net/route.h
16834 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16835 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16836 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16837 * sysdeps/unix/sysv/linux/netipx/ipx.h
16838 * sysdeps/unix/sysv/linux/sys/acct.h
16839 * include/arpa/nameser.h, include/resolv.h:
16840 Change all uses of u_char to unsigned char,
16841 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16842 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16843 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16844 and u_int64_t and u_quad_t to uint64_t.
16845
16846 * mach/sys/reboot.h: Remove two casts of integer literals
16847 to the types they already have.
16848
16849 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16850 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16851 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16852 from referring to 'unsigned char' to 'uint8_t' for consistency with
16853 the macro definition below.
16854
16855 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16856 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16857 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16858 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16859 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16860 * sysdeps/unix/sysv/linux/sys/acct.h
16861 * include/arpa/nameser.h, include/resolv.h:
16862 Fix indentation disrupted by mechanical edits.
16863
16864 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16865 * sysdeps/generic/netinet/in_systm.h
16866 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16867 * sysdeps/gnu/netinet/udp.h
16868 * sysdeps/unix/sysv/linux/net/ethernet.h
16869 * sysdeps/unix/sysv/linux/net/if_arp.h
16870 * sysdeps/unix/sysv/linux/net/if_ppp.h
16871 * sysdeps/unix/sysv/linux/net/if_shaper.h
16872 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16873 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16874 * sysdeps/unix/sysv/linux/netipx/ipx.h
16875 * sysdeps/unix/sysv/linux/sys/acct.h
16876 Include stdint.h for uintNN_t definitions.
16877 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16878
16879 2016-09-23 Zack Weinberg <zackw@panix.com>
16880
16881 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16882 * sysdeps/unix/sysv/linux/netrose/rose.h:
16883 Include sys/socket.h and netax25/ax25.h.
16884
16885 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16886 * resolv/arpa/nameser_compat.h:
16887 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16888
16889 * sysdeps/unix/sysv/linux/sys/quota.h:
16890 Use __caddr_t instead of caddr_t.
16891 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16892 Use __clockid_t instead of clockid_t.
16893
16894 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16895
16896 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16897 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16898 expanding it.
16899
16900 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16901 Define __glibc_c99_flexarr_available to 1 when the compiler
16902 supports C99-compatible flexible array members, 0 otherwise.
16903 * sysdeps/unix/sysv/linux/bits/socket.h
16904 * sysdeps/mach/hurd/bits/socket.h
16905 * bits/socket.h: Use __glibc_c99_flexarr_available in
16906 definitions of struct cmsghdr and CMSG_DATA.
16907
16908 2016-09-23 Florian Weimer <fweimer@redhat.com>
16909
16910 * manual/nss.texi (NSS Modules Interface): Adjust function return
16911 type to enum nss_status. Document errnop argument. Clarify
16912 h_errnop semantics. Fix cross-reference formatting.
16913 (NSS Module Function Internals): Mention that *errnop needs to be
16914 set on failure, but not to zero.
16915
16916 2016-09-23 Florian Weimer <fweimer@redhat.com>
16917
16918 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16919 (get_random_name): New functions.
16920 (check_wrapper_flags_mode): Use linkat to give the new file a name
16921 determined by get_random_name.
16922 (do_test): Add calls to test open64 and openat64.
16923
16924 2016-09-23 Florian Weimer <fweimer@redhat.com>
16925
16926 * test-skeleton.c: Remove #include <stdarg.h>.
16927
16928 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16929
16930 [BZ #19826]
16931 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16932 initialization of static TLS entries.
16933 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16934 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16935
16936 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16937
16938 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16939 _hurd_malloc_fork_prepare.
16940 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16941 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16942 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16943 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16944 (_hurd_fork_child_hook): Drop malloc_fork_child.
16945 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16946 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16947 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16948 after locking locks (notably hurd_dtable_lock). Call
16949 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16950 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16951 __malloc_fork_unlock_child.
16952 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16953
16954 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16955
16956 * soft-fp/extendhftf2.c: New.
16957 * soft-fp/fixhfti.c: Likewise.
16958 * soft-fp/fixunshfti.c: Likewise.
16959 * soft-fp/floattihf.c: Likewise.
16960 * soft-fp/floatuntihf.c: Likewise.
16961 * soft-fp/half.h: Likewise.
16962 * soft-fp/trunctfhf2.c: Likewise.
16963
16964 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16965
16966 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16967 macro.
16968 * math/libm-test.inc (issubnormal_test_data): New array.
16969 (issubnormal_test): New function.
16970 * manual/arith.texi (Floating Point Classes): Document
16971 issubnormal.
16972 * manual/libm-err-tab.pl: Update comment on interfaces without
16973 ulps tabulated.
16974
16975 * sysdeps/generic/stdint.h: Define
16976 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16977 <bits/libc-header-start.h> instead of including <features.h>.
16978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16979 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16980 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16981 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16982 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16983 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16984 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16985 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16986 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16987 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16989 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16990 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16991 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16992 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16993 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16995 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16996 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16997 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16998 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16999 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
17000 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
17001 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
17002 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
17003 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
17004 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
17005 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
17006 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
17007 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
17008 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
17009 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
17010 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
17011 * manual/arith.texi (Integers): Document these macros for types
17012 specified by width properties.
17013 * manual/lang.texi (Width of Type): Document these macros for
17014 other standard typedefs.
17015 * stdlib/tst-width-stdint.c: New file.
17016 * stdlib/Makefile (tests): Add tst-width-stdint.
17017
17018 2016-09-21 Florian Weimer <fweimer@redhat.com>
17019
17020 [BZ #20016]
17021 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
17022 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
17023 Move ...
17024 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
17025 ... here, as compatibility symbols in a new file.
17026 * resolv/Makefile (libresolv-routines): Add compat-hooks.
17027 * resolv/res_init.c (__res_vinit): Adjust member names.
17028 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
17029 * resolv/resolv.h (res_sendhookact, res_send_qhook)
17030 (res_send_rhook): Remove.
17031 (struct __res_state): Rename qhook, rhook members.
17032
17033 2016-09-21 Florian Weimer <fweimer@redhat.com>
17034
17035 malloc: Use __libc_lock wrappers.
17036 * malloc/arena.c (list_lock, free_list_lock): Define using
17037 __libc_lock_define_initialized.
17038 (arena_lock): Adjust formatting.
17039 * malloc/malloc.c (struct malloc_state): Define mutex using
17040 __libc_lock_define.
17041 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
17042 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
17043 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
17044 (mutex_unlock, mutex_trylock): Remove.
17045 (__pthread_initialize): Remove unused macro.
17046 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
17047 (mutex_unlock, mutex_trylock): Remove.
17048
17049 2016-09-21 Florian Weimer <fweimer@redhat.com>
17050
17051 [BZ #20592]
17052 Remove RR type classification macros.
17053 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
17054 (ns_t_udp_p, ns_t_xfr_p): Remove.
17055
17056 2016-09-21 Florian Weimer <fweimer@redhat.com>
17057
17058 Remove misleading version information.
17059 * resolv/arpa/nameser.h (__NAMESER): Remove.
17060 * resolv/arpa/nameser_compat.h (__BIND): Remove.
17061
17062 2016-09-21 Florian Weimer <fweimer@redhat.com>
17063
17064 Remove the always-defined BIND_4_COMPAT macro.
17065 * resolv/arpa/nameser.h: Unconditionally include
17066 <arpa/nameser_compat.h>.
17067 (BIND_4_COMPAT): Remove.
17068 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
17069
17070 2016-09-21 Florian Weimer <fweimer@redhat.com>
17071
17072 [BZ #20591]
17073 Remove obsolete DNSSEC support.
17074 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
17075 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
17076 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
17077 (ns_verify_tcp, ns_verify_tcp_init): Remove.
17078 (ns_cert_types): Add comment.
17079 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
17080 separately.
17081 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
17082 (dst_s_dns_key_id): Remove.
17083 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
17084 variables.
17085
17086 2016-09-21 Florian Weimer <fweimer@redhat.com>
17087
17088 [BZ #20524]
17089 * manual/string.texi (String/Array Comparison): Clarify the
17090 strverscmp behavior.
17091
17092 2016-09-21 Florian Weimer <fweimer@redhat.com>
17093
17094 * test-skeleton.c (xasprintf): Add function.
17095 * io/tst-open-tmpfile.c: New test.
17096 * io/Makefile (tests): Add it.
17097
17098 2016-09-21 Florian Weimer <fweimer@redhat.com>
17099
17100 Avoid running $(CXX) during build to obtain header file paths.
17101 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
17102 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
17103 * Makerules (cstdlib, cmath): Remove variables. Use
17104 $(c++-cstdlib-header), $(c++-cmath-header) instead.
17105 * configure: Regenerate.
17106
17107 2016-09-21 Florian Weimer <fweimer@redhat.com>
17108
17109 * Makeconfig (all-object-suffixes): Include .op only if
17110 $(build-profile).
17111
17112 2016-09-21 Florian Weimer <fweimer@redhat.com>
17113
17114 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
17115 conditionals. Do not define PATH_MAX.
17116
17117 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17118
17119 * posix/Makefile (tests): Add tst-spawn3.
17120 * posix/tst-spawn3.c: New file.
17121 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
17122 if it is already opened for open action.
17123
17124 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
17125 all signals when executing the clone vfork child.
17126 (SIGALL_SET): Remove macro.
17127
17128 * nptl/Makefile (tests): Add tst-exec5.
17129 * nptl/tst-exec5.c: New file.
17130 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
17131 asynchronous cancellation.
17132
17133 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17134
17135 * hurd/exc2signal.c: #include <hurd/signal.h>
17136 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
17137 'sigcode', 'error' parameters with 'detail' parameter. Fix code
17138 accordingly.
17139 * mach/mach_error.c (mach_error): Fix old-style function definition.
17140 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
17141
17142 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17143
17144 * math/Makefile (libm-calls): Remove s_nanF.
17145 (gen-libm-calls): Add s_nanF.
17146
17147 * math/s_nan.c: Refactor into ...
17148 * math/s_nan_template.c: New file.
17149
17150 * math/s_nanf.c: Removed.
17151 * math/s_nanl.c: Removed.
17152 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17153 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17154
17155 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17156 (LDOUBLE_nanl_libm_version): New macro.
17157
17158 * sysdeps/generic/math-type-macros-double.h:
17159 (M_STRTO_NAN): New macro.
17160 * sysdeps/generic/math-type-macros-float.h: Likewise.
17161 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17162
17163 * sysdeps/generic/math-type-macros.h: Document
17164 M_STRTO_NAN.
17165
17166 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17167
17168 * math/s_nanf.c: Remove __nanf undef.
17169 * math/s_nan.c: Remove __nan undef.
17170 * math/s_nanl.c: Remove __nanl undef.
17171
17172 * sysdeps/generic/math_private.h (__nan): Remove macro
17173 override.
17174 (__nanf): Likewise.
17175 (__nanl): Likewise.
17176
17177 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17178
17179 * math/Makefile (gen-all-calls): New variable.
17180 (generated): Replace gen-libm-calls with gen-all-calls.
17181 (gen-libm-templates.stmp): Likewise. Also, ensure
17182 the output directory exists or is created and add
17183 dependency on the Makefile.
17184 (calls): Move s_ldexpF into gen-calls.
17185 (gen-calls): New variable.
17186
17187 * math/s_ldexpf.c: Removed.
17188 * math/s_ldexpl.c: Removed.
17189 * math/s_ldexp.c: Refactored into ...
17190 * math/s_ldexp_template.c: New file.
17191
17192 * sysdeps/generic/math-type-macros-double.h: Remove
17193 redundant fall-through definition of declare_mgen_alias.
17194 (declare_mgen_alias_2): New macro.
17195
17196 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17197 New macro for function aliased to two exported symbols.
17198
17199 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17200 new template file.
17201 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17202
17203 2016-09-20 Florian Weimer <fweimer@redhat.com>
17204
17205 * Makeconfig (all-object-suffixes): Remove .og.
17206 * Makerules (elide-routines.og): Remove.
17207 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17208 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17209 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17210
17211 2016-09-20 Florian Weimer <fweimer@redhat.com>
17212
17213 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17214 .os objects.
17215
17216 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17217
17218 [BZ #20615]
17219 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17220 fpu directory by non-fpu.
17221 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17222 on non-fpu directory from a fpu directory.
17223
17224 2016-09-19 Joseph Myers <joseph@codesourcery.com>
17225
17226 * include/limits.h: Define
17227 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17228 <bits/libc-header-start.h> instead of including <features.h>.
17229 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17230 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17231 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17232 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17233 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17234 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17235 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17236 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17237 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17238 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17239 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17240 * manual/lang.texi (Width of Type): Document these macros.
17241 * stdlib/tst-width.c: New file.
17242 * stdlib/Makefile (tests): Add tst-width.
17243
17244 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17245
17246 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17247 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17248
17249 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17250
17251 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17252 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17253 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17254
17255 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17256
17257 [BZ #18243]
17258 * rt/Makefile (test): Add tst-shm-cancel.
17259 * rt/tst-shm-cancel.c: New file.
17260 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17261
17262 [BZ #18243]
17263 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17264 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17265 definition.
17266 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17267 uncontended case.
17268 * nptl/sem_wait.c (__new_sem_wait): Likewise.
17269 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17270 (tf): Fix check for uncontended case.
17271 (do_test): Likewise.
17272 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17273 (tf): Fix check for uncontended case.
17274 (do_test): Likewise.
17275 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17276 (tf): Fix check for uncontended case.
17277 (do_test): Likewise.
17278 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17279 (tf): Fix check for uncontended case.
17280 (do_test): Likewise.
17281
17282 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17283 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17284
17285 [BZ #15765]
17286 * nptl/Makefile (tests): Add tst-sem16.
17287 * nptl/tst-sem16.c: New file.
17288 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17289
17290 * nptl/sem_open.c (sem_open): Init pad value to 0.
17291 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17292 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17293
17294 2016-09-15 Florian Weimer <fweimer@redhat.com>
17295
17296 [BZ #20611]
17297 * inet/Makefile (routines): Add inet6_scopeid_pton.
17298 (tests): Add tst-inet6_scopeid_pton.
17299 * inet/inet6_scopeid_pton.c: New file.
17300 * inet/net-internal.h: Likewise.
17301 * inet/tst-inet6_scopeid_pton.c: New test.
17302 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17303 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17305
17306 2016-09-14 Florian Weimer <fweimer@redhat.com>
17307
17308 Remove support for compiling wrappers with PTW.
17309 * sysdeps/nptl/Makeconfig: Drop ptw- support.
17310 * nptl/Makefile (pthread-compat-wrappers): Define.
17311 (libpthread-routines): Use pthread-compat-wrappers.
17312 * sysdeps/unix/sysv/linux/alpha/Makefile
17313 (libpthread-routines, libpthread-shared-only-routines): Remove
17314 ptw- prefix.
17315 * sysdeps/s390/nptl/Makefile
17316 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17317 * sysdeps/ia64/nptl/Makefile
17318 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17319 * sysdeps/nacl/Makefile (libpthread-routines): Use
17320 pthread-compat-wrappers to filter the routines list instead of the
17321 ptw- prefix.
17322
17323 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17324
17325 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17326 with L() and remove explicit suffix, convert real literals
17327 which can be equivalentally substituted with integers, and
17328 transform -L(x) to L(-x).
17329
17330 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17378 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17380
17381 2016-09-13 Florian Weimer <fweimer@redhat.com>
17382
17383 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17384
17385 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17386
17387 * malloc/Makefile (tests): Remove individual static test names
17388 and just add all of tests-static.
17389
17390 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17391
17392 2016-09-07 Joseph Myers <joseph@codesourcery.com>
17393
17394 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17395 file.
17396
17397 * sysdeps/sparc/fpu/fegetmode.c: New file.
17398 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17399
17400 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17401 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17402
17403 * sysdeps/s390/fpu/fegetmode.c: New file.
17404 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17405
17406 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17407 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17408 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17409 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17410 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17411 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17412
17413 * sysdeps/mips/fpu/fegetmode.c: New file.
17414 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17415
17416 * sysdeps/m68k/fpu/fegetmode.c: New file.
17417 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17418
17419 * sysdeps/ia64/fpu/fegetmode.c: New file.
17420 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17421
17422 * sysdeps/hppa/fpu/fegetmode.c: New file.
17423 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17424
17425 * sysdeps/arm/fegetmode.c: New file.
17426 * sysdeps/arm/fesetmode.c: Likewise.
17427
17428 * sysdeps/alpha/fpu/fegetmode.c: New file.
17429 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17430
17431 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17432 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17433
17434 * math/fegetmode.c: New file.
17435 * math/fesetmode.c: Likewise.
17436 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17437 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17438 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17439 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17440 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17441 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17442 declaration.
17443 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17444 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17445 typedef.
17446 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17447 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17448 (femode_t): New typedef.
17449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17450 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17451 (femode_t): New typedef.
17452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17453 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17454 (femode_t): New typedef.
17455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17456 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17457 (femode_t): New typedef.
17458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17459 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17460 (femode_t): New typedef.
17461 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17462 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17463 (femode_t): New typedef.
17464 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17465 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17466 (femode_t): New typedef.
17467 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17468 * sysdeps/mips/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/nios2/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/powerpc/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 variable
17477 declaration.
17478 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17479 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17480 (femode_t): New typedef.
17481 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17482 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17483 (femode_t): New typedef.
17484 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17485 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17486 (femode_t): New typedef.
17487 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17488 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17489 (femode_t): New typedef.
17490 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17491 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17492 (femode_t): New typedef.
17493 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17494 * manual/arith.texi (FE_DFL_MODE): Document macro.
17495 (fegetmode): Document function.
17496 (fesetmode): Likewise.
17497 * math/Versions (fegetmode): New libm symbol at version
17498 GLIBC_2.25.
17499 (fesetmode): Likewise.
17500 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17501 (tests): Add test-femode and test-femode-traps.
17502 * math/test-femode-traps.c: New file.
17503 * math/test-femode.c: Likewise.
17504 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17505 alias for __fe_dfl_env.
17506 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17507 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17508 (__fe_dfl_mode): Likewise.
17509 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17510 version GLIBC_2.25.
17511 * sysdeps/nacl/libm.abilist: Update.
17512 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17513 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17514 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17515 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17516 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17517 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17520 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17521 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17525 Likewise.
17526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17527 Likewise.
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17529 Likewise.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17531 Likewise.
17532 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17538 Likewise.
17539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17540 Likewise.
17541 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17544
17545 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17546
17547 [BZ #20495]
17548 [BZ #20508]
17549 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17550 processors, set Use_dl_runtime_resolve_slow and set
17551 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17552 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17553 New.
17554 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17555 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17556 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17557 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17558 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17559 if Use_dl_runtime_resolve_opt is set. Use
17560 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17561 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17562 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17563 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17564 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17565 New.
17566 (_dl_runtime_resolve_opt): Likewise.
17567 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17568 defined.
17569
17570 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17571
17572 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17573 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17574
17575 2016-09-06 Florian Weimer <fweimer@redhat.com>
17576
17577 Convert malloc to __libc_lock. Automated part, using this Perl
17578 s/// command:
17579 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17580 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17581 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17582 conversion.
17583
17584 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17585
17586 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17587 (linknamespace-symlists-tests): Likewise.
17588 (linknamespace-header-tests): Likewise.
17589
17590 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17591
17592 [BZ #19810]
17593 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17594 * elf/tst-noload.c: New test case.
17595 * elf/Makefile (tests): Add tst-noload.
17596
17597 2016-09-02 Roland McGrath <roland@hack.frob.com>
17598
17599 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17600
17601 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17602 not any more.
17603
17604 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17605
17606 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17607
17608 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17609 (do_cos_slow): Likewise.
17610 (do_sin): Likewise.
17611 (do_sin_slow): Likewise.
17612 (slow): Likewise.
17613 (slow1): Likewise.
17614 (slow2): Likewise.
17615 (sloww): Likewise.
17616 (sloww1): Likewise.
17617 (sloww2): Likewise.
17618 (bsloww): Likewise.
17619 (bsloww1): Likewise.
17620 (bsloww2): Likewise.
17621 (cslow2): Likewise.
17622
17623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17624
17625 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17626 arguments. Consolidate input partitioning from callers here.
17627 (do_cos_slow): Likewise.
17628 (do_sin): Likewise.
17629 (do_sin_slow): Likewise.
17630 (do_sincos_1): Remove the no longer necessary input partitioning.
17631 (do_sincos_2): Likewise.
17632 (__sin): Likewise.
17633 (__cos): Likewise.
17634 (slow1): Likewise.
17635 (slow2): Likewise.
17636 (sloww1): Likewise.
17637 (sloww2): Likewise.
17638 (bsloww1): Likewise.
17639 (bsloww2): Likewise.
17640 (cslow2): Likewise.
17641
17642 2016-09-02 Florian Weimer <fweimer@redhat.com>
17643
17644 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17645 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17646 outside of allocated array.
17647
17648 2016-09-02 Florian Weimer <fweimer@redhat.com>
17649
17650 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17651 instead of MB_CUR_MAX to avoid variable-length array.
17652
17653 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17654
17655 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17656 (type-double-routines): Add k_rem_pio2.
17657 (type-float-routines): Add k_rem_pio2f.
17658
17659 * sysdeps/generic/math_private.h:
17660 (__kernel_rem_pio2l): Removed.
17661
17662 * math/k_rem_pio2l.c: Removed.
17663 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17664 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17665 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17666 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17667
17668 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17669
17670 * math/Makefile (gen-libm-calls): Add s_fmin
17671 (libm-calls): Remove above.
17672
17673 * math/s_fmin.c: Refactor into ...
17674 * math/s_fmin_template.c: New file.
17675
17676 * math/s_fminf.c: Removed.
17677 * math/s_fminl.c: Removed.
17678 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17679 (LDOUBLE_fmin_libm_version): New macro.
17680
17681 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17682 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17683
17684 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17685
17686 * math/Makefile: (gen-libm-calls): Add s_fmax.
17687 (libm-calls): Remove above.
17688
17689 * math/s_fmax.c: Refactor into ...
17690 * math/s_fmax_template.c: New file.
17691 * math/s_fmaxf.c: Removed.
17692 * math/s_fmaxl.c: Removed.
17693
17694 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17695 (LDOUBLE_fmaxl_libm_version): New macro.
17696
17697 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17698 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17699
17700 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17701 s_fmin.c to pick the aarch64 version of the file.
17702 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17703 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17704
17705 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17706
17707 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17708 (libm-calls): Remove above.
17709
17710 * math/s_nextdown.c: Refactor into ...
17711 * math/s_nextdown_template.c: New file.
17712 * math/s_nextdownf.c: Removed.
17713 * math/s_nextdownl.c: Removed.
17714
17715 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17716
17717 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17718
17719 * math/Makefile (gen-libm-calls): Add s_fdim.
17720 (libm-calls): Move to above.
17721
17722 * math/s_fdim.c: Renamed and refactored into to ...
17723 * math/s_fdim_template.c: New file.
17724 * math/s_fdiml.c: Removed.
17725 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17726 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17727
17728 * sysdeps/generic/math-type-macros-double.h:
17729 (declare_mgen_alias): Don't declare if already declared.
17730 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17731 Likewise.
17732
17733 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17734 (declare_mgen_alias): Don't declare if already declared.
17735 (M_LIBM_NEED_COMPAT): Likewise.
17736 (declare_mgen_libm_compat): Likewise.
17737 (LDOUBLE_fdiml_libm_version): New macro.
17738
17739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17740 Include math/s_fdim.c now that ldbl-opt version is not needed.
17741 (declare_mgen_alias): New macro to disable aliasing.
17742
17743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17744 (declare_mgen_alias): Likewise.
17745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17746 (declare_mgen_alias): Likewise.
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17748 (declare_mgen_alias): Likewise.
17749 (M_LIBM_NEED_COMPAT): Likewise.
17750
17751 2016-09-01 Florian Weimer <fweimer@redhat.com>
17752
17753 [BZ #20525]
17754 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17755 Include <linux/quota.h>.
17756 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17757 and btodb.
17758 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17759 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17760 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17761 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17762 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17763 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17764 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17765 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17766 types.
17767 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17768 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17769
17770 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17771
17772 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17773 (gammal_positive): Fix spacing.
17774 (__ieee754_gammal_r): Likewise.
17775
17776 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17777
17778 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17779 (_Float128): Define as long double, always.
17780 (L): Apply long double type suffix, always.
17781
17782 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17783 _Float128, excepting comments.
17784
17785 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17840 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17851 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17853
17854 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17855 _Float128, and include math_private.h.
17856 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17857
17858 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17859 long double semantics.
17860 (_Float128): Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17865
17866 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17867
17868 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17869 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17870 * sysdeps/s390/configure: Regenerated.
17871 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17872 instruction for raising over-/underflow if z196 zarch is supported
17873 by default.
17874 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17875
17876 2016-08-30 Svante Signell <svante.signell@gmail.com>
17877
17878 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17879 it point to a dumb buffer for RPC to fill it.
17880
17881 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17882
17883 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17884 instead of if/else.
17885 (do_sin_slow): Likewise.
17886 (do_sincos_1): Use fabs instead of if/else.
17887 (do_sincos_2): Likewise.
17888 (__sin): Likewise.
17889 (__cos): Likewise.
17890 (slow2): Likewise.
17891 (sloww): Likewise.
17892 (sloww1): Likewise. Drop argument M.
17893 (sloww2): Use fabs instead of if/else.
17894 (bsloww): Likewise.
17895 (bsloww1): Likewise.
17896 (bsloww2): Likewise.
17897
17898 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17899 fall through comment.
17900 (do_sincos_1): Likewise.
17901
17902 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17903 Consolidate switch cases 0 and 2.
17904
17905 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17906
17907 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17908 (libm-calls): Remove the above.
17909
17910 * math/s_cexp_template.c: Update using type-generic macros.
17911 * math/s_clog10_template.c: Likewise.
17912 * math/s_cpow_template.c: Likewise.
17913 * math/s_clog_template.c: Likewise.
17914 * math/s_cproj_template.c: Likewise.
17915 * math/s_csqrt_template.c: Likewise.
17916
17917 * math/s_cexp.c: Removed.
17918 * math/s_cexpf.c: Removed.
17919 * math/s_cexpl.c: Removed.
17920 * math/s_clog10.c: Removed.
17921 * math/s_clog10f.c: Removed.
17922 * math/s_clog10l.c: Removed.
17923 * math/s_cpow.c: Removed.
17924 * math/s_cpowf.c: Removed.
17925 * math/s_cpowl.c: Removed.
17926 * math/s_clog.c: Removed.
17927 * math/s_clogf.c: Removed.
17928 * math/s_clogl.c: Removed.
17929 * math/s_cproj.c: Removed.
17930 * math/s_cprojf.c: Removed.
17931 * math/s_cprojl.c: Removed.
17932 * math/s_csqrt.c: Removed.
17933 * math/s_csqrtf.c: Removed.
17934 * math/s_csqrtl.c: Removed.
17935
17936 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17937 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17938 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17939 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17940 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17941 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17942
17943 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17944 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17945 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17946 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17947 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17948 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17949 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17950 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17951 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17952 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17953 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17954
17955 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17956 version.
17957
17958 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17959 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17960 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17961 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17962
17963 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17964
17965 * s_cexp_template.c: Copy of s_cexp.c.
17966 * s_clog_template.c: Copy of s_clog.c.
17967 * s_clog10_template.c: Copy of s_clog10.c.
17968 * s_cpow_template.c: Copy of s_cpow.c.
17969 * s_cproj_template.c: Copy of s_cproj.c.
17970 * s_csqrt_template.c: Copy of s_csqrt.c.
17971
17972 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17973
17974 [BZ #20517]
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17976 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17977 exported.
17978
17979 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17980
17981 * math/fetestexceptflag.c: New file.
17982 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17983 Stefan Liebler.
17984 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17985 (fetestexceptflag): New function declaration.
17986 * manual/arith.texi (fetestexceptflag): Document function.
17987 * math/Versions (fetestexceptflag): New libm symbol at version
17988 GLIBC_2.25.
17989 * math/Makefile (libm-support): Add fetestexceptflag.
17990 (tests): Add test-fetestexceptflag.
17991 * math/test-fetestexceptflag.c: New file.
17992 * sysdeps/nacl/libm.abilist: Update.
17993 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18006 Likewise.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18008 Likewise.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18010 Likewise.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18012 Likewise.
18013 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18019 Likewise.
18020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18021 Likewise.
18022 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18025
18026 2016-08-26 Florian Weimer <fweimer@redhat.com>
18027
18028 [BZ #20432]
18029 Avoid strong references to malloc-internal symbols when linking
18030 statically, to support statically interposed mallocs.
18031 * include/libc-symbols.h (call_function_static_weak): New macro.
18032 * malloc/Makefile (tests): Add tst-interpose-nothread,
18033 tst-interpose-thread, tst-interpose-static-nothread,
18034 tst-interpose-static-thread.
18035 (tests-static): Add tst-interpose-static-nothread,
18036 tst-interpose-static-thread.
18037 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
18038 tst-interpose-aux-thread.o.
18039 (test-extras): Add tst-interpose-aux-nothread,
18040 tst-interpose-aux-thread.
18041 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
18042 tst-interpose-aux-nothread.o.
18043 (tst-interpose-thread, tst-interpose-static-thread): Link with
18044 tst-interpose-aux-thread.o and libthread.
18045 * malloc/tst-interpose-aux-nothread.c: New file.
18046 * malloc/tst-interpose-aux-thread.c: Likewise.
18047 * malloc/tst-interpose-aux.c: Likewise.
18048 * malloc/tst-interpose-aux.h: Likewise.
18049 * malloc/tst-interpose-nothread.c: Likewise.
18050 * malloc/tst-interpose-skeleton.c: Likewise.
18051 * malloc/tst-interpose-static-nothread.c: Likewise.
18052 * malloc/tst-interpose-static-thread.c: Likewise.
18053 * malloc/tst-interpose-thread.c: Likewise.
18054 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
18055 * sysdeps/mach/hurd/fork.c (__fork): Only call
18056 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18057 __malloc_fork_unlock_child if defined.
18058 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18059
18060 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18061
18062 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
18063 timespec C99 designated initialization.
18064
18065 2016-08-26 Florian Weimer <fweimer@redhat.com>
18066
18067 [BZ #19946]
18068 Avoid expected SIGALRM signals.
18069 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
18070 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
18071 (xpthread_create, xpthread_detach, xpthread_join)
18072 (delayed_exit_thread, delayed_exit): New functions.
18073 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
18074 (tf): Use xpthread_cond_wait.
18075 (do_test): Likewise. Replace alarm with delayed_exit.
18076 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18077 (do_test): Call delayed_exit. Report failure.
18078 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18079 (do_test): Call delayed_exit.
18080 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18081 (do_test): Call delayed_exit. Use xpthread_join. Report error.
18082 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18083 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
18084 error.
18085 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18086 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
18087 error.
18088 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
18089 (do_test): Call delayed_exit.
18090 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
18091 (do_test): Call delayed_exit.
18092 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
18093 (do_test): Call delayed_exit instead of alarm. Use
18094 xpthread_mutex_lock.
18095 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
18096 (do_test): Call delayed_exit instead of alarm. Use
18097 xpthread_mutex_lock.
18098 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
18099 (do_test): Call delayed_exit instead of alarm.
18100 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
18101 (do_test): Call delayed_exit instead of alarm. Use
18102 xpthread_spin_lock.
18103 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
18104 (do_test): Call delayed_exit instead of alarm. Use
18105 xpthread_join.
18106
18107 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
18110 adjust CFA when allocating register save area on re-aligned
18111 stack.
18112
18113 2016-08-26 Florian Weimer <fweimer@redhat.com>
18114
18115 * string/tst-cmp.c: New test.
18116 * string/Makefile (tests): Add it.
18117
18118 2016-08-25 Mark Wielaard <mark@klomp.org>
18119
18120 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
18121 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
18122 (check_tree_recurse): Use newly defined accessors.
18123 (check_tree): Likewise.
18124 (maybe_split_for_insert): Likewise.
18125 (__tfind): Likewise.
18126 (__tdelete): Likewise.
18127 (trecurse): Likewise.
18128 (tdestroy_recurse): Likewise.
18129 (__tsearch): Likewise. And add asserts for malloc alignment.
18130 (__twalk): Cast root to node in case CHECK_TREE is defined.
18131
18132 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18133
18134 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
18135
18136 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18137
18138 * math/Makefile (libm-gen-calls): Add
18139 catan, catanh, ctan, ctanh.
18140 (libm-calls): Remove the above.
18141
18142 * math/s_catan_template.c: Update using type-generic macros.
18143 * math/s_catanh_template.c: Likewise.
18144 * math/s_ctan_template.c: Likewise.
18145 * math/s_ctanh_template.c: Likewise.
18146
18147 * math/s_catanf.c: Removed.
18148 * math/s_catan.c: Removed.
18149 * math/s_catanl.c: Removed.
18150 * math/s_catanhf.c: Removed.
18151 * math/s_catanh.c: Removed.
18152 * math/s_catanhl.c: Removed.
18153 * math/s_ctanf.c: Removed.
18154 * math/s_ctan.c: Removed.
18155 * math/s_ctanl.c: Removed.
18156 * math/s_ctanhf.c: Removed.
18157 * math/s_ctanh.c: Removed.
18158 * math/s_ctanhl.c: Removed.
18159
18160 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18161 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18162 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18163 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18164 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18165 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18166
18167 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18168 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18169 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18170 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18171
18172 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18173
18174 * s_catan_template.c: Copy of s_catan.c.
18175 * s_catanh_template.c: Copy of s_catanh.c.
18176 * s_ctan_template.c: Copy of s_ctan.c.
18177 * s_ctanh_template.c: Copy of s_ctanh.c.
18178
18179 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18180
18181 * math/Makefile (gen-libm-calls): Move
18182 casin, casinh, csin, csinh here.
18183 (libm-calls): Remove the above.
18184
18185 * math/s_casin_template.c: Update using type-generic macros.
18186 * math/s_casinh_template.c: Likewise.
18187 * math/s_csin_template.c: Likewise.
18188 * math/s_csinh_template.c: Likewise.
18189 * math/k_casinh_template.c: Likewise.
18190
18191 * math/s_casinf.c: Removed.
18192 * math/s_casin.c: Removed.
18193 * math/s_casinl.c: Removed.
18194 * math/s_casinh.c: Removed.
18195 * math/s_casinhf.c: Removed.
18196 * math/s_casinhl.c: Removed.
18197 * math/s_csin.c: Removed.
18198 * math/s_csinf.c: Removed.
18199 * math/s_csinl.c: Removed.
18200 * math/s_csinh.c: Removed.
18201 * math/s_csinhf.c: Removed.
18202 * math/s_csinhl.c: Removed.
18203 * math/k_casinh.c: Removed.
18204 * math/k_casinhf.c: Removed.
18205 * math/k_casinhl.c: Removed.
18206
18207 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18208 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18209 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18210 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18211
18212 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18213 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18214 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18215 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18216 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18217 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18218 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18219 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18220
18221 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18222 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18223 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18224 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18225
18226 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18227 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18228 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18229 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18230
18231 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18232
18233 * s_casin_template.c: Copy of s_casin.c.
18234 * s_casinh_template.c: Copy of s_casinh.c.
18235 * s_csin_template.c: Copy of s_csin.c.
18236 * s_csinh_template.c: Copy of s_csinh.c.
18237 * k_casinh_template.c: Copy of k_casinh.c.
18238
18239 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
18240
18241 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18242
18243 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18244
18245 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18246 (mul_split) Remove, rename as mul_splitl, remove
18247 redundant float.h include, and include via mul_splitl.h
18248
18249 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18254
18255 * math/mul_splitl.h: New file.
18256
18257 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18258 Move into mul_split.h, and remove redundant float.h include.
18259
18260 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18264
18265 * math/mul_split.h: New file.
18266
18267 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18268
18269 * math/Makefile (libm-gen-calls): Move
18270 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18271 (libm-calls): Remove above.
18272
18273 * math/s_cacos_template.c: Update using type-generic macros.
18274 * math/s_cacosh_template.c: Likewise.
18275 * math/s_ccos_template.c: Likewise.
18276 * math/s_ccosh_template.c: Likewise.
18277
18278 * math/s_cacosf.c: Removed.
18279 * math/s_cacos.c: Removed.
18280 * math/s_cacosl.c: Removed.
18281 * math/s_cacoshf.c: Removed.
18282 * math/s_cacosh.c: Removed.
18283 * math/s_cacoshl.c: Removed.
18284 * math/s_ccosf.c: Removed.
18285 * math/s_ccos.c: Removed.
18286 * math/s_ccosl.c: Removed.
18287 * math/s_ccoshf.c: Removed.
18288 * math/s_ccosh.c: Removed.
18289 * math/s_ccoshl.c: Removed.
18290
18291 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18292 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18293 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18294 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18295 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18296 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18297
18298 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18299 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18300 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18301 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18302
18303 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18304 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18305 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18306 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18307
18308 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18309
18310 * s_cacos_template.c: Copy of s_cacos.c.
18311 * s_cacosh_template.c: Copy of s_cacosh.c.
18312 * s_ccos_template.c: Copy of s_ccos.c.
18313 * s_ccosh_template.c: Copy of s_ccosh.c.
18314
18315 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18316
18317 * stdlib/tst-strtod-round-skeleton.c:
18318 Refactored from tst-strtod-round.c.
18319
18320 (L_): New macro to apply literal modifier.
18321 (FNPFX): New macro to select str or wcs prefix.
18322 (CHAR): New macro to choose wchar_t or char.
18323 (STRM): New macro to choose printf for tested character type.
18324
18325 (STRTO): New macro to choose appropriate string -> real function.
18326 (FNPFXS): Stringitized version of FNPFX.
18327 (STR): Support for above macro.
18328 (STRX): Likewise.
18329
18330 (TEST): Update with above macros.
18331 (test): Likewise.
18332 (GEN_ONE_TEST): Likewise.
18333 (test_in_one_mode): Likewise.
18334
18335 * stdlib/tst-strtod-round.c: New file.
18336 * wcsmbs/tst-wcstod-round.c: New file.
18337
18338 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18339 (tst-wcstod-round): Add libm depencency for fesetround.
18340
18341 2016-08-19 Zack Weinberg <zackw@panix.com>
18342
18343 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18344
18345 2016-08-18 Torvald Riegel <triegel@redhat.com>
18346
18347 [BZ #20477]
18348 * resolv/res_hconf.c (do_init): Use atomic access.
18349 * resolv/res_hconf.h: Add comments.
18350 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18351 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18353
18354 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
18355
18356 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18357 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18358 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18359 Likewise.
18360
18361 2016-08-18 Florian Weimer <fweimer@redhat.com>
18362
18363 [BZ #16907]
18364 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18365 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18366 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18367 (__attribute__): Remove definition.
18368
18369 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18370
18371 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18372 Remove unused sqrtl declaration.
18373
18374 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18375
18376 * math/Makefile: (gen-libm-templates.stmp): New rule.
18377 (libm-calls): Move carg conj cimag and cabs into ...
18378 (gen-libm-calls): New variable.
18379 (generated): Inform Make objects from gen-libm-calls
18380 may be generated.
18381
18382 * sysdeps/generic/math-type-macros.h: New file.
18383 * sysdeps/generic/math-type-macros-float.h: Likewise.
18384 * sysdeps/generic/math-type-macros-double.h: Likewise.
18385 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18386 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18387 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18388
18389 * math/cabs.c: Refactor into
18390 * math/cabs_template.c: new file.
18391 * math/cabsf.c: Removed.
18392 * math/cabsl.c: Removed.
18393 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18394 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18395
18396 * math/carg.c: Refactor into
18397 * math/carg_template.c: new file.
18398 * math/cargf.c: Removed.
18399 * math/cargl.c: Removed.
18400 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18401 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18402
18403 * math/conj.c: Refactor into
18404 * math/conj_template.c: new file.
18405 * math/conjf.c: Removed.
18406 * math/conjl.c: Removed.
18407 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18408 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18409
18410 * math/cimag.c: Refactor into
18411 * math/cimag_template.c: new file.
18412 * math/cimagf.c: Removed.
18413 * math/cimagl.c: Removed.
18414 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18415 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18416
18417 * math/cimag.c: Refactor into
18418 * math/cimag_template.c: new file.
18419 * math/cimagf.c: Removed.
18420 * math/cimagl.c: Removed.
18421 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18422 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18423
18424 2016-08-17 Florian Weimer <fweimer@redhat.com>
18425
18426 Reduce time to expected nptl/tst-once5 failure.
18427 * nptl/tst-once5.cc (TIMEOUT): Define.
18428
18429 2016-08-17 Florian Weimer <fweimer@redhat.com>
18430
18431 [BZ #20452]
18432 Avoid additional copies of objects in libc.a in static libraries.
18433 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18434 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18435 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18436 rt-sysdep.
18437 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18438 Add nptl-sysdep.
18439 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18440 Add ptw-sysdep.
18441 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18442 rt-sysdep.
18443 * sysdeps/unix/sysv/linux/alpha/Makefile
18444 (libpthread-shared-only-routines): Add ptw-sysdep,
18445 ptw-sigprocmask, ptw-rt_sigaction.
18446 * sysdeps/unix/sysv/linux/ia64/Makefile
18447 (librt-shared-only-routines): Add rt-sysdep.
18448 * sysdeps/unix/sysv/linux/i386/Makefile
18449 (libpthread-shared-only-routines): Add libc-do-syscall.
18450 * sysdeps/unix/sysv/linux/microblaze/Makefile
18451 (libpthread-shared-only-routines): Add sysdep.
18452 * sysdeps/unix/sysv/linux/powerpc/Makefile
18453 (librt-shared-only-routines): Add rt-sysdep.
18454 (libpthread-shared-only-routines): Add sysdep.
18455 * sysdeps/unix/sysv/linux/s390/Makefile
18456 (librt-shared-only-routines): Add rt-sysdep.
18457 * sysdeps/unix/sysv/linux/sparc/Makefile
18458 (librt-shared-only-routines): Add rt-sysdep.
18459 (libpthread-shared-only-routines): Add sysdep.
18460 * sysdeps/unix/sysv/linux/tile/Makefile
18461 (libpthread-shared-only-routines): Likewise.
18462
18463 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18464
18465 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18466 Mask implicit bit out of unpacked value.
18467 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18469 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18470
18471 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18472
18473 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18474
18475 * sysdeps/s390/fpu/fesetexcept.c: New file.
18476
18477 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18478 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18479 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18480
18481 * sysdeps/mips/fpu/fesetexcept.c: New file.
18482
18483 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18484
18485 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18486
18487 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18488
18489 * sysdeps/arm/fesetexcept.c: New file.
18490
18491 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18492
18493 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18494
18495 * math/fesetexcept.c: New file.
18496 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18497 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18498 * math/fenv.h: Define
18499 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18500 <bits/libc-header-start.h> instead of including <features.h>.
18501 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18502 declaration.
18503 * manual/arith.texi (fesetexcept): Document function.
18504 * math/Versions (fesetexcept): New libm symbol at version
18505 GLIBC_2.25.
18506 * math/Makefile (libm-support): Add fesetexcept.
18507 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18508 * math/test-fesetexcept.c: New file.
18509 * math/test-fesetexcept-traps.c: Likewise.
18510 * sysdeps/nacl/libm.abilist: Update.
18511 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18524 Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18526 Likewise.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18528 Likewise.
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18530 Likewise.
18531 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18537 Likewise.
18538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18539 Likewise.
18540 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18541 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18542 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18543
18544 2016-08-16 Florian Weimer <fweimer@redhat.com>
18545
18546 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18547 New.
18548 (do_test): Apply default_stack_size_in_mb if not set.
18549 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18550
18551 2016-08-15 Andreas Schwab <schwab@suse.de>
18552
18553 [BZ #20435]
18554 CVE-2016-6323
18555 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18556 as .cantunwind.
18557
18558 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18559
18560 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18561 comment from fraiseexcpt.c.
18562
18563 * math/test-fexcept.c (feraiseexcept_exact): New function.
18564 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18565 (test_except): Likewise.
18566
18567 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18568
18569 [BZ #20455]
18570 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18571 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18572 to be restored.
18573
18574 * math/test-fexcept-traps.c: New file.
18575 * math/test-fexcept.c: Likewise.
18576 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18577 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18578 macro.
18579 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18580 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18581
18582 2016-08-09 Torvald Riegel <triegel@redhat.com>
18583
18584 * include/atomic.h (atomic_fetch_and_relaxed,
18585 atomic_fetch_and_release, atomic_fetch_or_release,
18586 atomic_fetch_xor_release): New.
18587
18588 2016-08-06 Christian Seiler <christian@iwakd.de>
18589
18590 [BZ #20444]
18591 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18592 MACH_PORT_NULL.
18593
18594 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18595
18596 * math/s_fdim.c: Avoid alias renamed.
18597 * math/s_fdimf.c: Likewise.
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18599 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18600 Add s_fdimf-vis3, s_fdim-vis3.
18601 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18602 (CFLAGS-s_fdim-vis3.c): Likewise.
18603 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18604 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18605
18606 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18607
18608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18609 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18610 Remove s_fdimf-vis3, s_fdim-vis3.
18611 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18612 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18619 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18620 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18621
18622 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18623
18624 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18625 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18626 -Wa,-Av9a -mvis.
18627
18628 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18629
18630 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18631 LIT() to individual constants in simple expressions
18632 after splitting on spaces.
18633 (_apply_lit): Rename replaced version, and use it to
18634 apply to what appears to be a token.
18635
18636 * math/libm-test.inc: Fix many, many issues with
18637 spacing.
18638
18639 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18640
18641 * math/math.h: Move comment about <bits/mathdef.h> definitions
18642 above inclusion of <bits/mathdef.h>. Do not mention
18643 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18644
18645 2016-08-05 Torvald Riegel <triegel@redhat.com>
18646
18647 * include/atomic.h (atomic_exchange_relaxed): New.
18648
18649 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18650
18651 * math/e_scalb.c: Do not include <fenv.h>.
18652 (invalid_fn): Do calculation resulting in NaN instead of raising
18653 FE_INVALID and returning a NaN explicitly.
18654 * math/e_scalbf.c: Do not include <fenv.h>.
18655 (invalid_fn): Do calculation resulting in NaN instead of raising
18656 FE_INVALID and returning a NaN explicitly.
18657 * math/e_scalbl.c: Do not include <fenv.h>.
18658 (invalid_fn): Do calculation resulting in NaN instead of raising
18659 FE_INVALID and returning a NaN explicitly.
18660
18661 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18662
18663 * po/de.po: Updated from Translation Project.
18664 * po/fi.po: Likewise.
18665 * po/sv.po: Likewise.
18666
18667 2016-08-04 Florian Weimer <fweimer@redhat.com>
18668
18669 [BZ #20452]
18670 Use sysdep.o from libc.a in static libraries.
18671 * sysdeps/unix/sysv/linux/i386/Makefile
18672 (libpthread-shared-only-routines): Add sysdep.
18673 (librt-shared-only-routines): Likewise.
18674
18675 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18676
18677 * math/tgmath.h (nextdown): Define if
18678 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18679 (nextup): Likewise.
18680
18681 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18682 macro.
18683 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18684 Document.
18685 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18686 Document macro.
18687 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18688 (exp10f): Likewise.
18689 (exp10l): Likewise.
18690 * math/bits/mathcalls.h (exp10): Declare if
18691 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18692
18693 * manual/arith.texi (nextup): Fix typo in last change.
18694
18695 2016-08-03 Zack Weinberg <zackw@panix.com>
18696
18697 [BZ #19239]
18698 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18699 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18700 define major, minor, and makedev to issue deprecation warnings on use.
18701 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18702 previously-activated deprecation warnings for these macros and prevent
18703 subsequent inclusions of this header from having any effect.
18704 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18705 including <sys/sysmacros.h>, and undefine it again afterward.
18706
18707 2016-08-03 Zack Weinberg <zackw@panix.com>
18708
18709 * sysdeps/generic/sys/sysmacros.h: Delete file.
18710 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18711 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18712 * bits/sysmacros.h: ... here; this encoding is now the generic
18713 encoding. Now defines only the following macros:
18714 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18715 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18716 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18717
18718 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18719 bits/sysmacros.h and the above new macros to generate the
18720 public implementations of major, minor, and makedev.
18721 * misc/tst-makedev.c: New test.
18722 * include/sys/sysmacros.h: New wrapper.
18723
18724 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18725 (routines): Add makedev.
18726 (tests): Add tst-makedev.
18727 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18728 gnu_dev_makedev.
18729 * posix/Makefile (headers): Remove sys/sysmacros.h.
18730 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18731
18732 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18733 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18734 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18735 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18736 * sysdeps/unix/sysv/linux/arm/libc.abilist
18737 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18738 * sysdeps/unix/sysv/linux/i386/libc.abilist
18739 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18740 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18741 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18742 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18743 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18744 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18745 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18746 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18747 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18752 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18753 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18754 * sysdeps/unix/sysv/linux/sh/libc.abilist
18755 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18756 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18759 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18760 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18761 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18762 Add GLIBC_2.25.
18763
18764 * include/features.h (__glibc_clang_prereq): New macro.
18765 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18766 (__attribute_deprecated_msg__): New macros.
18767
18768 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18769
18770 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18771 macro.
18772 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18773 * manual/arith.texi (issignaling): Document as ISO from TS
18774 18661-1:2014.
18775 (nextup): Likewise.
18776 (nextupf): Likewise.
18777 (nextupl): Likewise.
18778 (nextdown): Likewise.
18779 (nextdownf): Likewise.
18780 (nextdownl): Likewise.
18781 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18782 macro.
18783 * math/math.h: Define
18784 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18785 <bits/libc-header-start.h> instead of including <features.h>.
18786 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18787 [__USE_GNU].
18788 * math/bits/mathcalls.h (nextdown): Declare if
18789 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18790 (nextup): Likewise.
18791 (__issignaling): Likewise.
18792
18793 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18794
18795 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18796 check, and remove __glibc_likely hint
18797 from FP_INFINITE check.
18798 * s_csinhf.c (__csinhf): Likewise.
18799
18800 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18801 hint from FP_INFINITE check.
18802 * s_csinhl.c (__csinhl): Likewise.
18803
18804 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18805
18806 * math/Makefile (libm-calls): Insert F placeholder into
18807 object names. Move w_lgamma_compat* routines into
18808 (libm-compat-calls): New variable.
18809 (libm-compat-calls-ldouble-yes): New variable.
18810 (calls): Insert F placeholder.
18811 (generated): Redefine using new type-foreach macro call.
18812 (routines): Likewise.
18813
18814 (types): New variable to hold a list of symbolic names
18815 for each type supported by the target machine.
18816 (libm-routines): Redefine using new types variable.
18817 (type-foreach): macro to replace fooF with the
18818 appropriately suffixed foo for each types.
18819
18820 (type-ldouble-suffix): New variable.
18821 (type-ldouble-routines): Likewise.
18822 (type-ldouble-yes): Likewise.
18823 (type-double-suffix): Likewise.
18824 (type-double-routines): Likewise.
18825 (type-float-suffix): Likewise.
18826 (type-float-routines): Likewise.
18827
18828 (dbl-only-routines): Remove.
18829 (long-c-yes): Likewise.
18830 (long-m-routines): Likewise.
18831 (long-m-support): Likewise.
18832 (long-m-yes): Likewise.
18833 (test-longdouble-yes): Likewise.
18834
18835 (test-float.o): Simplify by increasing the scope of the
18836 recipe which adds libm-test.stmp to the vector types.
18837 (test-ifloat.o): Likewise.
18838 (test-float-finite.o): Likewise.
18839 (test-double.o): Likewise
18840 (test-idouble.o): Likewise.
18841 (test-double-finite.o): Likewise.
18842 (test-ldouble.o): Likewise
18843 (test-ildoubl.o): Likewise.
18844 (test-ldouble-finite.o): Likewise.
18845
18846 (libm-tests): Redefine type tests using foreach and the
18847 list of types in types.
18848
18849 (CPPFLAGS-test-ildoubl.c): Rename to
18850 (CPPFLAGS-test-ildouble.c): New variable
18851
18852 * math/test-ildoubl.c: Rename to
18853 * math/test-ildouble.c: New file.
18854
18855 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18856
18857 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18858 Use fabsl instead of fabs.
18859 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18860 Likewise.
18861 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18862 Add long double suffix to constant to ensure proper
18863 promotion to long double.
18864
18865 2016-08-03 Tom Tromey <tom@tromey.com>
18866
18867 [BZ #20311]
18868 * nptl_db/Makefile (headers): Add proc_service.h.
18869 * nptl_db/proc_service.h: Add include guard. Use
18870 __BEGIN/__END_DECLS.
18871 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18872 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18873 arguments.
18874
18875
18876 2016-08-03 Florian Weimer <fweimer@redhat.com>
18877
18878 [BZ #17730]
18879 Avoid using memalign for TCB allocations.
18880 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18881 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18882 Avoid alignment gap in the TLS_DTV_AT_TP case.
18883 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18884 determine the pointer to free.
18885 * nptl/tst-tls3-malloc.c: New test.
18886 * nptl/Makefile (tests): Add it.
18887 (tst-tls3-malloc): Link with libdl, libpthread.
18888 (LDFLAGS-tst-tls3-malloc): Set.
18889 (tst-tls3-malloc.out): Depend on DSO used in test.
18890
18891 2016-08-03 Florian Weimer <fweimer@redhat.com>
18892
18893 [BZ #17730]
18894 Avoid using memalign for TLS allocations.
18895 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18896 is_static member with to_free member.
18897 (union dtv): Use struct dtv_pointer.
18898 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18899 dtv_pointer instead of is_static.
18900 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18901 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18902 instead of val.
18903 (allocate_dtv_entry): New function.
18904 (allocate_and_init): Return struct dtv_pointer. Call
18905 allocate_dtv_entry instead of __libc_memalign.
18906 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18907 instead of val.
18908 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18909 instead of is_static. Adjust call to allocate_and_init.
18910 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18911 struct dtv_pointer instead of val.
18912
18913 2016-08-03 Florian Weimer <fweimer@redhat.com>
18914
18915 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18916 (MALLOC_ALIGN_MASK): Move ...
18917 * malloc/malloc-internal.h: ... to here.
18918 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18919
18920 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18921
18922 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18923 (UDP_ENCAP_GTP1U): Likewise.
18924
18925 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18926 (PF_MAX): Update value.
18927 (AF_QIPCRTR): New macro.
18928
18929 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18930
18931 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18932 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18933 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18935 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18936 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18937 s_truncf-vis3, s_trunc-vis3.
18938 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18939 (CFLAGS-s_ceil-vis3.c): Likewise.
18940 (CFLAGS-s_floorf-vis3.c): Likewise.
18941 (CFLAGS-s_floor-vis3.c): Likewise.
18942 (CFLAGS-s_truncf-vis3.c): Likewise.
18943 (CFLAGS-s_trunc-vis3.c): Likewise.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18952 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18953 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18954 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18955 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18956
18957 2016-08-02 David S. Miller <davem@davemloft.net>
18958
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18960 (__nearbyint_vis3): Don't check for sNaN before float register is
18961 loaded with the incoming argument.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18963 (__nearbyintf_vis3): Likewise.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18965 Likewise.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18967 Likewise.
18968
18969 * string/test-strncmp.c (do_test_limit): Make sure the test data
18970 stream is aligned as required for the type "CHAR".
18971 (do_test): Likewise.
18972
18973 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18974
18975 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18976 by beq instructions jumping to the end of the function.
18977 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18978 clobber list. Use "i" constraint instead of "X".
18979 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18980 of "X".
18981
18982 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18983
18984 * bits/libc-header-start.h: New file.
18985 * Makefile (headers): Add bits/libc-header-start.h.
18986 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18987 (__GLIBC_USE): New macro.
18988 * libio/stdio.h: Define
18989 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18990 <bits/libc-header-start.h> instead of including <features.h>.
18991 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18992 (open_memstream): Likewise.
18993 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18994 (__asprintf): Likewise.
18995 (asprintf): Likewise.
18996 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18997 (getdelim): Likewise.
18998 (getline): Likewise.
18999 * string/string.h: Define
19000 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19001 <bits/libc-header-start.h> instead of including <features.h>.
19002 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
19003 (strndup): Likewise.
19004 * wcsmbs/wchar.h: Define
19005 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19006 <bits/libc-header-start.h> instead of including <features.h>.
19007 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
19008 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
19009
19010 2016-08-02 Florian Weimer <fweimer@redhat.com>
19011
19012 Support linking against compatibility symbols, for use in tests.
19013 * include/libc-symbols.h (symbol_version_reference): New macro.
19014 (symbol_version): Use it.
19015 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
19016 (compat_symbol): Use compat_symbol_reference.
19017 (compat_symbol_1, compat_symbol_2): Remove.
19018 (compat_symbol_reference, compat_symbol_reference_1)
19019 (compat_symbol_reference_2): New macro. Use
19020 symbol_version_reference.
19021
19022 2016-08-02 Florian Weimer <fweimer@redhat.com>
19023
19024 [BZ #19469]
19025 * malloc/Makefile (CPPFLAGS): Compile tests with
19026 -DTEST_NO_MALLOPT.
19027 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
19028
19029 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
19030
19031 [BZ #20033]
19032 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
19033 finite version.
19034 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
19035 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
19036 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
19037 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
19038 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
19039 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
19040 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
19041 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
19042 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
19043 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
19044 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
19045 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
19046 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
19047 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
19048 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
19049 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
19050 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
19051 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
19052 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
19053 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
19054 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
19055 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
19056 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
19057 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
19058 in zero power.
19059
19060 2016-08-02 Florian Weimer <fweimer@redhat.com>
19061
19062 [BZ #20370]
19063 * malloc/arena.c (get_free_list): Update comment. Assert that
19064 arenas on the free list have no attached threads.
19065 (remove_from_free_list): New function.
19066 (reused_arena): Call it.
19067
19068 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
19069
19070 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
19071 when it is a NaN.
19072 [_IEEE_FP_INEXACT] Remove.
19073 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
19074 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
19075 when it is a NaN.
19076 [_IEEE_FP_INEXACT] Remove.
19077 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
19078 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
19079 when it is a NaN.
19080 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
19081 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
19082 when its absolute value is greater than 0x1.0p52.
19083 [_IEEE_FP_INEXACT] Remove.
19084 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
19085 when its absolute value is greater than 0x1.0p23.
19086 [_IEEE_FP_INEXACT] Remove.
19087
19088 2016-08-01 Carlos O'Donell <carlos@redhat.com>
19089
19090 * version.h (RELEASE): Set to "development"
19091 (VERSION): Set to 2.24.90.
19092 * NEWS: Add 2.25 section.
19093
19094 * version.h (RELEASE): Set to "stable"
19095 (VERSION): Set to 2.24.
19096 * include/features.h (__GLIBC_MINOR__): Set to 24.
19097
19098 * NEWS: Add 2.24 fixed bugs.
19099 * po/libc.pot: Regenerate.
19100
19101 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
19102
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19104 [$(subdir) = math] (libm-sysdep_routines): Remove.
19105 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
19106 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
19107 s_truncf-vis3, s_trunc-vis3.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
19110 file.
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
19139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
19142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19144 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
19145 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
19146 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
19147 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
19148 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19149 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19150 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19151 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19152 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19153 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19154
19155 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
19156
19157 [BZ #20384]
19158 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19159 test-double-libmvec-sincos-avx-main.o,
19160 test-double-libmvec-sincos-avx2-main.o,
19161 test-double-libmvec-sincos-main.o,
19162 test-float-libmvec-sincosf-avx-main.o,
19163 test-float-libmvec-sincosf-avx2-main.o and
19164 test-float-libmvec-sincosf-main.o.
19165 test-float-libmvec-sincosf-avx512-main.o.
19166 ($(objpfx)test-double-libmvec-sincos): Also link with
19167 $(objpfx)test-double-libmvec-sincos-main.o.
19168 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19169 $(objpfx)test-double-libmvec-sincos-avx-main.o.
19170 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19171 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19172 ($(objpfx)test-float-libmvec-sincosf): Also link with
19173 $(objpfx)test-float-libmvec-sincosf-main.o.
19174 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19175 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19176 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19177 test-double-libmvec-sincos-avx512-main.o and
19178 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19179 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19180 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19181 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19182 (CFLAGS-test-double-libmvec-sincos.c): Removed.
19183 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19184 (CFLAGS-test-double-libmvec-sincos-main.c): New.
19185 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19186 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19187 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19188 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19189 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19190 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19191 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19192 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19193 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19194 -DREQUIRE_AVX2.
19195 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19196 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19197 -DREQUIRE_AVX512F.
19198 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19199 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19200 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19201 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19202 file.
19203 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19204 Likewise.
19205 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19206 Likewise.
19207 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19208 Likewise.
19209 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19210 Likewise.
19211 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19212 Likewise.
19213 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19214 Likewise.
19215 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19216 Likewise.
19217
19218 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
19219
19220 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19221
19222 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
19223
19224 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19225 and typo in a comment about AT_HWCAP entry.
19226
19227 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19228
19229 * sysdeps/aarch64/libm-test-ulps: Updated.
19230
19231 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19232
19233 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19234 of r13 as it is not restored in mvcle case.
19235
19236 2016-07-19 Mike Frysinger <vapier@gentoo.org>
19237
19238 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19239 Rename "ret" to "__ret".
19240 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19241 inline_syscall5, inline_syscall6): Likewise.
19242
19243 2016-07-19 Will Newton <will.newton@gmail.com>
19244
19245 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19246 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19247 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19248 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19249 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19250
19251 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
19252
19253 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19254 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19255 -mfpmath=387 with $(rtld-CFLAGS).
19256 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19257 $(rtld-CFLAGS).
19258
19259 2016-07-18 Ross Burton <ross.burton@intel.com>
19260 Khem Raj <raj.khem@gmail.com>
19261
19262 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19263 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19264 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19265 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19266 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19267 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19268 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19269 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19270 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19271 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19272 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19273 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19274 R_METAG_TLS_DTPOFF): New.
19275
19276 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
19277 Matt Clay <mclay@lycos.com>
19278
19279 [BZ #20357]
19280 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19281 to call __mpsin/__mpcos and to negate values.
19282 * math/auto-libm-test-in: Add test.
19283 * math/auto-libm-test-out: Regenerate.
19284
19285 2016-07-18 Zack Weinberg <zackw@panix.com>
19286
19287 * grp/Makefile: Don't install the internal header grp-merge.h.
19288
19289 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19290
19291 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19292
19293 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
19294
19295 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19296
19297 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19298
19299 [BZ #15368]
19300 * sysdeps/unix/sysv/linux/nptl-signals.h
19301 (__nptl_clear_internal_signals): New function.
19302 (__libc_signal_block_all): Likewise.
19303 (__libc_signal_block_app): Likewise.
19304 (__libc_signal_restore_set): Likewise.
19305 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19306 implementation.
19307 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19308 the cached pid/tid value in pthread structure.
19309
19310 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 [BZ #20347]
19313 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19314
19315 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 [BZ #20348]
19318 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19319 preadv64, pwrite64 and pwritev64.
19320
19321 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19322
19323 [BZ #20350]
19324 * posix/tst-preadwrite.c: Renamed to ...
19325 * posix/tst-preadwrite-common.c: This.
19326 (PREAD): Removed.
19327 (PWRITE): Likewise.
19328 (STRINGIFY): Likewise.
19329 (STRINGIFY2): Likewise.
19330 (do_prepare): Make it static and remove function arguments.
19331 (do_test): Likewise.
19332 (PREPARE): Updated.
19333 (TEST_FUNCTION): New.
19334 (name): Make it static.
19335 (fd): Likewise.
19336 (do_prepare): Use create_temp_file.
19337 (do_test): Renamed to ...
19338 (do_test_with_offset): This. Make it static and accept offset.
19339 Properly check return value of PWRITE and PREAD. Return bytes
19340 read. Don't close fd nor unlink name.
19341 * posix/tst-preadwrite.c: Rewrite.
19342 * posix/tst-preadwrite64.c: Likewise.
19343
19344 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 [BZ #20309]
19347 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19348 -mtls-dialect=gnu2 works.
19349 * configure: Regenerated.
19350 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19351 (tests): Add tst-gnu2-tls1.
19352 (modules-names): Add tst-gnu2-tls1mod.
19353 ($(objpfx)tst-gnu2-tls1): New.
19354 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19355 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19356 * elf/tst-gnu2-tls1.c: New file.
19357 * elf/tst-gnu2-tls1mod.c: Likewise.
19358 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19359 bytes for push in the PLT entry to align the stack.
19360
19361 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19362
19363 [BZ #20349]
19364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19365
19366 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19367
19368 [BZ #18707]
19369 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19370 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19371
19372 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19373
19374 * sysdeps/unix/sysv/linux/sysdep.h
19375 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19376 guards.
19377 * misc/tst-preadvwritev-common.c: New file.
19378 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19379 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19380 a check for files larger than 2GB.
19381
19382 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19383 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19384 * sysdeps/unix/sysv/linux/pread.c
19385 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19386 __OFF_T_MATCHES_OFF64_T.
19387 * sysdeps/unix/sysv/linux/pread64.c
19388 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19389 * sysdeps/unix/sysv/linux/preadv.c
19390 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19391 * sysdeps/unix/sysv/linux/preadv64.c
19392 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19393 * sysdeps/unix/sysv/linux/pwrite.c
19394 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19395 * sysdeps/unix/sysv/linux/pwrite64.c
19396 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19397 * sysdeps/unix/sysv/linux/pwritev.c
19398 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19399 * sysdeps/unix/sysv/linux/pwritev64.c
19400 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19401
19402 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19403
19404 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19405 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19406
19407 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19408
19409 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19410
19411 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19412
19413 [BZ #20240]
19414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19415 (CFLAGS-s_modf-ppc32.c): New variable.
19416 (CFLAGS-s_modff-ppc32.c): Likewise.
19417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19418 (CFLAGS-s_modf-ppc64.c): Likewise.
19419 (CFLAGS-s_modff-ppc64.c): Likewise.
19420
19421 2016-07-07 Andreas Schwab <schwab@suse.de>
19422
19423 [BZ #20263]
19424 * nptl/tst-robust10.c: New test.
19425 * nptl/Makefile (tests): Add tst-robust10.
19426
19427 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19428
19429 [BZ #20263]
19430 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19431
19432 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19433
19434 * sysdeps/s390/linkmap.h (struct link_map_machine):
19435 Remove member gotplt and add member jmprel.
19436 * sysdeps/s390/s390-32/dl-machine.h
19437 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19438 instead of gotplt with &got[3].
19439 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19440 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19441
19442 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19443
19444 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19445
19446 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19447
19448 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19449 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19450 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19451 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19452 * libio/vtables.c (_IO_vtable_check)
19453 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19454 * libio/libioP.h (IO_set_accept_foreign_vtables)
19455 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19456
19457 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19458
19459 [BZ #20314]
19460 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19461 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19462 $(common-objpfx)cmath.
19463 ($(common-objpfx)cstdlib): New target.
19464 ($(common-objpfx)cmath): Likewise.
19465
19466 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19467
19468 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19469
19470 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19471
19472 [BZ #20327]
19473 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19474 are not part of the string.
19475
19476 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19477
19478 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19479 * nptl/tst-cancel4-common.h (fifoname): New variable.
19480 (fifofd): Likewise.
19481 (cl_fifo): New function.
19482 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19483 SIGINT.
19484 (tf_open): Add early cancel test.
19485
19486 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19487
19488 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19489
19490 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19491
19492 * sysdeps/generic/ldsodefs.h
19493 (dl_symbol_visibility_binds_local_p): New inline function.
19494 * elf/dl-addr.c (determine_info): Treat hidden and internal
19495 symbols as local.
19496 * elf/dl-lookup.c (do_lookup_x): Likewise.
19497 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19498
19499 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19500
19501 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19502 invalid exception for a sNaN input.
19503 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19504 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19505 (__nearbyint_vis3): Likewise
19506 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19507 (__nearbyintf_vis3): Likewise
19508 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19509 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19510 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19511 Likewise.
19512 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19513 Likewise.
19514
19515 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19516
19517 [BZ #20139]
19518 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19519 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19520 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19521 2.24 or above.
19522 (HAVE_AVX512_ASM_SUPPORT): Removed.
19523 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19524 * sysdeps/x86_64/configure: Regenerated.
19525 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19526 check unconditional.
19527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19528 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19529 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19530 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19531 Likewise.
19532 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19533 Likewise.
19534 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19535 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19536 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19537 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19538 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19539 Likewise.
19540 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19541 Likewise.
19542 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19543 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19544 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19545 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19546 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19547 Likewise.
19548 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19549 Likewise.
19550 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19551 Likewise.
19552 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19553 Likewise.
19554 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19555 Likewise.
19556 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19557 Likewise.
19558 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19559 Likewise.
19560 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19561 Likewise.
19562 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19563 Likewise.
19564 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19565 Likewise.
19566 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19567 Likewise.
19568
19569 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19570
19571 [BZ #20024]
19572 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19573 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19574 of this implementation of vector function.
19575 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19577 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19578 Likewise.
19579 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19580 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19581 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19582 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19583 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19584 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19585 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19586 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19587 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19588 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19589 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19590 for testing vector sincos with fixed ABI.
19591 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19592 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19593 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19594 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19595 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19596 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19597 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19598 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19599 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19600 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19601 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19602 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19603 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19604 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19605 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19606 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19607
19608 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19609
19610 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19611
19612 2016-06-30 Anton Blanchard <anton@samba.org>
19613
19614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19615 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19616 s_sinf-ppc64.
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19620 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19621
19622 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19623
19624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19626 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19627 e_expf-ppc64.
19628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19631 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19632
19633 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19634
19635 [BZ #20277]
19636 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19637 when SHARED is defined.
19638
19639 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19640
19641 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19642 (index_arch_Prefer_ERMS): Likewise.
19643 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19644 __memcpy_erms for Prefer_ERMS.
19645 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19646 (__memmove_erms): Enabled for libc.a.
19647 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19648 __memmove_erms or Prefer_ERMS.
19649 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19650 __mempcpy_erms for Prefer_ERMS.
19651 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19652 __memset_erms for Prefer_ERMS.
19653
19654 2016-06-30 Andreas Schwab <schwab@suse.de>
19655
19656 [BZ #20262]
19657 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19658 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19659 of memory.
19660
19661 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19662
19663 [BZ #18645]
19664 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19665 (test-extras): Add tst-cleanupx4aux.
19666 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19667 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19668 tst-cleanupx4aux.o.
19669 * nptl/tst-cleanupx4aux.c: New file.
19670
19671 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19672
19673 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19674
19675 2016-06-29 Andreas Schwab <schwab@suse.de>
19676
19677 [BZ #20260]
19678 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19679 address before the beginning of the string as an integer to avoid
19680 array-bounds warning.
19681
19682 2016-06-28 Richard Henderson <rth@redhat.com>
19683
19684 * elf/elf.h (EM_BPF): New.
19685 (EM_NUM): Update.
19686 (R_BPF_NONE, R_BPF_MAP_FD): New.
19687
19688 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19689 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19690 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19691 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19692 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19693 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19694 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19695 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19696 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19697 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19698 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19699 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19700 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19701 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19702 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19703 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19704 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19705 (EM_NUM): Update.
19706
19707 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19708
19709 [BZ #18960]
19710 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19711 Set _nl_current_LC_CATEGORY_used to two instead of one.
19712
19713 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19714
19715 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19716 (do_test): ... this.
19717 (TEST_FUNCTION): New macro.
19718 Include test-skeleton.c.
19719 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19720 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19721
19722 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19723
19724 [BZ #15479]
19725 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19726 floating-point environment rather than just control word.
19727 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19728 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19729 floating-point environment, with "invalid" exceptions merged in,
19730 rather than just control word.
19731 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19732 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19733 "inexact" exceptions.
19734
19735 [BZ #15479]
19736 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19737 floating-point environment rather than just control word.
19738 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19739 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19740 floating-point environment, with "invalid" exceptions merged in,
19741 rather than just control word.
19742 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19743 * math/libm-test.inc (floor_test_data): Do not allow spurious
19744 "inexact" exceptions.
19745
19746 [BZ #15479]
19747 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19748 floating-point environment rather than just control word.
19749 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19750 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19751 floating-point environment, with "invalid" exceptions merged in,
19752 rather than just control word.
19753 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19754 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19755 "inexact" exceptions.
19756
19757 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19758
19759 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19760 __libc_vfork.
19761 (__vfork) [IS_IN (libc)]: Remove alias.
19762 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19763 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19764 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19765
19766 2016-06-24 Torvald Riegel <triegel@redhat.com>
19767
19768 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19769 of atomic_compare_and_exchange_bool_rel.
19770 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19771 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19772 catomic_compare_and_exchange_bool_rel): Remove.
19773 * sysdeps/aarch64/atomic-machine.h
19774 (atomic_compare_and_exchange_bool_rel): Likewise.
19775 * sysdeps/alpha/atomic-machine.h
19776 (atomic_compare_and_exchange_bool_rel): Likewise.
19777 * sysdeps/arm/atomic-machine.h
19778 (atomic_compare_and_exchange_bool_rel): Likewise.
19779 * sysdeps/mips/atomic-machine.h
19780 (atomic_compare_and_exchange_bool_rel): Likewise.
19781 * sysdeps/microblaze/atomic-machine.h
19782 ( __arch_compare_and_exchange_bool_8_rel,
19783 __arch_compare_and_exchange_bool_16_rel): Likewise.
19784 * sysdeps/powerpc/atomic-machine.h
19785 ( __arch_compare_and_exchange_bool_8_rel,
19786 __arch_compare_and_exchange_bool_16_rel): Likewise.
19787 * sysdeps/powerpc/powerpc32/atomic-machine.h
19788 ( __arch_compare_and_exchange_bool_32_rel,
19789 __arch_compare_and_exchange_bool_64_rel): Likewise.
19790 * sysdeps/powerpc/powerpc64/atomic-machine.h
19791 ( __arch_compare_and_exchange_bool_32_rel,
19792 __arch_compare_and_exchange_bool_64_rel): Likewise.
19793 * sysdeps/tile/atomic-machine.h
19794 (atomic_compare_and_exchange_bool_rel): Likewise.
19795
19796 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19797
19798 [BZ #20296]
19799 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19800 when either argument is a NaN.
19801 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19802 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19803
19804 * math/libm-test.inc (snan_value_ld): New macro.
19805 (isgreater_test_data): Add sNaN tests.
19806 (isgreaterequal_test_data): Likewise.
19807 (isless_test_data): Likewise.
19808 (islessequal_test_data): Likewise.
19809 (islessgreater_test_data): Likewise.
19810 (isunordered_test_data): Likewise.
19811 (nextafter_test_data): Likewise.
19812 (nexttoward_test_data): Likewise.
19813 (remainder_test_data): Likewise.
19814 (remquo_test_data): Likewise.
19815 (significand_test_data): Likewise.
19816 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19817
19818 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19819
19820 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19821 environment macros are defined.
19822 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19823
19824 2016-06-23 Florian Weimer <fweimer@redhat.com>
19825
19826 [BZ #20191]
19827 Implement vtable verification in libio.
19828 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19829 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19830 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19831 _IO_new_file_init_internal instead of _IO_file_init.
19832 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19833 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19834 * libio/Makefile (routines): Add vtables.
19835 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19836 (_IO_init): Remove, not for internal use.
19837 (_IO_init_internal): Declare, internal replacement for _IO_init.
19838 (_IO_file_init): Remove, not for internal use.
19839 (_IO_new_file_init): Remove, not for internal use.
19840 (_IO_new_file_init_internal): Declare, internal replacement for
19841 _IO_new_file_init.
19842 (_IO_old_file_init): Remove, not for internal use.
19843 (_IO_old_file_init_internal): Declare, internal replacement for
19844 _IO_old_file_init.
19845 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19846 internal use.
19847 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19848 Declare.
19849 (libio_vtable): New macro.
19850 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19851 functions.
19852 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19853 _IO_new_file_init.
19854 (_IO_new_file_init): New externally visible wrapper which disables
19855 vtable verification.
19856 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19857 Define as vtables.
19858 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19859 (_IO_init): New externally visible wrapper which disables
19860 vtable verification.
19861 * libio/iofdopen.c (_IO_new_fdopen): Call
19862 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19863 comment.
19864 * libio/iofopen.c (__fopen_internal): Call
19865 _IO_new_file_init_internal instead of _IO_file_init.
19866 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19867 Define as vtables.
19868 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19869 _IO_new_file_init_internal instead of _IO_file_init.
19870 * libio/iopopen.c (_IO_new_popen): Likewise.
19871 (_IO_proc_jumps): Define as vtable.
19872 * libio/iovdprintf.c (_IO_vdprintf): Call
19873 _IO_new_file_init_internal instead of _IO_file_init.
19874 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19875 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19876 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19877 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19878 _IO_old_file_init.
19879 (_IO_old_file_init): New externally visible wrapper which disables
19880 vtable verification.
19881 (_IO_old_file_jumps): Define as vtable.
19882 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19883 _IO_old_file_init_internal instead of _IO_old_file_init.
19884 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19885 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19886 (_IO_old_proc_jumps): Define as vtable.
19887 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19888 Define as vtables.
19889 * libio/vtables.c: New file.
19890 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19891 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19892 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19893 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19894 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19895 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19896 instead of _IO_init.
19897
19898 2016-06-23 Florian Weimer <fweimer@redhat.com>
19899
19900 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19901
19902 2016-06-23 Florian Weimer <fweimer@redhat.com>
19903
19904 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19905 potentially unused.
19906
19907 2016-06-22 Florian Weimer <fweimer@redhat.com>
19908
19909 * test-skeleton.c (write_message): New function.
19910 * malloc/tst-mallocfork2.c (write_message): Remove.
19911 * debug/tst-longjmp_chk2.c (write_indented): New function.
19912 (write_message): Remove.
19913 (stackoverflow_handler): Call write_indented.
19914
19915 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19916
19917 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19918 "inexact" exceptions after fnstenv.
19919 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19920 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19921 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19922
19923 2015-06-22 Zack Weinberg <zackw@panix.com>
19924
19925 * sysdeps/generic/bits/hwcap.h: Moved to ...
19926 * bits/hwcap.h: Here.
19927
19928 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19929
19930 * sysdeps/aarch64/memcpy.S (memcpy):
19931 Further tuning for performance.
19932
19933 2016-06-21 Florian Weimer <fweimer@redhat.com>
19934
19935 [BZ #20284]
19936 * malloc/arena.c (reused_arena): Do not return NULL if we start
19937 out with a non-corrupted arena.
19938
19939 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19940
19941 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19942 * misc/tst-preadvwritev.c: New file.
19943 * misc/tst-preadvwritev64.c: Likewise.
19944 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19945 usage.
19946 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19947 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19948 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19949 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19950
19951 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19952
19953 [BZ #19654]
19954 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19955 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19956 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19957 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19958 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19959 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19960 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19961 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19962 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19963 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19964 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19965 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19966 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19967 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19968 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19969 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19970 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19971 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19972 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19973 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19974 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19975 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19976 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19977 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19978 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19979 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19980
19981 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19982
19983 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19984 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19985
19986 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19987
19988 * sysdeps/aarch64/memcpy.S (memcpy):
19989 Rewrite of optimized memcpy and memmove.
19990 * sysdeps/aarch64/memmove.S (memmove): Remove
19991 memmove code (merged into memcpy.S).
19992
19993 2016-06-20 Florian Weimer <fweimer@redhat.com>
19994
19995 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19996 * sysdeps/generic/dl-dtv.h: New file.
19997 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19998 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19999 (dtv_t): Remove.
20000 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20001 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
20002 (dtv_t): Remove.
20003 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20004 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
20005 (dtv_t): Remove.
20006 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20007 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
20008 (dtv_t): Remove.
20009 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20010 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
20011 (dtv_t): Remove.
20012 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20013 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
20014 (dtv_t): Remove.
20015 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20016 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
20017 (dtv_t): Remove.
20018 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
20019 (dtv_t): Remove.
20020 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20021 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
20022 (dtv_t): Remove.
20023 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20024 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
20025 (dtv_t): Remove.
20026 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20027 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
20028 (dtv_t): Remove.
20029 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20030 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
20031 (dtv_t): Remove.
20032 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20033 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
20034 (dtv_t): Remove.
20035 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20036 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
20037 (dtv_t): Remove.
20038 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20039 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
20040 (dtv_t): Remove.
20041 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20042 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
20043 (dtv_t): Remove.
20044
20045 2016-06-20 Florian Weimer <fweimer@redhat.com>
20046
20047 Revert symbol poisoning of __malloc_initialize_hook.
20048 * include/stdc-predef.h (__malloc_initialize_hook): Remove
20049 poisoning.
20050 * malloc/Makefile: Remove un-poisoning.
20051 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
20052 instead of old__malloc_initialize_hook.
20053 * malloc/malloc-hooks.h: Likewise.
20054 * malloc/malloc.c: Likewise.
20055 * malloc/mcheck-init.c: Likewise.
20056
20057 2016-06-19 Carlos O'Donell <carlos@redhat.com>
20058
20059 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
20060
20061 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
20062
20063 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
20064 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
20065 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
20066 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
20067
20068 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20069
20070 * NEWS: Mention addition of nextup and nextdown.
20071 * manual/arith.texi: Document nextup and nextdown.
20072 * manual/libm-err-tab.pl: Add nextup and nextdown.
20073 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
20074 * math/Versions (libm): Add GLIBC_2.24.
20075 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
20076 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20077 Add new test.
20078 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
20079 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
20080 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
20081 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
20082 (nextup_test_data): Likewise.
20083 (nextdown_test_data): Likewise.
20084 * math/s_nextdown.c: New file.
20085 * math/s_nextdownf.c: Likewise.
20086 * math/s_nextdownl.c: Likewise.
20087 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
20088 F(nextup): New function.
20089 F(nextdown): Likewise.
20090 * math/tgmath.h: Add nextup and nextdown.
20091 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
20092 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
20093 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
20094 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
20095 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
20096 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
20097 Add nextup and nextdown.
20098 (CFLAGS-nldbl-nextup.c): New variable.
20099 (CFLAGS-nldbl-nextdown.c): Likewise.
20100 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
20101 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
20102 * sysdeps/nacl/libm.abilist: Update.
20103 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20104 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20105 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20106 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20107 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20109 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20111 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20112 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20113 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20117 Likewise.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20120 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20122 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20123 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20124 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
20126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
20127 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20128 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20129 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
20130 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20131
20132 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20133
20134 * manual/pattern.texi: Fix typos & grammar errors.
20135
20136 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20137
20138 * manual/search.texi: Fix typos & grammar errors.
20139
20140 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20141
20142 * manual/message.texi: Fix typos & grammar errors.
20143
20144 2016-06-16 Mike Frysinger <vapier@gentoo.org>
20145
20146 * manual/contrib.texi: Fix spelling typos.
20147 * manual/crypt.texi: Likewise.
20148 * manual/filesys.texi: Likewise.
20149 * manual/locale.texi: Likewise.
20150 * manual/message.texi: Likewise.
20151 * manual/nss.texi: Likewise.
20152 * manual/string.texi: Likewise.
20153
20154 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20155
20156 * manual/locale.texi: Fix typos & grammar errors.
20157
20158 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20159
20160 * manual/charset.texi: Fix typos & grammar errors.
20161
20162 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20163
20164 * manual/string.texi: Fix typos.
20165
20166 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20167
20168 * manual/ctype.texi: Fix typos.
20169
20170 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20171
20172 * manual/memory.texi: Fix various typos & grammar errors.
20173
20174 2016-06-14 Joseph Myers <joseph@codesourcery.com>
20175
20176 [BZ #20255]
20177 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
20178 * math/libm-test.inc (fdim_test_data): Add another test.
20179
20180 [BZ #6796]
20181 [BZ #20255]
20182 [BZ #20256]
20183 * math/s_fdim.c: Include <math_private.h>.
20184 (__fdim): Use math_narrow_eval on result.
20185 * math/s_fdimf.c: Include <math_private.h>.
20186 (__fdimf): Use math_narrow_eval on result.
20187 * sysdeps/i386/fpu/s_fdim.S: Remove file.
20188 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20189 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20190 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20191 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20192 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20193 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20194 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20195 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20196 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20197 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20198 * math/libm-test.inc (fdim_test_data): Expect errno setting on
20199 overflow. Add sNaN tests.
20200
20201 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20202 fpclassify.
20203 * math/s_fdimf.c (__fdimf): Likewise.
20204 * math/s_fdiml.c (__fdiml): Likewise.
20205
20206 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20207
20208 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20209 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20211 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20212 ifunc'ed strcasecmp/strncasecmp.
20213 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20214 [EALIGN]: Removed.
20215 [END]: Likewise.
20216 [__strcasecmp]: Define instead of the above to control symbol name.
20217 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20218 for __strcasecmp_power8.
20219 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20220 for __strncasecmp_power8.
20221 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20222 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20223 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20224 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20225 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20226 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20227
20228 2016-06-13 Joseph Myers <joseph@codesourcery.com>
20229
20230 [BZ #20252]
20231 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20232 arguments when second argument is a NaN.
20233 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20234 qNaN tests.
20235
20236 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20237 (conj_test_data): Likewise.
20238 (copysign_test_data): Likewise.
20239 (creal_test_data): Likewise.
20240 (fma_test_data): Likewise.
20241 (fmod_test_data): Likewise.
20242
20243 [BZ #20250]
20244 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20245 itself.
20246 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20247 zero input to itself.
20248 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20249 Likewise.
20250 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20251 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20253 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20254 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20255
20256 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20257
20258 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20259 * nptl/tst-cancel4-common.c: New file.
20260 * nptl/tst-cancel4-common.h: Likewise.
20261 * nptl/tst-cancel4.c: Move common definitions to
20262 tst-cancel4-common.{c,h} file.
20263 * nptl/tst-cancel4_1.c: New test.
20264 * nptl/tst-cancel4_2.c: New test.
20265
20266 2016-06-13 Florian Weimer <fweimer@redhat.com>
20267
20268 [BZ #20248]
20269 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20270 (write_message): New function.
20271 (stackoverflow_handler): Call it instead of printf, to avoid
20272 excessive stack usage by printf.
20273 (do_test): Restore SIGSEGV, SIGBUS default handlers.
20274
20275 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20276
20277 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20278 (prio_inherit_missing): Remove define.
20279 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20280 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20281 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20282 Likewise.
20283 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20284 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20285 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20286 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20287 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20288 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20289
20290 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20291
20292 [BZ #19670]
20293 [BZ #19672]
20294
20295 * io/test-lfs.c (do_prepare): Use xmalloc.
20296 * io/tst-fcntl.c (do_prepare): Likewise.
20297 * libio/tst-fopenloc.c (do_bz17916): Likewise.
20298 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20299 * login/tst-utmp.c (do_prepare): Likewise.
20300 * posix/tst-exec.c (do_prepare): Likewise.
20301 * posix/tst-pathconf.c (prepare): Likewise.
20302 * posix/tst-spawn.c (do_prepare): Likewise.
20303 * posix/tst-truncate.c (do_prepare): Likewise.
20304 * rt/tst-aio.c (do_prepare): Likewise.
20305 * rt/tst-aio64.c (do_prepare): Likewise.
20306
20307 2016-06-11 Florian Weimer <fweimer@redhat.com>
20308
20309 [BZ #20237]
20310 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20311 (get*ent): Set entidx to NULL during initialization. If entidx is
20312 NULL, start iteration from the beginning.
20313
20314 2016-06-11 Florian Weimer <fweimer@redhat.com>
20315
20316 * malloc/malloc.c (musable): Return correct size for dumped fake
20317 mmapped chunk.
20318
20319 2016-06-11 Florian Weimer <fweimer@redhat.com>
20320
20321 [BZ #20222]
20322 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20323 (_IO_cookie_write): Likewise.
20324 (_IO_cookie_seek): Likewise.
20325 (_IO_cookie_close): Likewise.
20326 (_IO_old_cookie_seek): Likewise.
20327 (set_callbacks): New function.
20328 (_IO_cookie_init): Call set_callbacks to copy callbacks.
20329
20330 2016-06-11 Marko Myllynen <myllynen@redhat.com>
20331
20332 * locale/programs/localedef.c (oldstyle_tables): Remove.
20333 * locale/programs/localedef.h (oldstyle_tables): Likewise.
20334
20335 2016-06-10 Joseph Myers <joseph@codesourcery.com>
20336
20337 [BZ #20240]
20338 * math/Makefile (CFLAGS-s_modf.c): New variable.
20339 (CFLAGS-s_modff.c): Likewise.
20340 (CFLAGS-s_modfl.c): Likewise.
20341 * math/libm-test.inc (modf_test_data): Add sNaN tests.
20342
20343 2016-06-09 Carlos O'Donell <carlos@redhat.com>
20344
20345 [BZ #20215]
20346 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20347 [!__GNUC_PREREQ (3,2)]: Likewise.
20348
20349 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
20350
20351 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20352 (msghdr.msg_controllen): Likewise.
20353 (cmsghdr.cmsg_len): Likewise.
20354 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20355 ptw-oldsendmsg.
20356 (CFLAGS-oldrecvmsg.c): Remove rule.
20357 (CFLAGS-oldsendmsg.c): Likewise.
20358 (CFLAGS-recvmsg.c): Add rule.
20359 (CFLAGS-sendmsg.c): Likewise.
20360 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20361 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20362 (CFLAGS-recvmsg.c): Remove rule.
20363 (CFLAGS-sendmsg.c): Likewise.
20364 (CFLAGS-oldrecvmsg.c): Likewise.
20365 (CFLAGS-oldsendmsg.c): Likewise.
20366 (CFLAGS-recvmmsg.c): Likewise.
20367 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20368 to kernel defined interfaces.
20369 (msghdr.msg_controllen): Likewise.
20370 (cmsghdr.cmsg_len): Likewise.
20371 (msghdr.__glibc_reserved1): Remove member.
20372 (msghdr.__glibc_reserved2): Likewise.
20373 (cmsghdr.__glibc_reserved1): Likewise.
20374 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20375 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20376 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20377 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20378 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20379 version.
20380 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20381 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20382 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20383 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20384 Remove recvmsg and sendmsg.
20385 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20386 Likewise.
20387 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20388 Likewise.
20389 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20390 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20391 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20392 Likewise.
20393 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20394 Likewise.
20395 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20396 [libc] (GLIBC_2.24): Likewise.
20397 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20398 Likewise.
20399 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20400 Likewise.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20402 [libc] (GLIBC_2.24): Likewise.
20403 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20404 Likewise.
20405 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20406 Likewise.
20407 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20408 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20409 Likewise.
20410 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20411 Likewise.
20412 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20413 Likewise.
20414 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20415 Likewise.
20416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20417 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20418 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20419 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20420 version for {recv,send,recm,sendm}msg.
20421 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20422 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20423 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20424 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20425 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20426 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20427 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20428 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20429 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20430 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20431 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20432 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20434 Likewise.
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20436 Likewise.
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20439 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20440 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20441 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20442 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20443 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20444 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20447 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20448 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20449 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20450
20451 2016-06-10 Florian Weimer <fweimer@redhat.com>
20452
20453 [BZ #19564]
20454 Remove __malloc_initialize_hook from the API.
20455 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20456 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20457 #pragma GCC poison.
20458 * malloc/malloc-hooks.h: New file.
20459 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20460 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20461 (old__malloc_initialize_hook): Rename from
20462 __malloc_initialize_hook to evade poisoning. Turn into compat
20463 symbol.
20464 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20465 __malloc_initialize_hook.
20466 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20467 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20468 * manual/memory.texi (Hooks for Malloc): Remove
20469 __malloc_initialize_hook. Adjust hook example.
20470
20471 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20472
20473 [BZ #20235]
20474 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20475 itself.
20476 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20477 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20478
20479 [BZ #20234]
20480 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20481 infinity or NaN input to itself.
20482
20483 [BZ #20233]
20484 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20485 to itself.
20486
20487 [BZ #20232]
20488 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20489 itself.
20490
20491 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20492
20493 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20494 __libc_start_main via GOT.
20495
20496 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20497
20498 * sysdeps/x86_64/memcopy.h: New file.
20499 * sysdeps/x86_64/wordcopy.c: Likewise.
20500
20501 2016-06-09 Florian Weimer <fweimer@redhat.com>
20502
20503 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20504 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20505 <cstdlib>.
20506 (optimization_barrier): New.
20507 (do_test): Use it. Call quick_exit in the global namespace.
20508 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20509 instead of <cstdlib>, <thread>.
20510 (optimization_barrier): New.
20511 (non_main_thread): Adjust declaration. Call optimization_barrier.
20512 Call quick_exit in the global namespace.
20513 (do_test): Call optimization_barrier. Use pthread_create,
20514 pthread_join instead of std::thread.
20515
20516 2016-06-09 Andreas Schwab <schwab@suse.de>
20517
20518 [BZ #19755]
20519 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20520 new entries in auto-propagate mode.
20521 * nscd/grpcache.c (cache_addgr): Likewise.
20522
20523 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20524
20525 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20526 New functions.
20527 (add_temp_file): Use them.
20528
20529 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20530
20531 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20532
20533 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20534
20535 [BZ #20229]
20536 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20537 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20538 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20539
20540 [BZ #20228]
20541 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20542 itself.
20543 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20544 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20545
20546 [BZ #20227]
20547 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20548 itself.
20549 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20550 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20551 * math/libm-test.inc (log_test_data): Add sNaN tests.
20552
20553 [BZ #20226]
20554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20555 itself.
20556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20557 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20558 (exp10_test_data): Likewise.
20559 (expm1_test_data): Likewise.
20560
20561 [BZ #20225]
20562 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20563 itself.
20564 * math/s_ldexpf.c (__ldexpf): Likewise.
20565 * math/s_ldexpl.c (__ldexpl): Likewise.
20566 * math/w_scalbln.c (__w_scalbln): Likewise.
20567 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20568 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20569 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20570 (scalbln_test_data): Likewise.
20571
20572 [BZ #20224]
20573 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20574 argument to itself.
20575 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20576
20577 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20578
20579 [BZ #19776]
20580 * sysdeps/x86_64/memcpy.S: Make it dummy.
20581 * sysdeps/x86_64/mempcpy.S: Likewise.
20582 * sysdeps/x86_64/memmove.S: New file.
20583 * sysdeps/x86_64/memmove_chk.S: Likewise.
20584 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20585 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20586 * sysdeps/x86_64/memmove.c: Removed.
20587 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20588 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20589 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20590 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20591 Likewise.
20592 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20593 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20595 memcpy-sse2-unaligned, memmove-avx-unaligned,
20596 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20597 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20598 (__libc_ifunc_impl_list): Replace
20599 __memmove_chk_avx512_unaligned_2 with
20600 __memmove_chk_avx512_unaligned. Remove
20601 __memmove_chk_avx_unaligned_2. Replace
20602 __memmove_chk_sse2_unaligned_2 with
20603 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20604 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20605 with __memmove_avx512_unaligned. Replace
20606 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20607 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20608 with __memcpy_chk_avx512_unaligned. Remove
20609 __memcpy_chk_avx_unaligned_2. Replace
20610 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20611 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20612 Replace __memcpy_avx512_unaligned_2 with
20613 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20614 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20615 with __mempcpy_chk_avx512_unaligned. Remove
20616 __mempcpy_chk_avx_unaligned_2. Replace
20617 __mempcpy_chk_sse2_unaligned_2 with
20618 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20619 Replace __mempcpy_avx512_unaligned_2 with
20620 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20621 Replace __mempcpy_sse2_unaligned_2 with
20622 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20623 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20624 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20625 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20626 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20627 (ENTRY): Removed.
20628 (END): Likewise.
20629 (ENTRY_CHK): Likewise.
20630 (libc_hidden_builtin_def): Likewise.
20631 Don't include ../memcpy.S.
20632 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20633 __memcpy_chk_avx512_unaligned_erms and
20634 __memcpy_chk_avx512_unaligned. Use
20635 __memcpy_chk_avx_unaligned_erms and
20636 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20637 Default to __memcpy_chk_sse2_unaligned.
20638 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20639 Change function suffix from unaligned_2 to unaligned.
20640 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20641 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20642 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20643 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20644 (ENTRY): Removed.
20645 (END): Likewise.
20646 (ENTRY_CHK): Likewise.
20647 (libc_hidden_builtin_def): Likewise.
20648 Don't include ../mempcpy.S.
20649 (mempcpy): New. Add a weak alias.
20650 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20651 __mempcpy_chk_avx512_unaligned_erms and
20652 __mempcpy_chk_avx512_unaligned. Use
20653 __mempcpy_chk_avx_unaligned_erms and
20654 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20655 Default to __mempcpy_chk_sse2_unaligned.
20656
20657 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20658
20659 [BZ #19881]
20660 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20661 into ...
20662 * sysdeps/x86_64/memset.S: This.
20663 (__bzero): Removed.
20664 (__memset_tail): Likewise.
20665 (__memset_chk): Likewise.
20666 (memset): Likewise.
20667 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20668 defined.
20669 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20670 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20671 (__memset_zero_constant_len_parameter): Check SHARED instead of
20672 PIC.
20673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20674 memset-avx2 and memset-sse2-unaligned-erms.
20675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20676 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20677 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20678 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20679 (__bzero): Enabled.
20680 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20681 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20682 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20683 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20684 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20685 (memset): Removed.
20686 (__memset_chk): Likewise.
20687 (MEMSET_SYMBOL): New.
20688 (libc_hidden_builtin_def): Replace __memset_sse2 with
20689 __memset_sse2_unaligned.
20690 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20691 __memset_chk_sse2 and __memset_chk_avx2 with
20692 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20693 Use __memset_chk_sse2_unaligned_erms or
20694 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20695 __memset_chk_avx512_unaligned_erms and
20696 __memset_chk_avx512_unaligned.
20697
20698 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20699
20700 * math/gen-auto-libm-test.c (fp_format_desc): remove
20701 suffix member.
20702 (output_generic_value): Remove usage of suffix member,
20703 and the resulting unuse of the fp_format argument.
20704 (output_for_one_input_case): Remove unused fp_format
20705 parameter.
20706
20707 * math/auto-libm-test-out: Regenerate.
20708
20709 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20710 usage with TEST_COND_ibm128.
20711 (TEST_COND_flt_32): Remove.
20712 (TEST_COND_dbl_64): Remove.
20713 (TEST_COND_ldbl_96_intel): Remove.
20714 (TEST_COND_ldbl_96_m68k): Remove.
20715 (TEST_COND_ldbl_128): Remove.
20716
20717 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20718
20719 * auto-libm-test-in:
20720 Replace flt-32 usage with binary32.
20721 Replace dbl-64 usage with binary64.
20722 Replace ldbl-intel-96 usage with intel96.
20723 Replace ldbl-m68k-96 usage with m68k96.
20724 Replace ldbl-128ibm usage with ibm128.
20725 Replace ldbl-128 usage with binary128.
20726
20727 * auto-libm-test-out: Regenerate.
20728
20729 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20730
20731 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20732 (parse_ulps): Dynamically generate type name matching
20733 string from all_floats.
20734 (get_ulps): Generate the ulps as an array instead.
20735 (output_ulps): Dynamically compose the type based
20736 on the number of supported formats, and print
20737 the indices as type specific helper macros.
20738
20739 * math/libm-test.inc: Remove comment about CHOOSE.
20740 (ulp_data): Generate the type in libm-test-ulps.h.
20741 (ULP_IDX): New macro.
20742 (find_ulps): Update usage of max_ulp.
20743
20744 * math/test-double-vlen2.h (CHOOSE): Remove.
20745 * math/test-double-vlen4.h (CHOOSE): Likewise.
20746 * math/test-double-vlen8.h (CHOOSE): Likewise.
20747 * math/test-float.c (CHOOSE): Likewise.
20748 * math/test-float-finite.c (CHOOSE): Likewise.
20749 * math/test-double.c (CHOOSE): Likewise.
20750 * math/test-double-finite.c (CHOOSE): Likewise.
20751 * math/test-idouble.c (CHOOSE): Likewise.
20752 * math/test-ifloat.c (CHOOSE): Likewise.
20753 * math/test-ildoubl.c (CHOOSE): Likewise.
20754 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20755 * math/test-ldouble.c (CHOOSE): Likewise.
20756
20757 * math/test-float.h (TEST_FLOAT): Remove.
20758 * math/test-double.h (TEST_DOUBLE): Likewise.
20759 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20760
20761 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20762
20763 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20764 (parse_args): Strip C suffix from floating point literals
20765 typed with 'f' and wrap them with LIT().
20766
20767 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20768 (test_ff_f_data_nexttoward): Rename to
20769 (test_fj_f_data): New struct.
20770 (nexttoward_test_data): Relabel tests as
20771 TEST_fj_f instead of TEST_ff_f.
20772
20773 2016-06-08 Florian Weimer <fweimer@redhat.com>
20774
20775 Emacs bug 23726.
20776 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20777 (__libc_realloc): Correct size computation for dumped fake mmapped
20778 chunks.
20779
20780 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20781
20782 [BZ #20219]
20783 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20784 to itself.
20785 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20786
20787 [BZ #20218]
20788 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20789 to itself.
20790 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20791
20792 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20793
20794 [BZ #20195]
20795 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20796 check to ...
20797 (init_cpu_features): Here.
20798
20799 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20800
20801 [BZ #20214]
20802 * sysdeps/unix/sysv/linux/bits/in.h
20803 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20804 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20805 Define to 1.
20806 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20807 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20808 Define to 0.
20809 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20810 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20811
20812 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20813
20814 [BZ #20198]
20815 * stdlib/Makefile (tests): Add tst-quick_exit, and
20816 tst-thread-quick_exit.
20817 [ifeq ($(have-cxx-thread_local),yes)]
20818 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20819 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20820 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20821 (LDLIBS-tst-thread-quick_exit): Likewise.
20822 [ifneq ($(have-cxx-thread_local),yes)]
20823 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20824 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20825 If run_dtors is true call __call_tls_dtors.
20826 (exit): Call __run_exit_handlers with run_dtors set to true.
20827 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20828 definition.
20829 * stdlib/quick_exit.c (quick_exit): Remove function.
20830 (__new_quick_exit): New function.
20831 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20832 function.
20833 * stdlib/tst-quick_exit.cc: New file.
20834 * stdlib/tst-thread-quick_exit.cc: New file.
20835 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20836 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20837 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20838 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20839 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20840 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20841 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20842 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20843 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20844 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20845 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20846 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20847 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20848 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20849 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20850 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20855 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20856 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20857 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20858 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20859 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20862 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20863 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20864 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20865
20866 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20867
20868 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20869 a typo in comments.
20870
20871 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20872
20873 [BZ #20213]
20874 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20875 argument to itself.
20876 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20877
20878 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20879
20880 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20881 required flags.
20882 (CFLAGS-pwritev64.c): Likewise.
20883 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20884 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20885 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20886 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20887 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20888 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20889 syscall from auto-generation.
20890 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20891 [WORDSIZE == 64] (pwritev64): Remove macro.
20892 [!PWRITEV] (PWRITEV): Likewise.
20893 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20894 [!PWRITEV] (PWRITE): Likewise.
20895 [!PWRITEV] (OFF_T): Likewise.
20896 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20897 (LO_HI_LONG): Remove macro.
20898 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20899 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20900 (PWRITEV): Remove macro.
20901 (PWRITEV_REPLACEMENTE): Likewise.
20902 (PWRITE): Likewise.
20903 (OFF_T): Likewise.
20904 (pwritev64): New function.
20905 * nptl/tst-cancel4.c (tf_writev): Add test.
20906
20907 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20908 required flags.
20909 (CFLAGS-preadv64.c): Likewise.
20910 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20911 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20912 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20913 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20914 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20915 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20916 syscall from auto-generation.
20917 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20918 [WORDSIZE == 64] (preadv64): Remove macro.
20919 [!PREADV] (PREADV): Likewise.
20920 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20921 [!PREADV] (PREAD): Likewise.
20922 [!PREADV] (OFF_T): Likewise.
20923 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20924 (LO_HI_LONG): Remove macro.
20925 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20926 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20927 (PREADV): Remove macro.
20928 (PREADV_REPLACEMENTE): Likewise.
20929 (PREAD): Likewise.
20930 (OFF_T): Likewise.
20931 (preadv64): New function.
20932 * nptl/tst-cancel4.c (tf_preadv): Add test.
20933
20934 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20935
20936 [BZ #20212]
20937 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20938 argument to itself.
20939 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20940
20941 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20942
20943 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20944 New symbol defined as libc_hidden_def.
20945 (strcasestr): Became a weak alias to __strcasestr.
20946 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20947 according to multi-arch support. Move __stpncpy hidden
20948 definition from here to...
20949 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20950 symbol stpncpy.
20951 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20952 libc_hidden_builtin_def.
20953 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20954 memset symbol to use when multi-arch support is available.
20955
20956 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20957
20958 * dlfcn/tst-rec-dlopen.c: Include string.h.
20959
20960 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20961
20962 * manual/install.texi: Remove mention of --without-tls
20963 * INSTALL: Regenerate.
20964
20965 2016-06-05 Florian Weimer <fweimer@redhat.com>
20966
20967 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20968 Remove.
20969 (call_function, interposed_malloc_called): New variables.
20970 (malloc): New function.
20971 (do_test): Do not change malloc hooks. Initialize malloc. Set
20972 and clear call_function as needed.
20973
20974 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20975
20976 * include/wchar.h (__wmemset): Use __typeof.
20977
20978 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20979
20980 * include/wchar.h (__wmemset): Declare function without typeof.
20981
20982 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20983
20984 [BZ #20205]
20985 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20986 exponent when incrementing negative subnormal with low mantissa
20987 word zero.
20988 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20989 Add another test.
20990
20991 2016-06-03 Florian Weimer <fweimer@redhat.com>
20992
20993 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20994 __wmemset instead of wmemset.
20995
20996 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20997
20998 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20999 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
21000 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
21001 __USE_KERNEL_IPV6_DEFS to 0.
21002 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
21003 Update comment.
21004
21005 2016-06-01 Florian Weimer <fweimer@redhat.com>
21006
21007 [BZ #19861]
21008 Do not use IFUNC resolver with potentially unrelocated symbol.
21009 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
21010 (DEFINE_FORK): Remove macro and inline definition.
21011 (fork_alias): Renamed from fork_ifunc.
21012 (__fork_alias): Renamed from __fork_ifunc.
21013
21014 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
21015
21016 [BZ 19653]
21017 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
21018 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
21019
21020 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21021
21022 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
21023 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
21024 i386-linux-gnu).
21025 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
21026 Set to no.
21027 * sysdeps/mach/hurd/configure: Refresh.
21028
21029 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21030
21031 [BZ #20178]
21032 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
21033 on failure instead of exit.
21034
21035 2016-05-30 Roland McGrath <roland@hack.frob.com>
21036
21037 [BZ #3629]
21038 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
21039 of POSIX.1-2008.
21040
21041 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21042
21043 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
21044 Use PLT entry for calling _hurd_self_sigstate.
21045
21046 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
21047
21048 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
21049 available logical processors with SMT level type sharing L2
21050 cache for Intel processors.
21051
21052 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21053
21054 [BZ #20160]
21055 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
21056 argument to itself before returning the result.
21057 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21058 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21059 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21061 Likewise.
21062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21063 Likewise.
21064 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
21065 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
21066 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21067 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21068 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21069 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21070
21071 [BZ #20160]
21072 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
21073 argument to itself before returning the result.
21074 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21075 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21076 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21077 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
21078 Likewise.
21079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21080 Likewise.
21081 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
21082 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
21083 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
21084 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21085 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21086 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21087
21088 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21089
21090 * libm-test.inc: Replace usage of M_El with
21091 (lit_e): New macro.
21092
21093 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21094
21095 * libm-test.inc: Replace usage of M_PI_4l with
21096 (lit_pi_4_d): New macro.
21097
21098 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21099
21100 * libm-test.inc: Replace usage of M_PIl with
21101 (lit_pi): New macro.
21102
21103 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21104
21105 * libm-test.inc: Replace usage of M_PI2l with
21106 (lit_pi_2_d): New macro.
21107
21108 * math/test-double.h (LITM): New macro.
21109 * math/test-float.h (LITM): Likewise.
21110 * math/test-ldouble.h (LITM): Likewise.
21111
21112 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21113
21114 * libm-test.inc (M_PI_34l): Rename to
21115 (lit_pi_3_m_4_d): New Macro.
21116 (M_PI_34_LOG10El): Rename to
21117 (lit_pi_3_m_4_ln10_m_d): New Macro.
21118 (M_PI2_LOG10El): Rename to
21119 (lit_pi_2_ln10_m_d): New Macro.
21120 (M_PI4_LOG10El): Rename to
21121 (lit_pi_4_ln10_m_d): New Macro.
21122 (M_PI_LOG10El): Rename to
21123 (lit_pi_ln10_d): New Macro.
21124
21125 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21126
21127 [BZ #20157]
21128 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
21129 determine whether to negate low half if [_ARCH_PPCGR], and integer
21130 comparison otherwise.
21131 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
21132 determine whether to negate low half.
21133
21134 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
21135 (NO_TEST_INLINE_DOUBLE): Likewise.
21136 (TEST_COND_x86_64): Likewise.
21137 (TEST_COND_x86): Likewise.
21138 (M_PI_6l): Likewise.
21139
21140 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21141
21142 * math/libm-test.inc:
21143 (TEST_FLOAT): Change usage to TEST_COND_binary32.
21144 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21145 (TEST_LDOUBLE): Update usage to evaluate as true if
21146 the guarded tests match the property being tested.
21147 (LDBL_MAX_EXP): Change to MAX_EXP.
21148 (LDBL_MIN_EXP): Change to MIN_EXP.
21149 (LDBL_MANT_DIG): Change to MANT_DIG, except for
21150 nexttoward tests.
21151
21152 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21153
21154 * math/libm-test.inc:
21155 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21156 (TYPE_MIN): Likewise.
21157 (TYPE_TRUE_MIN): Likewise.
21158 (TYPE_MAX): Likewise.
21159 (MIN_EXP): Likewise.
21160 (MAX_EXP): Likewise.
21161 (MANT_DIG): Likewise.
21162
21163 (FSTR_MAX): New macro.
21164 (__CONCATX): Likewise.
21165 (QTYPE_STR): Likewise.
21166 (TEST_COND_binary32): Likewise.
21167 (TEST_COND_binary64): Likewise.
21168 (TEST_COND_binary128): Likewise.
21169 (TEST_COND_ibm128): Likewise.
21170 (TEST_COND_intel96): Likewise.
21171 (TEST_COND_m68k96): Likewise.
21172
21173 (TEST_COND_flt_32): Redefine as equivalent format test macro.
21174 (TEST_COND_dbl_64): Likewise.
21175 (TEST_COND_ldbl_96_intel): Likewise.
21176 (TEST_COND_ldbl_96_m68k): Likewise.
21177 (TEST_COND_ldbl_128): Likewise.
21178 (TEST_COND_ldbl_128ibm): Likewise.
21179
21180 (plus_zero): Redefine using LIT macro.
21181 (minus_zero): Likewise.
21182 (plus_infty): Redefine as (INF).
21183 (minux_infty): Redefine as (-INF).
21184 (max_value): Redefine as TYPE_MAX.
21185 (min_value): Redefine as TYPE_MIN.
21186 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21187
21188 (print_float): Refactor to use snprintf to convert FLOAT values
21189 to string. This brings it closer to dropin replacement of strtof
21190 for the TS 18661 defined types.
21191 (update_stats): Likewise.
21192 (print_complex_function_ulps): Likewise.
21193 (print_max_error): Likewise.
21194 (print_complex_max_error): Likewise.
21195 (check_float_internal): Likewise.
21196
21197 * math/test-float.h (PREFIX): New macro.
21198 (LIT): Likewise.
21199 (TYPE_STR): Likewise.
21200 (FTOSTR): Likewise.
21201
21202 * math/test-double.h (PREFIX): New macro.
21203 (LIT): Likewise.
21204 (TYPE_STR): Likewise.
21205 (FTOSTR): Likewise.
21206
21207 * math/test-ldouble.h (PREFIX): New macro.
21208 (LIT): Likewise.
21209 (TYPE_STR): Likewise.
21210 (FTOSTR): Likewise.
21211
21212 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21213
21214 [BZ #20156]
21215 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21216 to itself when zero or not finite.
21217 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21221
21222 2016-05-26 Joseph Myers <joseph@codesourcery.com>
21223
21224 [BZ #20153]
21225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21226 x * x + x for infinities and NaNs.
21227
21228 [BZ #20151]
21229 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21230 argument to itself before returning result.
21231 (__ieee754_y0l): Likewise.
21232 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21233 (__ieee754_y1l).
21234
21235 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21236 (atan_test_data): Likewise.
21237 (ceil_test_data): Likewise.
21238 (cos_test_data): Likewise.
21239 (cosh_test_data): Likewise.
21240 (erf_test_data): Likewise.
21241 (exp2_test_data): Likewise.
21242 (fabs_test_data): Likewise.
21243 (floor_test_data): Likewise.
21244 (ilogb_test_data): Likewise.
21245 (j0_test_data): Likewise.
21246 (j1_test_data): Likewise.
21247 (jn_test_data): Likewise.
21248 (lgamma_test_data): Likewise.
21249 (lrint_test_data): Likewise.
21250 (llrint_test_data): Likewise.
21251 (logb_test_data): Likewise.
21252 (lround_test_data): Likewise.
21253 (llround_test_data): Likewise.
21254 (nearbyint_test_data): Likewise.
21255 (rint_test_data): Likewise.
21256 (round_test_data): Likewise.
21257 (sin_test_data): Likewise.
21258 (sincos_test_data): Likewise.
21259 (sinh_test_data): Likewise.
21260 (sqrt_test_data): Likewise.
21261 (tan_test_data): Likewise.
21262 (tanh_test_data): Likewise.
21263 (tgamma_test_data): Likewise.
21264 (trunc_test_data): Likewise.
21265 (y0_test_data): Likewise.
21266 (y1_test_data): Likewise.
21267 (yn_test_data): Likewise.
21268
21269 * math/libm-test.inc: Update comment about NaN testing.
21270 (TEST_SNAN): New macro.
21271 (snan_value): Likewise.
21272 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21273 (fpclassify_test_data): Add sNaN tests.
21274 (isfinite_test_data): Likewise.
21275 (isinf_test_data): Likewise.
21276 (isnan_test_data): Likewise.
21277 (isnormal_test_data): Likewise.
21278 (issignaling_test_data): Likewise.
21279 (signbit_test_data): Likewise.
21280 * math/gen-libm-test.pl (%beautify): Add snan_value.
21281 (show_exceptions): Add argument $test_snan.
21282 (parse_args): Handle snan_value as non-finite. Update call to
21283 show_exceptions.
21284 * math/Makefile (libm-test-no-inline-cflags): Add
21285 -fsignaling-nans.
21286
21287 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21288
21289 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21290 (CFLAGS-oldsendmsg.c): Add rule.
21291 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21292 Correct recvmsg symbol name.
21293 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21294 Likewise.
21295
21296 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21297
21298 * sysdeps/unix/sysv/linux/Makefile
21299 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21300 oldsendmmsg.
21301 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21302 sendmmsg.
21303 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21304 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21305 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21306 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21308 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21309 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21311 Likewise.
21312 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21313 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21314 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21315 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21316 iovlen and controllen fields to adjust to POSIX specification.
21317 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21318
21319 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21320 and change to correct expected type.
21321 (msghdr.msg_controllen): Likewise.
21322 (cmsghdr.cmsg_len): Likewise.
21323 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21324 expected POSIX assumption about the size.
21325 (msghdr.msg_controllen): Likewise.
21326 (msghdr.__glibc_reserved1): Likewise.
21327 (msghdr.__glibc_reserved2): Likewise.
21328 (cmsghdr.cmsg_len): Likewise.
21329 (cmsghdr.__glibc_reserved1): Likewise.
21330 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21331 Add ptw-oldrecvmsg and ptw-oldsendmsg.
21332 (CFLAGS-sendmsg.c): Remove rule.
21333 (CFLAGS-recvmsg.c): Likewise.
21334 (CFLAGS-oldsendmsg.c): Add rule.
21335 (CFLAGS-oldrecvmsg.c): Likewise.
21336 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21337 recvmsg and sendmsg.
21338 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21339 Likewise.
21340 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21341 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21342 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21343 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21344 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21345 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21346 Likewise.
21347 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21348 Likewise.
21349 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21350 Likewise.
21351 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21352 Likewise.
21353 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21354 Likewise.
21355 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21356 Likewise.
21357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21358 (GLIBC_2.24): Likewise.
21359 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21360 Likewise.
21361 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21362 Likewise.
21363 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21364 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21365 Likewise.
21366 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21367 Likewise.
21368 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21369 Likewise.
21370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21371 (GLIBC_2.24): Likewise.
21372 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21373 Likewise.
21374 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21375 Likewise.
21376 * sysdeps/unix/sysv/linux/Makefile
21377 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21378 (CFLAGS-sendmsg.c): Add rule.
21379 (CFLAGS-recvmsg.c): Likewise.
21380 (CFLAGS-oldsendmsg.c): Likewise.
21381 (CFLAGS-oldrecvmsg.c): Likewise.
21382 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21383 initialization.
21384 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21385 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21386 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21387 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21388 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21389 iovlen and controllen fields to adjust to POSIX specification.
21390 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21391 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21392 added recvmsg and sendmsg.
21393 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21394 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21395 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21396 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21398 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21399 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21400 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21401 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21403 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21404 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21406 Likewise.
21407 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21409 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21410 Likewise.
21411 Likewise.
21412 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21413 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21414 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21415 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21416 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21417 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21419 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21421 Likewise.
21422 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21423 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21424
21425 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21426 from auto-generation.
21427 (sendmsg): Likewise.
21428 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21429 (sendmsg): Likewise.
21430 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21431 (sendmsg): Likewise.
21432 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21433 (sendmsg): Likewise.
21434 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21435 (sendmsg): Likewise.
21436 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21437 (sendmsg): Likewise.
21438 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21439 Likewise.
21440 (sendmsg): Likewise.
21441 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21442 (sendmsg): Likewise.
21443 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21444 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21445 Remove.
21446 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21447 Likewise.
21448 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21449 Undefine.
21450 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21451 Likewise.
21452 * sysdeps/unix/sysv/linux/kernel-features.h
21453 (__ASSUME_SENDMSG_SYSCALL): Define.
21454 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21455 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21456 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21457 Remove.
21458 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21459 Likewise.
21460 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21461 Undefine.
21462 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21463 Likewise.
21464 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21465 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21466 Remove.
21467 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21468 Likewise.
21469 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21470 Undefine.
21471 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21472 Likewise.
21473 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21474 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21475 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21476 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21477 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21478 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21479 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21480 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21481 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21482
21483 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21484
21485 * stdlib/gen-tst-strtod-round.c: Add backslash to
21486 compile command in comment.
21487 (printfp): Remove the literal suffix, and define an infinite
21488 value as INF to avoid expansion clash with INFINITY.
21489 (round_str): Remove the literal suffix.
21490 (round_for_all): Likewise, remove the now duplicate ldbl-64
21491 entry, and remove some magic constants.
21492
21493 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21494 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21495 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21496 (_CONCAT): New macro.
21497 (CONCAT): Likewise.
21498 (CHOOSE_ld): Likewise.
21499 (CHOOSE_f): Likewise.
21500 (CHOOSE_d): Likewise.
21501 (FTYPE_MEMBER): Likewise.
21502 (BOOL_MEMBER): Likewise.
21503 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21504 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21505 (_XNTRY): Likewise.
21506 (XNTRY): Likewise.
21507 (_ENTRY): Likewise.
21508 (ENTRY): Likewise.
21509 (test_exactness): Generate members via macro.
21510 (test_results): Likewise.
21511 (test): Update members.
21512 (TEST): Redefine using new macros.
21513 (INF): New macro.
21514 (fetestmodes): New structure.
21515 (do_test): Refactor to be type generic.
21516 (test_in_one_mode): Refactor duplicate code into
21517 (GEN_ONE_TEST): New macro.
21518
21519 * stdlib/tst-strtod-round-data.h: Regenerate.
21520
21521 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21522 Extend to pass additional arbitrary parameters to
21523 generators.
21524
21525 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21526
21527 [BZ #15479]
21528 * sysdeps/powerpc/powerpc64/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/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21533 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21534 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21535 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21536 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21537
21538 [BZ #15479]
21539 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21540 floating-point state after first floating-point operation on
21541 input. Restore full floating-point state instead of just rounding
21542 mode.
21543 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21544 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21545 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21546 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21547 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21548
21549 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21550
21551 [BZ #19727]
21552 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21553 valid high surrogate.
21554 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21555 of an utf16 surrogate.
21556 * iconv/gconv_simple.c (BODY): Likewise.
21557 * iconvdata/bug-iconv12.c: New file.
21558 * iconvdata/Makefile (tests): Add bug-iconv12.
21559
21560 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21561
21562 [BZ #19726]
21563 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21564 outptrp in case of an illegal input.
21565 * iconv/tst-iconv6.c: New file.
21566 * iconv/Makefile (tests): Add tst-iconv6.
21567
21568 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21569
21570 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21571 an error in case of a value in range of an utf16 low surrogate.
21572
21573 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21574
21575 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21576 an error in case of a value in range of an utf16 low surrogate.
21577
21578 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21579
21580 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21581 Move to ...
21582 * sysdeps/s390/Makefile: ... here.
21583 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21584 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21585 (BRANCH_ON_COUNT): New define.
21586 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21587 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21588 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21589 run on s390-32, too.
21590 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21591 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21592 run on s390-32, too.
21593 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21594 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21595 run on s390-32, too.
21596
21597 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21598
21599 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21600 etf3eh or new vector loop-variant.
21601
21602 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21603
21604 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21605 etf3eh or new vector loop-variant.
21606
21607 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21608
21609 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21610 or new vector loop-variant.
21611
21612 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21613
21614 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21615 Rename to TR_LOOP and usage of tr instead of troo instruction.
21616
21617 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21618
21619 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21620 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21621
21622 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21623
21624 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21625 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21626 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21627 New override define.
21628 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21629
21630 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21631
21632 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21633 * sysdeps/s390/configure.ac: Add test for S390 vector register
21634 support in gcc.
21635 * sysdeps/s390/configure: Regenerated.
21636
21637 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21638
21639 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21640 Install file from $(objpfx)gconv-modules.
21641 ($(objpfx)gconv-modules): Concatenate architecture specific file
21642 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21643 * sysdeps/s390/gconv-modules: New file.
21644 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21645 Deleted.
21646 ($(objpfx)gconv-modules-s390): Deleted.
21647 (sysdeps-gconv-modules): New variable.
21648
21649 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21650
21651 [BZ #15479]
21652 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21653 of immediate operand to rounding instruction.
21654 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21655 Likewise.
21656 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21657 Likewise.
21658 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21659 Likewise.
21660
21661 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21662
21663 * math/libm-test.inc (MIN_EXP): Directly define as
21664 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21665
21666 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21667
21668 * math/libm-test.inc (MANT_DIG): Directly define as
21669 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21670
21671 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21672
21673 * stdlib/gen-tst-strtod-round.c (main):
21674 Change usage to more closely match the generated
21675 output. Add usage and compilation instructions.
21676 (string_to_fp): Add and use FILE* parameter as
21677 output target.
21678 (print_fp): Likewise.
21679 (round_str): Likewise.
21680 (round_for_all): Likewise.
21681 * stdlib/tst-strtod-round.c (tests): Move into
21682 * stdlib/tst-strtod-round-data.h: New file.
21683
21684 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21685
21686 [BZ #15479]
21687 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21688 (__round): Do not force "inexact" exception.
21689 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21690 variable.
21691 (__round): Do not force "inexact" exception.
21692 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21693 (__roundf): Do not force "inexact" exception.
21694 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21695 (__roundl): Do not force "inexact" exception.
21696 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21697 (__roundl): Do not force "inexact" exception.
21698 * math/libm-test.inc (round_test_data): Do not allow spurious
21699 "inexact" exceptions.
21700
21701 [BZ #15479]
21702 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21703 exception in comment.
21704 (huge): Remove variable.
21705 (__floor): Do not force "inexact" exception.
21706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21707 "inexact" exception in comment.
21708 (huge): Remove variable.
21709 (__floor): Do not force "inexact" exception.
21710 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21711 exception in comment.
21712 (huge): Remove variable.
21713 (__floorf): Do not force "inexact" exception.
21714 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21715 exception in comment.
21716 (huge): Remove variable.
21717 (__floorl): Do not force "inexact" exception.
21718
21719 [BZ #15479]
21720 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21721 exception in comment.
21722 (huge): Remove variable.
21723 (__ceil): Do not force "inexact" exception.
21724 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21725 "inexact" exception in comment.
21726 (huge): Remove variable.
21727 (__ceil): Do not force "inexact" exception.
21728 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21729 (__ceilf): Do not force "inexact" exception.
21730 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21731 exception in comment.
21732 (huge): Remove variable.
21733 (__ceill): Do not force "inexact" exception.
21734
21735 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21736
21737 * config.h.in (BIND_NOW): New.
21738 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21739 * configure: Regenerated.
21740 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21741 indirect branch via the GOT slot.
21742
21743 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21744
21745 [BZ #19765]
21746 * sysdeps/s390/mempcpy.S: New File.
21747 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21748 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21749 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21750 Add mempcpy variants.
21751 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21752 (memcpy): Adjust to be usable from mempcpy entry point.
21753 (__memcpy_mvcle): Likewise.
21754 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21755 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21756 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21757 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21758 (__memcpy_z10): Likewise.
21759 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21760
21761 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21762
21763 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21764 Remove __GI_ symbol.
21765 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21766 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21767 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21768 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21769 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21770 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21771
21772 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21773
21774 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21775 Use cghi instead of chi to compare 64bit value.
21776
21777 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21778
21779 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21780 Jump to 1MB check before executing mvc-loop.
21781
21782 2016-05-24 Florian Weimer <fweimer@redhat.com>
21783
21784 [BZ #6527]
21785 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21786 unconditionally.
21787 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21788
21789 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21790
21791 * stdlib/tst-strtod6.c (do_test): Use new type generic
21792 invocation of the test function.
21793 (test): Refactor into ...
21794 (TEST_STRTOD): New macro base function.
21795
21796 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21797
21798 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21799 (TEST_STRTOD): New macro.
21800 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21801
21802 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21803
21804 * stdlib/tst-strtod6.c (do_test): Use new type generic
21805 invocation of the test function.
21806 (test): Refactor into ...
21807 (TEST_STRTOD): New macro base function.
21808
21809 2016-05-23 Florian Weimer <fweimer@redhat.com>
21810
21811 CVE-2016-4429
21812 [BZ #20112]
21813 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21814 payload.
21815
21816 2016-05-23 Florian Weimer <fweimer@redhat.com>
21817
21818 [BZ #20111]
21819 * bits/sockaddr.h (_SS_SIZE): Define.
21820 * bits/socket.h (_SS_SIZE): Remove.
21821 (_SS_PADSIZE): Adjust to account for all padding.
21822 (struct sockaddr_storage): Update comment. Avoid implicit
21823 padding.
21824 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21825 (_SS_PADSIZE): Adjust to account for all padding.
21826 (struct sockaddr_storage): Update comment. Avoid implicit
21827 padding.
21828 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21829 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21830 (_SS_PADSIZE): Adjust to account for all padding.
21831 (struct sockaddr_storage): Update comment. Avoid implicit
21832 padding.
21833 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21834 __SS_SIZE is 126 in this version.
21835 * inet/tst-sockaddr.c: New file.
21836 * inet/Makefile (tests): Add tst-sockaddr.c
21837 (tst-sockaddr.c): Compile with non-strict aliasing.
21838
21839 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21840
21841 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21842 [XPG3 || XPG4].
21843 (NL_ARGMAX): Also expect for [XPG3].
21844 (NL_LANGMAX): Likewise.
21845 (NL_MSGMAX): Likewise.
21846 (NL_NMAX): Likewise.
21847 (NL_SETMAX): Likewise.
21848 (NL_TEXTMAX): Likewise.
21849 (NZERO): Likewise.
21850 (TMP_MAX): Likewise.
21851 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21852 variable.
21853
21854 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21855 (PF_MAX): Update value.
21856 (AF_KCM): New macro.
21857 (SOL_NETBEUI): Likewise.
21858 (SOL_LLC): Likewise.
21859 (SOL_DCCP): Likewise.
21860 (SOL_NETLINK): Likewise.
21861 (SOL_TIPC): Likewise.
21862 (SOL_RXRPC): Likewise.
21863 (SOL_PPPOL2TP): Likewise.
21864 (SOL_BLUETOOTH): Likewise.
21865 (SOL_PNPIPE): Likewise.
21866 (SOL_RDS): Likewise.
21867 (SOL_IUCV): Likewise.
21868 (SOL_CAIF): Likewise.
21869 (SOL_ALG): Likewise.
21870 (SOL_NFC): Likewise.
21871 (SOL_KCM): Likewise.
21872 (MSG_BATCH): New enum value and macro.
21873
21874 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21875
21876 [BZ #18185]
21877 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21878 sharing L2 cache to 2 for Knights Landing.
21879
21880 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21881
21882 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21883 (FTW_DP): Do not expect for [XPG3 || XPG4].
21884 (FTW_SL): Do not expect for [XPG3].
21885 (FTW_SLN): Likewise.
21886 (FTW_PHYS): Likewise.
21887 (FTW_MOUNT): Likewise.
21888 (FTW_DEPTH): Likewise.
21889 (FTW_CHDIR): Likewise.
21890 (nftw): Likewise.
21891 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21892 variable.
21893
21894 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21895
21896 * manual/errno.texi: Fix various typos & grammar errors.
21897
21898 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21899
21900 * manual/intro.texi: Fix duplicated typo.
21901
21902 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21903
21904 [BZ #13304]
21905 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21906 <float.h>, <math_private.h> and <stdlib.h>.
21907 (add_split): New function.
21908 (mul_split): Likewise.
21909 (ext_val): New typedef.
21910 (store_ext_val): New function.
21911 (mul_ext_val): New function.
21912 (compare): New function.
21913 (add_split_ext): New function.
21914 (__fmal): After checking for Inf, NaN and zero, compute result as
21915 an exact sum of scaled double values in round-to-nearest before
21916 adding those up and adjusting for other rounding modes.
21917 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21918 tests of fma.
21919 * math/auto-libm-test-out: Regenerated.
21920
21921 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21922
21923 [BZ #20119]
21924 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21925 processor level type mask for CPUID with EAX == 11.
21926
21927 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21928
21929 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21930 logical threads if the HTT bit is 0.
21931 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21932 (index_cpu_HTT): Likewise.
21933 (reg_HTT): Likewise.
21934
21935 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21936
21937 [BZ #20115]
21938 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21939 Remove alignments on jump targets.
21940
21941 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21942
21943 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21944 (getpwent): Likewise.
21945 (setpwent): Likewise.
21946 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21947 variable.
21948
21949 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21950 (remque): Likewise.
21951 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21952 variable.
21953
21954 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21955
21956 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21957 not being tested.
21958
21959 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21962 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21963 call.
21964 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21965 (__condvar_cleanup1): Likewise.
21966
21967 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21968
21969 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21970 New
21971 (__pthread_unwind): Renamed to ...
21972 (PTHREAD_UNWIND): This.
21973 (__pthread_enable_asynccancel): Replace
21974 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21975
21976 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21977
21978 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21979 (CLONE_NEWCGROUP): New macro.
21980
21981 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21982 (Q_GETNEXTQUOTA): New macro.
21983
21984 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21985
21986 [BZ #19907]
21987 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21988 buffer updated by the previous run.
21989 * string/test-memcpy.c (do_one_test): Likewise.
21990 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21991 * string/test-memmove.c (do_one_test): Likewise.
21992
21993 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21994
21995 [BZ #20094]
21996 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21997 not [__USE_XOPEN].
21998 (unlockpt): Likewise.
21999 (ptsname): Likewise.
22000 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
22001 variable.
22002
22003 [BZ #20076]
22004 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
22005 instead of [__USE_UNIX98].
22006 (S_ISSOCK): Likewise.
22007 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
22008 variable.
22009
22010 [BZ #20074]
22011 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
22012 [__USE_POSIX].
22013 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
22014 variable.
22015
22016 [BZ #20051]
22017 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
22018 (ttyslot): Do not declare.
22019 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
22020 (ttyslot): New prototype.
22021 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
22022 variable.
22023 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22024
22025 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
22026
22027 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
22028
22029 2016-05-13 Florian Weimer <fweimer@redhat.com>
22030
22031 Fix race condition in tst-mallocfork2, use fewer resources.
22032 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
22033 to current process group.
22034 (signal_sender): Yield in the non-sleeping case.
22035
22036 2016-05-13 Joseph Myers <joseph@codesourcery.com>
22037
22038 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
22039 (ecvt): Likewise.
22040 (fcvt): Likewise.
22041 (gcvt): Likewise.
22042 (getsubopt): Likewise.
22043 (grantpt): Likewise.
22044 (initstate): Likewise.
22045 (l64a): Likewise.
22046 (mktemp): Likewise.
22047 (mkstemp): Likewise.
22048 (ptsname): Likewise.
22049 (random): Likewise.
22050 (realpath): Likewise.
22051 (setstate): Likewise.
22052 (srandom): Likewise.
22053 (ttyslot): Likewise.
22054 (unlockpt): Likewise.
22055 (valloc): Likewise.
22056
22057 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
22058 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
22059 variable.
22060
22061 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
22062
22063 [BZ #20072]
22064 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
22065 init_cpu_features only if SHARED is defined.
22066 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
22067
22068 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
22069
22070 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
22071 non-inclusive caches on Intel processors.
22072
22073 2016-05-13 Florian Weimer <fweimer@redhat.com>
22074
22075 * malloc/malloc.c (dumped_main_arena_start)
22076 (dumped_main_arena_end): New variables.
22077 (DUMPED_MAIN_ARENA_CHUNK): New macro.
22078 (do_check_chunk): Skip dumped fake mmapped chunks.
22079 (munmap_chunk): Likewise.
22080 (__libc_free): Do not adjust statistics for fake mmapped chunks.
22081 (__libc_realloc): Adjust hardening check. Always copy dumped fake
22082 mmapped chunks.
22083 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
22084 Mark dumped chunks as using mmap. Update dumped_main_arena_start
22085 and dumped_main_arena_end to cover the dumped heap.
22086
22087 2016-05-12 Joseph Myers <joseph@codesourcery.com>
22088
22089 * conform/data/time.h-data (getdate_err): Do not expect for
22090 [XPG3].
22091 (getdate): Likewise.
22092 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
22093 variable.
22094
22095 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
22096 (F_ULOCK): Likewise.
22097 (F_TEST): Likewise.
22098 (F_TLOCK): Likewise.
22099 (useconds_t): Likewise.
22100 (intptr_t): Do not expect for [XPG3] or [XPG4].
22101 (brk): Do not expect for [XPG3]
22102 (fchown): Likewise.
22103 (fchdir): Likewise.
22104 (ftruncate): Likewise.
22105 (getdtablesize): Likewise.
22106 (gethostid): Likewise.
22107 (getpagesize): Likewise.
22108 (getpgid): Likewise.
22109 (getsid): Likewise.
22110 (getwd): Likewise.
22111 (lchown): Likewise.
22112 (lockf): Likewise.
22113 (readlink): Likewise.
22114 (sbrk): Likewise.
22115 (setpgrp): Likewise.
22116 (setregid): Likewise.
22117 (setreuid): Likewise.
22118 (symlink): Likewise.
22119 (sync): Likewise.
22120 (truncate): Likewise.
22121 (ualarm): Likewise.
22122 (usleep): Likewise.
22123 (vfork): Likewise.
22124 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
22125 variable.
22126
22127 [BZ #20054]
22128 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
22129 not [__USE_UNIX98].
22130 * conform/data/unistd.h-data (gethostname): Do not expect for
22131 [XPG3].
22132
22133 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
22134 [!POSIX] (S_IFBLK): Likewise.
22135 [!POSIX] (S_IFCHR): Likewise.
22136 [!POSIX] (S_IFIFO): Likewise.
22137 [!POSIX] (S_IFREG): Likewise.
22138 [!POSIX] (S_IFDIR): Likewise.
22139 [!POSIX] (S_IFLNK): Likewise.
22140 [!POSIX] (S_IFSOCK): Likewise.
22141 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
22142 variable.
22143 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22144
22145 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
22146
22147 * sysdeps/aarch64/memset.S (__memset):
22148 Rewrite of optimized memset.
22149
22150 2016-05-12 Florian Weimer <fweimer@redhat.com>
22151
22152 [BZ #19703]
22153 Partially async-signal-safe fork for single-threaded processes.
22154 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22155 variable. Do not acquire and reset/release malloc and libio locks
22156 in single-threaded processes.
22157 * malloc/tst-mallocfork2.c: New file.
22158 * malloc/Makefile (tests): Add it.
22159
22160 2016-05-12 Florian Weimer <fweimer@redhat.com>
22161
22162 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22163 argument. Use scratch buffer instead of extend_alloca.
22164 (gethosts): Use scratch buffer instead of extend_alloca.
22165 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
22166 extend_alloca.
22167 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22168
22169 2016-05-11 Joseph Myers <joseph@codesourcery.com>
22170
22171 [BZ #20055]
22172 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22173 instead of [__USE_UNIX98].
22174 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22175 [__USE_UNIX98].
22176 * conform/data/termios.h-data (tcgetsid): Do not expect for
22177 [XPG3].
22178 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22179 variable.
22180 (test-xfail-XPG4/termios.h/conform): Likewise.
22181
22182 2016-05-11 Florian Weimer <fweimer@redhat.com>
22183
22184 Do not use mcheck in localedef.
22185 * locale/programs/localedef.c (turn_on_mcheck)
22186 (__malloc_initialize_hook): Remove.
22187
22188 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22189
22190 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22191 * sysdeps/s390/s390-64/Makefile: Likewise.
22192
22193 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22196 Remove ifunc-defines.sym.
22197 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22198 Likewise.
22199 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22200 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22201 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22202 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22203 rtld-global-offsets.sym.
22204 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22205 * sysdeps/x86/cpu-features-offsets.sym: This.
22206 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22207 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22208
22209 2016-05-10 Joseph Myers <joseph@codesourcery.com>
22210
22211 [BZ #20073]
22212 * io/sys/stat.h (fchmod): Declare for
22213 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22214 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22215 variable.
22216
22217 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22218 [XPG3] (S_IFSOCK): Likewise.
22219 [XPG3] (S_ISVTX): Likewise.
22220 [XPG3] (S_ISLNK): Likewise.
22221 [XPG3] (S_ISSOCK): Likewise.
22222 [XPG3] (fchmod): Likewise.
22223 [XPG3] (lstat): Likewise.
22224 [XPG3] (mknod): Likewise.
22225
22226 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22227 [XPG3]. Expect type long and XFAIL for [XPG4].
22228 (st_blocks): Likewise.
22229
22230 [BZ #20044]
22231 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22232 (pthread_atfork): New prototype.
22233 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22234 variable.
22235
22236 [BZ #20043]
22237 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22238 prototype.
22239
22240 2016-05-10 Florian Weimer <fweimer@redhat.com>
22241
22242 [BZ #20017]
22243 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22244 gmtime.
22245
22246 2016-05-10 Florian Weimer <fweimer@redhat.com>
22247
22248 [BZ #19994]
22249 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22250 flag in _res.options.
22251
22252 2016-05-09 Joseph Myers <joseph@codesourcery.com>
22253
22254 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22255 [XPG3 || XPG4].
22256 (blksize_t): Likewise.
22257 (clockid_t): Likewise.
22258 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22259 variable.
22260 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22261
22262 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22263
22264 * sysdeps/unix/sysv/linux/s390/init-first.c:
22265 Add VDSO_SYMBOL(getcpu).
22266 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22267 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22268 Add VDSO_SYMBOL(getcpu).
22269 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22270 New define HAVE_GETCPU_VSYSCALL.
22271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22272
22273 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
22274
22275 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22276 instead of <sysdeps/x86_64/cacheinfo.c>.
22277 * sysdeps/x86_64/cacheinfo.c: Moved to ...
22278 * sysdeps/x86/cacheinfo.c: Here.
22279
22280 2016-05-04 Florian Weimer <fweimer@redhat.com>
22281
22282 * malloc/malloc-internal.h: Adjust header file guard.
22283
22284 2016-05-04 Florian Weimer <fweimer@redhat.com>
22285
22286 [BZ #19787]
22287 * inet/getnameinfo.c (check_sprintf_result): New function.
22288 (CHECKED_SNPRINTF): New macro.
22289 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22290 to the host buffer.
22291 (gni_host_local): Use checked_copy to copy the host name.
22292 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22293 (gni_serv_local): Use checked_copy to copy the service name.
22294 (getnameinfo): Remove unnecessary truncation of result buffers.
22295
22296 2016-05-04 Florian Weimer <fweimer@redhat.com>
22297
22298 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22299 in case of inet_ntop failure.
22300
22301 2016-05-04 Florian Weimer <fweimer@redhat.com>
22302
22303 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22304 avoid long lines.
22305 (gni_host_inet_numeric): Likewise. Reduce scope of local
22306 variables.
22307 (gni_host_inet, gni_host_local): Add comment.
22308 (gni_host): Add comment. Use temporary to avoid long lines.
22309
22310 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22311
22312 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22313 registers specifiers where general purpose registers specifiers should
22314 have been used.
22315
22316 2016-05-04 Florian Weimer <fweimer@redhat.com>
22317
22318 [BZ #19779]
22319 CVE-2016-1234
22320 Avoid copying names of directory entries.
22321 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22322 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22323 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22324 (struct readdir_result): New type.
22325 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22326 (GL_READDIR): New macros.
22327 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22328 (convert_dirent, convert_dirent64): New functions.
22329 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
22330 convert_dirent64. Adjust references to the readdir result.
22331 * sysdeps/unix/sysv/linux/i386/glob64.c:
22332 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22333 * posix/bug-glob2.c (LONG_NAME): Define.
22334 (filesystem): Add LONG_NAME.
22335 (my_DIR): Increase the size of room_for_dirent.
22336
22337 2016-05-03 Joseph Myers <joseph@codesourcery.com>
22338
22339 [BZ #20041]
22340 * misc/sys/select.h (__need_timespec): Only define if
22341 [__USE_XOPEN2K].
22342 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22343 variable.
22344 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22345 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22346 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22347
22348 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22349 Segher Boessenkool <segher@gcc.gnu.org>
22350
22351 [BZ #20004]
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22353 (__novec_swapcontext): Add missing load.
22354
22355 2016-05-02 Joseph Myers <joseph@codesourcery.com>
22356
22357 [BZ #20023]
22358 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22359 <time.h>.
22360 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22361 variable.
22362 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22363
22364 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22365
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22367 flags CLONE_VM compare.
22368
22369 2016-05-02 Florian Weimer <fweimer@redhat.com>
22370
22371 [BZ #20031]
22372 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22373 completely empty.
22374
22375 2016-05-02 Florian Weimer <fweimer@redhat.com>
22376
22377 [BZ #19573]
22378 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22379 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22380 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22381 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22382 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22383 (hesiod_free_list): Mark as hidden.
22384 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22385 res_set, res_get.
22386 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22387 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22388 (hesiod_init): Remove obsolete res_ninit call.
22389 (hesiod_end): Do not free resolver state. Do not invoke callback.
22390 (hesiod_bind): Do not call init.
22391 (get_txt_records): Use res_mkquery, res_send instead of
22392 res_nmkquery, res_nsend.
22393 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22394 instead of _nss_hesiod_init.
22395 (_nss_hesiod_initgroups_dyn): Likewise.
22396 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22397 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22398 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22399
22400 2016-05-02 Florian Weimer <fweimer@redhat.com>
22401
22402 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22403 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22404
22405 2016-05-02 Florian Weimer <fweimer@redhat.com>
22406
22407 * hesiod/hesiod.h: Remove RCS keyword.
22408 * hesiod/hesiod_p.h: Likewise.
22409
22410 * hesiod/hesiod.c: Likewise.
22411
22412 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22413
22414 [BZ #12450]
22415 * locale/iso-639.def: Add Samogitian/sgs.
22416
22417 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22418
22419 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22420
22421 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22422
22423 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22424 Carlos O'Donell <carlos@redhat.com>
22425
22426 [BZ #19072]
22427 * grp/Makefile (headers): Add grp-merge.h
22428 (routines): Add grp-merge.
22429 * grp/getgrgid_r.c: Include grp-merge.h.
22430 (DEEPCOPY_FN): Define.
22431 (MERGE_FN): Define.
22432 * grp/getgrname_r.c: Include grp-merge.h.
22433 (DEEPCOPY_FN): Define.
22434 (MERGE_FN): Define.
22435 * grp/grp-merge.c: New file.
22436 * grp/grp-merge.h: New file.
22437 * include/grp-merge.h: New file.
22438 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22439 __copy_grp@GLIBC_PRIVATE.
22440 * manual/nss.texi (Actions in the NSS configuration): Describe
22441 return, continue, and merge.
22442 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22443 (DEEPCOPY_FN): Define.
22444 (MERGE_FN): Define.
22445 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22446 (DEEPCOPY_FN): Define.
22447 (MERGE_FN): Define.
22448 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22449 [!MERGE_FN]: Define __merge_einval.
22450 (CHECK_MERGE): Define.
22451 (REENTRANT_NAME): Process merge if do_merge is true.
22452 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22453 (__nss_getent_r): Likewise.
22454 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22455 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22456
22457 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22458
22459 [BZ #20012]
22460 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22461 length to calculate the buffer to read.
22462 (fmemopen_write): Set the buffer position based on bytes written.
22463 (fmemopen_seek): Return EINVAL for invalid whence modes.
22464
22465 [BZ #19957]
22466 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22467 tst-getpid2.
22468 (test): Add tst-clone2.
22469 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22470 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22471 pid/tid fields for CLONE_VM.
22472 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22473 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22474 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22475 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22476 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22477 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22478 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22479 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22481 Likewise.
22482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22483 Likewise.
22484 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22485 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22486 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22487 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22488 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22489 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22490 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22491 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22492
22493 2016-04-29 Florian Weimer <fweimer@redhat.com>
22494
22495 [BZ #19642]
22496 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22497 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22498 (gni_serv_local, gni_serv): New functions extracted from
22499 getnameinfo.
22500 (getnameinfo): Call gni_host and gni_serv to perform the
22501 processing. Always free scratch buffer.
22502
22503 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22504
22505 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22506 remaining bytes in the dest string, with zeros.
22507
22508 2016-04-29 Florian Weimer <fweimer@redhat.com>
22509
22510 [BZ #20010]
22511 CVE-2016-3706
22512 * sysdeps/posix/getaddrinfo.c
22513 (convert_hostent_to_gaih_addrtuple): New function.
22514 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22515 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22516 AF_INET data.
22517
22518 2016-04-29 Florian Weimer <fweimer@redhat.com>
22519
22520 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22521 callback function gl_readdir.
22522 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22523 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22524 (glob_in_dir): Remove len. Use strdup instead of malloc and
22525 memcpy to copy the name.
22526 * manual/pattern.texi (Calling Glob): Document requirements for
22527 implementations of the gl_readdir callback function.
22528 * manual/examples/mkdirent.c: New example.
22529 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22530 per the manual guidance.
22531 * posix/tst-gnuglob.c (my_readdir): Likewise.
22532
22533 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22534
22535 [BZ #20014]
22536 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22537 not [__USE_POSIX].
22538 (getchar_unlocked): Likewise.
22539 (putc_unlocked): Likewise.
22540 (putchar_unlocked): Likewise.
22541 (flockfile): Likewise.
22542 (ftrylockfile): Likewise.
22543 (funlockfile): Likewise.
22544 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22545 variable.
22546 (test-xfail-XPG4/stdio.h/conform): Likewise.
22547
22548 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22549 Expect constant.
22550 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22551 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22552 variable.
22553 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22554 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22555
22556 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22557 [__USE_LARGEFILE64] (off64_t): Likewise.
22558 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22559 variable.
22560
22561 2016-04-28 Florian Weimer <fweimer@redhat.com>
22562
22563 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22564
22565 2016-04-28 Florian Weimer <fweimer@redhat.com>
22566
22567 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22568 * resolv/res_init.c: Likewise.
22569 * resolv/res_mkquery.c: Likewise.
22570
22571 2016-04-28 Florian Weimer <fweimer@redhat.com>
22572
22573 * resolv/res_init.c (isascii): Do not define. Use definition in
22574 <ctype.h>.
22575 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22576 (LOG_AUTH): Remove.
22577 (SPRINTF): Remove, adjust caller.
22578 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22579
22580 2016-04-28 Florian Weimer <fweimer@redhat.com>
22581
22582 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22583 SUNSECURITY conditional.
22584 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22585
22586 2016-04-28 Florian Weimer <fweimer@redhat.com>
22587
22588 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22589 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22590 Remove BSD-related preprocessor conditionals.
22591 * conf/portability.h: Remove.
22592
22593 2016-04-28 Florian Weimer <fweimer@redhat.com>
22594
22595 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22596 * resolv/res_data.c: Likewise.
22597
22598 2016-04-28 Florian Weimer <fweimer@redhat.com>
22599
22600 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22601 * resolv/res_data.c: Remove code conditional on ultrix.
22602
22603 2016-04-28 Florian Weimer <fweimer@redhat.com>
22604
22605 * resolv/res_init.c (RFC1535): Do not define. Remove
22606 RFC1535 preprocessor conditionals.
22607 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22608 because there configuration options which make the resolver
22609 behavior different.
22610
22611 2016-04-28 Florian Weimer <fweimer@redhat.com>
22612
22613 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22614 RESOLVSORT preprocessor conditionals.
22615 * resolv/nss_dns/dns-host.c: Likewise.
22616 * resolv/res_init.c: Likewise.
22617
22618 2016-04-28 Florian Weimer <fweimer@redhat.com>
22619
22620 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22621 is never defined.
22622
22623 2016-04-28 Florian Weimer <fweimer@redhat.com>
22624
22625 * inet/inet_lnaof.c: Remove SCSS keyword.
22626 * inet/inet_mkadr.c: Likewise.
22627 * inet/inet_net.c: Likewise.
22628 * inet/inet_netof.c: Likewise.
22629 * inet/rcmd.c: Likewise.
22630 * inet/rexec.c: Likewise.
22631 * inet/ruserpass.c: Likewise.
22632
22633 2016-04-28 Florian Weimer <fweimer@redhat.com>
22634
22635 * resolv/inet_addr.c: Remove _LIBC conditionals.
22636 * resolv/res_data.c: Likewise.
22637 * resolv/res_init.c: Likewise.
22638 * resolv/res_mkquery.c: Likewise.
22639 * resolv/res_libc.c: Update comment.
22640 * resolv/README: Update.
22641
22642 2016-04-28 Florian Weimer <fweimer@redhat.com>
22643
22644 * resolv/gethnamaddr.c: Remove SCSS keyword.
22645 * resolv/herror.c: Likewise.
22646 * resolv/inet_addr.c: Likewise.
22647 * resolv/inet_net_ntop.c: Likewise.
22648 * resolv/inet_net_pton.c: Likewise.
22649 * resolv/inet_neta.c: Likewise.
22650 * resolv/inet_ntop.c: Likewise.
22651 * resolv/inet_pton.c: Likewise.
22652 * resolv/ns_date.c: Remove RCS keyword.
22653 * resolv/ns_name.c: Likewise.
22654 * resolv/ns_netint.c: Likewise.
22655 * resolv/ns_parse.c: Likewise.
22656 * resolv/ns_print.c: Likewise.
22657 * resolv/ns_samedomain.c: Likewise.
22658 * resolv/ns_ttl.c: Likewise.
22659 * resolv/nsap_addr.c: Likewise.
22660 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22661 * resolv/res_data.c: Remove RCS keyword.
22662 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22663 * resolv/res_init.c: Likewise.
22664 * resolv/res_mkquery.c: Likewise.
22665 * resolv/res_query.c: Likewise.
22666 * resolv/res_send.c: Likewise.
22667
22668 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22669
22670 * conform/data/stdio.h-data (fdopen): Expect also for
22671 [XPG3 || XPG4].
22672
22673 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22674 (fseeko): Likewise.
22675 (ftello): Likewise.
22676 (ftrylockfile): Likewise.
22677 (funlockfile): Likewise.
22678 (getc_unlocked): Likewise.
22679 (getchar_unlocked): Likewise.
22680 (putc_unlocked): Likewise.
22681 (putchar_unlocked): Likewise.
22682
22683 2016-04-27 Florian Weimer <fweimer@redhat.com>
22684
22685 [BZ #19868]
22686 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22687 DNS packet syntax checks (which were not needed before). Skip
22688 over non-PTR records.
22689
22690 2016-04-27 Florian Weimer <fweimer@redhat.com>
22691
22692 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22693 definition. Include <stddef.h> instead.
22694
22695 2016-04-27 Florian Weimer <fweimer@redhat.com>
22696
22697 [BZ #19831]
22698 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22699 function.
22700 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22701 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22702
22703 2016-04-27 Florian Weimer <fweimer@redhat.com>
22704
22705 [BZ #19862]
22706 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22707 (getanswer_r): Do not call syslog.
22708 (gaih_getanswer_slice): Likewise.
22709 * resolv/gethnamaddr.c (AskedForGot): Remove.
22710 (getanswer): Do not call syslog.
22711 (gethostbyaddr): Likewise.
22712
22713 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22714
22715 * conform/data/signal.h-data (union sigval): Expect also if
22716 [XOPEN2K].
22717 (struct sigevent): Likewise.
22718 (SIGEV_NONE): Likewise.
22719 (SIGEV_SIGNAL): Likewise.
22720 (SIGEV_THREAD): Likewise.
22721 (SIGRTMIN): Likewise.
22722 (SIGRTMAX): Likewise.
22723 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22724 variable.
22725 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22726
22727 2016-04-27 Florian Weimer <fweimer@redhat.com>
22728
22729 [BZ #19830]
22730 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22731 (gaih_getanswer_slice): Likewise.
22732 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22733 Also check for availability of RR metadata.
22734
22735 2016-04-27 Florian Weimer <fweimer@redhat.com>
22736
22737 [BZ #19825]
22738 * resolv/res_send.c (send_vc): Remove early *resplen2
22739 initialization. Set *resplen2 on socket error. Call
22740 close_and_return_error for other errors.
22741
22742 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22743
22744 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22745 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22746 (SCM_IUCV_TRGCLS): New define.
22747
22748 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22749
22750 [BZ #20005]
22751 * libio/fmemopen.c (fmemopen_write): Update internal position after
22752 write.
22753 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22754 * stdio-common/tst-fmemopen4.c: New file..
22755
22756 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22757
22758 [BZ #19996]
22759 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22760 not [__USE_XOPEN2K].
22761 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22762 variable.
22763
22764 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22765 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22766 variable.
22767
22768 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22769 [__USE_XOPEN2K8].
22770 [__USE_LARGEFILE64] (off64_t): Likewise.
22771 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22772 variable.
22773
22774 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22775
22776 [BZ #19989]
22777 * libio/stdio.h (cuserid): Do not declare if
22778 [__USE_XOPEN2K && !__USE_GNU].
22779 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22780 variable.
22781
22782 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22783
22784 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22785 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22787 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22788 ifunc'ed strcspn.
22789 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22790 [EALIGN]: Removed.
22791 [END]: Likewise
22792 [STRSPN]: Define instead of the above to control symbol name.
22793 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22794 New file.
22795 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22796 Likewise.
22797 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22798 Likewise.
22799 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22800 Likewise.
22801 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22802 [INITIAL_MASK]: New macro.
22803 [STRCSPN]: Likewise.
22804 [UPDATE_MASK]: Likewise.
22805 [USE_AS_STRCSPN]: Likewise.
22806
22807 2016-04-25 Florian Weimer <fweimer@redhat.com>
22808
22809 [BZ #19931]
22810 * stdio-common/tst-vfprintf-width-prec.c: New file.
22811 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22812 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22813 (generated): Add mtrace-related files.
22814 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22815 (tst-%-mem.out): New pattern rule, replaces
22816 tst-printf-bz18872-mem.out.
22817 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22818 specifier, deallocate any previously allocated work buffer.
22819
22820 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22821
22822 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22823 Add nop before __startcontext, add explaining comments.
22824
22825 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22826
22827 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22828 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22829 completely different API.
22830
22831 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22832 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22833 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22834 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22835 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22836 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22837 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22838 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22839 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22840 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22841
22842 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22843
22844 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22845
22846 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22847
22848 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22849 when it is the default of 0.
22850
22851 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22852
22853 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22854 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22855 (sysdep_routines): Add new strcasestr targets.
22856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22857 (__libc_ifunc_impl_list): Likewise.
22858 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22859 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22860 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22861 * sysdeps/powerpc/powerpc64/power8/Makefile:
22862 New file to add strcasestr-ppc64 to sysdep_routines.
22863 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22864 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22865
22866 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22867
22868 * benchtests/Makefile (wcsmbs-benchset): Include only for
22869 native builds and runs.
22870 (LOCALES): Likewise.
22871 (bench-build): Build timing-type here instead of the bench
22872 target. Generate locale only for native builds.
22873 * benchtests/README: Add note for cross-building.
22874
22875 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22876
22877 * benchtests/README: Update README to include instructions on
22878 using bench-build.
22879
22880 * Makefile.in (bench-build): New target.
22881 * Rules (PHONY): Add bench-build target.
22882 * benchtests/Makefile (bench): Depend on bench-build.
22883 (bench-build): New target.
22884
22885 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22886
22887 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22888 profil_reply_port.
22889 (profile_waiter): Do not initialize profil_reply_port.
22890 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22891 frequency instead of tick length in us.
22892
22893 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22894
22895 [BZ #18712]
22896 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22897 (__old_mempcpy_small): Likewise.
22898 (__old_strcpy_small): Likewise.
22899 (__old_stpcpy_small): Likewise.
22900 (__old_strpbrk_c2): Fix compat symbol name.
22901 (__old_strpbrk_c3): Likewise.
22902 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22903 (__mempcpy_small): Remove.
22904 (__strcpy_small): Remove.
22905 (__stpcpy_small): Remove.
22906
22907 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22908
22909 [BZ #19400]
22910 * locale/iso-639.def: Add the Talossan/tzl language.
22911
22912 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22913
22914 [BZ #16983]
22915 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22916 comment. Add "ln" to strchr check on postal_fmt.
22917
22918 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22919
22920 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22921 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22922 tel_dom_fmt.
22923
22924 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22925
22926 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22927 (sysdep_routines): Added __strlen_power8.
22928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22929 __strlen_power8 entry.
22930 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22931 Implementation for POWER8.
22932 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22933 for __strlen_power8.
22934 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22935 Implementation for POWER8.
22936
22937 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22938
22939 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22940
22941 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22942
22943 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22944 Goldmont and Airmont processors.
22945
22946 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22947
22948 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22949 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22950 (__STRING2_SMALL_GET32): Remove.
22951 (memset): Remove.
22952 (__memset_1): Remove.
22953 (__memset_gc): Remove.
22954 (__mempcpy): Remove.
22955 (mempcpy): Remove.
22956 (__mempcpy_args): Remove.
22957 (strchr): Remove.
22958 (strcpy): Remove.
22959 (strcpy_args): Remove.
22960 (__stpcpy_args): Remove.
22961 (__strcmp_cc): Remove.
22962 (__strcmp_gc): Remove.
22963 (strstr): Remove.
22964
22965 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22966
22967 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22968 * nis/nis_call.c (nis_server_cache_add): Likewise.
22969
22970 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22971
22972 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22973
22974 2016-04-14 Florian Weimer <fweimer@redhat.com>
22975
22976 * malloc/arena.c (__malloc_fork_lock_parent)
22977 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22978 internal_function attribute.
22979
22980 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22981
22982 * stdio-common/printf_fp.c (__printf_fp_l):
22983 Rename ___printf_fp_l to __printf_fp_l and
22984 remove strong alias. Use libc_hidden_def instead
22985 of ldbl_hidden_def macro.
22986
22987 2016-04-14 Florian Weimer <fweimer@redhat.com>
22988
22989 Remove malloc hooks from fork handler. They are no longer needed
22990 because malloc runs right before fork, and no malloc calls from
22991 other fork handlers are not possible anymore.
22992 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22993 declarations.
22994 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22995 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22996 (atfork_recursive_cntr): Remove.
22997 (__malloc_fork_lock_parent): Do not override malloc hooks and
22998 thread_arena.
22999 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
23000 thread_arena.
23001 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
23002 thread_arena instead of save_arena.
23003
23004 2016-04-14 Florian Weimer <fweimer@redhat.com>
23005
23006 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
23007 (thread_atfork, thread_atfork_static): Remove.
23008 * sysdeps/mach/hurd/malloc-machine.h:
23009 (thread_atfork, thread_atfork_static): Remove.
23010
23011 2016-04-14 Florian Weimer <fweimer@redhat.com>
23012
23013 [BZ #19431]
23014 Run the malloc fork handler as late as possible to avoid deadlocks.
23015 * malloc/malloc-internal.h: New file.
23016 * malloc/malloc.c: Include it.
23017 * malloc/arena.c (ATFORK_MEM): Remove.
23018 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
23019 Update comment.
23020 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
23021 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
23022 Remove outdated comment.
23023 (ptmalloc_init): Do not call thread_atfork. Remove
23024 thread_atfork_static.
23025 * malloc/tst-malloc-fork-deadlock.c: New file.
23026 * Makefile (tests): Add tst-malloc-fork-deadlock.
23027 (tst-malloc-fork-deadlock): Link against libpthread.
23028 * manual/memory.texi (Aligned Memory Blocks): Update safety
23029 annotation comments.
23030 * sysdeps/nptl/fork.c (__libc_fork): Call
23031 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
23032 __malloc_fork_unlock_child.
23033 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
23034
23035 2016-04-14 Florian Weimer <fweimer@redhat.com>
23036
23037 [BZ #19613]
23038 Remove union wait.
23039 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
23040 (w_stopsig, w_stopval): Remove.
23041 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
23042 stat_loc argument.
23043 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
23044 (__WAIT_STATUS_DEFN): Remove.
23045 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23046 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
23047 (wait, wait3, wait4): Use int * for the stat_loc argument.
23048 * posix/wait.c (__wait): Likewise.
23049 * posix/wait3.c (__wait3): Likewise.
23050 * posix/wait4.c (__wait4): Likewise.
23051 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
23052 (__WAIT_STATUS_DEFN): Remove.
23053 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23054 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
23055 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
23056 argument.
23057 * sysdeps/posix/wait.c (__libc_wait): Likewise.
23058 * sysdeps/posix/wait3.c (__wait3): Likewise.
23059 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
23060 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23061 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
23062 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
23063 stat_loc argument.
23064 * manual/process.texi (BSD Wait Functions): Remove union wait.
23065
23066 2016-04-13 Andreas Schwab <schwab@suse.de>
23067
23068 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
23069 (test-extras): Add tst-tlsalign-vars.
23070 * math/Makefile: Wrap long lines.
23071 (libm-vec-test-wrappers): Define.
23072 (test-extras): Add $(libm-vec-test-wrappers).
23073 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
23074 * nss/Makefile (extra-test-objs): Add nss_test1.os.
23075 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
23076 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
23077 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
23078 (extra-test-objs): Add corresponding objects.
23079
23080 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
23081
23082 [BZ #19928]
23083 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
23084 New.
23085 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
23086 times of shared cache size.
23087 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
23088 (VMOVNT): New.
23089 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
23090 (VMOVNT): Likewise.
23091 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
23092 (VMOVNT): Likewise.
23093 (VMOVU): Changed to movups for smaller code sizes.
23094 (VMOVA): Changed to movaps for smaller code sizes.
23095 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
23096 comments.
23097 (PREFETCH): New.
23098 (PREFETCH_SIZE): Likewise.
23099 (PREFETCHED_LOAD_SIZE): Likewise.
23100 (PREFETCH_ONE_SET): Likewise.
23101 Rewrite to use forward and backward loops, which move 4 vector
23102 registers at a time, to support overlapping addresses and use
23103 non temporal store if size is above the threshold and there is
23104 no overlap between destination and source.
23105
23106 2016-04-12 Alex Smith <alex.smith@imgtec.com>
23107
23108 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
23109 Include dl-vdso.
23110 * sysdeps/unix/sysv/linux/mips/Versions: Add
23111 __vdso_clock_gettime.
23112 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
23113 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
23114 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
23115 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
23116 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
23117 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
23118 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23119 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23120 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23121
23122 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23123
23124 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
23125 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
23126 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23127 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23128 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23129 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23132 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
23133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
23134 syscalls generation.
23135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23136 [__NR_pwrite64] (__NR_write): Remove define.
23137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23138 [__NR_pwrite64] (__NR_write): Remove define.
23139 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
23140 Remove define.
23141 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
23142 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
23143 Remove define.
23144 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
23145 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
23146 Linux implementation as base.
23147 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23148
23149 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23150 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23151 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23152 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23155 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23157 syscall generation.
23158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23159 [__NR_pread64] (__NR_pread): Remove define.
23160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23161 [__NR_pread64] (__NR_pread): Likewise.
23162 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23163 define.
23164 (__libc_pread): Use SYSCALL_LL macro on offset argument.
23165 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23166 Remove define.
23167 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23168 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23169 Linux implementation as base.
23170 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23171 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23172 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23173
23174 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23175 definition.
23176 (__ALIGNMENT_COUNT): Likewise.
23177 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23178 (__ALIGNMENT_COUNT): Likewise.
23179 (SYSCALL_LL): New define.
23180 (SYSCALL_LL64): Likewise.
23181 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23182 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23183 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23184 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23185
23186 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23187 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23188 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23189 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23190 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23191 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23192
23193 2016-04-11 Florian Weimer <fweimer@redhat.com>
23194
23195 [BZ #19865]
23196 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23197 original buffer before retry.
23198
23199 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23200
23201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23202 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23203 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23204 GLRO(dl_auxv) list.
23205 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23206 including <ldsodefs.h>.
23207 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23208
23209 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
23210
23211 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23212 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23213 $(CPPFLAGS).
23214
23215 2016-04-09 Khem Raj <raj.khem@gmail.com>
23216
23217 [BZ #17950]
23218 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23219 Add -mfpmath=387.
23220
23221 2016-04-09 Mike Frysinger <vapier@gentoo.org>
23222
23223 * sysdeps/i386/configure.ac: Change == to = when calling test.
23224 * sysdeps/x86_64/configure.ac: Likewise.
23225 * sysdeps/i386/configure: Regenerated.
23226 * sysdeps/x86_64/configure: Likewise.
23227
23228 2016-04-08 Mike Frysinger <vapier@gentoo.org>
23229
23230 [BZ #16137]
23231 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23232 * benchtests/bench-strcoll.c (input_files): Likewise.
23233 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23234 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23235 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23236
23237 2016-04-08 Joseph Myers <joseph@codesourcery.com>
23238
23239 [BZ #19929]
23240 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23241 [__USE_XOPEN2K8 && !__USE_GNU].
23242 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23243 variable.
23244
23245 [BZ #19925]
23246 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23247 define if [!__USE_MISC && __USE_XOPEN2K].
23248 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23249 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23250 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23251 Likewise.
23252 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23253 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23254 variable.
23255 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23256
23257 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23258
23259 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23260 (sysdep_routines): Add new strspn targets.
23261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23262 (__libc_ifunc_impl_list): Add strspn.
23263 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23264 New file.
23265 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23266 Likewise.
23267 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23268 Likewise.
23269 * sysdeps/powerpc/powerpc64/power8/strspn.S:
23270 Likewise.
23271
23272 2016-04-07 Florian Weimer <fweimer@redhat.com>
23273
23274 * misc/hsearch_r.c: Include <limits.h>.
23275
23276 2016-04-07 Florian Weimer <fweimer@redhat.com>
23277
23278 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23279
23280 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23281
23282 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23283 (MEMCPY_SYMBOL): New.
23284 (MEMPCPY_SYMBOL): Likewise.
23285 (MEMMOVE_CHK_SYMBOL): Likewise.
23286 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23287 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23288 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
23289 Provide alias for memcpy in libc.a and ld.so.
23290
23291 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23292
23293 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23294 (MEMSET_CHK_SYMBOL): New. Define if not defined.
23295 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23296 Disabled fro now.
23297 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23298 symbols. Properly check USE_MULTIARCH on __memset symbols.
23299
23300 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 * benchtests/Makefile (string-benchset): Add memcpy-large,
23303 memmove-large and memset-large.
23304 * benchtests/bench-memcpy-large.c: New file.
23305 * benchtests/bench-memmove-large.c: Likewise.
23306 * benchtests/bench-memmove-large.c: Likewise.
23307 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23308
23309 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23310
23311 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23312 32-bit displacement to avoid long nop between instructions.
23313
23314 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23315
23316 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23317 a comment on VMOVU and VMOVA.
23318
23319 2016-04-04 Florian Weimer <fweimer@redhat.com>
23320
23321 [BZ #19633]
23322 Use specified locale for number formatting in strfmon_l.
23323 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23324 (__nl_lookup_word): New inline functions.
23325 * include/printf.h (__print_fp_l): Declare.
23326 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23327 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
23328 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23329 (___printf_fp): New function.
23330 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23331 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23332 * stdlib/tst-strfmon_l.c (do_test): New test.
23333 * stdlib/Makefile (tests): Add kt.
23334 (LOCALES): Build additional locales.
23335 (tst-strfmon_l.out): Require locales.
23336
23337 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23338
23339 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23340 if not in libc.
23341 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23342 Likewise.
23343 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23344 Likewise.
23345 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23346 Likewise.
23347
23348 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23349
23350 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23351 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23352 with unaligned_erms.
23353 (__memmove_erms): Skip if source == destination.
23354 (__memmove_unaligned_erms): Don't check source == destination
23355 first.
23356
23357 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23358
23359 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23360 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23361
23362 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23363
23364 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23365 * string/strspn.c (strspn): Likewise.
23366
23367 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23368
23369 * benchtests/bench-memset.c (do_test): Support 64-byte
23370 alignment.
23371 (test_main): Test 64-byte alignment.
23372
23373 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23374
23375 * benchtests/bench-memmove.c (test_main): Test 64-byte
23376 alignment.
23377
23378 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23379
23380 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23381
23382 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23383
23384 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23385 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23386 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23387
23388 * string/strpbrk.c (strpbrk): Rewrite function.
23389 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23390 (__strpbrk_c2): Likewise.
23391 (__strpbrk_c3): Likewise.
23392 * string/string-inlines.c
23393 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23394 Likewise.
23395 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23396 Likewise.
23397
23398 * string/strspn.c (strcspn): Rewrite function.
23399 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23400 (__strspn_c1): Remove inline function.
23401 (__strspn_c2): Likewise.
23402 (__strspn_c3): Likewise.
23403 * string/string-inlines.c
23404 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23405 compatibility symbol.
23406 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23407 Likewise.
23408 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23409 Likewise.
23410 * string/string-inlines.c: Include generic version.
23411
23412 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23413 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23414
23415 * string/Version (libc): Add GLIBC_2.24.
23416 * string/strcspn.c (strcspn): Rewrite function.
23417 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23418 (__strcspn_c1): Remove inline function.
23419 (__strcspn_c2): Likewise.
23420 (__strcspn_c3): Likewise.
23421 * string/string-inline.c
23422 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23423 compatibility symbol.
23424 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23425 Likewise.
23426 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23427 Likewise.
23428 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23429
23430 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23431
23432 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23433 Use ahi instead of aghi to adjust stack pointer.
23434
23435 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23436
23437 [BZ #19853]
23438 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23439 TEST to take significant digits as second parameter.
23440 [TEST]: Redefine in terms of TEST_N taking 30
23441 significant digits.
23442 (do_test): Add test case to demonstrate precision
23443 failure in the ldbl-128ibm printf.
23444 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23445 (__mpn_extract_long_double): Carry 7 extra intermediate
23446 bits of precision to aide computing difference when
23447 signs differ.
23448
23449 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23450
23451 [BZ #19881]
23452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23453 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23454 memset-avx512-unaligned-erms.
23455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23456 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23457 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23458 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23459 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23460 __memset_sse2_unaligned_erms, __memset_erms,
23461 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23462 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23463 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23464 file.
23465 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23466 Likewise.
23467 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23468 Likewise.
23469 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23470 Likewise.
23471
23472 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23473
23474 [BZ #19776]
23475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23476 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23477 memmove-avx512-unaligned-erms.
23478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23479 (__libc_ifunc_impl_list): Test
23480 __memmove_chk_avx512_unaligned_2,
23481 __memmove_chk_avx512_unaligned_erms,
23482 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23483 __memmove_chk_sse2_unaligned_2,
23484 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23485 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23486 __memmove_avx512_unaligned_erms, __memmove_erms,
23487 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23488 __memcpy_chk_avx512_unaligned_2,
23489 __memcpy_chk_avx512_unaligned_erms,
23490 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23491 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23492 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23493 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23494 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23495 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23496 __mempcpy_chk_avx512_unaligned_erms,
23497 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23498 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23499 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23500 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23501 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23502 __mempcpy_erms.
23503 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23504 file.
23505 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23506 Likewise.
23507 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23508 Likewise.
23509 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23510 Likewise.
23511
23512 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23513
23514 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23515 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23516 (La_s390_64_regs): Likewise.
23517 (La_s390_32_retval): Append vector register lrv_v24.
23518 (La_s390_64_retval): Likeweise.
23519 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23520 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23521 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23522 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23523
23524 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23525
23526 [BZ #19916]
23527 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23528 to create a non-vector/vector version for _dl_runtime_resolve and
23529 _dl_runtime_profile. Move implementation to ...
23530 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23531 (_dl_runtime_resolve) Save and restore fpr/vrs.
23532 (_dl_runtime_profile) Save and restore vrs and fix some issues
23533 if _dl_call_pltexit is called.
23534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23535 Choose the correct resolver function if running on a machine with vx.
23536 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23537 to create a non-vector/vector version for _dl_runtime_resolve and
23538 _dl_runtime_profile. Move implementation to ...
23539 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23540 (_dl_runtime_resolve) Save and restore fpr/vrs.
23541 (_dl_runtime_profile) Save and restore vrs and fix some issues
23542 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23543 Choose the correct resolver function if running on a machine with vx.
23544
23545 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23546
23547 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23548
23549 2016-03-31 Florian Weimer <fweimer@redhat.com>
23550
23551 [BZ #19509]
23552 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23553 skip_map != NULL.
23554 * elf/tst-dlsym-error.c: New file.
23555 * elf/Makefile (tests): Add tst-dlsym-error.
23556 (tst-dlsym-error): Link against libdl.
23557
23558 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23559
23560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23561 (__ASSUME_FUTIMESAT): Remove macro.
23562 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23563
23564 2016-03-29 Florian Weimer <fweimer@redhat.com>
23565
23566 [BZ #19879]
23567 CVE-2016-3075
23568 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23569 copy name.
23570
23571 2016-03-29 Florian Weimer <fweimer@redhat.com>
23572
23573 [BZ #19837]
23574 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23575 error if parse_line fails.
23576
23577 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23578
23579 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23580 (index_cpu_ERMS): Likewise.
23581 (reg_ERMS): Likewise.
23582
23583 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23584
23585 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23586 PER_LINUX_FDPIC): Add.
23587
23588 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23591 memcpy-avx512-no-vzeroupper.
23592 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23593 to ...
23594 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23595 (MEMCPY): Don't define.
23596 (MEMCPY_CHK): Likewise.
23597 (MEMPCPY): Likewise.
23598 (MEMPCPY_CHK): Likewise.
23599 (MEMPCPY_CHK): Renamed to ...
23600 (__mempcpy_chk_avx512_no_vzeroupper): This.
23601 (MEMPCPY_CHK): Renamed to ...
23602 (__mempcpy_chk_avx512_no_vzeroupper): This.
23603 (MEMCPY_CHK): Renamed to ...
23604 (__memmove_chk_avx512_no_vzeroupper): This.
23605 (MEMCPY): Renamed to ...
23606 (__memmove_avx512_no_vzeroupper): This.
23607 (__memcpy_avx512_no_vzeroupper): New alias.
23608 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23609
23610 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23611
23612 [BZ #18858]
23613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23614 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23615 and mempcpy-avx512-no-vzeroupper.
23616 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23617 New.
23618 (MEMPCPY): Likewise.
23619 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23620 (MEMPCPY_CHK): New.
23621 (MEMPCPY): Likewise.
23622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23623 (MEMPCPY): Likewise.
23624 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23625 (MEMPCPY): Likewise.
23626 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23627 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23628 Likewise.
23629 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23630 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23631
23632 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23633 Amit Pawar <Amit.Pawar@amd.com>
23634
23635 [BZ #19583]
23636 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23637 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23638 processors. Set Fast_Copy_Backward for AMD Excavator
23639 processors.
23640 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23641 New.
23642 (index_arch_Fast_Unaligned_Copy): Likewise.
23643 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23644 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23645
23646 2016-03-25 Florian Weimer <fweimer@redhat.com>
23647
23648 [BZ #19791]
23649 * resolv/res_send.c (close_and_return_error): New function.
23650 (send_dg): Initialize *resplen2 after reopen failure. Call
23651 close_and_return_error for error returns. On error paths without
23652 __res_iclose, initialze *resplen2 explicitly. Update comment for
23653 successful return.
23654
23655 2016-03-25 Florian Weimer <fweimer@redhat.com>
23656
23657 [BZ #19860]
23658 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23659 zero if the compiler does not provide the AVX512F bit.
23660
23661 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23662
23663 [BZ #19848]
23664 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23665 from 8 to 4.
23666 (__ieee754_powl): Compare integer exponent against 4 not 8.
23667 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23668 from 8 to 4.
23669 (__ieee754_powl): Compare integer exponent against 4 not 8.
23670 * math/auto-libm-test-in: Add more tests of pow.
23671 * math/auto-libm-test-out: Regenerated.
23672 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23674
23675 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23676
23677 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23678 Make code unconditional.
23679 [!__NR_utimensat]: Remove conditional code.
23680 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23681 Make code unconditional.
23682 [!__NR_utimensat]: Remove conditional code.
23683 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23684 Make code unconditional.
23685 [!__NR_utimensat]: Remove conditional code.
23686
23687 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23688
23689 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23690 Make code unconditional.
23691
23692 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23693
23694 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23695 call-clobbered %eax on retry path.
23696 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23697
23698 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23699
23700 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23701 Don't set %rcx twice before "rep movsb".
23702
23703 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23704
23705 [BZ #19583]
23706 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23707 inline. Check family before setting family, model and
23708 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23709 bits here.
23710 (init_cpu_features): Replace HAS_CPU_FEATURE and
23711 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23712 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23713 for Intel processors with usable AVX2. Call get_common_indeces
23714 for other processors with family == NULL.
23715 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23716 (CPU_FEATURES_ARCH_P): Likewise.
23717 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23718 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23719
23720 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23721
23722 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23723 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23724 $(shared-thread-library) instead of hardcoding the path to libpthread.
23725
23726 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23727
23728 * sysdeps/unix/sysv/linux/kernel-features.h
23729 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23730 * sysdeps/unix/sysv/linux/getdents.c
23731 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23732 [!have_no_getdents64_defined]: Likewise.
23733 (__GETDENTS): Remove __have_no_getdents64 conditional.
23734
23735 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23736
23737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23738 Remove macro.
23739 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23740 <kernel-features.h>.
23741 (signalfd) [__NR_signalfd4]: Make code unconditional.
23742 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23743
23744 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23745
23746 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23747 style.
23748
23749 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23750
23751 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23752 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23753 __pthread_unwind.
23754 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23755 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23756 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23757 (__condvar_cleanup1): Likewise.
23758
23759 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23760
23761 [BZ #19822]
23762 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23763 move it to the final $@ location.
23764
23765 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23766
23767 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23768 access where posix_spawn success and pid argument is null.
23769 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23770 success case.
23771
23772 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23773
23774 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23775
23776 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23777
23778 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23779 and __fcntl.
23780 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23781 __fcntl only.
23782 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23783 adding attribute_hidden to __open and __fcntl.
23784
23785 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23786 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23787 depend on libc-modules.h,
23788 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23789
23790 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23791
23792 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23793 Remove macro.
23794 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23795 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23796 entry.
23797
23798 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23799 Remove macro.
23800 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23801 include <kernel-features.h>.
23802 [!__ASSUME_FALLOCATE]: Remove conditional code.
23803 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23804
23805 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23806
23807 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23808 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23809 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23810 (_ZGVdN4v_cos_avx2): Likewise.
23811 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23812 (_ZGVdN4v_cos): Likewise.
23813 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23814 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23815 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23816 (_ZGVdN4v_exp_avx2): Likewise.
23817 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23818 (_ZGVdN4v_exp): Likewise.
23819 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23820 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23821 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23822 (_ZGVdN4v_log_avx2): Likewise.
23823 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23824 (_ZGVdN4v_log): Likewise.
23825 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23826 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23827 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23828 (_ZGVdN4vv_pow_avx2): Likewise.
23829 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23830 (_ZGVdN4vv_pow): Likewise.
23831 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23832 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23833 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23834 (_ZGVdN4v_sin_avx2): Likewise.
23835 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23836 (_ZGVdN4v_sin): Likewise.
23837 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23838 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23840 (_ZGVdN4vvv_sincos_avx2): Likewise.
23841 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23842 (_ZGVdN4vvv_sincos): Likewise.
23843 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23844 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23845 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23846 (_ZGVbN4v_cosf_sse4): Likewise.
23847 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23848 (_ZGVdN8v_cosf_avx2): Likewise.
23849 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23850 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23851 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23852 (_ZGVbN4v_expf_sse4): Likewise.
23853 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23854 (_ZGVdN8v_expf_avx2): Likewise.
23855 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23856 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23857 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23858 (_ZGVbN4v_logf_sse4): Likewise.
23859 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23860 (_ZGVdN8v_logf_avx2): Likewise.
23861 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23862 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23863 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23864 (_ZGVbN4vv_powf_sse4): Likewise.
23865 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23866 (_ZGVdN8vv_powf_avx2): Likewise.
23867 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23868 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23869 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23870 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23871 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23872 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23873 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23874 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23875 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23876 (_ZGVbN4v_sinf_sse4): Likewise.
23877 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23878 (_ZGVdN8v_sinf_avx2): Likewise.
23879 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23880 Use JUMPTARGET to call callee.
23881 (WRAPPER_IMPL_SSE2_ff): Likewise.
23882 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23883 (WRAPPER_IMPL_AVX): Likewise.
23884 (WRAPPER_IMPL_AVX_ff): Likewise.
23885 (WRAPPER_IMPL_AVX_fFF): Likewise.
23886 (WRAPPER_IMPL_AVX512): Likewise.
23887 (WRAPPER_IMPL_AVX512_ff): Likewise.
23888 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23889 Likewise.
23890 (WRAPPER_IMPL_SSE2_ff): Likewise.
23891 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23892 (WRAPPER_IMPL_AVX): Likewise.
23893 (WRAPPER_IMPL_AVX_ff): Likewise.
23894 (WRAPPER_IMPL_AVX_fFF): Likewise.
23895 (WRAPPER_IMPL_AVX512): Likewise.
23896 (WRAPPER_IMPL_AVX512_ff): Likewise.
23897 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23898
23899 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23900
23901 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23902 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23903 qualifier.
23904 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23905 internal_function qualifiers.
23906
23907 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23908
23909 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23910 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23911 * math/atest-exp.c (exp_mpn): Mark chk unused.
23912 * math/atest-exp2.c (exp_mpn): Likewise.
23913 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23914 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23915
23916 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23917
23918 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23919 Remove macro.
23920 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23921 <kernel-features.h>.
23922 [__NR_ppoll]: Make code unconditional.
23923 [!__ASSUME_PPOLL]: Remove conditional code.
23924
23925 * sysdeps/unix/sysv/linux/kernel-features.h
23926 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23927 (__ASSUME_ACCEPT4): Likewise.
23928 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23929 Define.
23930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23931 Likewise.
23932 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23933 Likewise.
23934 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23935 Likewise.
23936 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23937 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23939 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23940 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23941 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23943 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23944 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23945 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23946 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23947 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23948 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23949 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23950 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23951 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23952 Likewise.
23953 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23954 Likewise.
23955 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23956 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23957 0x040300].
23958 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23959 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23960 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23961 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23962 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23963 0x030300].
23964 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23965 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23966 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23967 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23968 0x040300].
23969 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23970 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23972 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23973 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23974 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23975 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23976 0x030300].
23977 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23978 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23979 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23980 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23981 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23982 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23983 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23984 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23985 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23986 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23987 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23988 0x040300].
23989 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23990 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23991 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23992 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23993 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23994 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23995 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23996 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23997 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23998 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24000 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24001 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24002 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24003 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
24004 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24005 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24006 Likewise.
24007 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24008 Likewise.
24009
24010 2016-03-15 Andreas Schwab <schwab@suse.de>
24011
24012 [BZ #19257]
24013 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
24014 statp->_u._ext.nscount as loop count.
24015
24016 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
24017
24018 * math/test-signgam-finite-c99.c: Also #undef
24019 __LIBC_INTERNAL_MATH_INLINES.
24020 * math/test-signgam-main.c: Likewise.
24021
24022 2016-03-14 Joseph Myers <joseph@codesourcery.com>
24023
24024 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
24025 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
24026 (MADV_FREE): Likewise.
24027 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
24028 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
24029 EPOLLEXCLUSIVE.
24030
24031 2016-03-14 Carlos O'Donell <carlos@redhat.com>
24032
24033 * timezone/README: Remove mention of checktab.awk. Mention wiki
24034 SharedSourceFiles.
24035
24036 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
24037
24038 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
24039 WUNTRACED.
24040
24041 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24042
24043 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
24044 order to match the type of p when calling atomic_exchange_acq().
24045
24046 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24047
24048 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
24049 cfi_offset calls.
24050 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
24051 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
24052 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
24053 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
24054 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
24055
24056 2016-03-10 Carlos O'Donell <carlos@redhat.com>
24057
24058 * timezone/checktab.awk: Removed.
24059
24060 2016-03-10 Joseph Myers <joseph@codesourcery.com>
24061
24062 * manual/math.texi (Errors in Math Functions): Document relaxed
24063 accuracy goals for IBM long double.
24064 * math/libm-test.inc (test_exceptions): Always allow spurious
24065 "underflow" and "inexact" exceptions for IBM long double.
24066
24067 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
24068
24069 [BZ #19762]
24070 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24071 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
24072 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
24073 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
24074 (bit_arch_*): This for feature array.
24075 (bit_*): Renamed to ...
24076 (bit_cpu_*): This for cpu array.
24077 (index_*): Renamed to ...
24078 (index_arch_*): This for feature array.
24079 (index_*): Renamed to ...
24080 (index_cpu_*): This for cpu array.
24081 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
24082 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
24083 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
24084 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
24085 bit_##name with index_cpu_##name and bit_cpu_##name.
24086 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
24087 bit_##name with index_arch_##name and bit_arch_##name.
24088
24089 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
24090
24091 [BZ #19792]
24092 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
24093 Terminate FDE before return label.
24094
24095 2016-03-09 Joseph Myers <joseph@codesourcery.com>
24096
24097 [BZ #19790]
24098 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
24099 (rintl): Define as macro.
24100 [USE_AS_NEARBYINTL] (__rintl): Likewise.
24101 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
24102 of fesetround. Ensure results are evaluated before end of scope.
24103 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
24104 USE_AS_NEARBYINTL and include s_rintl.c.
24105 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
24106 Disable exception traps in new environment.
24107 (libc_feholdsetround_ppc_ctx): Likewise.
24108
24109 2016-03-08 Roland McGrath <roland@hack.frob.com>
24110
24111 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
24112 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
24113 (tst_audit10_aux) [__AVX512F__]: ... here.
24114
24115 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
24116
24117 * include/sys/auxv.h: New file.
24118
24119 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
24120
24121 [BZ #19759]
24122 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
24123
24124 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
24125
24126 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
24127 operand modifier.
24128 (feclearexcept): Likewise.
24129
24130 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24131
24132 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
24133 to reflect the entire 32-bit HWCAP.
24134 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
24135 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
24136
24137 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
24138
24139 [BZ #19783]
24140 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
24141 $(test-via-rtld-prefix).
24142 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
24143
24144 2016-03-08 Florian Weimer <fweimer@redhat.com>
24145
24146 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
24147 union wait. Report any non-zero exit status as error.
24148
24149 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24150
24151 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24152 configured with --enable-hardcoded-path-in-tests.
24153
24154 2016-03-08 Joseph Myers <joseph@codesourcery.com>
24155
24156 [BZ #19677]
24157 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24158 (__ieee754_remainderl): Put zero low parts in canonical form.
24159 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24160 file. Based on
24161 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24162 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24163 with wrapper round test-fmodrem-ldbl-128ibm.c.
24164 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24165 file.
24166 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24167 Likewise.
24168 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24169 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24170
24171 2016-03-07 Florian Weimer <fweimer@redhat.com>
24172
24173 [BZ #19610]
24174 * elf/ldconfig.c (opt_link): Update comment.
24175 (options): Update help string for option -X.
24176 (search_dir): Unlink stale symbolic link only if updating symbolic
24177 links.
24178 * elf/tst-ldconfig-X.sh: New file.
24179 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24180 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24181
24182 2016-03-07 Andreas Schwab <schwab@suse.de>
24183
24184 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24185 needed arguments.
24186
24187 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
24188
24189 [BZ #15333]
24190 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24191 to lstat64.
24192
24193 2016-03-07 Florian Weimer <fweimer@redhat.com>
24194
24195 * libio/filedoalloc.c (isatty): Remove.
24196 (local_isatty): Add comment. Call __isatty directly.
24197 (_IO_file_doallocate): Update comment. Assume _LIBC.
24198 * libio/wfiledoalloc.c (isatty): Remove.
24199 (_IO_wfile_doallocate): Update comment.
24200
24201 2016-03-07 Florian Weimer <fweimer@redhat.com>
24202
24203 [BZ #19269]
24204 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24205 tst-audit4-aux.o.
24206 (tst-audit10): Depend on tst-audit10-aux.o.
24207 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24208 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24209 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24210 instead of inline AVX code.
24211 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24212 instead of inline AVX512 code.
24213 * sysdeps/x86_64/tst-audit4-aux.c: New file
24214 * sysdeps/x86_64/tst-audit10-aux.c: New file
24215
24216 [BZ #19648]
24217 * test-skeleton.c (main): Do not set RLIMIT_DATA.
24218
24219 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24220
24221 [BZ #14750]
24222 [BZ #10354]
24223 [BZ #18433]
24224 * include/sched.h (__clone): Add hidden prototype.
24225 (__clone2): Likewise.
24226 * include/unistd.h (__dup): Likewise.
24227 * posix/Makefile (tests): Add tst-spawn2.
24228 * posix/tst-spawn2.c: New file.
24229 * sysdeps/posix/dup.c (__dup): Add hidden definition.
24230 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24231 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24232 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24233 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24234 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24235 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24236 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24237 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24238 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24239 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24241 Likewise.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24243 Likewise.
24244 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24245 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24246 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24248 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24249 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24250 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24251 * sysdeps/unix/sysv/linux/nptl-signals.h
24252 (____nptl_is_internal_signal): New function.
24253 * sysdeps/unix/sysv/linux/spawni.c: New file.
24254
24255 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24256 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24257 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24258 * posix/tst-execvp2.c (do_test): Likewise.
24259 * posix/tst-execvp3.c (do_test): Likewise.
24260 * posix/tst-execvp4.c (do_test): Likewise.
24261 * posix/tst-execvpe1.c: New file.
24262 * posix/tst-execvpe2.c: Likewise.
24263 * posix/tst-execvpe3.c: Likewise.
24264 * posix/tst-execvpe4.c: Likewise.
24265 * posix/tst-execvpe5.c: Likewise.
24266 * posix/tst-execvpe6.c: Likewise.
24267
24268 [BZ #19534]
24269 * posix/execl.c (execl): Remove dynamic memory allocation.
24270 * posix/execle.c (execle): Likewise.
24271 * posix/execlp.c (execlp): Likewise.
24272
24273 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24274
24275 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24276 Replace .text with .text.avx512.
24277 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24278 Likewise.
24279
24280 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
24281
24282 * sysdeps/generic/libnsl.abilist: New file.
24283 * sysdeps/generic/libutil.abilist: New file.
24284
24285 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24286
24287 [BZ #19762]
24288 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24289 HAS_ARCH_FEATURE with Fast_Rep_String.
24290 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24291 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24292 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24293 Likewise.
24294 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24295 Likewise.
24296 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24297 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24298 Likewise.
24299 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24300 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24301 Likewise.
24302
24303 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24304
24305 [BZ #19745]
24306 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24307 with *%rax in call.
24308
24309 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24310
24311 [BZ #19745]
24312 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24313 with *__libc_start_main@GOTPCREL(%rip) in call.
24314
24315 2016-03-04 Roland McGrath <roland@hack.frob.com>
24316
24317 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24318 inside conditional for nonempty $(CXX).
24319
24320 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24321 nonempty.
24322
24323 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24324 to test for empty $(CXX) rather than $(CXX) of "no".
24325
24326 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24327
24328 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24329
24330 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
24331 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 [BZ #18880]
24334 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24335 instead of Slow_BSF, and also check for Fast_Copy_Backward to
24336 enable __memcpy_ssse3_back.
24337
24338 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24339
24340 [BZ #19758]
24341 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24342 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24343
24344 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
24345
24346 [BZ #19490]
24347 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24348 (__fentry__): Likewise.
24349
24350 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24351
24352 * gmon/Makefile (noprof): Add $(sysdep_noprof).
24353 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24354
24355 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24358 __mcount_internal directly.
24359 (C_LABEL(__fentry__)): Likewise.
24360 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24361 directly.
24362
24363 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24364
24365 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24366 (__start_context): Call __setcontext directly.
24367
24368 2016-02-26 Joseph Myers <joseph@codesourcery.com>
24369
24370 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24371 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24372 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24373 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24375 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24376 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24377 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24378 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24379 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24380 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24381 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24382 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24383 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24384 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24385 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24386 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24387 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24388 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24389 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24390 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24391 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24392 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24393 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24394 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24395 Remove conditional code.
24396 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24397 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24398 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24399 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24400 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24401 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24402 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24403 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24404 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24405 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24406 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24407 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24408
24409 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24410
24411 * NEWS (2.23): Fix typo in bug 19048 text.
24412
24413 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24414
24415 [BZ #14259]
24416 * Makeconfig: Rename msgcatdir to localedir.
24417 Rename inst_msgcatdir to inst_localedir.
24418 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24419 * config.make.in: Add localedir.
24420 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24421 (ldd-rewrite): Likewise.
24422 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24423 (install-others): Use inst_localedir.
24424 (CPPFLAGS): Use localedir.
24425 * locale/Makefile (locale-CPPFLAGS): Likewise.
24426 * po/Makefile (mo-installed): Use inst_localedir.
24427
24428 [BZ #19575]
24429 * localedata/charmaps/GB18030: Update comments regarding PAU to
24430 non-PUA mappings.
24431
24432 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24433
24434 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24435 test for header.
24436 * sysdeps/unix/sysv/linux/configure: Regenerated.
24437 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24438 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24439 Remove conditional code.
24440 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24441
24442 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24443 Define to 3.2.0.
24444 (arch_minimum_kernel): Likewise.
24445 * sysdeps/unix/sysv/linux/configure: Regenerated.
24446 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24447 Define to 2.6.32.
24448 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24449 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24450 (arch_minimum_kernel): Define to 2.6.32.
24451 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24452 * README: Document Linux 3.2 requirement.
24453 * manual/install.texi (Linux): Document Linux 3.2 headers
24454 requirement.
24455 * INSTALL: Regenerated.
24456
24457 2016-02-24 Andreas Schwab <schwab@suse.de>
24458
24459 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24460 if !NO_LONG_DOUBLE.
24461
24462 2016-02-22 Roland McGrath <roland@hack.frob.com>
24463
24464 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24465 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24466
24467 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24468
24469 [BZ #19512]
24470 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24471
24472 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24473
24474 * posix/tst-dir.c: Include libc-internal.h.
24475
24476 2016-02-20 Florian Weimer <fweimer@redhat.com>
24477
24478 [BZ #19056]
24479 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24480 * manual/filesys.texi (Reading/Closing Directory): Mention
24481 deprecaion.
24482 * posix/tst-dir.c (main): Disable deprecation warning in test.
24483
24484 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24485
24486 [BZ #19679]
24487 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24488 Renamed to ...
24489 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24490 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24491 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24492 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24493 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24494 * sysdeps/x86_64/dl-trampoline.h
24495 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24496 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24497
24498 2016-02-19 Mark Wielaard <mjw@redhat.com>
24499
24500 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24501
24502 2016-02-19 Mark Wielaard <mjw@redhat.com>
24503
24504 * elf/elf.h (R_386_GOT32X): New.
24505 (R_386_NUM): Update.
24506 (R_X86_64_GOTPCRELX: New.
24507 (R_X86_64_REX_GOTPCRELX): New.
24508 (R_X86_64_NUM): Update.
24509
24510 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24511
24512 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24513
24514 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24515
24516 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24517 assign attr->stackaddr to it, and adjust it down when
24518 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24519 [_STACK_GROWS_UP]: Delete assert.
24520 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24521 Implement stack grows up logic.
24522 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24523 stack grows up logic.
24524
24525 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24526
24527 * NEWS: Update with 2.24 template.
24528
24529 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24530
24531 [BZ #19678]
24532 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24533 Ensure +0.0 is returned when taking the next value below the least
24534 positive value.
24535
24536 2016-02-19 Florian Weimer <fweimer@redhat.com>
24537
24538 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24539 available. Do not define NO_THREADS.
24540 * malloc/malloc.c: Do not check NO_THREADS.
24541 * malloc/arena.c: Likewise.
24542
24543 2016-02-19 Florian Weimer <fweimer@redhat.com>
24544
24545 * malloc/malloc.c (__libc_mallinfo): Update comment.
24546 (struct malloc_par): Remove max_total_mem member, it was always 0.
24547 (int_mallinfo): Store 0 into usmblks (no functional change).
24548 * malloc/hooks.c (struct malloc_state): Document that
24549 max_total_mem is always 0.
24550 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24551 always 0.
24552 * manual/memory.texi (Statistics of Malloc): Likewise.
24553
24554 2016-02-19 Florian Weimer <fweimer@redhat.com>
24555
24556 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24557 * malloc/arena.c (arena_max): Remove.
24558 (heap_trim, _int_new_arena): Do not update arena_max.
24559
24560 2016-02-19 Florian Weimer <fweimer@redhat.com>
24561
24562 * resolv/res_init.c (res_ninit): Update comment.
24563
24564 2016-02-19 Florian Weimer <fweimer@redhat.com>
24565
24566 [BZ #19505]
24567 * posix/spawn_int.h: Add headers and include guard.
24568 (__spawn_valid_fd): New function.
24569 * posix/spawn_faction_addopen.c
24570 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24571 * posix/spawn_faction_addclose.c
24572 (posix_spawn_file_actions_addclose): Likewise.
24573 * posix/spawn_faction_adddup2.c
24574 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24575 second file descriptor.
24576 * posix/spawn_valid_fd.c: New file.
24577 * posix/tst-posix_spawn-fd.c: New file.
24578 * posix/Makefile (routines): Add spawn_valid_fd.
24579 (tests): Add tst-posix_spawn-fd.
24580
24581 2016-02-19 Florian Weimer <fweimer@redhat.com>
24582
24583 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24584 (do_test): Limit the number of arenas, so that we can use fewer
24585 outer threads. Limit timeout to 3 seconds, in preparation for a
24586 larger TIMEOUT value.
24587
24588 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24589
24590 [BZ #19674]
24591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24592 sign in overflowing and underflowing results when overflow or
24593 underflow is detected early. Include sign in result before rather
24594 than after scaling.
24595
24596 [BZ #19603]
24597 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24598 (__ieee754_remainderl): Adjust sign of integer version of low part
24599 when taking absolute value of high part.
24600 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24601 * math/libm-test.inc (remainder_test_data): Add another test.
24602 (remquo_test_data): Likewise.
24603
24604 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24605
24606 [BZ #19602]
24607 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24608 equal high parts and both low parts zero specially.
24609 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24610 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24611 Add test-fmodl-ldbl-128ibm.
24612
24613 [BZ #19595]
24614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24615 common logic for all cases of shifting subnormal results. Do not
24616 insert sign bit in shifted mantissa. Always pass -1023 as biased
24617 exponent to ldbl_insert_mantissa in subnormal case.
24618
24619 [BZ #19594]
24620 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24621 on high and low parts then adjust result and use
24622 ldbl_canonicalize_int if needed.
24623
24624 [BZ #19593]
24625 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24626 on high part and __floor or __ceil on low part then use
24627 ldbl_canonicalize_int if needed.
24628
24629 [BZ #19592]
24630 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24631 high and low parts then use ldbl_canonicalize_int if needed.
24632
24633 [BZ #17899]
24634 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24635 New function.
24636 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24637 on high and low parts then use ldbl_canonicalize_int if needed.
24638
24639 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24640
24641 * configure: Regenerated.
24642
24643 * po/libc.pot: Regenerated.
24644
24645 * po/be.po: Updated translation.
24646 * po/bg.po: Likewise.
24647 * po/ca.po: Likewise.
24648 * po/cs.po: Likewise.
24649 * po/da.po: Likewise.
24650 * po/el.po: Likewise.
24651 * po/eo.po: Likewise.
24652 * po/es.po: Likewise.
24653 * po/fi.po: Likewise.
24654 * po/fr.po: Likewise.
24655 * po/gl.po: Likewise.
24656 * po/hr.po: Likewise.
24657 * po/hu.po: Likewise.
24658 * po/ia.po: Likewise.
24659 * po/id.po: Likewise.
24660 * po/it.po: Likewise.
24661 * po/ja.po: Likewise.
24662 * po/lt.po: Likewise.
24663 * po/nb.po: Likewise.
24664 * po/nl.po: Likewise.
24665 * po/pt_BR.po: Likewise.
24666 * po/rw.po: Likewise.
24667 * po/sk.po: Likewise.
24668 * po/sl.po: Likewise.
24669 * po/sv.po: Likewise.
24670 * po/tr.po: Likewise.
24671 * po/zh_CN.po: Likewise.
24672 * po/zh_TW.po: Likewise.
24673
24674 * version.h (RELEAES): Set to "development".
24675 (VERSION): Set to 2.23.90.
24676
24677 * version.h (RELEASE): Set to "stable".
24678 (VERSION): Set to 2.23.
24679 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24680
24681 * NEWS: Updated fixed bugs.
24682
24683 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24684 Wilco Dijkstra <wdijkstr@arm.com>
24685
24686 [BZ #19462]
24687 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24688 (_STRING_INLINE_unaligned): This.
24689 * include/string.h: Include <string_private.h>.
24690 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24691 _STRING_INLINE_unaligned.
24692 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24693 (_STRING_INLINE_unaligned): New.
24694 * sysdeps/aarch64/string_private.h: New file.
24695 * sysdeps/generic/string_private.h: Likewise.
24696 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24697 * sysdeps/s390/string_private.h: Likewise.
24698 * sysdeps/x86/string_private.h: Likewise.
24699 * sysdeps/m68k/m680x0/m68020/bits/string.h
24700 (_STRING_ARCH_unaligned): Renamed to ...
24701 (_STRING_INLINE_unaligned): This.
24702 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24703 to ...
24704 (_STRING_INLINE_unaligned): This.
24705 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24706 to ...
24707 (_STRING_INLINE_unaligned): This.
24708 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24709 to ...
24710 (_STRING_INLINE_unaligned): This.
24711
24712 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24713 H.J. Lu <hongjiu.lu@intel.com>
24714
24715 [BZ #19590]
24716 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24717 relocation.
24718
24719 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24720
24721 [BZ #18665]
24722 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24723 *herrno_p.
24724 (gaih_getanswer): Document functional behviour. Return tryagain
24725 if any result is tryagain.
24726 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24727 when freed.
24728 * resolv/res_send.c: Add copyright text.
24729 (__libc_res_nsend): Document that MAXPACKET is expected.
24730 (send_vc): Document. Remove buffer reuse.
24731 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24732 size of the buffer. Add Dprint for truncated UDP buffer.
24733
24734 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24735
24736 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24737 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24738 * INSTALL: Regenerate.
24739
24740 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24741 Jonathan Wakely <jwakely@redhat.com>
24742 Carlos O'Donell <carlos@redhat.com>
24743
24744 [BZ 19439]
24745 * math/Makefile (tests): Add test-math-isinff.
24746 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24747 * math/bits/mathcalls.h [__USE_MISC]: Use
24748 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24749 functions not in C++11 and which don't conflict e.g. isinff,
24750 isinfl etc.
24751 * math/test-math-isinff.cc: New file.
24752
24753 2016-02-12 Florian Weimer <fweimer@redhat.com>
24754
24755 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24756
24757 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24758
24759 [BZ #19529]
24760 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24761
24762 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24763
24764 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24765
24766 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24767
24768 [BZ #19550]
24769 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24770 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24771 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24772 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24773 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24774 New syscall entry.
24775 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24776 New syscall entry.
24777 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24778 syscall entry.
24779
24780 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24781
24782 [BZ #18240]
24783 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24784 unsigned int wraparound.
24785
24786 2016-01-27 Florian Weimer <fweimer@redhat.com>
24787
24788 [BZ #18240]
24789 * misc/bug18240.c: New test.
24790 * misc/Makefile (tests): Add it.
24791
24792 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24793 Joseph Myers <joseph@codesourcery.com>
24794
24795 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24796 load in branch delay slot when less than a word of input left.
24797
24798 2016-01-27 Andreas Schwab <schwab@suse.de>
24799
24800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24801 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24802 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24803 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24804
24805 2016-01-26 David S. Miller <davem@davemloft.net>
24806
24807 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24808
24809 2016-01-25 David S. Miller <davem@davemloft.net>
24810
24811 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24812 __sqrtl_finite.
24813 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24814 instead using versioned_symbol.
24815 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24816 of entries.
24817
24818 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24819 __sqrtl_finite to GLIBC_2.23
24820
24821 2016-01-25 Ricchard Henderson <rth@redhat.com>
24822
24823 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24824
24825 2016-01-25 Andreas Schwab <schwab@suse.de>
24826
24827 [BZ #17514]
24828 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24829 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24830 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24831 * nptl/tst-mutex-errorcheck.c: New file.
24832
24833 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24834
24835 [BZ #18560]
24836 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24837 (IPCOP_semop): Likewise.
24838 (IPCOP_semget): Likewise.
24839 (IPCOP_semctl): Likewise.
24840 (IPCOP_msgsnd): Likewise.
24841 (IPCOP_msgrcv): Likewise.
24842 (IPCOP_msgget): Likewise.
24843 (IPCOP_msgctl): Likewise.
24844 (IPCOP_shmat): Likewise.
24845 (IPCOP_shmdt): Likewise.
24846 (IPCOP_shmget): Likewise.
24847 (IPCOP_shmctl): Likewise.
24848
24849 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24850
24851 * string/tst-endian.c: Include <libc-internal.h>.
24852 (do_test): Ignore tautological-compare warnings around
24853 "htobeXX (beXXtoh (i)) != i" and
24854 "htoleXX (leXXtoh (i)) != i" if-statements.
24855
24856 2016-01-24 David S. Miller <davem@davemloft.net>
24857
24858 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24859 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24860 alias.
24861 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24862 __sqrtl_finite.
24863
24864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24865
24866 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24867
24868 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24869 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24870 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24871
24872 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24873
24874 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24875 (thread_func): Use new function to simplify barrier check.
24876 (do_test): Use new function to simplify checking barrier exit
24877 code, and actually join the child thread.
24878
24879 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24880
24881 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24882 semicolon.
24883 (__libc_tend): Likewise.
24884 (__libc_tabort): Likewise.
24885
24886 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24887
24888 * sysdeps/nios2/libm-test-ulps: Update.
24889 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24890 (__gtsf2): Likewise.
24891 (__unorddf2): Likewise.
24892 (__unordsf2): Likewise.
24893 (__ledf2): Likewise.
24894
24895 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24896
24897 * nis/nis_table.c (__follow_path): Disable diagnostic for
24898 uninitialized variable that is a false positive for gcc 4.7.
24899 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24900
24901 2016-01-20 Roland McGrath <roland@hack.frob.com>
24902
24903 * sysdeps/nacl/lowlevellock-futex.h
24904 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24905 Always evaluate PRIVATE argument.
24906
24907 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24908
24909 [BZ #19490]
24910 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24911 (pthread_cond_broadcast): Use ENTRY/END
24912 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24913 (pthread_cond_signal): Likewise.
24914 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24915 Likewise.
24916 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24917 Likewise.
24918 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24919 Likewise.
24920
24921 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24922
24923 * sysdeps/ieee754/dbl-64/s_finite.c
24924 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24925 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24926 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24927 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24928 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24929
24930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24931 (__gtsf2): Add as optional for libc.so.
24932 (__unordsf2): Likewise.
24933 (__signbit): Remove for libc.so.
24934 (__signbitl): Likewise.
24935
24936 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24937
24938 * iconvdata/bug-iconv11.c (test_ibm93x):
24939 Use %zu printf format specifier for size_t argument.
24940
24941 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24942
24943 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24944 already-recorded ulps.
24945 * sysdeps/arm/libm-test-ulps: Regenerated.
24946 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24947 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24948 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24949
24950 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24951 Paul Pluzhnikov <ppluzhnikov@google.com>
24952
24953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24954 assembler not supporting AVX-512.
24955
24956 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24957
24958 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24959
24960 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24961
24962 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24963 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24964
24965 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24966
24967 * sysdeps/arm/libm-test-ulps: Regenerated.
24968
24969 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24970
24971 [BZ #19451]
24972 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24973
24974 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24975
24976 [BZ #19486]
24977 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24978 * sysdeps/generic/fix-fp-int-convert-overflow.h
24979 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24980 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24981 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24982 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24983 Likewise.
24984 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24985 Avoid conversions to long int where inexact exceptions
24986 could be raised.
24987 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24988 Likewise.
24989 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24990 Avoid conversions to long long int where inexact exceptions
24991 could be raised.
24992 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24993 Likewise.
24994
24995 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24996
24997 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24998 * configure: Regenerated.
24999
25000 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
25001
25002 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
25003
25004 2016-01-16 Mike Frysinger <vapier@gentoo.org>
25005
25006 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
25007 outside of comment.
25008
25009 2016-01-15 Torvald Riegel <triegel@redhat.com>
25010
25011 * nptl/tst-barrier1.c: Add description on first line.
25012 * nptl/tst-barrier2.c: Likewise.
25013 * nptl/tst-barrier3.c: Likewise.
25014 * nptl/tst-barrier4.c: Likewise.
25015 * nptl/tst-barrier5.c: Likewise.
25016
25017 2016-01-15 Torvald Riegel <triegel@redhat.com>
25018
25019 [BZ #18868]
25020 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
25021
25022 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
25023
25024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
25025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25026 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
25027 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
25028 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
25029 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
25030 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25031 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25032 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25033 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25034 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25035
25036 2016-01-15 Torvald Riegel <triegel@redhat.com>
25037
25038 [BZ #13065]
25039 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
25040 new implementation.
25041 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
25042 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
25043 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
25044 (BARRIER_IN_THRESHOLD): New macro.
25045 * nptl/pthread_barrierattr_setpshared.c
25046 (pthread_barrierattr_setpshared): Clean up.
25047 * nptl/tst-barrier4.c: Correct comment.
25048 * nptl/tst-barrier5.c: New file.
25049 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
25050 (gen-as-const-headers): Remove lowlevelbarrier.sym.
25051 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
25052 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
25053 * nptl/lowlevelbarrier.sym: Remove.
25054 * nptl/DESIGN-barrier.txt: Remove.
25055 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
25056 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
25057 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
25058 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
25059 error.
25060 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
25061 implementation.
25062
25063 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25064
25065 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
25066 (do_child): Mask SIGRTMIN while thr is running.
25067
25068 2016-01-15 Martin Sebor <msebor@redhat.com>
25069
25070 [BZ #19432]
25071 * iconvdata/Makefile: Add bug-iconv11.
25072 * iconvdata/bug-iconv11.c: New test.
25073 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
25074 * iconvdata/ibm933.c: Same.
25075 * iconvdata/ibm935.c: Same.
25076 * iconvdata/ibm937.c: Same.
25077 * iconvdata/ibm939.c: Same.
25078
25079 2016-01-15 Martin Sebor <msebor@redhat.com>
25080
25081 [BZ #19443]
25082 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
25083 [DEBUG] (_ufc_set_bits): Declare used.
25084 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
25085 [DEBUG] (print_all): Declare used.
25086 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
25087 operands of the ternary ?: expression to target type.
25088 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
25089 calling the undeclared abort.
25090 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
25091
25092 2016-01-15 Martin Sebor <msebor@redhat.com>
25093
25094 [BZ #18755]
25095 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
25096 warnings.
25097 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
25098 (__gai_create_helper_thread): Same.
25099 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
25100 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
25101 to suppress -Wmaybe-uninitialized warnings.
25102
25103 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
25104
25105 [BZ #19465]
25106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
25107 inside if.
25108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25109 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25111
25112 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
25113
25114 [BZ #19466]
25115 * time/tst-mktime2.c (time_t_max): Removed.
25116 (time_t_min): Likewise.
25117 (TYPE_SIGNED): New.
25118 (TYPE_MINIMUM): Likewise.
25119 (TYPE_MAXIMUM): Likewise.
25120 (TIME_T_MIN): Likewise.
25121 (TIME_T_MAX): Likewise.
25122 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
25123 and TIME_T_MIN.
25124 (do_test): Likewise.
25125
25126 2016-01-14 Amit Pawar <amit.pawar@amd.com>
25127
25128 [BZ #19467]
25129 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25130 index_Fast_Unaligned_Load flag for Excavator family CPUs.
25131
25132 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
25133
25134 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
25135
25136 2016-01-13 Carlos O'Donell <carlos@redhat.com>
25137
25138 * benchtests/Makefile (PYTHON): Define.
25139 (bench-func): Use $(PYTHON) to run python scripts.
25140 ($(objpfx)bench-%.c): Likewise.
25141
25142 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
25143
25144 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
25145 leading slash when `file_name' is "/".
25146
25147 2016-01-12 Joseph Myers <joseph@codesourcery.com>
25148
25149 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25150 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25151 Likewise.
25152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25153 Likewise.
25154 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25155 Likewise.
25156 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25157 enum constant and macro.
25158 (PTRACE_SETSIGMASK): Likewise.
25159 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25160 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25161 (PTRACE_GETSIGMASK): Likewise.
25162 (PTRACE_SETSIGMASK): Likewise.
25163 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25164 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25165 Likewise.
25166 (PTRACE_SETSIGMASK): Likewise.
25167 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25168 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25169 (PTRACE_GETSIGMASK): Likewise.
25170 (PTRACE_SETSIGMASK): Likewise.
25171 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25173 Likewise.
25174 (PTRACE_SETSIGMASK): Likewise.
25175 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25176 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25177 Likewise.
25178 (PTRACE_SETSIGMASK): Likewise.
25179 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25180 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25181 Likewise.
25182 (PTRACE_SETSIGMASK): Likewise.
25183 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25184
25185 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
25186 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25187
25188 [BZ #19439]
25189 * math/bits/mathcalls.h
25190 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25191 prototype.
25192 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25193
25194 2016-01-11 Andreas Schwab <schwab@suse.de>
25195
25196 [BZ #19253]
25197 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25198 cache when TZDEFRULES was used.
25199 * time/tst-tzname.c: New file.
25200 * time/Makefile (test): Add tst-tzname.
25201 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25202 * timezone/Makefile (test-zones): Add $(posixrules-file).
25203 ($(testdata)/$(posixrules-file)): New rule.
25204
25205 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
25206
25207 Fix doc quoting problems with Texinfo 5
25208 Without this change, in the info file output, Texinfo 5 quotes code
25209 in text with undirected single quotes 'like this' and generates
25210 code examples that with many PDF readers cannot be cut out of PDFs
25211 and pasted into code.
25212 * manual/libc.texinfo: Configure the libc manual like the GNU
25213 Emacs manual, by using @documentencoding and setting
25214 txicodequoteundirected and txicodequotebacktick. This way,
25215 Texinfo 5 quotes code in text with directed single quotes ‘like
25216 this’ and produces examples that can be cut out of PDFs. This
25217 change causes Texinfo 5 to generate info files that contain UTF-8
25218 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
25219 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
25220
25221 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25222
25223 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25224 __libc_tabort, __libc_tend): New wrappers that enforce compiler
25225 barriers to their respective compiler built-ins.
25226 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25227 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25228 * sysdeps/powerpc/sysdep.h: Likewise.
25229 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25230 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25231 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25232
25233 2016-01-08 Marko Myllynen <myllynen@redhat.com>
25234
25235 * scripts/config.guess: Revert previous shebang change.
25236 * scripts/config.sub: Likewise.
25237 * scripts/mkinstalldirs: Likewise.
25238
25239 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25240
25241 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25242 PPC_FEATURE2_HAS_IEEE128.
25243 * sysdeps/powerpc/dl-procinfo.c:
25244 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25245
25246 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
25247
25248 [BZ #19415]
25249 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25250 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
25251 (_dl_lookup_address): Rewrite using function resolver trampoline.
25252 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25253 two bits in address.
25254
25255 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25256
25257 * longlong.h: Change !__SHMEDIA__ to
25258 (!defined (__SHMEDIA__) || !__SHMEDIA__).
25259 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25260
25261 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
25262 Joseph Myers <joseph@codesourcery.com>
25263 Mark Shinwell <shinwell@codesourcery.com>
25264 Andrew Stubbs <ams@codesourcery.com>
25265 Rich Felker <dalias@libc.org>
25266
25267 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25268
25269 2016-01-07 Richard Henderson <rth@redhat.com>
25270
25271 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25272
25273 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25274
25275 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25276 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25277 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25278 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25279 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25280
25281 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
25282 Joseph Myers <joseph@codesourcery.com>
25283
25284 * timezone/private.h: Update from tzcode 2015g.
25285 * timezone/tzfile.h: Likewise.
25286 * timezone/tzselect.ksh: Likewise.
25287 * timezone/zdump.c: Likewise.
25288 * timezone/zic.c: Likewise.
25289 * timezone/ialloc.c: Remove file.
25290 * timezone/scheck.c: Likewise.
25291 * timezone/Makefile (extra-objs): Remove variable.
25292 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25293 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25294 -Wno-maybe-uninitialized.
25295 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25296 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25297 (CFLAGS-ialloc.c): Remove variable.
25298 (CFLAGS-scheck.c): Likewise.
25299 * timezone/README: Update list of files from tzcode.
25300
25301 2016-01-07 Khem Raj <raj.khem@gmail.com>
25302
25303 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25304 instead of __fxprintf when _LIBC is undefined.
25305
25306 2016-01-07 Marko Myllynen <myllynen@redhat.com>
25307
25308 * catgets/test-gencat.sh: Remove space after shebang.
25309 * conform/GlibcConform.pm: Likewise.
25310 * conform/check-header-lists.sh: Likewise.
25311 * conform/conformtest.pl: Likewise.
25312 * conform/linknamespace.pl: Likewise.
25313 * conform/list-header-symbols.pl: Likewise.
25314 * debug/catchsegv.sh: Likewise.
25315 * elf/genrtldtbl.awk: Likewise.
25316 * elf/tst-pathopt.sh: Likewise.
25317 * elf/tst-rtld-load-self.sh: Likewise.
25318 * grp/tst_fgetgrent.sh: Likewise.
25319 * iconvdata/gen-8bit-gap-1.sh: Likewise.
25320 * iconvdata/gen-8bit-gap.sh: Likewise.
25321 * iconvdata/gen-8bit.sh: Likewise.
25322 * iconvdata/run-iconv-test.sh: Likewise.
25323 * intl/tst-gettext.sh: Likewise.
25324 * intl/tst-gettext2.sh: Likewise.
25325 * intl/tst-gettext4.sh: Likewise.
25326 * intl/tst-gettext6.sh: Likewise.
25327 * intl/tst-translit.sh: Likewise.
25328 * io/ftwtest-sh: Likewise.
25329 * libio/test-freopen.sh: Likewise.
25330 * locale/gen-translit.pl: Likewise.
25331 * malloc/tst-mtrace.sh: Likewise.
25332 * manual/check-safety.sh: Likewise.
25333 * manual/libc-texinfo.sh: Likewise.
25334 * manual/tsort.awk: Likewise.
25335 * manual/xtract-typefun.awk: Likewise.
25336 * nptl/tst-cancel-wrappers.sh: Likewise.
25337 * nptl/tst-tls6.sh: Likewise.
25338 * posix/globtest.sh: Likewise.
25339 * posix/tst-getconf.sh: Likewise.
25340 * posix/wordexp-tst.sh: Likewise.
25341 * scripts/check-c++-types.sh: Likewise.
25342 * scripts/check-local-headers.sh: Likewise.
25343 * scripts/config.guess: Likewise.
25344 * scripts/config.sub: Likewise.
25345 * scripts/cpp: Likewise.
25346 * scripts/cross-test-ssh.sh: Likewise.
25347 * scripts/documented.sh: Likewise.
25348 * scripts/evaluate-test.sh: Likewise.
25349 * scripts/gen-libc-abis: Likewise.
25350 * scripts/gen-sorted.awk: Likewise.
25351 * scripts/list-fixed-bugs.py: Likewise.
25352 * scripts/merge-test-results.sh: Likewise.
25353 * scripts/mkinstalldirs: Likewise.
25354 * scripts/rellns-sh: Likewise.
25355 * scripts/test-installation.pl: Likewise.
25356 * scripts/update-copyrights: Likewise.
25357 * stdio-common/tst-printf.sh: Likewise.
25358 * stdio-common/tst-unbputc.sh: Likewise.
25359 * stdlib/tst-fmtmsg.sh: Likewise.
25360 * stdlib/tst-setcontext3.sh: Likewise.
25361 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25362 * sysdeps/unix/make-syscalls.sh: Likewise.
25363
25364 2016-01-06 John David Anglin <dave.anglin@bell.net>
25365
25366 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25367 asm stw with atomic_exchange_rel. Add explanatory comment.
25368 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25369 Likewise.
25370
25371 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25372
25373 [BZ #19122]
25374 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25375 * sysdeps/generic/dl-unistd.h: New file.
25376 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25377
25378 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25379
25380 [BZ #19122]
25381 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25382 * sysdeps/generic/dl-mman.h: New file.
25383 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25384
25385 2016-01-05 Joseph Myers <joseph@codesourcery.com>
25386
25387 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25388 trailing whitespace removed.
25389 * scripts/config.guess: Update to version 2016-01-01.
25390 * scripts/config.sub: Update to version 2016-01-01.
25391 * scripts/move-if-change: Update from gnulib.
25392
25393 2016-01-04 Anton Blanchard <anton@samba.org>
25394
25395 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25396 for array indices.
25397 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25398
25399 2016-01-04 Joseph Myers <joseph@codesourcery.com>
25400
25401 * NEWS: Update copyright dates.
25402 * catgets/gencat.c (print_version): Likewise.
25403 * csu/version.c (banner): Likewise.
25404 * debug/catchsegv.sh: Likewise.
25405 * debug/pcprofiledump.c (print_version): Likewise.
25406 * debug/xtrace.sh (do_version): Likewise.
25407 * elf/ldconfig.c (print_version): Likewise.
25408 * elf/ldd.bash.in: Likewise.
25409 * elf/pldd.c (print_version): Likewise.
25410 * elf/sotruss.sh: Likewise.
25411 * elf/sprof.c (print_version): Likewise.
25412 * iconv/iconv_prog.c (print_version): Likewise.
25413 * iconv/iconvconfig.c (print_version): Likewise.
25414 * locale/programs/locale.c (print_version): Likewise.
25415 * locale/programs/localedef.c (print_version): Likewise.
25416 * login/programs/pt_chown.c (print_version): Likewise.
25417 * malloc/memusage.sh (do_version): Likewise.
25418 * malloc/memusagestat.c (print_version): Likewise.
25419 * malloc/mtrace.pl: Likewise.
25420 * manual/libc.texinfo: Likewise.
25421 * nptl/version.c (banner): Likewise.
25422 * nscd/nscd.c (print_version): Likewise.
25423 * nss/getent.c (print_version): Likewise.
25424 * nss/makedb.c (print_version): Likewise.
25425 * posix/getconf.c (main): Likewise.
25426 * scripts/test-installation.pl: Likewise.
25427 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25428
25429 * All files with FSF copyright notices: Update copyright dates
25430 using scripts/update-copyrights.
25431 * intl/plural.c: Regenerated.
25432 * locale/programs/charmap-kw.h: Likewise.
25433 * locale/programs/locfile-kw.h: Likewise.
25434
25435 2016-01-02 Helge Deller <deller@gmx.de>
25436
25437 [BZ #19285]
25438 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25439 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25440 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25441 (MADV_xxK_PAGES): Remove.
25442
25443 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25444
25445 [BZ #15421]
25446 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25447 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25448 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25449 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25450
25451 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25452
25453 [BZ #19408]
25454 * sysdeps/unix/sysv/linux/personality.c: New file.
25455 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25456 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25457 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25458 (sysdep_routines): Add personality.
25459 (tests): Add tst-personality.
25460 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25461 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25462 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25463 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25464 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25465 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25466 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25467 Likewise.
25468 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25469 Likewise.
25470 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25471 Likewise.
25472 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25473 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25474 Likewise.
25475
25476 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25477
25478 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25479 (PATH_ARM_SYSTYPE): Remove.
25480 (PATH_CPUINFO): Likewise.
25481 (IO_BASE_FOOTBRIDGE): Likewise.
25482 (IO_SHIFT_FOOTBRIDGE): Likewise.
25483 (struct platform): Likewise.
25484 (init_iosys): Remove compatibility code for 2.4 kernels.
25485 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25486
25487 2015-12-29 Florian Weimer <fweimer@redhat.com>
25488
25489 * malloc/tst-malloc-thread-fail.c: New file.
25490 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25491 (tst-malloc-thread-fail): Link against libpthread.
25492
25493 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25494
25495 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25496 (get_parser): New function.
25497 (main): New function.
25498
25499 2015-12-29 Rob Wu <rob@robwu.nl>
25500
25501 [BZ #19369]
25502 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25503
25504 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25505
25506 [BZ #19270]
25507 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25508
25509 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25510
25511 [BZ #15421]
25512 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25513
25514 2015-12-23 Torvald Riegel <triegel@redhat.com>
25515
25516 [BZ #13690]
25517 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25518 after releasing it.
25519 (__lll_robust_unlock): Likewise.
25520 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25521 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25522 (lll_robust_unlock): Likewise.
25523 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25524 Prevent warnings in callers.
25525
25526 2015-12-23 Florian Weimer <fweimer@redhat.com>
25527
25528 * malloc/arena.c (list_lock): Update comment.
25529
25530 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25531
25532 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25533 __parse_hwcap_and_convert_at_platform to libc.a.
25534
25535 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25536
25537 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25538 platform and feature support for POWER9.
25539 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25540 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25541 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25542 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25543 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25544 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25545 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25546 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25547
25548 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25549
25550 Harmonize generic stdio-lock support with nptl
25551
25552 This fixes build when _IO_funlockfile is a macro, fixes build where
25553 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25554 stack unwind.
25555
25556 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25557 _IO_release_lock ): Use cleanup attribute on new
25558 _IO_acquire_lock_file variable instead of assuming that
25559 _IO_release_lock will be called.
25560 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25561 _IO_acquire_lock_needs_exceptions_enabled.
25562 (_IO_acquire_lock_clear_flags2): New macro.
25563
25564 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25565
25566 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25567
25568 2015-12-21 Florian Weimer <fweimer@redhat.com>
25569
25570 [BZ #19182]
25571 * malloc/arena.c (list_lock): Document lock ordering requirements.
25572 (free_list_lock): New lock.
25573 (ptmalloc_lock_all): Comment on free_list_lock.
25574 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25575 (detach_arena): Update comment. free_list_lock is now needed.
25576 (_int_new_arena): Use free_list_lock around detach_arena call.
25577 Acquire arena lock after list_lock. Add comment, including FIXME
25578 about incorrect synchronization.
25579 (get_free_list): Switch to free_list_lock.
25580 (reused_arena): Acquire free_list_lock around detach_arena call
25581 and attached threads counter update. Add two FIXMEs about
25582 incorrect synchronization.
25583 (arena_thread_freeres): Switch to free_list_lock.
25584 * malloc/malloc.c (struct malloc_state): Update comments to
25585 mention free_list_lock.
25586
25587 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25588
25589 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25590 Remove functions.
25591 (sloww, sloww1): Accept argument to offset quadrant.
25592 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25593 quadrant.
25594 (__sin, __cos): Consolidate common code into new functions.
25595 (reduce_sincos_1, do_sincos_1): New functions.
25596 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25597
25598 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25599 code to new functions.
25600 (reduce_sincos_2, do_sincos_2): New functions.
25601 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25602
25603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25604 common code for sincos.
25605 (__cos) [!IN_SINCOS]: Likewise.
25606 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25607 New function.
25608 (__sincos): Use it.
25609
25610 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25611
25612 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25613 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25614 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25615
25616 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25617
25618 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25621 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25622 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25623 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25624 index_Prefer_No_VZEROUPPER): New feature.
25625 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25626 Prefer_No_VZEROUPPER for Knights Landing.
25627
25628 015-12-18 Torvald Riegel <triegel@redhat.com>
25629
25630 * math/atest-exp2.c (mp_exp_m1): Remove.
25631
25632 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25633
25634 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25635 syscalls.
25636 (__SYSCALL0): New macro.
25637 (__SYSCALL1): Likewise.
25638 (__SYSCALL2): Likewise.
25639 (__SYSCALL3): Likewise.
25640 (__SYSCALL4): Likewise.
25641 (__SYSCALL5): Likewise.
25642 (__SYSCALL6): Likewise.
25643 (__SYSCALL_CONCAT_X): Likewise.
25644 (__SYSCALL_CONCAT): Likewise.
25645 (__SYSCALL_DIST): Likewise.
25646 (__SYSCALL_CALL): Likewise.
25647
25648 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25649
25650 [BZ #19363]
25651 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25652
25653 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25654
25655 [BZ #19375]
25656 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25657 negative subnormals.
25658
25659 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25660
25661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25662 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25663 (INTERNAL_SYSCALL_NCS): Use it.
25664 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25665
25666 2015-12-16 Florian Weimer <fweimer@redhat.com>
25667
25668 [BZ #19243]
25669 * malloc/arena.c (get_free_list): Remove assert and adjust
25670 reference count handling. Add comment about reused_arena
25671 interaction.
25672 (reused_arena): Add comments abount get_free_list interaction.
25673 * malloc/tst-malloc-thread-exit.c: New file.
25674 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25675 (tst-malloc-thread-exit): Link against libpthread.
25676
25677 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25678
25679 [BZ #19367]
25680 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25681 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25682 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25683 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25684 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25685
25686 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25687
25688 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25689 Silvermont optimizations for Knights Landing.
25690
25691 2015-12-15 Andreas Schwab <schwab@suse.de>
25692
25693 [BZ #17197]
25694 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25695 immediately after emitting SI.
25696 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25697 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25698 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25699 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25700 * iconvdata/bug-iconv10.c: New file.
25701 * iconvdata/Makefile (tests): Add bug-iconv10.
25702 ($(objpfx)bug-iconv10.out): New rule.
25703
25704 2015-12-15 Florian Weimer <fweimer@redhat.com>
25705
25706 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25707 aliasing violation.
25708
25709 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25710
25711 [BZ #18472]
25712 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25713 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25714 conditionals for them.
25715 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25716 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25718 sys/kdaemon.h.
25719 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25720 compat-only syscall, obsoleted in glibc 2.23.
25721 (create_module): Likewise.
25722 (get_kernel_syms): Likewise.
25723 (query_module): Likewise.
25724 (uselib): Likewise.
25725 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25726
25727 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25728
25729 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25730 <linux/version.h>.
25731 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25732 conditional code.
25733 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25734 and ioshift_name initialization.
25735
25736 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25737
25738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25739 Fix indentation.
25740
25741 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25742
25743 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25744
25745 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25746
25747 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25748
25749 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25750 Jakub Wilk <jwilk@debian.org>
25751
25752 [BZ #19347]
25753 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25754 to change the group of the device to the tty group.
25755
25756 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25757
25758 Split large string section; add truncation advice
25759 * manual/examples/strncat.c: Remove.
25760 This example was misleading, as the code would have undefined
25761 behavior if "hello" was longer than SIZE. Anyway, the manual
25762 shouldn't encourage strncpy+strncat for this sort of thing.
25763 * manual/string.texi (Copying Strings and Arrays): Split into
25764 three sections Copying Strings and Arrays, Concatenating Strings,
25765 and Truncating Strings, as this section was way too long. All
25766 cross-referenced changed. Add advice about string-truncation
25767 functions. Remove misleading strncat example.
25768
25769 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25770
25771 * manual/nss.texi (NSS Modules Interface): Document
25772 NSS_STATUS_NOTFOUND and SUCCESS.
25773
25774 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25775
25776 [BZ 18568]
25777 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25778 201505L, for Unicode 8.
25779
25780 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25781
25782 * locale/C-translit.h: Regenerate.
25783
25784 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25785
25786 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25787 and U+0153.
25788
25789 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25790
25791 [BZ #19351]
25792 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25793 expanding log(1+z), compare z rather than its square with epsilon
25794 to determine when to avoid evaluating the expansion.
25795
25796 [BZ #19350]
25797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25798 Increase overflow threshold.
25799
25800 [BZ #19349]
25801 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25802 when small.
25803
25804 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25805 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25806 New macro.
25807 [__LINUX_KERNEL_VERSION >= 0x040300]
25808 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25809 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25810 Likewise.
25811 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25812 Likewise.
25813 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25814 Likewise.
25815 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25816 Likewise.
25817 [__LINUX_KERNEL_VERSION >= 0x040300]
25818 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25819 [__LINUX_KERNEL_VERSION >= 0x040300]
25820 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25821 [__LINUX_KERNEL_VERSION >= 0x040300]
25822 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25823 [__LINUX_KERNEL_VERSION >= 0x040300]
25824 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25825 [__LINUX_KERNEL_VERSION >= 0x040300]
25826 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25827 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25828 Likewise.
25829 [__LINUX_KERNEL_VERSION >= 0x040300]
25830 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25831 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25832 Likewise.
25833 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25834 Likewise.
25835 [__LINUX_KERNEL_VERSION >= 0x040300]
25836 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25837 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25838 Likewise.
25839 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25840 Likewise.
25841 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25842 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25843 Likewise.
25844 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25845 Likewise.
25846 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25847 Likewise.
25848 [__LINUX_KERNEL_VERSION >= 0x040300]
25849 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25850 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25851 Likewise.
25852 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25853 Likewise.
25854 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25855 Likewise.
25856 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25857 Likewise.
25858 [__LINUX_KERNEL_VERSION >= 0x040300]
25859 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25860 [__LINUX_KERNEL_VERSION >= 0x040300]
25861 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25862 [__LINUX_KERNEL_VERSION >= 0x040300]
25863 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25864 [__LINUX_KERNEL_VERSION >= 0x040300]
25865 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25866 [__LINUX_KERNEL_VERSION >= 0x040300]
25867 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25868 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25869 Likewise.
25870 [__LINUX_KERNEL_VERSION >= 0x040300]
25871 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25872 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25873 Likewise.
25874 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25875 Likewise.
25876 [__LINUX_KERNEL_VERSION >= 0x040300]
25877 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25878 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25879 Likewise.
25880 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25881 Likewise.
25882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25883 (__ASSUME_SOCKET_SYSCALL): Likewise.
25884 (__ASSUME_BIND_SYSCALL): Likewise.
25885 (__ASSUME_CONNECT_SYSCALL): Likewise.
25886 (__ASSUME_LISTEN_SYSCALL): Likewise.
25887 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25888 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25889 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25890 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25891 (__ASSUME_SEND_SYSCALL): Likewise.
25892 (__ASSUME_SENDTO_SYSCALL): Likewise.
25893 (__ASSUME_RECV_SYSCALL): Likewise.
25894 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25895 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25896 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25897 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25898 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25899 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25900 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25901 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25902 Likewise.
25903 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25904 Likewise.
25905 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25906 Likewise.
25907 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25908 Likewise.
25909 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25910 Likewise.
25911 [__LINUX_KERNEL_VERSION >= 0x020625]
25912 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25913 [__LINUX_KERNEL_VERSION >= 0x020625]
25914 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25915 [__LINUX_KERNEL_VERSION >= 0x020625]
25916 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25917 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25918 Likewise.
25919 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25920 Likewise.
25921 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25922 Likewise.
25923 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25924 Likewise.
25925 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25926 Likewise.
25927 [__LINUX_KERNEL_VERSION >= 0x020625]
25928 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25929 [__LINUX_KERNEL_VERSION >= 0x020625]
25930 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25931 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25932 Likewise.
25933 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25934 Likewise.
25935
25936 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25937
25938 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25939 record the current if the current ABI and CPU support the FP64
25940 extension.
25941 (has-modd-spreg): Define to record the current if the current ABI and
25942 CPU support 32-bit floating point values in odd FPU registers.
25943 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25944 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25945 $(has-modd-spreg) equals yes.
25946 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25947 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25948 $(has-modd-spreg) equal yes.
25949
25950 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25951
25952 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25953 basename.
25954
25955 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25956
25957 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25958 (bench-string): ... here.
25959 (bench): Add bench-string.
25960 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25961 to *-benchset to reflect what they are.
25962 (benchset): Adjust.
25963
25964 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25965 cos-inputs.
25966
25967 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25968
25969 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25970 __attribute__ ((__simd__)) for vector math function declarations.
25971
25972 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25973
25974 Fix typo in strncat, wcsncat manual entries
25975 * manual/string.texi (Copying and Concatenation): Fix typos in
25976 sample implementations of strncat and wcsncat, by having them use
25977 the old value of the destination length, not the new one.
25978
25979 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25980
25981 [BZ #16961]
25982 [BZ #16962]
25983 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25984 string on the stack for strtod.
25985 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25986 a string on the stack for strtof.
25987 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25988 constructing a string on the stack for strtold.
25989 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25990 __strtold_nan to GLIBC_PRIVATE.
25991 * math/test-nan-overflow.c: New file.
25992 * math/test-nan-payload.c: Likewise.
25993 * math/Makefile (tests): Add test-nan-overflow and
25994 test-nan-payload.
25995
25996 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25997
25998 Consistency about byte vs character in string.texi
25999 * manual/string.texi (String and Array Utilities):
26000 Distinguish more carefully among bytes, multibyte characters,
26001 and wide characters. Use "byte" when talking about C 'char',
26002 to distinguish it more clearly from multibyte characters.
26003 Say "wide character" or "multibyte character" instead of
26004 "character", when a wide or multibyte character is intended.
26005 Similarly for "multibyte string" versus "string".
26006 Define these terms more carefully.
26007
26008 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
26009
26010 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
26011 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
26012 Likewise.
26013 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26014 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26015 * sysdeps/sh/math_private.h: New file.
26016 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
26017 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
26018 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
26019 long double function name.
26020 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
26026 Remove __finitel, __isinfl, and __isnanl.
26027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26028 Likewise.
26029 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26031 Remove __finitel.
26032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26033 Likewise.
26034 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26035
26036 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
26037
26038 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
26039 installed libmvec_nonshared.a.
26040
26041 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26042
26043 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
26044 (sysdep_routines): Likewise.
26045 (sysdep-rtld-routines): Likewise.
26046 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
26047 [$(subdir) = nptl](tests-static): test-get_hwcap-static
26048 * sysdeps/powerpc/Versions: Added new
26049 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
26050 * sysdeps/powerpc/hwcapinfo.c: New file.
26051 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
26052 and parse hwcap, hwcap2 and platform number information.
26053 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
26054 to store HWCAP+HWCAP2 and platform number.
26055 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
26056 for HWCAP+HWCAP2 and platform number in the TCB.
26057 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
26058 the HWCAP, HWCAP2 and platform number in the TCB.
26059 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
26060 (TLS_INIT_TP): Included calls to add the hwcap and
26061 at_platform values in the TCB in TP initialization.
26062 (TLS_DEFINE_INIT_TP): Likewise.
26063 (THREAD_GET_HWCAP): New macro.
26064 (THREAD_SET_HWCAP): Likewise.
26065 (THREAD_GET_AT_PLATFORM): Likewise.
26066 (THREAD_SET_AT_PLATFORM): Likewise.
26067 * sysdeps/powerpc/powerpc32/dl-machine.h:
26068 (dl_platform_init): New function that calls
26069 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
26070 powerpc32.
26071 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
26072 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
26073 this functionality, static linking case.
26074 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
26075 linking case.
26076 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
26077 __parse_hwcap_and_convert_at_platform for the static linking case.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
26079 Included the new __parse_hwcap_and_convert_at_platform symbol in the
26080 ABI list for GLIBC 2.23.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
26082 Likewise.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
26084 Likewise.
26085
26086 2015-12-02 Ludovic Courtès <ludo@gnu.org>
26087
26088 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
26089 * configure: Regenerate.
26090 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
26091 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
26092
26093 2015-12-02 Carlos O'Donell <carlos@redhat.com>
26094
26095 * iconvdata/ibm930.c: Add comment explaining encoding uses.
26096 * iconvdata/ibm933.c: Likewise.
26097 * iconvdata/ibm935.c: Likewise.
26098 * iconvdata/ibm937.c: Likewise.
26099 * iconvdata/ibm939.c: Likewise.
26100
26101 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26102
26103 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
26104 pthread_join.
26105 * nptl/tst-cancel21.c (tf): Likewise.
26106
26107 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
26108
26109 [BZ #19313]
26110 * bits/typesizes.h (__CPU_MASK_TYPE): New.
26111 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26112 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26113 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
26114 Likewise.
26115 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
26116 Likewise.
26117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
26118 Likewise.
26119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
26120 Likewise.
26121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
26122 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
26123 unsigned long int with __CPU_MASK_TYPE.
26124
26125 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26126
26127 * sysdeps/aarch64/libm-test-ulps: Regenerated.
26128
26129 2015-12-01 Joseph Myers <joseph@codesourcery.com>
26130
26131 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
26132 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
26133 t512.x.
26134 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
26135
26136 2015-11-30 Amit Pawar <amit.pawar@amd.com>
26137
26138 [BZ #19214]
26139 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
26140 argument to return extended model. Update family and model
26141 with extended family and model when family == 0x0f.
26142 (init_cpu_features): Updated.
26143
26144 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26145
26146 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
26147 signed off_t, so 32bit bigger than 2GiB values are fine actually.
26148
26149 * sysdeps/mach/hurd/mmap64.c: New file.
26150
26151 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
26152
26153 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26154 rights for its main user thread in NEWTASK.
26155
26156 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
26157
26158 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26159 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26160
26161 2015-11-27 Carlos O'Donell <carlos@redhat.com>
26162
26163 [BZ #14259]
26164 * Makeconfig: Rename localedir to complocaledir.
26165 Rename inst_localedir to inst_complocaledir.
26166 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26167 * config.make.in: Use complocaledir and libc_cv_complocaledir.
26168 * configure.ac: Use libc_cv_complocaledir.
26169 * configure: Regenerate.
26170 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26171 -DCOMPLOCALEDIR.
26172 * locale/findlocale.c: Use COMPLOCALEDIR.
26173 * locale/loadarchive.c: Likewise.
26174 * locale/programs/locale.c: Likewise.
26175 * locale/programs/localedef.c: Likewise.
26176 * locale/programs/locarchive.c: Likewise.
26177 * localedata/Makefile: Use inst_complocaledir.
26178 * sysdeps/gnu/configure: Regenerate.
26179 * sysdeps/hppa/configure: Regenerate.
26180 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26181 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26183 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26184 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26185 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26186 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26187
26188 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
26189
26190 [BZ #19058]
26191 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26192 AS_NEEDED.
26193 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26194 workaround.
26195 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26196 libmvec-static-only-routines): Added new file.
26197 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26198
26199 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
26200
26201 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26202 of interrupted RPC instead of restoring it.
26203
26204 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26205 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26206 libc_hidden_def.
26207 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26208 into initialized data instead of common. Define rtld_hidden_data_def.
26209 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26210 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26211 libc_hidden_def.
26212 (if_freenameindex): Add libc_hidden_weak.
26213 (if_nameindex): Add libc_hidden_weak.
26214 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26215 __open64.
26216 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26217 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26218 * sysdeps/mach/nanosleep.c: Include <time.h>
26219 (__nanosleep): Rename to __libc_nanosleep.
26220 (__nanosleep): Add weak_alias.
26221 (nanosleep): Update alias.
26222
26223 2015-11-24 Joseph Myers <joseph@codesourcery.com>
26224
26225 * stdlib/strtod_nan.c: New file.
26226 * stdlib/strtod_nan_double.h: Likewise.
26227 * stdlib/strtod_nan_float.h: Likewise.
26228 * stdlib/strtod_nan_main.c: Likewise.
26229 * stdlib/strtod_nan_narrow.h: Likewise.
26230 * stdlib/strtod_nan_wide.h: Likewise.
26231 * stdlib/strtof_nan.c: Likewise.
26232 * stdlib/strtold_nan.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26234 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26235 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26236 * wcsmbs/wcstod_nan.c: Likewise.
26237 * wcsmbs/wcstof_nan.c: Likewise.
26238 * wcsmbs/wcstold_nan.c: Likewise.
26239 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26240 strtold_nan.
26241 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26242 wcstof_nan.
26243 * include/stdlib.h (__strtof_nan): Declare and use
26244 libc_hidden_proto.
26245 (__strtod_nan): Likewise.
26246 (__strtold_nan): Likewise.
26247 (__wcstof_nan): Likewise.
26248 (__wcstod_nan): Likewise.
26249 (__wcstold_nan): Likewise.
26250 * include/wchar.h (____wcstoull_l_internal): Declare.
26251 * stdlib/strtod_l.c: Do not include <ieee754.h>.
26252 (____strtoull_l_internal): Remove declaration.
26253 (STRTOF_NAN): Define macro.
26254 (SET_MANTISSA): Remove macro.
26255 (STRTOULL): Likewise.
26256 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26257 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26258 (STRTOF_NAN): Define macro.
26259 (SET_MANTISSA): Remove macro.
26260 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26261 (SET_MANTISSA): Remove macro.
26262 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26263 macro.
26264 (SET_MANTISSA): Remove macro.
26265 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26266 macro.
26267 (SET_MANTISSA): Remove macro.
26268 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26269 (SET_MANTISSA): Remove macro.
26270 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26271 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26272 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26273
26274 [BZ #19266]
26275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26276 upper case and lower case letters inside NAN(), not using TOLOWER.
26277 * stdlib/tst-strtod-nan-locale-main.c: New file.
26278 * stdlib/tst-strtod-nan-locale.c: Likewise.
26279 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26280 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26281 Depend on $(gen-locales).
26282 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26283 * wcsmbs/tst-wcstod-nan-locale.c: New file.
26284 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26285 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26286 Depend on $(gen-locales).
26287 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26288
26289 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
26290
26291 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26292
26293 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26295 __finitel, __isinfl, and __isnanl.
26296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26297 Likewise.
26298 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26300 __finitel.
26301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26302 Likewise.
26303 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26304
26305 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26306
26307 * malloc/memusage.c (me): Remove redundant getenv call.
26308
26309 2015-10-24 Florian Weimer <fweimer@redhat.com>
26310
26311 [BZ #19143]
26312 [BZ #19164]
26313 * nptl/check-cpuset.h: Remove.
26314 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26315 Remove CPU set size check.
26316 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26317 Likewise.
26318 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26319 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26320 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26321 (__pthread_setaffinity_new): Remove CPU set size check.
26322 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26323 (__kernel_cpumask_size): Remove.
26324 (__sched_setaffinity_new): Remove CPU set size check.
26325 * manual/threads.texi (Default Thread Attributes): Remove stale
26326 reference to check_cpuset_attr, determine_cpumask_size in comment.
26327 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26328 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
26329 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26330 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26331 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26332 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26333 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26334 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26335 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26336 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26337 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26338 skeleton test file.
26339 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
26340 tst-affinity-pid.
26341
26342 2015-11-24 Florian Weimer <fweimer@redhat.com>
26343
26344 * scripts/update-abilist.sh: New file.
26345 * Makefile (+subdir_targets): Add subdir_update-all-abi.
26346 * Makerules (update-all-abi-%, update-all-abi)
26347 (subdir_update-all-abi): New targets.
26348 * elf/Makefile (update-all-abi): New target.
26349
26350 2015-11-24 Florian Weimer <fweimer@redhat.com>
26351
26352 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26353 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26354 (__libc_lock_define_initialized): Use it.
26355 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26356 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26357 * malloc/malloc.c (main_arena): Likewise.
26358 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26359 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26360
26361 2015-11-23 Joseph Myers <joseph@codesourcery.com>
26362
26363 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26364 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26365 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26366 (PTRACE_O_MASK): Update value.
26367 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26368 New value in enum __ptrace_setoptions.
26369 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26370 (PTRACE_O_MASK): Update value.
26371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26372 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26373 (PTRACE_O_MASK): Update value.
26374 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26375 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26376 (PTRACE_O_MASK): Update value.
26377 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26378 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26379 (PTRACE_O_MASK): Update value.
26380 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26381 New value in enum __ptrace_setoptions.
26382 (PTRACE_O_MASK): Update value.
26383 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26384 New value in enum __ptrace_setoptions.
26385 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26386 (PTRACE_O_MASK): Update value.
26387
26388 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26389 New macro.
26390 (PACKET_AUXDATA): Likewise.
26391 (PACKET_ORIGDEV): Likewise.
26392 (PACKET_VERSION): Likewise.
26393 (PACKET_HDRLEN): Likewise.
26394 (PACKET_RESERVE): Likewise.
26395 (PACKET_TX_RING): Likewise.
26396 (PACKET_LOSS): Likewise.
26397 (PACKET_VNET_HDR): Likewise.
26398 (PACKET_TX_TIMESTAMP): Likewise.
26399 (PACKET_TIMESTAMP): Likewise.
26400 (PACKET_FANOUT): Likewise.
26401 (PACKET_TX_HAS_OFF): Likewise.
26402 (PACKET_QDISC_BYPASS): Likewise.
26403 (PACKET_ROLLOVER_STATS): Likewise.
26404 (PACKET_FANOUT_DATA): Likewise.
26405 (PACKET_MR_UNICAST): Likewise.
26406
26407 [BZ #19242]
26408 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26409 (TOUPPER): Likewise.
26410 * stdlib/tst-strtol-locale-main.c: New file.
26411 * stdlib/tst-strtol-locale.c: Likewise.
26412 * stdlib/Makefile (tests): Add tst-strtol-locale.
26413 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26414 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26415 Depend on $(gen-locales).
26416 * wcsmbs/tst-wcstol-locale.c: New file.
26417 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26418 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26419 tr_TR.ISO-8859-9.
26420 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26421 Depend on $(gen-locales).
26422
26423 2015-11-20 Roland McGrath <roland@hack.frob.com>
26424
26425 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26426 __glibc_likely instead of __builtin_expect. After falling back to
26427 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26428 system interface to register the code pages as occupied.
26429
26430 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26431
26432 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26433 [!ARM_MATH_PRIVATE_H].
26434 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26435 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26436 [!HPPA_MATH_PRIVATE_H].
26437 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26438 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26439 to [!I386_MATH_PRIVATE_H].
26440 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26441 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26442 Change guard to [!M68K_MATH_PRIVATE_H].
26443 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26444 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26445 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26446 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26447 macro.
26448 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26449 [!MIPS_MATH_PRIVATE_H].
26450 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26451 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26452 [!NIO2_MATH_PRIVATE_H].
26453 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26454 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26455 [!TILE_MATH_PRIVATE_H].
26456 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26457
26458 [BZ #15421]
26459 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26460 initialize with 0 and define as weak alias of __signgam.
26461 * include/math.h [!_ISOMAC] (__signgam): Declare.
26462 * math/Makefile (libm-calls): Add w_lgamma_compat.
26463 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26464 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26465 test-signgam-ullong-init.
26466 (tests-static): Add test-signgam-uchar-static,
26467 test-signgam-uchar-init-static, test-signgam-uint-static,
26468 test-signgam-uint-init-static, test-signgam-ullong-static and
26469 test-signgam-ullong-init-static.
26470 (CFLAGS-test-signgam-uchar.c): New variable.
26471 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26472 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26473 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26474 (CFLAGS-test-signgam-uint.c): Likewise.
26475 (CFLAGS-test-signgam-uint-init.c): Likewise.
26476 (CFLAGS-test-signgam-uint-static.c): Likewise.
26477 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26478 (CFLAGS-test-signgam-ullong.c): Likewise.
26479 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26480 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26481 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26482 * math/Versions (libm): Add GLIBC_2.23.
26483 * math/lgamma-compat.h: New file.
26484 * math/test-signgam-main.c: Likewise.
26485 * math/test-signgam-uchar-init-static.c: Likewise.
26486 * math/test-signgam-uchar-init.c: Likewise.
26487 * math/test-signgam-uchar-static.c: Likewise.
26488 * math/test-signgam-uchar.c: Likewise.
26489 * math/test-signgam-uint-init-static.c: Likewise.
26490 * math/test-signgam-uint-init.c: Likewise.
26491 * math/test-signgam-uint-static.c: Likewise.
26492 * math/test-signgam-uint.c: Likewise.
26493 * math/test-signgam-ullong-init-static.c: Likewise.
26494 * math/test-signgam-ullong-init.c: Likewise.
26495 * math/test-signgam-ullong-static.c: Likewise.
26496 * math/test-signgam-ullong.c: Likewise.
26497 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26498 wrapper of w_lgamma_main.c.
26499 * math/w_lgamma_compat.c: New file.
26500 * math/w_lgamma_compatf.c: Likewise.
26501 * math/w_lgamma_compatl.c: Likewise.
26502 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26503 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26504 defining compatibility symbols.
26505 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26506 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26507 wrapper of w_lgammaf_main.c.
26508 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26509 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26510 defining compatibility symbols.
26511 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26512 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26513 wrapper of w_lgammal_main.c.
26514 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26515 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26516 defining compatibility symbols.
26517 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26518 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26519 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26520 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26521 <lgamma-compat.h>.
26522 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26523 (__ieee754_gamma): Define as alias.
26524 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26525 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26526 <lgamma-compat.h>.
26527 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26528 (__ieee754_gammaf): Define as alias.
26529 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26530 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26531 <lgamma-compat.h>.
26532 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26533 (__ieee754_gammal): Define as alias.
26534 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26535 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26536 <math/w_lgamma_compat.c>.
26537 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26538 Define as alias of __lgamma_compat and use in defining lgammal.
26539 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26540 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26541 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26542 (USE_AS_COMPAT): New macro.
26543 (LGAMMA_OLD_VER): Undefine and redefine.
26544 (lgammal): Do not define here.
26545 (gammal): Only define here if [GAMMA_ALIAS].
26546 * conform/linknamespace.pl (@whitelist): Remove signgam.
26547 * sysdeps/nacl/libm.abilist: Update.
26548 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26549 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26550 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26551 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26552 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26553 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26554 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26555 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26556 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26557 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26559 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26561 Likewise.
26562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26563 Likewise.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26565 Likewise.
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26567 Likewise.
26568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26569 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26570 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26574 Likewise.
26575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26576 Likewise.
26577 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26578 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26579 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26580
26581 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26582
26583 [BZ #16364]
26584 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26585 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26586
26587 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26588
26589 * sysdeps/s390/fpu/bits/mathinline.h:
26590 Use __asm__ [__volatile__] instead of asm [volatile].
26591 * sysdeps/s390/abort-instr.h: Likewise.
26592 * sysdeps/s390/atomic-machine.h: Likewise.
26593 * sysdeps/s390/bits/string.h: Likewise.
26594 * sysdeps/s390/dl-tls.h: Likewise.
26595 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26596 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26597 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26598 * sysdeps/s390/fpu/fesetround.c: Likewise.
26599 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26600 * sysdeps/s390/fpu/s_fma.c: Likewise.
26601 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26602 * sysdeps/s390/memusage.h: Likewise.
26603 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26604 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26605 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26606 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26607 * sysdeps/s390/nptl/tls.h: Likewise.
26608 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26609 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26610 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26611 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26612 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26613 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26614 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26615 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26616 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26617 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26618 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26619 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26620 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26621 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26622 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26623 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26624 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26625 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26626 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26628 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26630 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26631
26632 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26633 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26634
26635 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26636 Add lwarx hint, and use macro for acquire instruction.
26637 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26638 Likewise.
26639 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26640 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26641 update to use new atomic macros.
26642
26643 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26644
26645 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26646 (__lll_trylock_elision): Fix setting of adapt_count.
26647 * sysdeps/unix/sysv/linux/powerpc/htm.h
26648 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26649 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26650 (_ABORT_SYSCALL): Renumber, and clarify definition.
26651 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26652
26653 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26654
26655 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26656 after system headers to prevent MIN/MAX redefinition. Define
26657 HAVE_ALLOCA to preserve builtin alloca usage.
26658
26659 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26660
26661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26662 static and don't set or restore rounding.
26663 (__cos)[IN_SINCOS]: Likewise.
26664 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26665 (__sincos): Set and restore rounding mode. Remove check for infinite
26666 or NaN input.
26667
26668 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26669
26670 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26671 as used.
26672
26673 2015-11-16 Florian Weimer <fweimer@redhat.com>
26674
26675 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26676
26677 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26678
26679 * config.make.in (have-glob-dat-reloc): New.
26680 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26681 target supports GLOB_DAT relocaton. AC_SUBST.
26682 * configure: Regenerated.
26683 * elf/Makefile (tests): Add tst-prelink.
26684 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26685 (tst-prelink-ENV): New.
26686 ($(objpfx)tst-prelink-conflict.out): Likewise.
26687 ($(objpfx)tst-prelink-cmp.out): Likewise.
26688 * sysdeps/x86/tst-prelink.c: Moved to ...
26689 * elf/tst-prelink.c: Here.
26690 * sysdeps/x86/tst-prelink.exp: Moved to ...
26691 * elf/tst-prelink.exp: Here.
26692 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26693 (tst-prelink-ENV): Removed.
26694 ($(objpfx)tst-prelink-conflict.out): Likewise.
26695 ($(objpfx)tst-prelink-cmp.out): Likewise.
26696 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26697
26698 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26699
26700 [BZ #14551]
26701 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26702 (__mpn_construct_long_double): If high part overflows to infinity,
26703 set errno and recompute overflowed result of the correct sign.
26704 * sysdeps/ieee754/ldbl-128ibm/Makefile
26705 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26706 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26707 $(libm).
26708 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26709
26710 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26711
26712 [BZ #15479]
26713 [BZ #19238]
26714 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26715 floating-point state after first operation on input. Restore full
26716 state rather than just rounding mode.
26717 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26718 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26719 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26720
26721 [BZ #19235]
26722 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26723 add 0.5 to integer arguments.
26724 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26725 Likewise.
26726 (.LC2): New object.
26727
26728 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26729
26730 * scripts/pylintrc (reports): Set to no.
26731
26732 2015-11-10 Roland McGrath <roland@hack.frob.com>
26733
26734 * elf/dl-load.c (open_verify): Take new argument FD.
26735 Skip __open call if passed FD is not -1.
26736 (_dl_map_object, open_path): Update callers.
26737 * elf/dl-sysdep-open.h: New file.
26738 * elf/dl-load.c: Include it.
26739 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26740 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26741 * sysdeps/nacl/dl-sysdep-open.h: New file.
26742 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26743 from libc to rtld.
26744
26745 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26746
26747 [BZ #19228]
26748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26749 and restore full floating-point state.
26750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26751 Likewise.
26752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26753 Likewise.
26754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26755 Likewise.
26756 * math/test-nearbyint-except-2.c: New file.
26757 * math/Makefile (tests): Add test-nearbyint-except-2.
26758
26759 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26760
26761 [BZ #19178]
26762 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26763 (tst-prelink-ENV): New.
26764 ($(objpfx)tst-prelink-conflict.out): Likewise.
26765 ($(objpfx)tst-prelink-cmp.out): Likewise.
26766 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26767 * sysdeps/x86/tst-prelink.c: New file.
26768 * sysdeps/x86/tst-prelink.exp: Likewise.
26769
26770 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26771
26772 * math/auto-libm-test-in: Add another test of pow.
26773 * math/auto-libm-test-out: Regenerated.
26774 * math/libm-test.inc (pow_test_data): Add another test.
26775
26776 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26777
26778 [BZ #19219]
26779 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26780 weak_alias to nearbyintl.
26781
26782 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26783
26784 * sysdeps/aarch64/bits/string.h: New file.
26785 (_STRING_ARCH_unaligned): Define.
26786
26787 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26788
26789 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26790 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26791 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26792 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26794
26795 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26796
26797 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26798 for original name of the DSO. Add it to the name list of the DSO
26799 if it is actually given.
26800 (_dl_map_object): Keep track of whether an audit module rewrote
26801 the file name. If yes, pass the original name to
26802 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26803 debugging is enabled, log the change of the file name.
26804 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26805 _dl_map_object_from_fd.
26806 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26807 * elf/tst-audit11.c: New file
26808 * elf/tst-auditmod11.c: New file.
26809 * elf/tst-audit11mod1.c: New file.
26810 * elf/tst-audit11mod2.c: New file.
26811 * elf/tst-audit11mod2.map: New file.
26812 * elf/tst-audit12.c: New file
26813 * elf/tst-auditmod12.c: New file.
26814 * elf/tst-audit12mod1.c: New file.
26815 * elf/tst-audit12mod2.c: New file.
26816 * elf/tst-audit12mod2.map: New file.
26817 * elf/tst-audit12mod3.c: New file.
26818
26819 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26820
26821 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26822 Don't create weak aliases,
26823 because versioned symbols are created later.
26824 * sysdeps/s390/s390-32/setjmp.S
26825 (setjmp, _setjmp): Remove weak and rename to an unique name
26826 in SHARED case due to existing versioned symbols.
26827 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26828 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26829 (getcontext): Create weak alias only in non SHARED case.
26830 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26831
26832 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26833
26834 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26835 (__ASSUME_*_SYSCALL) Define new macros.
26836 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26837 Remove socketcall syscalls.
26838 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26839 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26840 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26841 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26842 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26843 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26844
26845 2015-11-09 Florian Weimer <fweimer@redhat.com>
26846
26847 [BZ #12926]
26848 Terminate process on invalid netlink response.
26849 * sysdeps/unix/sysv/linux/netlinkaccess.h
26850 (__netlink_assert_response): Declare.
26851 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26852 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26853 (sysdep_routines): Add netlink_assert_response.
26854 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26855 __netlink_assert_response.
26856 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26857 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26858 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26859 __netlink_assert_response.
26860
26861 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26862
26863 [BZ #19178]
26864 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26865 (RTYPE_CLASS_PLT): Likewise.
26866 (RTYPE_CLASS_COPY): Likewise.
26867 (RTYPE_CLASS_TLS): Likewise.
26868 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26869 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26870 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26871 DL_DEBUG_PRELINK.
26872
26873 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26874
26875 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26876 calls with argument -0.5.
26877 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26878
26879 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26880 (libc_cv_z_nodlopen): Likewise.
26881 (libc_cv_z_initfirst): Likewise.
26882 * configure: Regenerated.
26883
26884 2015-11-06 Florian Weimer <fweimer@redhat.com>
26885
26886 Simplify abilist format to be line-based.
26887 * scripts/abilist.awk: Collect descriptors in the descs variable.
26888 (emit): Write descs variable and sort it
26889 externally, with sort.
26890 * sysdeps/**/*.abilist: Convert to new format.
26891
26892 2015-11-06 Mark Wielaard <mjw@redhat.com>
26893
26894 [BZ #11460]
26895 * io/Makefile (routines): Add fts64.
26896 (tests): Add tst-fts and tst-fts-lfs.
26897 (CFLAGS-fts64.c): New.
26898 * io/Versions (GLIBC_2.23): New.
26899 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26900 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26901 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26902 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26903 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26904 (FTSENT64): Likewise.
26905 (fts64_children): Likewise.
26906 (fts64_close): Likewise.
26907 (fts64_open): Likewise.
26908 (fts64_read): Likewise.
26909 (fts64_set): Likewise.
26910 * io/fts64.c: New file.
26911 * io/tst-fts.c: New test.
26912 * io/tst-fts-lfs.c: Likewise.
26913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26914 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26915 fts64_set.
26916 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26917 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26918 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26919 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26920 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26921 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26922 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26923 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26924 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26925 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26926 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26927 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26928 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26930 Likewise.
26931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26932 Likewise.
26933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26935 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26936 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26937 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26938 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26939 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26942 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26943 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26944 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26945 * sysdeps/wordsize-64/fts.c: New file.
26946 * sysdeps/wordsize-64/fts64.c: Likewise.
26947 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26948 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26949 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26950 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26951
26952 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26953
26954 * math/libm-test.inc (NON_FINITE): New macro.
26955 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26956 * math/gen-libm-test.pl (show_exceptions): Add argument
26957 $non_finite.
26958 (parse_args): Update call to show_exceptions.
26959 * math/test-math-finite.h: New file.
26960 * math/test-math-no-finite.h: Likewise.
26961 * math/test-double-finite.c: Likewise.
26962 * math/test-float-finite.c: Likewise.
26963 * math/test-ldouble-finite.c: Likewise.
26964 * math/test-double.c: Include "test-math-no-finite.h".
26965 * math/test-float.c: Include "test-math-no-finite.h".
26966 * math/test-ldouble.c: Include "test-math-no-finite.h".
26967 * math/test-math-inline.h (TEST_FINITE): New macro.
26968 * math/test-math-vector.h (TEST_FINITE): Likewise.
26969 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26970 (libm-tests): Add test-float-finite and test-double-finite.
26971 ($(objpfx)test-float-finite.o): New dependency on
26972 $(objpfx)libm-test.stmp.
26973 ($(objpfx)test-double-finite.o): Likewise.
26974 ($(objpfx)test-ldouble-finite.o): Likewise.
26975 (libm-test-no-inline-cflags): New variable.
26976 (libm-test-finite-cflags): Likewise.
26977 (CFLAGS-test-float-finite.c): Likewise.
26978 (CFLAGS-test-double-finite.c): Likewise.
26979 (CFLAGS-test-ldouble-finite.c): Likewise.
26980 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26981 (CFLAGS-test-double.c): Likewise.
26982 (CFLAGS-test-ldouble.c): Likewise.
26983
26984 2015-11-05 Roland McGrath <roland@hack.frob.com>
26985
26986 * io/fcntl.c (__fcntl): Add ... to prototype.
26987 * misc/ioctl.c (__ioctl): Likewise.
26988 * misc/syscall.c (syscall): Likewise.
26989
26990 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26991
26992 * scripts/list-fixed-bugs.py: New file.
26993
26994 [BZ #19213]
26995 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26996 returned for argument 1.
26997 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26998 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26999 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
27000 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
27001 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
27002 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
27003
27004 [BZ #19211]
27005 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
27006 __USE_XOPEN], not if [!__USE_ISOC99].
27007 (lgammaf): Likewise.
27008 (lgammal): Likewise.
27009 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
27010 (gammaf): Likewise.
27011 (gammal): Likewise.
27012 * math/test-signgam-finite-c11.c: New file.
27013 * math/test-signgam-finite-c99.c: Likewise.
27014 * math/test-signgam-finite.c: Likewise.
27015 * math/Makefile (tests): Add test-signgam-finite,
27016 test-signgam-finite-c99 and test-signgam-finite-c11.
27017 (CFLAGS-test-signgam-finite.c): New variable.
27018 (CFLAGS-test-signgam-finite-c99.c): Likewise.
27019 (CFLAGS-test-signgam-finite-c11.c): Likewise.
27020
27021 [BZ #19212]
27022 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
27023 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
27024 500].
27025 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
27026 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
27027 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
27028 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
27029 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
27030 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
27031 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
27032 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
27033 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
27034 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
27035
27036 [BZ #19209]
27037 * math/bits/math-finite.h (ldexp): Remove declaration.
27038 (ldexpf): Likewise.
27039 (ldexpl): Likewise.
27040
27041 [BZ #19205]
27042 * math/bits/math-finite.h (acosf): Condition declaration on
27043 [__USE_ISOC99].
27044 (acosl): Likewise.
27045 (acoshf): Likewise.
27046 (acoshl): Likewise.
27047 (asinf): Likewise.
27048 (asinl): Likewise.
27049 (atan2f): Likewise.
27050 (atan2l): Likewise.
27051 (atanhf): Likewise.
27052 (atanhl): Likewise.
27053 (coshf): Likewise.
27054 (coshl): Likewise.
27055 (expf): Likewise.
27056 (expl): Likewise.
27057 (fmodf): Likewise.
27058 (fmodl): Likewise.
27059 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
27060 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
27061 (j0l): Likewise.
27062 (y0f): Likewise.
27063 (y0l): Likewise.
27064 (j1f): Likewise.
27065 (j1l): Likewise.
27066 (y1f): Likewise.
27067 (y1l): Likewise.
27068 (jnf): Likewise.
27069 (jnl): Likewise.
27070 (ynf): Likewise.
27071 (ynl): Likewise.
27072 (lgammaf_r): Condition declaration on [__USE_ISOC99].
27073 (lgammal_r): Likewise.
27074 (__lgamma_r_finite): New declaration.
27075 (__lgammaf_r_finite): Likewise.
27076 (__lgammal_r_finite): Likewise.
27077 (lgamma): Use __lgamma_r_finite.
27078 (lgammaf): Condition definition on [__USE_ISOC99]. Use
27079 __lgammaf_r_finite.
27080 (lgammal): Condition definition on [__USE_ISOC99]. Use
27081 __lgammal_r_finite.
27082 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
27083 __lgamma_r_finite.
27084 (gammaf): Condition definition on [__USE_ISOC99]. Use
27085 __lgammaf_r_finite.
27086 (gammal): Condition definition on [__USE_ISOC99]. Use
27087 __lgammal_r_finite.
27088 (logf): Condition declaration on [__USE_ISOC99].
27089 (logl): Likewise.
27090 (log10f): Likewise.
27091 (log10l): Likewise.
27092 (ldexpf): Likewise.
27093 (ldexpl): Likewise.
27094 (powf): Likewise.
27095 (powl): Likewise.
27096 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
27097 __USE_ISOC99].
27098 (remainderf): Condition declaration on [__USE_ISOC99].
27099 (remainderl): Likewise.
27100 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
27101 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
27102 (scalbl): Likewise.
27103 (sinhf): Condition declaration on [__USE_ISOC99].
27104 (sinhl): Likewise.
27105 (sqrtf): Likewise.
27106 (sqrtl): Likewise.
27107
27108 2015-11-04 Joseph Myers <joseph@codesourcery.com>
27109
27110 * sysdeps/arm/atomic-machine.h
27111 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27112 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27113 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
27114 Remove conditional code.
27115 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27116 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27117 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
27118 Change conditional to [__ASSEMBLER__].
27119 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27120 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
27121 [!__ASSEMBLER__].
27122 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
27123 code.
27124 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
27125 conditional macro definitions.
27126 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
27127 (__arch_compare_and_exchange_val_16_acq): Likewise.
27128 (__arch_compare_and_exchange_val_32_acq): Likewise.
27129 (atomic_exchange_and_add): Likewise.
27130 (atomic_add): Likewise.
27131 (atomic_add_negative): Likewise.
27132 (atomic_add_zero): Likewise.
27133 (atomic_bit_set): Likewise.
27134 (atomic_bit_test_set): Likewise.
27135 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
27136 code unconditional.
27137 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27138
27139 * math/test-math-errno.h: New file.
27140 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
27141 empty.
27142 (TEST_ERRNO): New macro.
27143 (TEST_EXCEPTIONS): Likewise.
27144 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
27145 (TEST_EXCEPTIONS): Likewise.
27146 * math/test-math-vector.h (TEST_ERRNO): Likewise.
27147 * math/test-double.c: Include "test-math-errno.h".
27148 * math/test-float.c: Likewise.
27149 * math/test-ldouble.c: Likewise.
27150 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27151 code unconditional.
27152 (test_exceptions): Only run code if TEST_EXCEPTIONS.
27153 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27154 unconditional.
27155 (test_errno): Only run code if TEST_ERRNO.
27156 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27157
27158 2015-11-04 Florian Weimer <fweimer@redhat.com>
27159
27160 * nptl/tst-once5.cc: Remove attribution.
27161
27162 2015-11-04 Joseph Myers <joseph@codesourcery.com>
27163
27164 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27165 sqrt, tan, tanh, y0, y1 and yn.
27166 * math/auto-libm-test-out: Regenerated.
27167 * math/libm-test.inc (scalb_test_data): Add more tests.
27168 (scalbn_test_data): Likewise.
27169 (scalbln_test_data): Likewise.
27170 (signbit_test_data): Likewise.
27171 (sin_test_data): Likewise.
27172 (sincos_test_data): Likewise.
27173 (sinh_test_data): Likewise.
27174 (sqrt_test_data): Likewise.
27175 (tan_test_data): Likewise.
27176 (tanh_test_data): Likewise.
27177 (tgamma_test_data): Likewise.
27178 (y0_test_data): Likewise.
27179 (y1_test_data): Likewise.
27180 (yn_test_data): Likewise.
27181 (significand_test_data): Likewise.
27182 * sysdeps/i386/fpu/libm-test-ulps: Update.
27183
27184 2015-11-03 David Kastrup <dak@gnu.org>
27185
27186 [BZ #18604]
27187 * assert/assert.h (assert): Don't macro-expand failed assertion
27188 expression in error message.
27189 * malloc/malloc.c (assert): Likewise.
27190
27191 2015-11-03 Joseph Myers <joseph@codesourcery.com>
27192
27193 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27194 test.
27195 * configure: Regenerated.
27196
27197 2015-11-02 Joseph Myers <joseph@codesourcery.com>
27198
27199 * math/libm-test.inc (modf_test_data): Add more tests.
27200 (nearbyint_test_data): Likewise.
27201 (nextafter_test_data): Likewise.
27202 (nexttoward_test_data): Likewise.
27203 (pow_test_data): Likewise.
27204 (remainder_test_data): Likewise.
27205 (remquo_test_data): Likewise.
27206 (rint_test_data): Likewise.
27207
27208 [BZ #19201]
27209 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27210 Check for zero remainder in case of large exponents and ensure
27211 correct sign of result in that case.
27212 * math/libm-test.inc (remainder_test_data): Add more tests.
27213
27214 [BZ #6799]
27215 * math/s_nextafter.c: Include <errno.h>.
27216 (__nextafter): Set errno on overflow and underflow.
27217 * math/s_nexttowardf.c: Include <errno.h>.
27218 (__nexttowardf): Set errno on overflow and underflow.
27219 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27220 (__nextafterl): Set errno on overflow and underflow.
27221 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27222 (__nexttoward): Set errno on overflow and underflow.
27223 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27224 (__nexttowardf): Set errno on overflow and underflow.
27225 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27226 (__nextafterf): Set errno on overflow and underflow.
27227 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27228 (__nextafterl): Set errno on overflow and underflow.
27229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27230 (__nexttoward): Set errno on overflow and underflow.
27231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27232 (__nexttowardf): Set errno on overflow and underflow.
27233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27234 (__nextafterl): Set errno on overflow and underflow.
27235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27236 (__nexttoward): Set errno on overflow and underflow.
27237 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27238 (__nexttowardf): Set errno on overflow and underflow.
27239 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27240 (__nexttoward): Set errno on overflow and underflow.
27241 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27242 (__nexttowardf): Set errno on overflow and underflow.
27243 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27244 (__nldbl_nexttowardf): Set errno on overflow and underflow.
27245 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27246 (__nextafterl): Set errno on overflow and underflow.
27247 * math/libm-test.inc (nextafter_test_data): Do not allow errno
27248 setting to be missing on overflow. Add more tests.
27249 (nexttoward_test_data): Likewise.
27250
27251 * configure.ac (libc_cv_initfini_array): Remove configure test.
27252 * configure: Regenerated.
27253
27254 2015-10-29 Joseph Myers <joseph@codesourcery.com>
27255
27256 [BZ #19189]
27257 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27258 non-finite argument handle arguments with negative sign.
27259
27260 * math/libm-test.inc (j0_test_data): Do not test sign of zero
27261 result from infinite argument.
27262 (j1_test_data): Likewise.
27263 (jn_test_data): Likewise.
27264 (y0_test_data): Likewise.
27265 (y1_test_data): Likewise.
27266 (yn_test_data): Likewise.
27267
27268 [BZ #16171]
27269 * math/w_remainder.c (drem): Define as weak alias of __remainder.
27270 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27271 * math/w_remainderf.c (dremf): Define as weak alias of
27272 __remainderf.
27273 * math/w_remainderl.c (dreml): Define as weak alias of
27274 __remainderl.
27275 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27276 __remainder.
27277 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27278 __remainderf.
27279 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27280 __remainderl.
27281 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27282 weak alias of remainderl.
27283 * sysdeps/ieee754/ldbl-opt/w_remainder.c
27284 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27285 alias of __remainder.
27286 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27287 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27288 strong alias of __remainderl.
27289 (dreml): Use long_double_symbol.
27290 * math/Makefile (libm-calls): Remove w_drem.
27291 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27292 (CFLAGS-nldbl-drem.c): Remove variable.
27293 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27294 * math/w_drem.c: Remove file.
27295 * math/w_dremf.c: Likewise.
27296 * math/w_dreml.c: Likewise.
27297 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27298 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27299 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27300
27301 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27302 * sysdeps/i386/configure: Regenerated.
27303 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27304 * sysdeps/x86_64/configure: Regenerated.
27305
27306 * configure.ac (libc_cv_asm_protected_directive): Remove configure
27307 test.
27308 (libc_cv_visibility_attribute): Likewise.
27309 (libc_cv_protected_data): Test unconditionally.
27310 (libc_cv_broken_visibility_attribute): Remove configure test.
27311 (libc_cv_have_sdata_section): Test unconditionally.
27312 * configure: Regenerated.
27313
27314 * include/libc-internal.h (libc_max_align_t): Remove typedef.
27315 * include/scratch_buffer.h: Include <stddef.h> instead of
27316 <libc-internal.h>.
27317 (struct scratch_buffer): Use max_align_t instead of
27318 libc_max_align_t.
27319
27320 2015-10-29 Florian Weimer <fweimer@redhat.com>
27321
27322 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27323 instead of extend_alloca. Change control flow to avoid a goto.
27324 Remove assert which is trivially always true.
27325
27326 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27327
27328 [BZ #16068]
27329 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27330 (FE_ALL_EXCEPT_X86): New macro.
27331 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27332 FE_ALL_EXCEPT. Ensure precision control is included in
27333 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27334 handle "denormal operand exception" and clear FZ and DAZ bits.
27335 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27336 (FE_ALL_EXCEPT_X86): New macro.
27337 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27338 FE_ALL_EXCEPT. Ensure precision control is included in
27339 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27340 handle "denormal operand exception" and clear FZ and DAZ bits.
27341 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27342 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27343 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27344 test-fenv-x87 and test-fenv-sse-2.
27345 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27346
27347 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27348 * math/test-double.h (BUILD_COMPLEX): New macro.
27349 * math/test-float.h (BUILD_COMPLEX): Likewise.
27350 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27351
27352 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27353 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27354 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27356 instead of DBL_DENORM_MIN in comment.
27357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27358 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27360 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27361 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27362 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27363
27364 2015-10-28 Florian Weimer <fweimer@redhat.com>
27365
27366 [BZ #19048]
27367 * malloc/malloc.c (struct malloc_state): Update comment. Add
27368 attached_threads member.
27369 (main_arena): Initialize attached_threads.
27370 * malloc/arena.c (list_lock): Update comment.
27371 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27372 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27373 (deattach_arena): New function.
27374 (_int_new_arena): Initialize arena reference count and deattach
27375 replaced arena.
27376 (get_free_list, reused_arena): Update reference count and deattach
27377 replaced arena.
27378 (arena_thread_freeres): Update arena reference count and only put
27379 unreferenced arenas on the free list.
27380
27381 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27382
27383 [BZ #19181]
27384 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27385 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27386 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27387 * math/test-fenv-clear-main.c: New file.
27388 * math/test-fenv-clear.c: Likewise.
27389 * math/Makefile (tests): Add test-fenv-clear.
27390 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27391 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27392 test-fenv-clear-sse.
27393 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27394
27395 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27396 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27397 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27398
27399 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27400
27401 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27402 static libc.
27403
27404 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27405
27406 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27407 test.
27408 * sysdeps/i386/configure: Regenerated.
27409 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27410 test.
27411 * sysdeps/x86_64/configure: Regenerated.
27412 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27414 memset-avx2 unconditionally instead of conditionally on
27415 [$(config-cflags-avx2) = yes].
27416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27417 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27418 unconditional.
27419 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27420 * sysdeps/x86_64/multiarch/memset_chk.S
27421 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27422 to [IS_IN (libc) && SHARED].
27423
27424 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27425
27426 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27427 configure test.
27428 * sysdeps/arm/configure: Regenerated.
27429 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27430 Define variable if not already defined.
27431
27432 [BZ #17404]
27433 * sysdeps/mips/atomic-machine.h
27434 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27435 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27436 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27437
27438 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27439 unconditional.
27440 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27441 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27442 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27443 unconditional.
27444 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27445 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27446 unconditional.
27447 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27448 * stdlib/setenv.c
27449 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27450 code unconditional.
27451 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27452 Remove conditional code.
27453 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27454 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27455 unconditional.
27456 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27457 code.
27458 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27459 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27460 unconditional.
27461 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27462 code.
27463 * sysdeps/ieee754/ldbl-128/k_tanl.c
27464 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27465 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27466 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27467 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27468 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27469 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27470 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27471 unconditional.
27472 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27473 code.
27474 * sysdeps/ieee754/ldbl-96/k_tanl.c
27475 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27476 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27477
27478 * nptl/tst-initializers1-c11.c: New file.
27479 * nptl/tst-initializers1-gnu11.c: Likewise.
27480 * nptl/Makefile (tests): Add these new tests.
27481 (CFLAGS-tst-initializers1-c11.c): New variable.
27482 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27483
27484 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27485 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27486 instead of -std=gnu99.
27487 * configure.ac (systemtap): Test with -std=gnu11 instead of
27488 -std=gnu99.
27489 * configure: Regenerated.
27490 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27491 in compilation command in comment.
27492
27493 * sysdeps/nptl/configure.ac: Remove file.
27494 * sysdeps/nptl/configure: Remove generated file.
27495 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27496 * configure: Regenerated.
27497 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27498 * config.make.in (have-forced-unwind): Remove variable.
27499 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27500 unconditional.
27501 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27502 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27503 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27504 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27505 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27506 unconditional.
27507
27508 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27509
27510 [BZ #19174]
27511 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27512 .skip_lock_out_of_tbegin_retries.
27513 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27514 (__lll_lock_elision): Likewise, and respect a value of
27515 try_tbegin <= 0.
27516
27517 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27518
27519 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27520 statement.
27521
27522 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27523
27524 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27525 variable.
27526 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27527 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27528
27529 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27530 of -std=c1x -D_ISOC11_SOURCE.
27531
27532 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27533 * configure: Regenerated.
27534 * manual/install.texi (Tools for Compilation): Document
27535 requirement for GCC 4.7 or later.
27536 * INSTALL: Regenerated.
27537
27538 2015-10-27 Ludovic Courtès <ludo@gnu.org>
27539
27540 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27541 on CNT to a conditional jump to 'puntdata'.
27542
27543 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27544
27545 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27546 (libc_cv_gcc_tls_model_attr): Likewise.
27547 * configure: Regenerated.
27548
27549 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27550 * configure: Regenerated.
27551 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27552
27553 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27554
27555 * configure.ac (old_glibc_headers): Remove configure test.
27556 * configure: Regenerated.
27557 * config.make.in (old-glibc-headers): Remove variable.
27558 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27559 (install): Remove dependency on remove-old-headers.
27560 (headers2_0): Remove variable.
27561 (remove-old-headers): Remove rule.
27562
27563 * configure.ac (libc_cv_dot_text): Remove configure test.
27564 (libc_cv_asm_set_directive): Use .text instead of
27565 ${libc_cv_dot_text} in configure test.
27566 * configure: Regenerated.
27567
27568 2015-10-26 Florian Weimer <fweimer@redhat.com>
27569
27570 [BZ #19168]
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27572
27573 2015-10-26 Florian Weimer <fweimer@redhat.com>
27574
27575 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27576 not support static linking.
27577 * configure: Regenerate.
27578
27579 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27580
27581 * math/libm-test.inc (check_float_internal): Do not special-case
27582 errors up to 0.5 ulp.
27583
27584 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27585 log2.
27586 * math/auto-libm-test-out: Regenerated.
27587 * math/libm-test.inc (MAX_EXP): New macro.
27588 (ilogb_test_data): Add more tests.
27589 (isfinite_test_data): Likewise.
27590 (isgreater_test_data): Likewise.
27591 (isgreaterequal_test_data): Likewise.
27592 (isinf_test_data): Likewise.
27593 (isless_test_data): Likewise.
27594 (islessequal_test_data): Likewise.
27595 (islessgreater_test_data): Likewise.
27596 (isnan_test_data): Likewise.
27597 (isnormal_test_data): Likewise.
27598 (issignaling_test_data): Likewise.
27599 (isunordered_test_data): Likewise.
27600 (j0_test_data): Likewise.
27601 (j1_test_data): Likewise.
27602 (jn_test_data): Likewise.
27603 (lgamma_test_data): Likewise.
27604 (log_test_data): Likewise.
27605 (log10_test_data): Likewise.
27606 (log1p_test_data): Likewise.
27607 (log2_test_data): Likewise.
27608 (logb_test_data): Likewise.
27609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27610
27611 [BZ #18611]
27612 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27613 avoid excess range and precision on underflow.
27614 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27615 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27617 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27618 underflow.
27619 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27621 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27623 * math/auto-libm-test-in: Do not allow missing errno setting for
27624 tests of j1 and jn.
27625 * math/auto-libm-test-out: Regenerated.
27626
27627 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27628
27629 [BZ #15491]
27630 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27631 floating-point environment instead of clearing all exceptions.
27632 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27633 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27634 merging in "invalid" exceptions from frndint.
27635 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27636 * math/test-nearbyint-except.c: New file.
27637 * math/Makefile (tests): Add test-nearbyint-except.
27638
27639 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27640
27641 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27642
27643 * sysdeps/tile/libm-test-ulps: Regenerated.
27644
27645 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27646
27647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27648 (__NR_sync_file_range2): Assume it is always defined.
27649 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27650 (__NR_sync_file_range): Assume it is always defined.
27651
27652 2015-10-22 Andreas Schwab <schwab@suse.de>
27653
27654 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27655 INTERNAL_SYSCALL_ERRNO.
27656 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27657 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27658 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27659 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27660 Likewise.
27661 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27662
27663 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27664
27665 * io/tst-fcntl.c (fd): New static variable.
27666 (do_prepare): Open temporary file here....
27667 (do_test): ...not here.
27668
27669 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27670
27671 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27672
27673 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27674 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27675 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27676 Moved before "#ifdef __ASSEMBLER__".
27677
27678 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27679
27680 [BZ #19156]
27681 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27682 arguments very close to 0.
27683
27684 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27685
27686 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27687 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27688
27689 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27690
27691 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27692 New. Defined for GCC 5 and above when not compiling for
27693 profiling.
27694 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27695
27696 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27697 Renamed to ...
27698 (CFLAGS-epoll_pwait.o): This.
27699 (CFLAGS-mmap.c): Renamed to ...
27700 (CFLAGS-mmap.o): This.
27701 (CFLAGS-mmap64.c): Renamed to ...
27702 (CFLAGS-mmap64.o): This.
27703 (CFLAGS-epoll_pwait.os): New.
27704 (CFLAGS-mmap.os): Likewise.
27705 (CFLAGS-mmap64.os): Likewise.
27706 (CFLAGS-semtimedop.os): Likewise.
27707 (CFLAGS-semtimedop.c): Renamed to ...
27708 (CFLAGS-semtimedop.o): This.
27709
27710 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27711
27712 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27713 warning message.
27714
27715 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27716
27717 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27718 * Makefile ($(objpfx)c++-types-check.out): Filter out
27719 $(+gccwarn-c) instead of -Wstrict-prototypes.
27720
27721 * io/fts.c (fts_open): Convert to prototype-style function
27722 definition.
27723 * malloc/mcheck.c (mcheck): Likewise.
27724 (mcheck_pedantic): Likewise.
27725 * posix/regexec.c (re_search_2_stub): Likewise. Use
27726 internal_function.
27727 (re_search_internal): Likewise.
27728 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27729 prototype-style function definition.
27730 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27731 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27732 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27733 (xdr_utmpptr): Likewise.
27734 (xdr_utmparr): Likewise.
27735 (xdr_utmpidle): Likewise.
27736 (xdr_utmpidleptr): Likewise.
27737 (xdr_utmpidlearr): Likewise.
27738
27739 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27740 log, log10 and log2.
27741 * math/auto-libm-test-out: Regenerated.
27742 * math/libm-test.inc (fmod_test_data): Add more tests.
27743 (fpclassify_test_data): Likewise.
27744 (frexp_test_data): Likewise.
27745 (hypot_test_data): Likewise.
27746 (ilogb_test_data): Likewise.
27747
27748 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27749
27750 * debug/fortify_fail.c (__fortify_fail): Convert to
27751 prototype-style function definition. Use internal_function.
27752 * libio/genops.c (save_for_backup): Convert to prototype-style
27753 function definition.
27754 * libio/wgenops.c (save_for_wbackup): Likewise.
27755 * login/grantpt.c (grantpt): Likewise.
27756 * login/ptsname.c (ptsname): Likewise.
27757 (__ptsname_r): Likewise.
27758 * login/unlockpt.c (unlockpt): Likewise.
27759 * mach/msgserver.c (__mach_msg_server): Likewise.
27760 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27761 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27762 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27763 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27764 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27765 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27766 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27767 Likewise.
27768 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27769 internal_function.
27770 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27771 prototype-style function definition.
27772 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27773 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27774 (__pthread_create_2_0): Likewise.
27775 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27776 * nptl/register-atfork.c (__register_atfork): Likewise.
27777 * posix/glob.c (glob): Likewise.
27778 * posix/regcomp.c (re_comp): Likewise.
27779 * posix/regexec.c (re_exec): Likewise.
27780 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27781 [!__STDC__]: Remove conditional code.
27782 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27783 [!__STDC__]: Remove conditional code.
27784 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27785 [!__STDC__]: Remove conditional code.
27786 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27787 [!__STDC__]: Remove conditional code.
27788 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27789 [!__STDC__]: Remove conditional code.
27790 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27791 [!__STDC__]: Remove conditional code.
27792 * stdlib/mul.c [__STDC__]: Make code unconditional.
27793 [!__STDC__]: Remove conditional code.
27794 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27795 [!__STDC__]: Remove conditional code.
27796 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27797 [!__STDC__]: Remove conditional code.
27798 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27799 function definition.
27800 (STRTOF): Likewise.
27801 * stdlib/strtod_l.c (__STRTOF): Likewise.
27802 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27803 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27804 (__strtol_l): Likewise.
27805 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27806 [!__STDC__]: Remove conditional code.
27807 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27808 definition.
27809 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27810 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27811 type.
27812 (__strcasecmp): Convert to prototype-style function definition.
27813 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27814 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27815 type.
27816 (__strncasecmp): Convert to prototype-style function definition.
27817 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27818 * sunrpc/xdr.c (xdr_union): Likewise.
27819 * sunrpc/xdr_array.c (xdr_array): Likewise.
27820 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27821 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27822 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27823 Likewise.
27824 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27825 Likewise.
27826 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27827 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27828 Likewise.
27829 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27830 (LOCALE_PARAM_PROTO): Likewise.
27831 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27832 argument type.
27833 (ut_argument_spec): Remove macro.
27834 (ut_argument_spec_iso): Rename to ut_argument_spec.
27835 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27836 prototype-style function definition.
27837 (memcpy_uppcase): Likewise.
27838 (__strftime_internal): Likewise.
27839 (my_strftime): Likewise.
27840 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27841 (LOCALE_PARAM_DECL): Likewise.
27842 [_LIBC] (LOCALE_PARAM): Include argument type.
27843 (__strptime_internal): Convert to prototype-style function
27844 definition.
27845 (strptime): Likewise.
27846 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27847 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27848 type.
27849 (__wcscasecmp): Convert to prototype-style function definition.
27850 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27851 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27852 type.
27853 (__wcsncasecmp): Convert to prototype-style function definition.
27854
27855 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27856 function definition.
27857 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27858 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27859 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27860 * elf/dl-minimal.c (_itoa): Likewise.
27861 * hurd/hurdmalloc.c (malloc): Likewise.
27862 (free): Likewise.
27863 (realloc): Likewise.
27864 * inet/inet6_option.c (inet6_option_space): Likewise.
27865 (inet6_option_init): Likewise.
27866 (inet6_option_append): Likewise.
27867 (inet6_option_alloc): Likewise.
27868 (inet6_option_next): Likewise.
27869 (inet6_option_find): Likewise.
27870 * io/ftw.c (FTW_NAME): Likewise.
27871 (NFTW_NAME): Likewise.
27872 (NFTW_NEW_NAME): Likewise.
27873 (NFTW_OLD_NAME): Likewise.
27874 * libio/iofwide.c (_IO_fwide): Likewise.
27875 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27876 (_IO_str_init_static): Likewise.
27877 (_IO_str_init_readonly): Likewise.
27878 (_IO_str_overflow): Likewise.
27879 (_IO_str_underflow): Likewise.
27880 (_IO_str_count): Likewise.
27881 (_IO_str_seekoff): Likewise.
27882 (_IO_str_pbackfail): Likewise.
27883 (_IO_str_finish): Likewise.
27884 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27885 (_IO_wstr_overflow): Likewise.
27886 (_IO_wstr_underflow): Likewise.
27887 (_IO_wstr_count): Likewise.
27888 (_IO_wstr_seekoff): Likewise.
27889 (_IO_wstr_pbackfail): Likewise.
27890 (_IO_wstr_finish): Likewise.
27891 * locale/programs/localedef.c (normalize_codeset): Likewise.
27892 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27893 (add_locales_to_archive): Likewise.
27894 (delete_locales_from_archive): Likewise.
27895 * malloc/malloc.c (__libc_mallinfo): Likewise.
27896 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27897 * misc/tsearch.c (__tfind): Likewise.
27898 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27899 * nptl/pthread_attr_getdetachstate.c
27900 (__pthread_attr_getdetachstate): Likewise.
27901 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27902 Likewise.
27903 * nptl/pthread_attr_getinheritsched.c
27904 (__pthread_attr_getinheritsched): Likewise.
27905 * nptl/pthread_attr_getschedparam.c
27906 (__pthread_attr_getschedparam): Likewise.
27907 * nptl/pthread_attr_getschedpolicy.c
27908 (__pthread_attr_getschedpolicy): Likewise.
27909 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27910 Likewise.
27911 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27912 Likewise.
27913 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27914 Likewise.
27915 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27916 Likewise.
27917 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27918 (__pthread_attr_init_2_0): Likewise.
27919 * nptl/pthread_attr_setdetachstate.c
27920 (__pthread_attr_setdetachstate): Likewise.
27921 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27922 Likewise.
27923 * nptl/pthread_attr_setinheritsched.c
27924 (__pthread_attr_setinheritsched): Likewise.
27925 * nptl/pthread_attr_setschedparam.c
27926 (__pthread_attr_setschedparam): Likewise.
27927 * nptl/pthread_attr_setschedpolicy.c
27928 (__pthread_attr_setschedpolicy): Likewise.
27929 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27930 Likewise.
27931 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27932 Likewise.
27933 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27934 Likewise.
27935 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27936 Likewise.
27937 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27938 Likewise.
27939 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27940 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27941 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27942 use internal_function.
27943 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27944 prototype-style function definition.
27945 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27946 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27947 internal_function.
27948 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27949 Convert to prototype-style function definition.
27950 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27951 Likewise.
27952 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27953 Likewise.
27954 (__pthread_mutex_unlock): Likewise.
27955 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27956 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27957 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27958 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27959 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27960 * nss/makedb.c (process_input): Likewise.
27961 * posix/fnmatch.c (__strchrnul): Likewise.
27962 (__wcschrnul): Likewise.
27963 (fnmatch): Likewise.
27964 * posix/fnmatch_loop.c (FCT): Likewise.
27965 * posix/glob.c (globfree): Likewise.
27966 (__glob_pattern_type): Likewise.
27967 (__glob_pattern_p): Likewise.
27968 * posix/regcomp.c (re_compile_pattern): Likewise.
27969 (re_set_syntax): Likewise.
27970 (re_compile_fastmap): Likewise.
27971 (regcomp): Likewise.
27972 (regerror): Likewise.
27973 (regfree): Likewise.
27974 * posix/regexec.c (regexec): Likewise.
27975 (re_match): Likewise.
27976 (re_search): Likewise.
27977 (re_match_2): Likewise.
27978 (re_search_2): Likewise.
27979 (re_search_stub): Likewise. Use internal_function
27980 (re_copy_regs): Likewise.
27981 (re_set_registers): Convert to prototype-style function
27982 definition.
27983 (prune_impossible_nodes): Likewise. Use internal_function.
27984 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27985 prototype-style function definition.
27986 (inet_net_pton_ipv4): Likewise.
27987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27988 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27989 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27990 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27991 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27992 Make variadic.
27993 * time/strptime_l.c (localtime_r): Convert to prototype-style
27994 function definition.
27995 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27996 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27997 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27998 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27999
28000 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
28001 definition.
28002 (_ufc_doit_r): Likewise.
28003 * crypt/crypt_util.c (_ufc_copymem): Likewise.
28004 (_ufc_output_conversion_r): Likewise.
28005 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
28006 * inet/rcmd.c (rcmd_af): Likewise.
28007 (rcmd): Likewise.
28008 (ruserok_af): Likewise.
28009 (ruserok): Likewise.
28010 (ruserok2_sa): Likewise.
28011 (ruserok_sa): Likewise.
28012 (iruserok_af): Likewise.
28013 (iruserok): Likewise.
28014 (__ivaliduser): Likewise.
28015 (__validuser2_sa): Likewise.
28016 * inet/rexec.c (rexec_af): Likewise.
28017 (rexec): Likewise.
28018 * inet/ruserpass.c (ruserpass): Likewise.
28019 * locale/programs/xmalloc.c (xcalloc): Likewise.
28020 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
28021 * math/w_drem.c (__drem): Likewise.
28022 * math/w_dremf.c (__dremf): Likewise.
28023 * math/w_dreml.c (__dreml): Likewise.
28024 * misc/daemon.c (daemon): Likewise.
28025 * resolv/res_debug.c (p_fqnname): Likewise.
28026 * stdlib/div.c (div): Likewise.
28027 * string/memcmp.c (memcmp_bytes): Likewise.
28028 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
28029 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
28030
28031 * crypt/cert.c (main): Convert to prototype-style function
28032 definition.
28033 * io/pipe.c (__pipe): Likewise.
28034 * io/pipe2.c (__pipe2): Likewise.
28035 * misc/futimesat.c (futimesat): Likewise.
28036 * misc/utimes.c (__utimes): Likewise.
28037 * posix/execve.c (__execve): Likewise.
28038 * posix/execvp.c (execvp): Likewise.
28039 * posix/execvpe.c (__execvpe): Likewise.
28040 * posix/fexecve.c (fexecve): Likewise.
28041 * socket/socketpair.c (socketpair): Likewise.
28042 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28043 * stdlib/erand48.c (erand48): Likewise.
28044 * stdlib/erand48_r.c (__erand48_r): Likewise.
28045 * stdlib/jrand48.c (jrand48): Likewise.
28046 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
28047 * stdlib/lcong48.c (lcong48): Likewise.
28048 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
28049 * stdlib/nrand48.c (nrand48): Likewise.
28050 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
28051 * stdlib/seed48.c (seed48): Likewise.
28052 * stdlib/seed48_r.c (__seed48_r): Likewise.
28053 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
28054 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
28055 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
28056
28057 2015-10-19 Joseph Myers <joseph@codesourcery.com>
28058
28059 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
28060 * configure: Regenerated.
28061 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
28062 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
28063 unconditional.
28064 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28065 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28066 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28067 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
28068 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
28069 unconditional.
28070 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28071
28072 * posix/Makefile (CFLAGS-regex.c): Remove variable.
28073 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
28074
28075 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
28076 function definition.
28077 * crypt/crypt_util.c (__encrypt_r): Likewise.
28078 * libio/genops.c (_IO_no_init): Likewise.
28079 * libio/iofopncook.c (_IO_fopencookie): Likewise.
28080 (_IO_old_fopencookie): Likewise.
28081 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28082 * libio/iogetline.c (_IO_getline): Likewise.
28083 (_IO_getline_info): Likewise.
28084 * libio/iogetwline.c (_IO_getwline): Likewise.
28085 (_IO_getwline_info): Likewise.
28086 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
28087 * libio/vswprintf.c (_IO_vswprintf): Likewise.
28088 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
28089 (find_entry): Likewise.
28090 (iterate_table): Likewise.
28091 (lookup): Likewise.
28092 * login/forkpty.c (forkpty): Likewise.
28093 * misc/hsearch_r.c (__hsearch_r): Likewise.
28094 * misc/select.c (__select): Likewise.
28095 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
28096 Likewise.
28097 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
28098 Likewise.
28099 * nptl/old_pthread_cond_timedwait.c
28100 (__pthread_cond_timedwait_2_0): Likewise.
28101 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28102 * nptl/pthread_barrierattr_getpshared.c
28103 (pthread_barrierattr_getpshared): Likewise.
28104 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
28105 Likewise.
28106 * nptl/pthread_mutex_setprioceiling.c
28107 (pthread_mutex_setprioceiling): Likewise.
28108 * nptl/pthread_mutexattr_getprioceiling.c
28109 (pthread_mutexattr_getprioceiling): Likewise.
28110 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28111 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28112 Likewise.
28113 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28114 Likewise.
28115 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
28116 Likewise.
28117 * socket/recvfrom.c (__recvfrom): Likewise.
28118 * socket/sendto.c (__sendto): Likewise.
28119 * socket/setsockopt.c (__setsockopt): Likewise.
28120 * stdio-common/_itoa.c (_itoa): Likewise.
28121 * stdio-common/_itowa.c (_itowa): Likewise.
28122 * stdio-common/reg-printf.c (__register_printf_specifier):
28123 Likewise.
28124 (__register_printf_function): Likewise.
28125 * stdio-common/tempname.c (__path_search): Likewise.
28126 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
28127 * stdlib/mul_1.c (mpn_mul_1): Likewise.
28128 * stdlib/random_r.c (__initstate_r): Likewise.
28129 * stdlib/setenv.c (__add_to_environ): Likewise.
28130 * stdlib/submul_1.c (mpn_submul_1): Likewise.
28131 * streams/getpmsg.c (getpmsg): Likewise.
28132 * streams/putmsg.c (putmsg): Likewise.
28133 * streams/putpmsg.c (putpmsg): Likewise.
28134 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
28135 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28136 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
28137 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28138 * sunrpc/pm_getport.c (pmap_getport): Likewise.
28139 * sunrpc/svc_udp.c (cache_get): Likewise.
28140 * sunrpc/xdr_array.c (xdr_vector): Likewise.
28141 * sysdeps/mach/hurd/getcwd.c
28142 (__canonicalize_directory_name_internal): Likewise.
28143 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
28144 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
28145 * sysdeps/mach/hurd/select.c (__select): Likewise.
28146 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28147 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
28148 * sysdeps/sparc/nptl/pthread_barrier_init.c
28149 (__pthread_barrier_init): Likewise.
28150 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28151 (__pthread_cond_timedwait): Likewise.
28152 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28153 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28154 Likewise.
28155 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28156 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28157 Likewise.
28158 * sysvipc/semtimedop.c (semtimedop): Likewise.
28159 * time/setitimer.c (__setitimer): Likewise.
28160 * time/strftime_l.c (emacs_strftime): Likewise.
28161
28162 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28163
28164 * config.make.in (have-ssp): Delete.
28165 (stack-protector): New variable.
28166 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
28167 cache test for -fstack-protector-strong. Export stack_protector to
28168 the best ssp flag.
28169 * configure: Regenerated.
28170 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28171 * nscd/Makefile (CFLAGS-nscd): Likewise.
28172 * resolv/Makefile (CFLAGS-libresolv): Likewise.
28173
28174 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
28175
28176 [BZ #19122]
28177 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28178 attribute_hidden.
28179
28180 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28181
28182 [BZ #18743]
28183 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28184 code to...
28185 (ELIDE_LOCK): ...here.
28186 (__get_new_count): New function with part of the code from
28187 __elide_lock that updates the value of adapt_count after a
28188 transaction abort.
28189 (__elided_trylock): Moved this code to...
28190 (ELIDE_TRYLOCK): ...here.
28191
28192 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28193
28194 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28195 * configure: Regenerate.
28196 * INSTALL: Regenerate.
28197 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28198 and tweak grammar.
28199
28200 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
28201
28202 * login/programs/pt_chown.c: Include signal.h
28203 (main): Clear any signal mask from the parent process.
28204
28205 2015-10-19 Joseph Myers <joseph@codesourcery.com>
28206
28207 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28208 * configure: Regenerated.
28209 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28210 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28211 $(gnu89-inline-CFLAGS).
28212
28213 * configure.ac (libc_cv_asm_weak_directive): Remove configure
28214 test.
28215 (libc_cv_asm_weakext_directive): Likewise.
28216 * configure: Regenerated.
28217 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28218 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28219 * include/libc-symbols.h
28220 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28221 #error.
28222 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28223 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28224
28225 * sysdeps/arm/backtrace.c (__backtrace): Convert to
28226 prototype-style function definition.
28227 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28228 * sysdeps/i386/ffs.c (__ffs): Likewise.
28229 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28230 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28231 Likewise.
28232 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28233 Likewise.
28234 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28236 Likewise.
28237 * sysdeps/m68k/ffs.c (__ffs): Likewise.
28238 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28239 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28240 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28241 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28242 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28243 * sysdeps/mach/hurd/access.c (__access): Likewise.
28244 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28245 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28246 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28247 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28248 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28249 (cthread_getspecific): Likewise.
28250 (cthread_setspecific): Likewise.
28251 (__libc_getspecific): Likewise.
28252 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28253 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28254 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28255 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28256 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28257 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28258 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28259 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28260 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28261 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28262 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28263 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28264 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28265 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28266 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28267 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28268 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28269 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28270 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28271 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28272 * sysdeps/mach/hurd/link.c (__link): Likewise.
28273 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28274 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28275 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28276 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28277 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28278 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28279 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28280 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28281 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28282 * sysdeps/mach/hurd/rename.c (rename): Likewise.
28283 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28284 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28285 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28286 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28287 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28288 * sysdeps/mach/hurd/send.c (__send): Likewise.
28289 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28290 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28291 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28292 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28293 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28294 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28295 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28296 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28297 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28298 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28299 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28300 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28301 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28302 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28303 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28304 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28305 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28306 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28307 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28308 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28309 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28310 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28311 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28312 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28313 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28314 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28315 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28316 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28317 * sysdeps/posix/alarm.c (alarm): Likewise.
28318 * sysdeps/posix/cuserid.c (cuserid): Likewise.
28319 * sysdeps/posix/dirfd.c (dirfd): Likewise.
28320 * sysdeps/posix/dup.c (__dup): Likewise.
28321 * sysdeps/posix/dup2.c (__dup2): Likewise.
28322 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28323 (main): Likewise.
28324 * sysdeps/posix/flock.c (__flock): Likewise.
28325 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28326 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28327 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28328 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28329 * sysdeps/posix/isatty.c (__isatty): Likewise.
28330 * sysdeps/posix/killpg.c (killpg): Likewise.
28331 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28332 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28333 * sysdeps/posix/raise.c (raise): Likewise.
28334 * sysdeps/posix/remove.c (remove): Likewise.
28335 * sysdeps/posix/rename.c (rename): Likewise.
28336 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28337 * sysdeps/posix/seekdir.c (seekdir): Likewise.
28338 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28339 * sysdeps/posix/sigignore.c (sigignore): Likewise.
28340 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28341 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28342 * sysdeps/posix/sigset.c (sigset): Likewise.
28343 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28344 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28345 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28346 * sysdeps/posix/time.c (time): Likewise.
28347 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28348 (ttyname): Likewise.
28349 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28350 * sysdeps/posix/utime.c (utime): Likewise.
28351 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28352 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28353 Likewise.
28354 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28355 (pthread_spin_trylock): Likewise.
28356 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28357 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28358 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28359 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28360 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28361 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28362 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28363 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28364 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28365 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28366 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28367 * sysdeps/s390/ffs.c (__ffs): Likewise.
28368 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28369 Likewise.
28370 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28371 Likewise.
28372 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28373 Likewise.
28374 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28375 (pthread_barrier_destroy): Likewise.
28376 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28377 (__pthread_barrier_wait): Likewise.
28378 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28379 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28380 (__pthread_barrier_wait): Likewise.
28381 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28382 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28383 (memcmp_not_common_alignment): Likewise.
28384 (MEMCMP): Likewise.
28385 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28386 (_wordcopy_fwd_dest_aligned): Likewise.
28387 (_wordcopy_bwd_aligned): Likewise.
28388 (_wordcopy_bwd_dest_aligned): Likewise.
28389 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28390 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28391 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28392 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28393 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28394 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28395 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28396 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28397 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28398 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28399 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28400 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28401 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28402 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28403 * sysdeps/unix/stime.c (stime): Likewise.
28404 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28405 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28406 Likewise. Use internal_function.
28407 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28408 Convert to prototype-style function definition.
28409 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28410 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28411 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28412 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28413 Likewise. Use internal_function.
28414 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28415 prototype-style function definition
28416 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28417 Likewise.
28418 (__getlogin_r): Likewise.
28419 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28420 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28421 (__pthread_cond_broadcast): Likewise.
28422 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28423 (__pthread_cond_destroy): Likewise.
28424 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28425 (__pthread_cond_init): Likewise.
28426 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28427 (__pthread_cond_signal): Likewise.
28428 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28429 (__pthread_cond_wait): Likewise.
28430 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28431 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28432 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28433 Likewise.
28434 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28435 Likewise.
28436 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28437 Likewise.
28438 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28439 Likewise.
28440 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28442 (__ftruncate64): Likewise.
28443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28444 (truncate64): Likewise.
28445 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28446 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28447 (pthread_getcpuclockid): Likewise.
28448 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28449 Likewise.
28450 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28451 Likewise.
28452 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28453 Likewise.
28454 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28455 Likewise.
28456 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28457 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28458 (__libc_sigaction): Likewise.
28459 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28460 Likewise.
28461 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28462 (__sigprocmask): Likewise.
28463 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28464 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28465 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28466 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28467 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28468 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28469 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28470 Likewise.
28471 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28472 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28473 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28474 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28475 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28476 Likewise.
28477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28478 (__sigprocmask): Likewise.
28479 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28480 (cfgetispeed): Likewise.
28481 (cfsetospeed): Likewise.
28482 (cfsetispeed): Likewise.
28483 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28484 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28485 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28486 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28487 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28488 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28489 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28490 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28491 Likewise.
28492 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28493 Likewise.
28494 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28495 Likewise.
28496 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28497 Likewise.
28498 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28499
28500 2015-10-17 Florian Weimer <fweimer@redhat.com>
28501
28502 sunrpc: Rewrite with explicit TLS access using __thread.
28503 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28504 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28505 directly.
28506 (__rpc_thread_variables): Access thread_rpc_vars directly.
28507 Eliminate redundant assignment of the tvp variable.
28508
28509 2015-10-17 Florian Weimer <fweimer@redhat.com>
28510
28511 malloc: Rewrite with explicit TLS access using __thread.
28512 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28513 (tsd_setspecific, tsd_getspecific): Remove.
28514 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28515 (tsd_setspecific, tsd_getspecific): Likewise.
28516 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28517 (tsd_setspecific, tsd_getspecific): Likewise.
28518 * malloc/arena.c (thread_arena): New TLS variable.
28519 (arena_key): Remove variable.
28520 (arena_get): Use thread_arena.
28521 (arena_lookup): Remove macro.
28522 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28523 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28524 (_int_new_arena, get_free_list, reused_arena)
28525 (arena_thread_freeres): Use thread_arena.
28526 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28527 tsd_getspecific, tsd_setspecific from safety annotations.
28528 (Allocating Cleared Space): Remove arena_lookup from safety
28529 annotations.
28530
28531 2015-10-17 Florian Weimer <fweimer@redhat.com>
28532
28533 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28534 struct scratch_buffer instead of extend_alloca.
28535
28536 2015-10-17 Florian Weimer <fweimer@redhat.com>
28537
28538 * sysdeps/unix/sysv/linux/kernel-features.h
28539 (__ASSUME_SOCK_CLOEXEC): Remove.
28540 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28541 (__have_paccept): Remove unused macro.
28542 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28543 * misc/syslog.c (openlog_internal): Remove fallback code for
28544 !__ASSUME_SOCK_CLOEXEC.
28545 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28546 missing SOCK_CLOEXEC.
28547 * nscd/connections.c (have_sock_cloexec): Remove definition.
28548 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28549 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28550 !__ASSUME_SOCK_CLOEXEC.
28551 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28552 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28553 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28554 definition.
28555 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28556 code for !__ASSUME_SOCK_CLOEXEC.
28557
28558 2015-10-17 Florian Weimer <fweimer@redhat.com>
28559
28560 [BZ #18982]
28561 * manual/stdio.texi (Variable Arguments Output): Add portability
28562 note, explaining that vfprintf clobbers the va_list pointer.
28563
28564 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28565
28566 * math/libm-test.inc (fabs_test_data): Add more tests.
28567 (fdim_test_data): Likewise.
28568 (fma_test_data): Likewise.
28569 (fmax_test_data): Likewise.
28570 (fmin_test_data): Likewise.
28571 (fmod_test_data): Likewise.
28572
28573 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28574
28575 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28576 data.
28577
28578 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28579
28580 * math/libm-test.inc (ceil_test_data): Add more tests and more
28581 expectations for "inexact".
28582 (floor_test_data): Add more tests.
28583 (round_test_data): Likewise.
28584 (trunc_test_data): Likewise.
28585
28586 * crypt/cert.c (good_bye): Convert to prototype-style function
28587 definition.
28588 (get8): Likewise.
28589 (put8): Likewise.
28590 * crypt/crypt-entry.c (crypt): Likewise.
28591 (__fcrypt): Likewise.
28592 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28593 (_ufc_set_bits): Likewise.
28594 (_ufc_clearmem): Likewise.
28595 (__init_des_r): Likewise.
28596 (shuffle_sb): Likewise.
28597 (shuffle_sb): Likewise.
28598 (_ufc_setup_salt_r): Likewise.
28599 (_ufc_mk_keytab_r): Likewise.
28600 (_ufc_dofinalperm_r): Likewise.
28601 (encrypt): Likewise.
28602 (__setkey_r): Likewise.
28603 (setkey): Likewise.
28604 * crypt/md5.c (md5_init_ctx): Likewise.
28605 (md5_read_ctx): Likewise.
28606 (md5_finish_ctx): Likewise.
28607 (md5_stream): Likewise.
28608 (md5_buffer): Likewise.
28609 (md5_process_bytes): Likewise.
28610 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28611 (__sha256_finish_ctx): Likewise.
28612 (__sha256_process_bytes): Likewise.
28613 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28614 (__sha512_finish_ctx): Likewise.
28615 (__sha512_process_bytes): Likewise.
28616 * ctype/isctype.c (__isctype): Likewise.
28617 * debug/backtrace.c (__backtrace): Likewise.
28618 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28619 * debug/fgets_chk.c (__fgets_chk): Likewise.
28620 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28621 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28622 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28623 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28624 * debug/memset_chk.c (__memset_chk): Likewise.
28625 * debug/strcat_chk.c (__strcat_chk): Likewise.
28626 * debug/strncat_chk.c (__strncat_chk): Likewise.
28627 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28628 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28629 * dirent/dirfd.c (dirfd): Likewise.
28630 * dirent/getdents.c (__getdirentries): Likewise.
28631 * dirent/getdents64.c (getdirentries64): Likewise.
28632 * dirent/rewinddir.c (__rewinddir): Likewise.
28633 * dirent/seekdir.c (seekdir): Likewise.
28634 * dirent/telldir.c (telldir): Likewise.
28635 * elf/sln.c (makesymlinks): Likewise.
28636 (makesymlink): Likewise.
28637 * gmon/gmon.c (__moncontrol): Likewise.
28638 (__monstartup): Likewise.
28639 (write_hist): Likewise.
28640 (write_call_graph): Likewise.
28641 (write_bb_counts): Likewise.
28642 * grp/setgroups.c (setgroups): Likewise.
28643 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28644 * inet/inet_net.c (inet_network): Likewise.
28645 * inet/inet_netof.c (inet_netof): Likewise.
28646 * inet/rcmd.c (rresvport_af): Likewise.
28647 (rresvport): Likewise.
28648 * io/access.c (__access): Likewise.
28649 * io/chdir.c (__chdir): Likewise.
28650 * io/chmod.c (__chmod): Likewise.
28651 * io/chown.c (__chown): Likewise.
28652 * io/close.c (__close): Likewise.
28653 * io/creat.c (creat): Likewise.
28654 * io/creat64.c (creat64): Likewise.
28655 * io/dup.c (__dup): Likewise.
28656 * io/dup2.c (__dup2): Likewise.
28657 * io/dup3.c (__dup3): Likewise.
28658 * io/euidaccess.c (__euidaccess): Likewise.
28659 * io/faccessat.c (faccessat): Likewise.
28660 * io/fchmod.c (__fchmod): Likewise.
28661 * io/fchmodat.c (fchmodat): Likewise.
28662 * io/fchown.c (__fchown): Likewise.
28663 * io/fchownat.c (fchownat): Likewise.
28664 * io/fcntl.c (__fcntl): Likewise.
28665 * io/flock.c (__flock): Likewise.
28666 * io/fts.c (fts_load): Likewise.
28667 (fts_close): Likewise.
28668 (fts_read): Likewise.
28669 (fts_set): Likewise.
28670 (fts_children): Likewise.
28671 (fts_build): Likewise.
28672 (fts_stat): Likewise.
28673 (fts_sort): Likewise.
28674 (fts_alloc): Likewise.
28675 (fts_lfree): Likewise.
28676 (fts_palloc): Likewise.
28677 (fts_padjust): Likewise.
28678 (fts_maxarglen): Likewise.
28679 (fts_safe_changedir): Likewise.
28680 * io/getwd.c (getwd): Likewise.
28681 * io/isatty.c (__isatty): Likewise.
28682 * io/lchown.c (__lchown): Likewise.
28683 * io/link.c (__link): Likewise.
28684 * io/linkat.c (linkat): Likewise.
28685 * io/lseek.c (__libc_lseek): Likewise.
28686 * io/mkdir.c (__mkdir): Likewise.
28687 * io/mkdirat.c (mkdirat): Likewise.
28688 * io/mkfifo.c (mkfifo): Likewise.
28689 * io/mkfifoat.c (mkfifoat): Likewise.
28690 * io/open.c (__libc_open): Likewise.
28691 * io/open64.c (__libc_open64): Likewise.
28692 * io/readlink.c (__readlink): Likewise.
28693 * io/readlinkat.c (readlinkat): Likewise.
28694 * io/rmdir.c (__rmdir): Likewise.
28695 * io/symlink.c (__symlink): Likewise.
28696 * io/symlinkat.c (symlinkat): Likewise.
28697 * io/ttyname.c (ttyname): Likewise.
28698 * io/ttyname_r.c (__ttyname_r): Likewise.
28699 * io/umask.c (__umask): Likewise.
28700 * io/unlink.c (__unlink): Likewise.
28701 * io/unlinkat.c (unlinkat): Likewise.
28702 * io/utime.c (utime): Likewise.
28703 * libio/clearerr.c (clearerr): Likewise.
28704 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28705 * libio/feof.c (_IO_feof): Likewise.
28706 * libio/feof_u.c (feof_unlocked): Likewise.
28707 * libio/ferror.c (_IO_ferror): Likewise.
28708 * libio/ferror_u.c (ferror_unlocked): Likewise.
28709 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28710 * libio/fileno.c (__fileno): Likewise.
28711 * libio/fputc.c (fputc): Likewise.
28712 * libio/fputc_u.c (fputc_unlocked): Likewise.
28713 * libio/fputwc.c (fputwc): Likewise.
28714 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28715 * libio/freopen.c (freopen): Likewise.
28716 * libio/freopen64.c (freopen64): Likewise.
28717 * libio/fseek.c (fseek): Likewise.
28718 * libio/fseeko.c (fseeko): Likewise.
28719 * libio/fseeko64.c (fseeko64): Likewise.
28720 * libio/ftello.c (__ftello): Likewise.
28721 * libio/ftello64.c (ftello64): Likewise.
28722 * libio/fwide.c (fwide): Likewise.
28723 * libio/genops.c (_IO_un_link): Likewise.
28724 (_IO_link_in): Likewise.
28725 (_IO_least_marker): Likewise.
28726 (_IO_switch_to_main_get_area): Likewise.
28727 (_IO_switch_to_backup_area): Likewise.
28728 (_IO_switch_to_get_mode): Likewise.
28729 (_IO_free_backup_area): Likewise.
28730 (_IO_switch_to_put_mode): Likewise.
28731 (__overflow): Likewise.
28732 (__underflow): Likewise.
28733 (__uflow): Likewise.
28734 (_IO_setb): Likewise.
28735 (_IO_doallocbuf): Likewise.
28736 (_IO_default_underflow): Likewise.
28737 (_IO_default_uflow): Likewise.
28738 (_IO_default_xsputn): Likewise.
28739 (_IO_sgetn): Likewise.
28740 (_IO_default_xsgetn): Likewise.
28741 (_IO_sync): Likewise.
28742 (_IO_default_setbuf): Likewise.
28743 (_IO_default_seekpos): Likewise.
28744 (_IO_default_doallocate): Likewise.
28745 (_IO_init): Likewise.
28746 (_IO_old_init): Likewise.
28747 (_IO_default_sync): Likewise.
28748 (_IO_default_finish): Likewise.
28749 (_IO_default_seekoff): Likewise.
28750 (_IO_sputbackc): Likewise.
28751 (_IO_sungetc): Likewise.
28752 (_IO_set_column): Likewise.
28753 (_IO_set_column): Likewise.
28754 (_IO_adjust_column): Likewise.
28755 (_IO_get_column): Likewise.
28756 (_IO_init_marker): Likewise.
28757 (_IO_remove_marker): Likewise.
28758 (_IO_marker_difference): Likewise.
28759 (_IO_marker_delta): Likewise.
28760 (_IO_seekmark): Likewise.
28761 (_IO_unsave_markers): Likewise.
28762 (_IO_nobackup_pbackfail): Likewise.
28763 (_IO_default_pbackfail): Likewise.
28764 (_IO_default_seek): Likewise.
28765 (_IO_default_stat): Likewise.
28766 (_IO_default_read): Likewise.
28767 (_IO_default_write): Likewise.
28768 (_IO_default_showmanyc): Likewise.
28769 (_IO_default_imbue): Likewise.
28770 (_IO_iter_next): Likewise.
28771 (_IO_iter_file): Likewise.
28772 * libio/getc.c (_IO_getc): Likewise.
28773 * libio/getwc.c (_IO_getwc): Likewise.
28774 * libio/iofclose.c (_IO_new_fclose): Likewise.
28775 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28776 * libio/iofflush.c (_IO_fflush): Likewise.
28777 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28778 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28779 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28780 * libio/iofgets.c (_IO_fgets): Likewise.
28781 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28782 * libio/iofgetws.c (fgetws): Likewise.
28783 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28784 * libio/iofopen64.c (_IO_fopen64): Likewise.
28785 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28786 (_IO_cookie_write): Likewise.
28787 (_IO_cookie_seek): Likewise.
28788 (_IO_cookie_close): Likewise.
28789 (_IO_cookie_seekoff): Likewise.
28790 (_IO_old_cookie_seek): Likewise.
28791 * libio/iofputs.c (_IO_fputs): Likewise.
28792 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28793 * libio/iofputws.c (fputws): Likewise.
28794 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28795 * libio/iofread.c (_IO_fread): Likewise.
28796 * libio/iofread_u.c (__fread_unlocked): Likewise.
28797 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28798 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28799 * libio/ioftell.c (_IO_ftell): Likewise.
28800 * libio/iofwrite.c (_IO_fwrite): Likewise.
28801 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28802 * libio/iogets.c (_IO_gets): Likewise.
28803 * libio/iopadn.c (_IO_padn): Likewise.
28804 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28805 (_IO_new_popen): Likewise.
28806 (_IO_new_proc_close): Likewise.
28807 * libio/ioputs.c (_IO_puts): Likewise.
28808 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28809 (_IO_seekoff): Likewise.
28810 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28811 (_IO_seekpos): Likewise.
28812 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28813 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28814 * libio/ioungetc.c (_IO_ungetc): Likewise.
28815 * libio/ioungetwc.c (ungetwc): Likewise.
28816 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28817 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28818 * libio/iowpadn.c (_IO_wpadn): Likewise.
28819 * libio/libc_fatal.c (__libc_fatal): Likewise.
28820 * libio/memstream.c (__open_memstream): Likewise.
28821 (_IO_mem_sync): Likewise.
28822 (_IO_mem_finish): Likewise.
28823 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28824 (_IO_old_file_close_it): Likewise.
28825 (_IO_old_file_finish): Likewise.
28826 (_IO_old_file_fopen): Likewise.
28827 (_IO_old_file_attach): Likewise.
28828 (_IO_old_file_setbuf): Likewise.
28829 (_IO_old_do_write): Likewise.
28830 (old_do_write): Likewise.
28831 (_IO_old_file_underflow): Likewise.
28832 (_IO_old_file_overflow): Likewise.
28833 (_IO_old_file_sync): Likewise.
28834 (_IO_old_file_seekoff): Likewise.
28835 (_IO_old_file_write): Likewise.
28836 (_IO_old_file_xsputn): Likewise.
28837 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28838 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28839 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28840 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28841 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28842 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28843 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28844 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28845 (_IO_old_popen): Likewise.
28846 (_IO_old_proc_close): Likewise.
28847 * libio/oldpclose.c (__old_pclose): Likewise.
28848 * libio/pclose.c (__new_pclose): Likewise.
28849 * libio/peekc.c (_IO_peekc_locked): Likewise.
28850 * libio/putc.c (_IO_putc): Likewise.
28851 * libio/putc_u.c (putc_unlocked): Likewise.
28852 * libio/putchar.c (putchar): Likewise.
28853 * libio/putchar_u.c (putchar_unlocked): Likewise.
28854 * libio/putwc.c (putwc): Likewise.
28855 * libio/putwc_u.c (putwc_unlocked): Likewise.
28856 * libio/putwchar.c (putwchar): Likewise.
28857 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28858 * libio/rewind.c (rewind): Likewise.
28859 * libio/setbuf.c (setbuf): Likewise.
28860 * libio/setlinebuf.c (setlinebuf): Likewise.
28861 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28862 * libio/vscanf.c (_IO_vscanf): Likewise.
28863 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28864 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28865 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28866 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28867 (_IO_switch_to_main_wget_area): Likewise.
28868 (_IO_switch_to_wbackup_area): Likewise.
28869 (_IO_wsetb): Likewise.
28870 (_IO_wdefault_pbackfail): Likewise.
28871 (_IO_wdefault_finish): Likewise.
28872 (_IO_wdefault_uflow): Likewise.
28873 (__woverflow): Likewise.
28874 (__wuflow): Likewise.
28875 (__wunderflow): Likewise.
28876 (_IO_wdefault_xsputn): Likewise.
28877 (_IO_wdefault_xsgetn): Likewise.
28878 (_IO_wdoallocbuf): Likewise.
28879 (_IO_wdefault_doallocate): Likewise.
28880 (_IO_switch_to_wget_mode): Likewise.
28881 (_IO_free_wbackup_area): Likewise.
28882 (_IO_switch_to_wput_mode): Likewise.
28883 (_IO_sputbackwc): Likewise.
28884 (_IO_sungetwc): Likewise.
28885 (_IO_adjust_wcolumn): Likewise.
28886 (_IO_init_wmarker): Likewise.
28887 (_IO_wmarker_delta): Likewise.
28888 (_IO_seekwmark): Likewise.
28889 (_IO_unsave_wmarkers): Likewise.
28890 * libio/wmemstream.c (open_wmemstream): Likewise.
28891 (_IO_wmem_sync): Likewise.
28892 (_IO_wmem_finish): Likewise.
28893 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28894 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28895 * locale/programs/simple-hash.c (init_hash): Likewise.
28896 (delete_hash): Likewise.
28897 (insert_entry): Likewise.
28898 (set_entry): Likewise.
28899 (next_prime): Likewise.
28900 (is_prime): Likewise.
28901 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28902 (xmalloc): Likewise.
28903 (xrealloc): Likewise.
28904 * locale/programs/xstrdup.c (xstrdup): Likewise.
28905 * localedata/collate-test.c (xstrcoll): Likewise.
28906 * localedata/xfrm-test.c (xstrcmp): Likewise.
28907 * login/getlogin_r.c (__getlogin_r): Likewise.
28908 * login/getpt.c (__posix_openpt): Likewise.
28909 * login/login_tty.c (login_tty): Likewise.
28910 * login/setlogin.c (setlogin): Likewise.
28911 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28912 (mach_msg_destroy_port): Likewise.
28913 (mach_msg_destroy_memory): Likewise.
28914 * malloc/mcheck.c (flood): Likewise.
28915 * misc/acct.c (acct): Likewise.
28916 * misc/brk.c (__brk): Likewise.
28917 * misc/chflags.c (chflags): Likewise.
28918 * misc/chroot.c (chroot): Likewise.
28919 * misc/fchflags.c (fchflags): Likewise.
28920 * misc/fstab.c (getfsspec): Likewise.
28921 (getfsfile): Likewise.
28922 * misc/fsync.c (fsync): Likewise.
28923 * misc/ftruncate.c (__ftruncate): Likewise.
28924 * misc/ftruncate64.c (__ftruncate64): Likewise.
28925 * misc/getdomain.c (getdomainname): Likewise.
28926 (getdomainname): Likewise.
28927 * misc/gethostname.c (__gethostname): Likewise.
28928 * misc/getpass.c (getpass): Likewise.
28929 * misc/getttyent.c (skip): Likewise.
28930 (value): Likewise.
28931 * misc/gtty.c (gtty): Likewise.
28932 * misc/hsearch.c (hsearch): Likewise.
28933 (hcreate): Likewise.
28934 * misc/hsearch_r.c (__hcreate_r): Likewise.
28935 (__hdestroy_r): Likewise.
28936 * misc/ioctl.c (__ioctl): Likewise.
28937 * misc/mkdtemp.c (mkdtemp): Likewise.
28938 * misc/mkostemp.c (mkostemp): Likewise.
28939 * misc/mkostemp64.c (mkostemp64): Likewise.
28940 * misc/mkostemps.c (mkostemps): Likewise.
28941 * misc/mkostemps64.c (mkostemps64): Likewise.
28942 * misc/mkstemp.c (mkstemp): Likewise.
28943 * misc/mkstemp64.c (mkstemp64): Likewise.
28944 * misc/mkstemps.c (mkstemps): Likewise.
28945 * misc/mkstemps64.c (mkstemps64): Likewise.
28946 * misc/mktemp.c (__mktemp): Likewise.
28947 * misc/preadv.c (preadv): Likewise.
28948 * misc/preadv64.c (preadv64): Likewise.
28949 * misc/pwritev.c (pwritev): Likewise.
28950 * misc/pwritev64.c (pwritev64): Likewise.
28951 * misc/readv.c (__readv): Likewise.
28952 * misc/revoke.c (revoke): Likewise.
28953 * misc/setdomain.c (setdomainname): Likewise.
28954 * misc/setegid.c (setegid): Likewise.
28955 * misc/seteuid.c (seteuid): Likewise.
28956 * misc/sethostid.c (sethostid): Likewise.
28957 * misc/sethostname.c (sethostname): Likewise.
28958 * misc/setregid.c (__setregid): Likewise.
28959 * misc/setreuid.c (__setreuid): Likewise.
28960 * misc/sstk.c (sstk): Likewise.
28961 * misc/stty.c (stty): Likewise.
28962 * misc/syscall.c (syscall): Likewise.
28963 * misc/syslog.c (setlogmask): Likewise.
28964 * misc/truncate.c (__truncate): Likewise.
28965 * misc/truncate64.c (truncate64): Likewise.
28966 * misc/ualarm.c (ualarm): Likewise.
28967 * misc/usleep.c (usleep): Likewise.
28968 * misc/ustat.c (ustat): Likewise.
28969 * misc/writev.c (__writev): Likewise.
28970 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28971 * nptl/old_pthread_cond_broadcast.c
28972 (__pthread_cond_broadcast_2_0): Likewise.
28973 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28974 Likewise.
28975 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28976 Likewise.
28977 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28978 Likewise.
28979 * nptl/pt-raise.c (raise): Likewise.
28980 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28981 Likewise.
28982 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28983 * nptl/pthread_barrierattr_destroy.c
28984 (pthread_barrierattr_destroy): Likewise.
28985 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28986 Likewise.
28987 * nptl/pthread_barrierattr_setpshared.c
28988 (pthread_barrierattr_setpshared): Likewise.
28989 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28990 Likewise.
28991 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28992 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28993 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28994 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28995 Likewise.
28996 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28997 Likewise.
28998 * nptl/pthread_condattr_getpshared.c
28999 (pthread_condattr_getpshared): Likewise.
29000 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
29001 Likewise.
29002 * nptl/pthread_condattr_setpshared.c
29003 (pthread_condattr_setpshared): Likewise.
29004 * nptl/pthread_detach.c (pthread_detach): Likewise.
29005 * nptl/pthread_equal.c (__pthread_equal): Likewise.
29006 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
29007 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
29008 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
29009 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
29010 Likewise.
29011 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
29012 Likewise.
29013 * nptl/pthread_mutex_getprioceiling.c
29014 (pthread_mutex_getprioceiling): Likewise.
29015 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
29016 Likewise.
29017 * nptl/pthread_mutexattr_getprotocol.c
29018 (pthread_mutexattr_getprotocol): Likewise.
29019 * nptl/pthread_mutexattr_getpshared.c
29020 (pthread_mutexattr_getpshared): Likewise.
29021 * nptl/pthread_mutexattr_getrobust.c
29022 (pthread_mutexattr_getrobust): Likewise.
29023 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29024 Likewise.
29025 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
29026 Likewise.
29027 * nptl/pthread_mutexattr_setprioceiling.c
29028 (pthread_mutexattr_setprioceiling): Likewise.
29029 * nptl/pthread_mutexattr_setprotocol.c
29030 (pthread_mutexattr_setprotocol): Likewise.
29031 * nptl/pthread_mutexattr_setpshared.c
29032 (pthread_mutexattr_setpshared): Likewise.
29033 * nptl/pthread_mutexattr_setrobust.c
29034 (pthread_mutexattr_setrobust): Likewise.
29035 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
29036 Likewise.
29037 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
29038 Likewise.
29039 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
29040 Likewise.
29041 * nptl/pthread_rwlockattr_getkind_np.c
29042 (pthread_rwlockattr_getkind_np): Likewise.
29043 * nptl/pthread_rwlockattr_getpshared.c
29044 (pthread_rwlockattr_getpshared): Likewise.
29045 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
29046 Likewise.
29047 * nptl/pthread_rwlockattr_setkind_np.c
29048 (pthread_rwlockattr_setkind_np): Likewise.
29049 * nptl/pthread_rwlockattr_setpshared.c
29050 (pthread_rwlockattr_setpshared): Likewise.
29051 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
29052 Likewise.
29053 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
29054 Likewise.
29055 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
29056 Likewise.
29057 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
29058 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
29059 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
29060 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
29061 * nptl/sem_close.c (sem_close): Likewise.
29062 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
29063 * nptl/sem_init.c (__old_sem_init): Likewise.
29064 * nptl/sigaction.c (__sigaction): Likewise.
29065 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29066 * posix/_exit.c (_exit): Likewise.
29067 * posix/alarm.c (alarm): Likewise.
29068 * posix/confstr.c (confstr): Likewise.
29069 * posix/fpathconf.c (__fpathconf): Likewise.
29070 * posix/getgroups.c (__getgroups): Likewise.
29071 * posix/getpgid.c (__getpgid): Likewise.
29072 * posix/group_member.c (__group_member): Likewise.
29073 * posix/pathconf.c (__pathconf): Likewise.
29074 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
29075 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
29076 * posix/setgid.c (__setgid): Likewise.
29077 * posix/setpgid.c (__setpgid): Likewise.
29078 * posix/setuid.c (__setuid): Likewise.
29079 * posix/sleep.c (__sleep): Likewise.
29080 * posix/sysconf.c (__sysconf): Likewise.
29081 * posix/times.c (__times): Likewise.
29082 * posix/uname.c (__uname): Likewise.
29083 * posix/waitid.c (__waitid): Likewise.
29084 * pwd/getpw.c (__getpw): Likewise.
29085 * resolv/base64.c (b64_pton): Likewise.
29086 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29087 * resolv/gethnamaddr.c (Dprintf): Likewise.
29088 (gethostbyname): Likewise.
29089 (gethostbyname2): Likewise.
29090 (gethostbyaddr): Likewise.
29091 (_sethtent): Likewise.
29092 (_gethtbyname): Likewise.
29093 (_gethtbyname2): Likewise.
29094 (_gethtbyaddr): Likewise.
29095 (map_v4v6_address): Likewise.
29096 (map_v4v6_hostent): Likewise.
29097 (addrsort): Likewise.
29098 (ht_sethostent): Likewise.
29099 (ht_gethostbyname): Likewise.
29100 (ht_gethostbyaddr): Likewise.
29101 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
29102 (inet_net_ntop_ipv4): Likewise.
29103 * resolv/inet_neta.c (inet_neta): Likewise.
29104 * resolv/inet_ntop.c (inet_ntop): Likewise.
29105 (inet_ntop4): Likewise.
29106 (inet_ntop6): Likewise.
29107 * resolv/inet_pton.c (__inet_pton): Likewise.
29108 (inet_pton4): Likewise.
29109 (inet_pton6): Likewise.
29110 * resolv/res_debug.c (loc_aton): Likewise.
29111 (loc_ntoa): Likewise.
29112 * resource/getpriority.c (__getpriority): Likewise.
29113 * resource/getrusage.c (__getrusage): Likewise.
29114 * resource/nice.c (nice): Likewise.
29115 * resource/setpriority.c (__setpriority): Likewise.
29116 * resource/setrlimit64.c (setrlimit64): Likewise.
29117 * resource/vlimit.c (vlimit): Likewise.
29118 * resource/vtimes.c (vtimes): Likewise.
29119 * rt/aio_error.c (aio_error): Likewise.
29120 * rt/aio_return.c (aio_return): Likewise.
29121 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
29122 * signal/kill.c (__kill): Likewise.
29123 * signal/killpg.c (killpg): Likewise.
29124 * signal/raise.c (raise): Likewise.
29125 * signal/sigaction.c (__sigaction): Likewise.
29126 * signal/sigaddset.c (sigaddset): Likewise.
29127 * signal/sigaltstack.c (sigaltstack): Likewise.
29128 * signal/sigandset.c (sigandset): Likewise.
29129 * signal/sigblock.c (__sigblock): Likewise.
29130 * signal/sigdelset.c (sigdelset): Likewise.
29131 * signal/sigempty.c (sigemptyset): Likewise.
29132 * signal/sigfillset.c (sigfillset): Likewise.
29133 * signal/sighold.c (sighold): Likewise.
29134 * signal/sigignore.c (sigignore): Likewise.
29135 * signal/sigintr.c (siginterrupt): Likewise.
29136 * signal/sigisempty.c (sigisemptyset): Likewise.
29137 * signal/sigismem.c (sigismember): Likewise.
29138 * signal/signal.c (signal): Likewise.
29139 * signal/sigorset.c (sigorset): Likewise.
29140 * signal/sigpause.c (__sigpause): Likewise.
29141 * signal/sigpending.c (sigpending): Likewise.
29142 * signal/sigprocmask.c (__sigprocmask): Likewise.
29143 * signal/sigrelse.c (sigrelse): Likewise.
29144 * signal/sigreturn.c (__sigreturn): Likewise.
29145 * signal/sigset.c (sigset): Likewise.
29146 * signal/sigsetmask.c (__sigsetmask): Likewise.
29147 * signal/sigstack.c (sigstack): Likewise.
29148 * signal/sigsuspend.c (__sigsuspend): Likewise.
29149 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29150 * signal/sysv_signal.c (__sysv_signal): Likewise.
29151 * socket/accept.c (accept): Likewise.
29152 * socket/accept4.c (__libc_accept4): Likewise.
29153 * socket/bind.c (__bind): Likewise.
29154 * socket/connect.c (__connect): Likewise.
29155 * socket/getpeername.c (getpeername): Likewise.
29156 * socket/getsockname.c (__getsockname): Likewise.
29157 * socket/getsockopt.c (getsockopt): Likewise.
29158 * socket/listen.c (__listen): Likewise.
29159 * socket/recv.c (__recv): Likewise.
29160 * socket/recvmsg.c (__recvmsg): Likewise.
29161 * socket/send.c (__send): Likewise.
29162 * socket/sendmsg.c (__sendmsg): Likewise.
29163 * socket/shutdown.c (shutdown): Likewise.
29164 * socket/sockatmark.c (sockatmark): Likewise.
29165 * socket/socket.c (__socket): Likewise.
29166 * stdio-common/ctermid.c (ctermid): Likewise.
29167 * stdio-common/cuserid.c (cuserid): Likewise.
29168 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29169 * stdio-common/remove.c (remove): Likewise.
29170 * stdio-common/rename.c (rename): Likewise.
29171 * stdio-common/renameat.c (renameat): Likewise.
29172 * stdio-common/tempname.c (__gen_tempname): Likewise.
29173 * stdio-common/xbug.c (InitBuffer): Likewise.
29174 (AppendToBuffer): Likewise.
29175 (ReadFile): Likewise.
29176 * stdlib/a64l.c (a64l): Likewise.
29177 * stdlib/drand48_r.c (drand48_r): Likewise.
29178 * stdlib/getcontext.c (getcontext): Likewise.
29179 * stdlib/getenv.c (getenv): Likewise.
29180 * stdlib/l64a.c (l64a): Likewise.
29181 * stdlib/llabs.c (llabs): Likewise.
29182 * stdlib/lldiv.c (lldiv): Likewise.
29183 * stdlib/lrand48_r.c (lrand48_r): Likewise.
29184 * stdlib/mrand48_r.c (mrand48_r): Likewise.
29185 * stdlib/putenv.c (putenv): Likewise.
29186 * stdlib/random.c (__srandom): Likewise.
29187 (__initstate): Likewise.
29188 (__setstate): Likewise.
29189 * stdlib/random_r.c (__srandom_r): Likewise.
29190 (__setstate_r): Likewise.
29191 (__random_r): Likewise.
29192 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29193 * stdlib/setcontext.c (setcontext): Likewise.
29194 * stdlib/setenv.c (setenv): Likewise.
29195 (unsetenv): Likewise.
29196 * stdlib/srand48.c (srand48): Likewise.
29197 * stdlib/srand48_r.c (__srand48_r): Likewise.
29198 * stdlib/swapcontext.c (swapcontext): Likewise.
29199 * stdlib/system.c (__libc_system): Likewise.
29200 * stdlib/tst-strtod.c (expand): Likewise.
29201 * stdlib/tst-strtol.c (expand): Likewise.
29202 * stdlib/tst-strtoll.c (expand): Likewise.
29203 * streams/fattach.c (fattach): Likewise.
29204 * streams/fdetach.c (fdetach): Likewise.
29205 * streams/getmsg.c (getmsg): Likewise.
29206 * streams/isastream.c (isastream): Likewise.
29207 * string/ffs.c (__ffs): Likewise.
29208 * string/ffsll.c (ffsll): Likewise.
29209 * string/memcmp.c (memcmp_common_alignment): Likewise.
29210 (memcmp_not_common_alignment): Likewise.
29211 (MEMCMP): Likewise.
29212 * string/memcpy.c (memcpy): Likewise.
29213 * string/memmove.c (MEMMOVE): Likewise.
29214 * string/memset.c (memset): Likewise.
29215 * string/rawmemchr.c (RAWMEMCHR): Likewise.
29216 * string/strchrnul.c (STRCHRNUL): Likewise.
29217 * string/strerror.c (strerror): Likewise.
29218 * string/strndup.c (__strndup): Likewise.
29219 * string/strverscmp.c (__strverscmp): Likewise.
29220 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29221 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29222 (clnttcp_freeres): Likewise.
29223 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29224 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29225 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29226 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29227 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29228 (xdr_callhdr): Likewise.
29229 * sunrpc/rpcinfo.c (udpping): Likewise.
29230 (tcpping): Likewise.
29231 (pstatus): Likewise.
29232 (pmapdump): Likewise.
29233 (brdcst): Likewise.
29234 (deletereg): Likewise.
29235 (getprognum): Likewise.
29236 (getvers): Likewise.
29237 (get_inet_address): Likewise.
29238 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29239 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29240 (svcudp_stat): Likewise.
29241 (svcudp_recv): Likewise.
29242 (svcudp_reply): Likewise.
29243 (svcudp_getargs): Likewise.
29244 (svcudp_freeargs): Likewise.
29245 (svcudp_destroy): Likewise.
29246 * sunrpc/xdr.c (xdr_bytes): Likewise.
29247 (xdr_netobj): Likewise.
29248 (xdr_string): Likewise.
29249 (xdr_wrapstring): Likewise.
29250 * sunrpc/xdr_float.c (xdr_float): Likewise.
29251 (xdr_double): Likewise.
29252 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29253 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29254 * sysvipc/ftok.c (ftok): Likewise.
29255 * sysvipc/msgctl.c (msgctl): Likewise.
29256 * sysvipc/msgget.c (msgget): Likewise.
29257 * sysvipc/msgrcv.c (msgrcv): Likewise.
29258 * sysvipc/msgsnd.c (msgsnd): Likewise.
29259 * sysvipc/semget.c (semget): Likewise.
29260 * sysvipc/semop.c (semop): Likewise.
29261 * sysvipc/shmat.c (shmat): Likewise.
29262 * sysvipc/shmctl.c (shmctl): Likewise.
29263 * sysvipc/shmdt.c (shmdt): Likewise.
29264 * sysvipc/shmget.c (shmget): Likewise.
29265 * termios/cfmakeraw.c (cfmakeraw): Likewise.
29266 * termios/speed.c (cfgetospeed): Likewise.
29267 (cfgetispeed): Likewise.
29268 (cfsetospeed): Likewise.
29269 (cfsetispeed): Likewise.
29270 * termios/tcflow.c (tcflow): Likewise.
29271 * termios/tcflush.c (tcflush): Likewise.
29272 * termios/tcgetattr.c (__tcgetattr): Likewise.
29273 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29274 * termios/tcgetsid.c (tcgetsid): Likewise.
29275 * termios/tcsendbrk.c (tcsendbreak): Likewise.
29276 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29277 * time/adjtime.c (__adjtime): Likewise.
29278 * time/dysize.c (dysize): Likewise.
29279 * time/ftime.c (ftime): Likewise.
29280 * time/getitimer.c (__getitimer): Likewise.
29281 * time/gettimeofday.c (__gettimeofday): Likewise.
29282 * time/gmtime.c (__gmtime_r): Likewise.
29283 (gmtime): Likewise.
29284 * time/localtime.c (__localtime_r): Likewise.
29285 (localtime): Likewise.
29286 * time/offtime.c (__offtime): Likewise.
29287 * time/settimeofday.c (__settimeofday): Likewise.
29288 * time/stime.c (stime): Likewise.
29289 * time/strftime_l.c (tm_diff): Likewise.
29290 (iso_week_days): Likewise.
29291 * time/strptime.c (strptime): Likewise.
29292 * time/time.c (time): Likewise.
29293 * time/timespec_get.c (timespec_get): Likewise.
29294 * time/tzset.c (tzset_internal): Likewise.
29295 (compute_change): Likewise.
29296 (__tz_compute): Likewise.
29297 * wcsmbs/btowc.c (__btowc): Likewise.
29298 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29299 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29300 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29301 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29302 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29303 * wcsmbs/wcscat.c (__wcscat): Likewise.
29304 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29305 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29306 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29307 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29308 * wcsmbs/wcsdup.c (wcsdup): Likewise.
29309 * wcsmbs/wcslen.c (__wcslen): Likewise.
29310 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29311 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29312 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29313 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29314 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29315 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29316 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29317 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29318 * wcsmbs/wcstok.c (wcstok): Likewise.
29319 * wcsmbs/wctob.c (wctob): Likewise.
29320 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29321 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29322 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29323 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29324 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29325 * wcsmbs/wmemset.c (__wmemset): Likewise.
29326 * wctype/wcfuncs.c (__towlower): Likewise.
29327 (__towupper): Likewise.
29328
29329 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29330 (lll_unlock_elision): Add adapt_count parameter.
29331
29332 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29333
29334 * sysdeps/nptl/configure.ac: Do not give errors based on the
29335 results of top-level configure tests.
29336 * sysdeps/nptl/configure: Regenerated.
29337
29338 * configure.ac (libc_cv_Bgroup): Remove configure test.
29339 * configure: Regenerated.
29340 * config.make.in (have-Bgroup): Remove variable.
29341
29342 * configure.ac (sizeof_long_double): Remove configure test.
29343 * configure: Regenerated.
29344 * config.make.in (sizeof-long-double): Remove variable.
29345
29346 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29347 * configure: Regenerated.
29348 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29349 variable.
29350 (exceptions): Likewise.
29351 * sysdeps/arm/configure: Regenerated.
29352 * config.make.in (exceptions): Remove variable.
29353 * Makeconfig (uses-callbacks): Use -fexceptions instead of
29354 $(exceptions).
29355 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29356 (CFLAGS-vdprintf_chk.c): Likewise.
29357 (CFLAGS-printf_chk.c): Likewise.
29358 (CFLAGS-fprintf_chk.c): Likewise.
29359 (CFLAGS-vprintf_chk.c): Likewise.
29360 (CFLAGS-vfprintf_chk.c): Likewise.
29361 (CFLAGS-gets_chk.c): Likewise.
29362 (CFLAGS-fgets_chk.c): Likewise.
29363 (CFLAGS-fgets_u_chk.c): Likewise.
29364 (CFLAGS-fread_chk.c): Likewise.
29365 (CFLAGS-fread_u_chk.c): Likewise.
29366 (CFLAGS-wprintf_chk.c): Likewise.
29367 (CFLAGS-fwprintf_chk.c): Likewise.
29368 (CFLAGS-vwprintf_chk.c): Likewise.
29369 (CFLAGS-vfwprintf_chk.c): Likewise.
29370 (CFLAGS-fgetws_chk.c): Likewise.
29371 (CFLAGS-fgetws_u_chk.c): Likewise.
29372 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29373 (CFLAGS-fputc.c): Likewise.
29374 (CFLAGS-fputwc.c): Likewise.
29375 (CFLAGS-freopen64.c): Likewise.
29376 (CFLAGS-freopen.c): Likewise.
29377 (CFLAGS-fseek.c): Likewise.
29378 (CFLAGS-fseeko64.c): Likewise.
29379 (CFLAGS-fseeko.c): Likewise.
29380 (CFLAGS-ftello64.c): Likewise.
29381 (CFLAGS-ftello.c): Likewise.
29382 (CFLAGS-fwide.c): Likewise.
29383 (CFLAGS-genops.c): Likewise.
29384 (CFLAGS-getc.c): Likewise.
29385 (CFLAGS-getchar.c): Likewise.
29386 (CFLAGS-getwc.c): Likewise.
29387 (CFLAGS-getwchar.c): Likewise.
29388 (CFLAGS-iofclose.c): Likewise.
29389 (CFLAGS-iofflush.c): Likewise.
29390 (CFLAGS-iofgetpos64.c): Likewise.
29391 (CFLAGS-iofgetpos.c): Likewise.
29392 (CFLAGS-iofgets.c): Likewise.
29393 (CFLAGS-iofgetws.c): Likewise.
29394 (CFLAGS-iofputs.c): Likewise.
29395 (CFLAGS-iofputws.c): Likewise.
29396 (CFLAGS-iofread.c): Likewise.
29397 (CFLAGS-iofsetpos64.c): Likewise.
29398 (CFLAGS-iofsetpos.c): Likewise.
29399 (CFLAGS-ioftell.c): Likewise.
29400 (CFLAGS-iofwrite.c): Likewise.
29401 (CFLAGS-iogetdelim.c): Likewise.
29402 (CFLAGS-iogetline.c): Likewise.
29403 (CFLAGS-iogets.c): Likewise.
29404 (CFLAGS-iogetwline.c): Likewise.
29405 (CFLAGS-ioputs.c): Likewise.
29406 (CFLAGS-ioseekoff.c): Likewise.
29407 (CFLAGS-ioseekpos.c): Likewise.
29408 (CFLAGS-iosetbuffer.c): Likewise.
29409 (CFLAGS-iosetvbuf.c): Likewise.
29410 (CFLAGS-ioungetc.c): Likewise.
29411 (CFLAGS-ioungetwc.c): Likewise.
29412 (CFLAGS-oldfileops.c): Likewise.
29413 (CFLAGS-oldiofclose.c): Likewise.
29414 (CFLAGS-oldiofgetpos64.c): Likewise.
29415 (CFLAGS-oldiofgetpos.c): Likewise.
29416 (CFLAGS-oldiofsetpos64.c): Likewise.
29417 (CFLAGS-oldiofsetpos.c): Likewise.
29418 (CFLAGS-peekc.c): Likewise.
29419 (CFLAGS-putc.c): Likewise.
29420 (CFLAGS-putchar.c): Likewise.
29421 (CFLAGS-putwc.c): Likewise.
29422 (CFLAGS-putwchar.c): Likewise.
29423 (CFLAGS-rewind.c): Likewise.
29424 (CFLAGS-wfileops.c): Likewise.
29425 (CFLAGS-wgenops.c): Likewise.
29426 (CFLAGS-oldiofopen.c): Likewise.
29427 (CFLAGS-iofopen.c): Likewise.
29428 (CFLAGS-iofopen64.c): Likewise.
29429 (CFLAGS-oldtmpfile.c): Likewise.
29430 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29431 (CFLAGS-fprintf.c): Likewise.
29432 (CFLAGS-printf.c): Likewise.
29433 (CFLAGS-vfwprintf.c): Likewise.
29434 (CFLAGS-vfscanf.c): Likewise.
29435 (CFLAGS-vfwscanf.c): Likewise.
29436 (CFLAGS-fscanf.c): Likewise.
29437 (CFLAGS-scanf.c): Likewise.
29438 (CFLAGS-isoc99_vfscanf.c): Likewise.
29439 (CFLAGS-isoc99_vscanf.c): Likewise.
29440 (CFLAGS-isoc99_fscanf.c): Likewise.
29441 (CFLAGS-isoc99_scanf.c): Likewise.
29442 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29443 (CFLAGS-isoc99_fwscanf.c): Likewise.
29444 (CFLAGS-isoc99_vwscanf.c): Likewise.
29445 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29446
29447 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29448 after mkstemp64.
29449 * login/tst-utmp.c (do_prepare): Likewise.
29450 * rt/tst-aio.c (do_prepare): Likewise.
29451 * rt/tst-aio64.c (do_prepare): Likewise.
29452
29453 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29454
29455 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29456 (__lll_lock_elision): Remove adapt_count decrement...
29457 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29458 (__lll_trylock_elision): Likewise.
29459 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29460 (__lll_unlock_elision): ... to here. And utilize
29461 new adapt_count parameter.
29462 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29463 (__lll_unlock_elision): Update to include adapt_count
29464 parameter.
29465 (lll_unlock_elision): Pass pointer to adapt_count
29466 variable.
29467
29468 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29469
29470 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29471 Add elision adapt_count parameter to list of arguments.
29472 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29473 (lll_unlock_elision): Update with new parameter list
29474 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29475 (lll_unlock_elision): Likewise.
29476 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29477 (lll_unlock_elision): Likewise.
29478
29479 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29480
29481 [BZ #19122]
29482 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29483 attribute_hidden.
29484
29485 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29486 attribute_hidden.
29487 [IS_IN (rtld)] (__strdup): Likewise.
29488 [IS_IN (rtld)] (__strerror_r): Likewise.
29489 [IS_IN (rtld)] (__strsep_g): Likewise.
29490 [IS_IN (rtld)] (memchr): Likewise.
29491 [IS_IN (rtld)] (memcmp): Likewise.
29492 [IS_IN (rtld)] (memcpy): Likewise.
29493 [IS_IN (rtld)] (memmove): Likewise.
29494 [IS_IN (rtld)] (memset): Likewise.
29495 [IS_IN (rtld)] (rawmemchr): Likewise.
29496 [IS_IN (rtld)] (stpcpy): Likewise.
29497 [IS_IN (rtld)] (strchr): Likewise.
29498 [IS_IN (rtld)] (strcmp): Likewise.
29499 [IS_IN (rtld)] (strlen): Likewise.
29500 [IS_IN (rtld)] (strnlen): Likewise.
29501 [IS_IN (rtld)] (strsep): Likewise.
29502
29503 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29504 attribute_hidden.
29505 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29506
29507 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29508 attribute_hidden.
29509 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29510
29511 * include/setjmp.h (__longjmp): Add attribute_hidden.
29512 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29513
29514 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29515 Add attribute_hidden.
29516
29517 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29518 [IS_IN (rtld)] (__open): Likewise.
29519 [IS_IN (rtld)] (__fcntl): Likewise.
29520
29521 * include/dirent.h (__opendirat): Add attribute_hidden.
29522 (__getdents): Likewise.
29523 (__getdents64): Likewise.
29524 (__alloc_dir): Likewise.
29525 [IS_IN (rtld)] (__closedir): Likewise.
29526 [IS_IN (rtld)] (__fdopendir): Likewise.
29527 [IS_IN (rtld)] (__readdir): Likewise.
29528 [IS_IN (rtld)] (__readdir64): Likewise.
29529 [IS_IN (rtld)] (__rewinddir): Likewise.
29530
29531 * include/dlfcn.h (_dl_catch_error): Moved to ...
29532 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29533 attribute_hidden.
29534
29535 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29536 (_itoa_word): Likewise.
29537
29538 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29539 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29540 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29541 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29542 (_dl_higher_prime_number): Likewise.
29543 (_dl_debug_printf_c): Likewise.
29544 (_dl_signal_cerror): Likewise.
29545 (_dl_receive_error): Likewise.
29546 (_dl_reloc_bad_type): Likewise.
29547 (_dl_resolve_conflicts): Likewise.
29548 (_dl_check_all_versions): Likewise.
29549 (_dl_check_map_versions): Likewise.
29550 (_dl_sort_fini): Likewise.
29551 (_dl_debug_initialize): Likewise.
29552 (_dl_init_paths): Likewise.
29553 (_dl_show_auxv): Likewise.
29554 (_dl_next_ld_env_entry): Likewise.
29555 (_dl_important_hwcaps): Likewise.
29556 (_dl_load_cache_lookup): Likewise.
29557 (_dl_update_slotinfo): Likewise.
29558 (_dl_show_scope): Likewise.
29559
29560 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29561 attribute_hidden.
29562 (_wordcopy_fwd_dest_aligned): Likewise.
29563 (_wordcopy_bwd_aligned): Likewise.
29564 (_wordcopy_bwd_dest_aligned): Likewise.
29565
29566 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29567 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29568 Likewise.
29569 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29570 Likewise.
29571 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29572
29573 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29576 GCC 5 requirement.
29577
29578 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29579
29580 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29581 test.
29582 * sysdeps/i386/configure: Regenerated.
29583 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29584 code unconditional.
29585
29586 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29587 test.
29588 (libc_cv_asm_popsection_directive): Likewise.
29589 * configure: Regenerated.
29590 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29591 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29592 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29593 (__make_section_unallocated): Make definition unconditional.
29594 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29595 Remove conditional definition.
29596 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29597 (__make_section_unallocated): Likewise.
29598
29599 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29600 * configure: Regenerated.
29601 * config.make.in (static-libgcc): Remove variable.
29602 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29603 $(static-libgcc).
29604 (build-module-helper): Likewise.
29605
29606 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29607 * configure: Regenerated.
29608
29609 2015-10-15 Florian Weimer <fweimer@redhat.com>
29610
29611 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29612 (struct char_buffer): New type.
29613 (char_buffer_start, char_buffer_size, char_buffer_error)
29614 (char_buffer_rewind, char_buffer_add): New functions.
29615 (ADDW): Remove macro, replaced by the char_buffer_add function.
29616 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29617 of extend_alloca. Make control flow more explicit.
29618
29619 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29620
29621 [BZ #19137]
29622 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29623 Add -fomit-frame-pointer.
29624 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29625
29626 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29627
29628 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29629 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29630 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29631 only if !__GNUC_PREREQ (5,0).
29632 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29633 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29634 (INTERNAL_SYSCALL_NCS): Likewise.
29635 (LOADREGS_0): New macro for GCC 5.
29636 (ASMARGS_0): Likewise.
29637 (LOADREGS_1): Likewise.
29638 (ASMARGS_1): Likewise.
29639 (LOADREGS_2): Likewise.
29640 (ASMARGS_2): Likewise.
29641 (LOADREGS_3): Likewise.
29642 (ASMARGS_3): Likewise.
29643 (LOADREGS_4): Likewise.
29644 (ASMARGS_4): Likewise.
29645 (LOADREGS_5): Likewise.
29646 (ASMARGS_5): Likewise.
29647 (LOADREGS_6): Likewise.
29648 (ASMARGS_6): Likewise.
29649
29650 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29651
29652 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29653 -fomit-frame-pointer.
29654 (CFLAGS-mmap64.c): Likewise.
29655 (CFLAGS-semtimedop.c): Likewise.
29656 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29657 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29658 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29659 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29660
29661 2015-10-15 Florian Weimer <fweimer@redhat.com>
29662
29663 [BZ #18928]
29664 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29665 _dl_pointer_guard member.
29666 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29667 initializer.
29668 (security_init): Always set up pointer guard.
29669 (process_envvars): Do not process LD_POINTER_GUARD.
29670
29671 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29672
29673 [BZ #19134]
29674 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29675 (.LC2): Likewise.
29676 (.LC3): Likewise.
29677 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29678
29679 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29680
29681 [BZ #19129]
29682 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29683 r0 and r1.
29684
29685 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29686
29687 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29688
29689 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29690
29691 * include/stap-probe.h: Fix macro definition formatting.
29692
29693 2015-10-14 Florian Weimer <fweimer@redhat.com>
29694
29695 [BZ #19074]
29696 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29697 load and store num_ifs.
29698
29699 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29700
29701 [BZ #18822]
29702 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29703 (__sched_getaffinity_new): Add libc_hidden_proto and
29704 libc_hidden_def.
29705
29706 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 [BZ #19007]
29709 * scripts/localplt.awk: Also allow GOT references.
29710 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29711 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29712 with "+ REL R_386_GLOB_DAT".
29713 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29714 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29715
29716 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29717
29718 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29719 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29720 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29721 Likewise.
29722 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29723 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29724 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29725 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29726 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29727 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29728 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29729 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29730 Likewise.
29731 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29732
29733 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29734
29735 [BZ #19125]
29736 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29737 <math_private.h> and <stdint.h>.
29738 (__llround): Avoid conversions to and from long long int, and
29739 subtractions, where those might raise spurious exceptions.
29740 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29741 <math_private.h> and <stdint.h>.
29742 (__llroundf): Avoid conversions to and from long long int, and
29743 subtractions, where those might raise spurious exceptions.
29744
29745 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29746
29747 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29748 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29749 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29750 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29751 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29752 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29753 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29754 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29755 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29756 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29757 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29758 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29759 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29760 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29761 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29762 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29763 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29764 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29765 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29766 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29767 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29768 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29769 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29770 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29771 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29772 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29773 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29774 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29775 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29776 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29777 (__xstat64_conv): Likewise.
29778 (__xstat32_conv): Likewise.
29779
29780 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29781
29782 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29783 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29784 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29785 <sysdeps/unix/sysv/linux/sysdep.h>.
29786 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29787 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29788 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29789 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29790 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29791 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29792 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29793 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29794 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29799 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29800 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29802 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29803 (sysdep-dl-routines): Add sysdep.
29804 [$(subdir) == nptl] (libpthread-routines): Likewise.
29805 [$(subdir) == rt] (librt-routines): Likewise.
29806 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29807 PIC when branching to SYSCALL_ERROR_LABEL.
29808 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29810 <sysdeps/unix/sysv/linux/sysdep.h>.
29811 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29812 (SYSCALL_ERROR_ERRNO): Removed.
29813 (SYSCALL_ERROR_HANDLER): Changed to empty.
29814 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29815 (__syscall_error): New prototype.
29816 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29817 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29818
29819 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29820
29821 [BZ #19124]
29822 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29823 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29824 _dl_runtime_resolve_avx.
29825 (_dl_runtime_profile_avx512): Make it a hidden alias of
29826 _dl_runtime_profile_avx.
29827
29828 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29829
29830 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29831 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29832 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29833 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29834
29835 [BZ #16422]
29836 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29837 New configure test.
29838 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29839 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29840 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29841 <math_private.h> and <stdint.h>.
29842 (__llrint): Avoid conversions to long long int where those might
29843 raise spurious exceptions.
29844 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29845 <math_private.h> and <stdint.h>.
29846 (__llrintf): Avoid conversions to long long int where those might
29847 raise spurious exceptions.
29848
29849 2015-10-12 Andreas Schwab <schwab@suse.de>
29850
29851 [BZ #18969]
29852 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29853 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29854 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29855 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29856 $(gen-locales).
29857 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29858 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29859 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29860 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29861 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29862 $(gen-locales).
29863 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29864 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29865 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29866 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29867 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29868 ($(objpfx)tst-ftell-active-handler.out)
29869 ($(objpfx)tst-ftell-append.out)
29870 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29871 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29872 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29873 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29874 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29875 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29876 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29877 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29878 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29879 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29880 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29881 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29882 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29883 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29884 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29885 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29886 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29887 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29888 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29889 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29890 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29891 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29892 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29893 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29894 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29895 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29896 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29897 $(gen-locales).
29898 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29899 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29900 $(gen-locales).
29901 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29902 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29903 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29904 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29905 $(gen-locales).
29906 * libio/tst_wprintf2.c (main): Use explicit locale.
29907 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29908
29909 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29910
29911 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29912 __msg_sig_post.
29913 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29914
29915 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29916
29917 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29918 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29919
29920 * sysdeps/arm/libm-test-ulps: Regenerated.
29921
29922 [BZ #15470]
29923 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29924
29925 [BZ #16399]
29926 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29927 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29928 and <fix-fp-int-convert-overflow.h>.
29929 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29930 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29931 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29932 and <fix-fp-int-convert-overflow.h>.
29933 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29934 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29935 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29936 <fix-fp-int-convert-overflow.h>.
29937 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29938 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29939 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29940 <fix-fp-int-convert-overflow.h>.
29941 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29942 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29943 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29944 and <fix-fp-int-convert-overflow.h>.
29945 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29946 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29947 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29948 <limits.h> and <fix-fp-int-convert-overflow.h>.
29949 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29950 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29951 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29952 and <fix-fp-int-convert-overflow.h>.
29953 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29954 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29955 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29956 and <fix-fp-int-convert-overflow.h>.
29957 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29958 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29959 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29960
29961 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29962
29963 [BZ #18589]
29964 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29965 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29966 $(gen-locales).
29967
29968 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29969 Phil Blundell <pb@pbcl.net>
29970
29971 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29972 * nptl/tst-cancel26.c: New file.
29973 * nptl/tst-cancel27.c: Likewise.
29974
29975 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29976
29977 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29978 __ILP32__ isn't defined.
29979 (lrint): Likewise.
29980 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29981 (lrintf): Likewise.
29982 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29983 (lrintl): Likewise.
29984 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29985 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29986 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29987
29988 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29989
29990 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29991 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29992
29993 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29994 file.
29995 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29996 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29997
29998 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29999
30000 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
30001 configure test.
30002 * sysdeps/i386/configure: Regenerated.
30003 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
30004 configure test.
30005 * sysdeps/x86_64/configure: Regenerated.
30006 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
30007 Make code unconditional.
30008
30009 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
30010 test.
30011 * sysdeps/i386/configure: Regenerated.
30012 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
30013 test.
30014 * sysdeps/x86_64/configure: Regenerated.
30015 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
30016 Make code unconditional.
30017 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30018 Likewise.
30019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
30020 Likewise.
30021 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30022 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
30023 code unconditional.
30024 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30025 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
30026 code unconditional.
30027 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30028 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
30029 code unconditional.
30030 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
30031 code unconditional.
30032 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30033 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
30034 code unconditional.
30035 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30036 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
30037 code unconditional.
30038 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30039 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
30040 code unconditional.
30041 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30042 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
30043 code unconditional.
30044 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30045 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
30046
30047 [BZ #19095]
30048 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
30049 mantissa to long int before shifting left.
30050
30051 2015-10-08 Joseph Myers <joseph@codesourcery.com>
30052
30053 [BZ #19094]
30054 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
30055 <limits.h>.
30056 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30057 when result overflows but exception would not result from cast.
30058 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
30059 <limits.h>.
30060 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30061 when result overflows but exception would not result from cast.
30062 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
30063 <limits.h>.
30064 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30065 when result overflows but exception would not result from cast.
30066 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
30067 <limits.h>.
30068 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30069 when result overflows but exception would not result from cast.
30070 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
30071 <limits.h>.
30072 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30073 when result overflows but exception would not result from cast.
30074 * math/libm-test.inc (lrint_test_data): Add more tests.
30075 (llrint_test_data): Likewise.
30076
30077 2015-10-08 Roland McGrath <roland@hack.frob.com>
30078
30079 [BZ #18872]
30080 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
30081 Move out from under [$(run-built-tests) = yes] conditional.
30082 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
30083 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
30084
30085 2015-10-08 Carlos O'Donell <carlos@redhat.com>
30086
30087 [BZ #18589]
30088 * string/Makefile (tests): Add bug-strcoll2.
30089 (LOCALES): Add cs_CZ.UTF-8.
30090 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
30091
30092 [BZ #18589]
30093 * string/bug-strcoll2.c: New file.
30094 * locale/categories.def: Revert commit
30095 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
30096 * locale/langinfo.h: Likewise.
30097 * locale/localeinfo.h: Likewise.
30098 * locale/C-collate.c: Likewise.
30099 * locale/programs/ld-collate.c (collate_output): Likewise.
30100 * string/strcoll_l.c (STRDIFF): Likewise.
30101 (STRCOLL): Likewise.
30102 * wcsmbs/wcscoll_l.c: Likewise.
30103
30104 2015-10-08 Joseph Myers <joseph@codesourcery.com>
30105
30106 * math/libm-test.inc (lround_test_data): Do not expect the absence
30107 of "inexact" for some tests with non-integer arguments.
30108 (llround_test_data): Likewise.
30109
30110 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
30111 test.
30112 (libc_cv_cc_sse2avx): Likewise.
30113 * sysdeps/i386/configure: Regenerated.
30114 * sysdeps/i386/i686/multiarch/Makefile
30115 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
30116 [$(subdir) = math].
30117 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
30118 code unconditional.
30119 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30120 Likewise.
30121 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
30122 Likewise.
30123 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30124 Likewise.
30125 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
30126 test.
30127 (libc_cv_cc_sse2avx): Likewise.
30128 * sysdeps/x86_64/configure: Regenerated.
30129 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
30130 unconditional.
30131 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
30132 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
30133 unconditional.
30134 (_dl_runtime_profile)
30135 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
30136 conditional code.
30137 * sysdeps/x86_64/fpu/multiarch/Makefile
30138 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
30139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30140 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30141 * sysdeps/x86_64/fpu/multiarch/e_exp.c
30142 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30143 * sysdeps/x86_64/fpu/multiarch/e_log.c
30144 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30145 * sysdeps/x86_64/fpu/multiarch/s_atan.c
30146 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30147 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30148 Likewise.
30149 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30150 Likewise.
30151 * sysdeps/x86_64/fpu/multiarch/s_sin.c
30152 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30153 * sysdeps/x86_64/fpu/multiarch/s_tan.c
30154 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30155 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30156 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30157 (HAVE_SSE2AVX_SUPPORT): Likewise.
30158
30159 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
30160
30161 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30162 instead of #pragma optimize.
30163
30164 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30165
30166 [BZ #17195]
30167 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30168 as is similarly done in systrim and _int_free already.
30169
30170 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
30171
30172 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30173
30174 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30175
30176 [BZ #19088]
30177 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30178 <limits.h>.
30179 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30180 overflows but exception would not result from cast.
30181 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30182 and <limits.h>.
30183 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30184 overflows but exception would not result from cast.
30185 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30186 <limits.h>.
30187 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30188 overflows but exception would not result from cast.
30189 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30190 <limits.h>.
30191 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30192 overflows but exception would not result from cast.
30193 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30194 <limits.h>.
30195 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30196 overflows but exception would not result from cast.
30197 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30198 <limits.h>.
30199 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30200 overflows but exception would not result from cast.
30201 * math/libm-test.inc (lround_test_data): Add more tests.
30202 (llround_test_data): Likewise.
30203
30204 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
30205
30206 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30207 (CFLAGS-ialloc.c): Ditto.
30208 (CFLAGS-scheck.c): Ditto.
30209
30210 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30211
30212 [BZ #19086]
30213 * manual/filesys.texi (Storage Allocation): Fix argument order for
30214 posix_fallocate64.
30215
30216 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30217
30218 [BZ #19085]
30219 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30220 exponent below 48 inside case for non-overflowing exponent.
30221 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30222
30223 2015-10-07 Florian Weimer <fweimer@redhat.com>
30224
30225 * iconvdata/cp737.h (from_idx): Add const.
30226 * iconvdata/cp775.h (from_idx): Likewise.
30227
30228 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30229
30230 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30231 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30232 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30233
30234 [BZ #19079]
30235 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30236 file, conditioned on [!_LP64].
30237 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30238 [!_LP64] (__lround): Do not define as function or alias.
30239 [!_LP64] (lround): Likewise.
30240 [!_LP64] (__lroundl): Likewise.
30241 [!_LP64] (lroundl): Likewise.
30242 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30243 macro.
30244 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30245 Likewise.
30246
30247 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30248
30249 * math/libm-test.inc (lrint_test_data): Add more tests.
30250 (llrint_test_data): Likewise.
30251 (lround_test_data): Likewise.
30252 (llround_test_data): Likewise.
30253
30254 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30255 (llrint_test_data): Add tests used for lrint.
30256
30257 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30258 test.
30259 * sysdeps/i386/configure: Regenerated.
30260 * sysdeps/i386/i686/multiarch/Makefile
30261 [$(config-cflags-sse4) = yes]: Make code unconditional.
30262 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30263 Likewise.
30264 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30265 Likewise.
30266 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30267 test.
30268 * sysdeps/x86_64/configure: Regenerated.
30269 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30270 Make code unconditional.
30271 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30272 Likewise.
30273 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30274 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30275
30276 * scripts/rpm2dynsym.sh: Remove file.
30277
30278 2015-10-06 Florian Weimer <fweimer@redhat.com>
30279
30280 * configure.ac (libc_cv_cxx_thread_local): Define.
30281 * configure: Regenerate.
30282 * config.make.in (have-cxx-thread_local): Define.
30283 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30284 (LDLIBS-tst-thread_local1): Define.
30285 (tests): Add tst-thread_local1.
30286 [have-cxx-thread_local != yes] (tests-unsupported): Add
30287 tst-thread_local1.
30288 * nptl/tst-thread_local1.cc: New file.
30289
30290 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30291
30292 [BZ #19078]
30293 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30294 (u_thres): Likewise.
30295 (__expl): Determine whether to call __kernel_standard_l based on
30296 value of result, not argument.
30297
30298 * math/libm-test.inc (scalb_test_data): Add more expectations for
30299 the "inexact" exception.
30300
30301 [BZ #19077]
30302 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30303 0.0L for argument 1.0L.
30304
30305 [BZ #19076]
30306 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30307 constant 0.0L when computing infinite result.
30308
30309 2015-10-06 Florian Weimer <fweimer@redhat.com>
30310
30311 [BZ #10432]
30312 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30313 malloc_usable_size.
30314
30315 2015-10-06 Florian Weimer <fweimer@redhat.com>
30316
30317 [BZ #19018]
30318 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30319 Mangle function pointer before storing it.
30320 (__call_tls_dtors): Demangle function pointer before calling it.
30321
30322 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30323
30324 [BZ #19012]
30325 * iconv/gconv_db.c (gen_steps): Check for additional errors.
30326 Clean up on failure.
30327
30328 2015-10-05 Joseph Myers <joseph@codesourcery.com>
30329
30330 [BZ #19071]
30331 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30332 long int variable to store possibly incremented high part of
30333 mantissa.
30334 * math/libm-test.inc (lround_test_data): Add tests used for
30335 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
30336 for tests requiring 64-bit long. Do not condition tests on
30337 [TEST_FLOAT] unnecessarily.
30338 (llround_test_data): Add tests used for lround. Add another
30339 expectation for the "inexact" exception. Do not condition tests
30340 on [TEST_FLOAT] unnecessarily.
30341
30342 [BZ #887]
30343 [BZ #19049]
30344 [BZ #19050]
30345 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30346 * sysdeps/ieee754/dbl-64/e_log10.c: Include
30347 <fix-int-fp-convert-zero.h>.
30348 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30349 * sysdeps/ieee754/dbl-64/e_log2.c: Include
30350 <fix-int-fp-convert-zero.h>.
30351 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30352 * sysdeps/ieee754/dbl-64/s_erf.c: Include
30353 <fix-int-fp-convert-zero.h>.
30354 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30355 * sysdeps/ieee754/dbl-64/s_logb.c: Include
30356 <fix-int-fp-convert-zero.h>.
30357 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30358 * sysdeps/ieee754/flt-32/e_log10f.c: Include
30359 <fix-int-fp-convert-zero.h>.
30360 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30361 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30362 <fix-int-fp-convert-zero.h>.
30363 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30364 * sysdeps/ieee754/flt-32/s_erff.c: Include
30365 <fix-int-fp-convert-zero.h>.
30366 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30367 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30368 <fix-int-fp-convert-zero.h>.
30369 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30370 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30371 <fix-int-fp-convert-zero.h>.
30372 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30374 <fix-int-fp-convert-zero.h>.
30375 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30376 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30377 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30378 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30379 file.
30380 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30381
30382 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30383
30384 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30385
30386 2015-10-02 Joseph Myers <joseph@codesourcery.com>
30387
30388 [BZ #19059]
30389 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30390 overflowing computation.
30391 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30392 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30394 Likewise.
30395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30396 Likewise.
30397 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30398 Likewise.
30399 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30400 Likewise.
30401 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30402 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30403 Likewise.
30404 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30405 Likewise.
30406 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30407
30408 * nss/rewrite_field.c (__nss_rewrite_field): Use
30409 internal_function.
30410 * nss/valid_field.c (__nss_valid_field): Likewise.
30411 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30412
30413 2015-10-02 Florian Weimer <fweimer@redhat.com>
30414
30415 [BZ #18724]
30416 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30417 (__nss_invalid_field_characters, __nss_valid_field)
30418 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30419 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30420 tst-field.c: New file.
30421 * nss/Makefile (routines): Add valid_field, rewrite_field.
30422 (tests-static): Define unconditionally.
30423 (tests): Include tests-static.
30424 [build-static-nss] (tests-static): Use append.
30425 [build-static-nss] (tests): Remove modification.
30426 * nss/getent.c (print_group): Call putgrent. Report error.
30427 (print_gshadow): Call putsgent. Report error.
30428 (print_passwd): Call putpwent. Report error.
30429 (print_shadow): Call putspent. Report error.
30430 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30431 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30432 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30433 name, password, directory, shell fields for valid syntax. Rewrite
30434 GECOS field to match syntax.
30435 * pwd/Makefile (tests): Add tst-putpwent.
30436 * pwd/tst-putpwent.c: New file.
30437 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30438 Check grName, grpasswd, gr_mem fields for valid syntax.
30439 Change loop variable i to size_t.
30440 * grp/Makefile (tests): Add tst-putgrent.
30441 * grp/tst-putgrent.c: New file.
30442 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30443 valid syntax.
30444 * shadow/Makefile (tests): Add tst-putspent.
30445 * shadow/tst-putspent.c: New file.
30446 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30447 sg_mem fields for valid syntax.
30448 * gshadow/Makefile (tests): Add tst-putsgent.
30449 * gshadow/tst-putsgent.c: New file.
30450
30451 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30452
30453 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30454 assembly instructions.
30455
30456 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30457
30458 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30459 prefix from operands.
30460
30461 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30462
30463 [BZ #16347]
30464 [BZ #19046]
30465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30466 <libc-internal.h>.
30467 (MAXLGM): Do not use diagnostic control macros.
30468 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30469 threshold for ldbl-128ibm.
30470 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30471 instead of multiplying by log then subtracting.
30472 * math/auto-libm-test-in: Add more tests of lgamma.
30473 * math/auto-libm-test-out: Regenerated.
30474
30475 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30476 (TYPE_HEX_DIG): Likewise.
30477 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30478 precisions when printing floating-point numbers.
30479 (check_float_internal): Likewise.
30480
30481 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30482
30483 [BZ #16620]
30484 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30485 of log (10) rounded downward to 48 bits.
30486 (log10_low): Use corresponding low part of log (10).
30487
30488 [BZ #19032]
30489 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30490 compute result as (x - x) / (x - x) not as 0 / 0.
30491 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30492 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30493
30494 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30495 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30496 and expm1.
30497 * math/auto-libm-test-out: Regenerated.
30498 * math/libm-test.inc (acos_test_data): Add more tests.
30499 (asin_test_data): Likewise.
30500 (asinh_test_data): Likewise.
30501 (atan_test_data): Likewise.
30502 (atanh_test_data): Likewise.
30503 (atan2_test_data): Likewise.
30504 (cbrt_test_data): Likewise.
30505 (ceil_test_data): Likewise.
30506 (copysign_test_data): Likewise.
30507 (cos_test_data): Likewise.
30508 (cosh_test_data): Likewise.
30509 (erf_test_data): Likewise.
30510 (erfc_test_data): Likewise.
30511 (exp_test_data): Likewise.
30512 (exp10_test_data): Likewise.
30513 (exp2_test_data): Likewise.
30514 (expm1_test_data): Likewise.
30515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30516
30517 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30518
30519 [BZ #19006]
30520 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30521 to ...
30522 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30523 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30524 to ...
30525 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30526 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30527 to ...
30528 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30529 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30530 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30531 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30532 to ...
30533 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30534 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30535 Moved to ...
30536 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30537 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30538 Moved to ...
30539 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30540 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30541 to ...
30542 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30543 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30544 Moved to ...
30545 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30546 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30547 to ...
30548 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30549 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30550 Removed.
30551 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30552 Likewise.
30553 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30554 Likewise.
30555 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30556 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30557 Likewise.
30558 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30559 Likewise.
30560 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30561 Likewise.
30562 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30563 Likewise.
30564 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30565 Likewise.
30566 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30567 Likewise.
30568 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30569 Likewise.
30570 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30571 Likewise.
30572 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30573 Likewise.
30574 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30575 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30576 Likewise.
30577 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30578 Likewise.
30579 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30580 Likewise.
30581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30582 Likewise.
30583 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30584 Likewise.
30585 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30586 Replace ../i486/pthread_cond_timedwait.S with
30587 ../pthread_cond_timedwait.S.
30588
30589 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30590
30591 * math/libm-test.inc (acos_test_data): Refine expectations for
30592 errno and "inexact" exceptions.
30593 (acosh_test_data): Likewise.
30594 (asin_test_data): Likewise.
30595 (asinh_test_data): Likewise.
30596 (atan_test_data): Likewise.
30597 (atanh_test_data): Likewise.
30598 (atan2_test_data): Likewise.
30599 (cbrt_test_data): Likewise.
30600 (ceil_test_data): Likewise.
30601 (copysign_test_data): Likewise.
30602 (cosh_test_data): Likewise.
30603 (erf_test_data): Likewise.
30604 (erfc_test_data): Likewise.
30605 (exp_test_data): Likewise.
30606 (exp10_test_data): Likewise.
30607 (exp2_test_data): Likewise.
30608 (expm1_test_data): Likewise.
30609 (fabs_test_data): Likewise.
30610 (floor_test_data): Likewise.
30611 (fma_test_data): Likewise.
30612 (fmax_test_data): Likewise.
30613 (fmin_test_data): Likewise.
30614 (fmod_test_data): Likewise.
30615 (fpclassify_test_data): Likewise.
30616 (frexp_test_data): Likewise.
30617 (hypot_test_data): Likewise.
30618 (ilogb_test_data): Likewise.
30619 (isgreater_test_data): Likewise.
30620 (isgreaterequal_test_data): Likewise.
30621 (isinf_test_data): Likewise.
30622 (isless_test_data): Likewise.
30623 (islessequal_test_data): Likewise.
30624 (islessgreater_test_data): Likewise.
30625 (isnan_test_data): Likewise.
30626 (isnormal_test_data): Likewise.
30627 (issignaling_test_data): Likewise.
30628 (isunordered_test_data): Likewise.
30629 (j0_test_data): Likewise.
30630 (j1_test_data): Likewise.
30631 (jn_test_data): Likewise.
30632 (lgamma_test_data): Likewise.
30633 (lrint_test_data): Likewise.
30634 (llrint_test_data): Likewise.
30635 (log_test_data): Likewise.
30636 (log10_test_data): Likewise.
30637 (log1p_test_data): Likewise.
30638 (log2_test_data): Likewise.
30639 (logb_test_data): Likewise.
30640 (lround_test_data): Likewise.
30641 (llround_test_data): Likewise.
30642 (modf_test_data): Likewise.
30643 (nearbyint_test_data): Likewise.
30644 (nextafter_test_data): Likewise.
30645 (nexttoward_test_data): Likewise.
30646 (pow_test_data): Likewise.
30647 (remainder_test_data): Likewise.
30648 (remquo_test_data): Likewise.
30649 (rint_test_data): Likewise.
30650 (round_test_data): Likewise.
30651 (signbit_test_data): Likewise.
30652 (sinh_test_data): Likewise.
30653 (sqrt_test_data): Likewise.
30654 (tanh_test_data): Likewise.
30655 (tgamma_test_data): Likewise.
30656 (trunc_test_data): Likewise.
30657 (y0_test_data): Likewise.
30658 (y1_test_data): Likewise.
30659 (yn_test_data): Likewise.
30660 (significand_test_data): Likewise.
30661
30662 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30663
30664 * manual/filesys.texi (Storage Allocation): Document that
30665 posix_fallocate emulation fails when fd is open with O_WRONLY.
30666
30667 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30668
30669 [BZ #19016]
30670 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30671 allow more cases with X^2 + Y^2 >= 0.5.
30672 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30673 normal element in sum instead of special-casing based on values of
30674 arguments.
30675 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30676 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30677 -1 as normal element in sum instead of special-casing based on
30678 values of arguments.
30679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30680 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30681 (__x2y2m1): Update comment.
30682 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30683 as normal element in sum instead of special-casing based on values
30684 of arguments.
30685 * math/s_clog.c (__clog): Handle more cases using log1p without
30686 hypot.
30687 * math/s_clog10.c (__clog10): Likewise.
30688 * math/s_clog10f.c (__clog10f): Likewise.
30689 * math/s_clog10l.c (__clog10l): Likewise.
30690 * math/s_clogf.c (__clogf): Likewise.
30691 * math/s_clogl.c (__clogl): Likewise.
30692 * math/auto-libm-test-in: Add more tests of clog and clog10.
30693 * math/auto-libm-test-out: Regenerated.
30694 * sysdeps/i386/fpu/libm-test-ulps: Update.
30695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30696
30697 2015-09-28 Martin Sebor <msebor@redhat.com>
30698
30699 [BZ #18969]
30700 * string/Makefile (LOCALES): Define.
30701 (gen-locales.mk): Include.
30702 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30703 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30704 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30705 on setlocale failure.
30706
30707 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30708
30709 [BZ #18985]
30710 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30711 (__strftime_internal): Likewise.
30712 * time/tst-strftime.c (do_bz18985): New test.
30713 (do_test): Call it.
30714
30715 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30716
30717 [BZ #18956]
30718 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30719 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30720 extracting high part.
30721 * math/auto-libm-test-in: Add another test of pow.
30722 * math/auto-libm-test-out: Regenerated.
30723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30724
30725 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30726
30727 [BZ #18825]
30728 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30729 New macro.
30730 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30731 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30732 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30733 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30734 DBL_NARROW_EVAL, reloading the PIC register as needed.
30735 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30736 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30737 FLT_NARROW_EVAL. Use separate return path for case when first
30738 argument is NaN.
30739 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30740 DEFINE_LDBL_MIN.
30741 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30742 PIC register.
30743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30744 math_check_force_underflow_nonneg.
30745 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30746 underflow for subnormal result.
30747 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30749 math_check_force_underflow_nonneg.
30750 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30751 math_check_force_underflow.
30752 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30753 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30754 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30755 DEFINE_LDBL_MIN.
30756 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30757 * math/auto-libm-test-in: Add more tests of pow.
30758 * math/auto-libm-test-out: Regenerated.
30759
30760 2015-09-25 Florian Weimer <fweimer@redhat.com>
30761
30762 * nss/bug17079.c (init_test_items): Add diagnostic for
30763 inconsistent entries.
30764 (test_buffer_size): Skip inconsistent entries.
30765
30766 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30767
30768 [BZ #13304]
30769 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30770 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30771 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30772
30773 [BZ #13304]
30774 * sysdeps/microblaze/s_fma.c: New file.
30775 * sysdeps/microblaze/s_fmaf.c: Likewise.
30776 * sysdeps/microblaze/sfp-machine.h: Likewise.
30777
30778 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30779
30780 [BZ #17250]
30781 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30782 member.
30783
30784 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30785
30786 [BZ #18803]
30787 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30788 (MO): New macro.
30789 (__ieee754_hypot) [PIC]: Load PIC register.
30790 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30791 DBL_NARROW_EVAL.
30792 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30793 math_check_force_underflow_nonneg in case where result might be
30794 tiny.
30795 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30796 Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30798 Likewise.
30799 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30800 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30801 * math/auto-libm-test-in: Add more tests of hypot.
30802 * math/auto-libm-test-out: Regenerated.
30803
30804 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30805
30806 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30807
30808 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30809
30810 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30811 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30812 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30813 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30814 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30815 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30816 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30817
30818 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30819 LOAD_PIC_REG.
30820
30821 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30822 (FLT_CHECK_FORCE_UFLOW): Likewise.
30823 (DBL_CHECK_FORCE_UFLOW): Likewise.
30824 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30825 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30826 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30827 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30828 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30829 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30830 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30831 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30832 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30833 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30834 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30835 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30836 (flt_min): Replace with use of DEFINE_FLT_MIN.
30837 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30838 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30839 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30840 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30841 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30842 (flt_min): Replace with use of DEFINE_FLT_MIN.
30843 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30844 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30845 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30846 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30847 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30848 (flt_min): Replace with use of DEFINE_FLT_MIN.
30849 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30850 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30851 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30852 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30853 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30854 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30855 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30856 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30857 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30858 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30859 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30860 (flt_min): Replace with use of DEFINE_FLT_MIN.
30861 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30862 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30863 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30864 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30865 main computation.
30866 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30867 (flt_min): Replace with use of DEFINE_FLT_MIN.
30868 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30869 main computation.
30870 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30871 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30872 (MO): New macro.
30873 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30874 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30875 (flt_min): Replace with use of DEFINE_FLT_MIN.
30876 (MO): New macro.
30877 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30878 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30879 (__log1pl): Use MO.
30880
30881 [BZ #19003]
30882 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30883 $(config-cflags-nofma).
30884
30885 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30886
30887 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30888
30889 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30890
30891 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30892 (TWO127): Likewise.
30893
30894 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30895 (min_of_type): Likewise.
30896 (math_check_force_underflow): Likewise.
30897 (math_check_force_underflow_nonneg): Likewise.
30898 (math_check_force_underflow_complex): Likewise.
30899 * math/e_exp2l.c (__ieee754_exp2l): Use
30900 math_check_force_underflow_nonneg.
30901 * math/k_casinh.c (__kernel_casinh): Likewise.
30902 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30903 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30904 * math/s_catan.c (__catan): Use
30905 math_check_force_underflow_complex.
30906 * math/s_catanf.c (__catanf): Likewise.
30907 * math/s_catanh.c (__catanh): Likewise.
30908 * math/s_catanhf.c (__catanhf): Likewise.
30909 * math/s_catanhl.c (__catanhl): Likewise.
30910 * math/s_catanl.c (__catanl): Likewise.
30911 * math/s_ccosh.c (__ccosh): Likewise.
30912 * math/s_ccoshf.c (__ccoshf): Likewise.
30913 * math/s_ccoshl.c (__ccoshl): Likewise.
30914 * math/s_cexp.c (__cexp): Likewise.
30915 * math/s_cexpf.c (__cexpf): Likewise.
30916 * math/s_cexpl.c (__cexpl): Likewise.
30917 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30918 * math/s_clog10.c (__clog10): Likewise.
30919 * math/s_clog10f.c (__clog10f): Likewise.
30920 * math/s_clog10l.c (__clog10l): Likewise.
30921 * math/s_clogf.c (__clogf): Likewise.
30922 * math/s_clogl.c (__clogl): Likewise.
30923 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30924 * math/s_csinf.c (__csinf): Likewise.
30925 * math/s_csinh.c (__csinh): Likewise.
30926 * math/s_csinhf.c (__csinhf): Likewise.
30927 * math/s_csinhl.c (__csinhl): Likewise.
30928 * math/s_csinl.c (__csinl): Likewise.
30929 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30930 * math/s_csqrtf.c (__csqrtf): Likewise.
30931 * math/s_csqrtl.c (__csqrtl): Likewise.
30932 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30933 * math/s_ctanf.c (__ctanf): Likewise.
30934 * math/s_ctanh.c (__ctanh): Likewise.
30935 * math/s_ctanhf.c (__ctanhf): Likewise.
30936 * math/s_ctanhl.c (__ctanhl): Likewise.
30937 * math/s_ctanl.c (__ctanl): Likewise.
30938 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30939 instead of volatile.
30940 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30941 math_check_force_underflow.
30942 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30943 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30944 volatile when forcing underflow.
30945 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30946 math_check_force_underflow_nonneg.
30947 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30948 Likewise.
30949 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30950 math_check_force_underflow.
30951 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30952 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30953 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30954 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30955 math_check_force_underflow_nonneg.
30956 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30957 math_check_force_underflow.
30958 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30960 instead of volatile.
30961 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30962 math_check_force_underflow.
30963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30964 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30965 math_check_force_underflow_nonneg.
30966 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30967 math_check_force_underflow.
30968 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30969 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30970 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30971 math_check_force_underflow_nonneg.
30972 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30973 Likewise.
30974 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30975 math_check_force_underflow.
30976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30977 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30978 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30979 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30980 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30981 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30982 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30983 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30984 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30985 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30986 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30987 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30988 Likewise.
30989 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30990 math_check_force_underflow_nonneg.
30991 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30992 Likewise.
30993 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30994 math_check_force_underflow.
30995 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30996 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30997 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30998 Likewise.
30999 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31000 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
31001 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
31002 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
31003 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
31004 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
31005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
31006 instead of volatile.
31007 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
31008 math_check_force_underflow.
31009 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
31011 math_check_force_underflow.
31012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
31013 Likewise.
31014 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31015 Use math_check_force_underflow_nonneg.
31016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
31017 math_check_force_underflow.
31018 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
31019 Likewise.
31020 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31021 Likewise.
31022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31023 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
31027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31028 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31029 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31030 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
31031 math_check_force_underflow_nonneg.
31032 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
31033 math_check_force_underflow.
31034 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31035 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31036 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
31037 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
31038 math_check_force_underflow_nonneg.
31039 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
31040 math_check_force_underflow.
31041 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
31043 instead of volatile.
31044 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
31045 math_check_force_underflow.
31046
31047 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
31048 * stdlib/strtod_l.c: Include <math_private.h>.
31049 (overflow_value): Use math_narrow_eval.
31050 (underflow_value): Likewise.
31051 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31052 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31053 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
31054 (__ieee754_gamma_r): Likewise.
31055 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
31056 Likewise.
31057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
31058 Likewise.
31059 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
31060 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
31061 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31062 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31063 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
31064 (__ieee754_gammaf_r): Likewise.
31065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
31066 Likewise.
31067 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
31068 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
31069 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31070 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31071 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
31072 volatile.
31073 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31074 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
31075 math_narrow_eval.
31076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
31077 Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31079 Likewise.
31080 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
31081 Likewise.
31082 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
31083 volatile.
31084 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
31086 math_narrow_eval.
31087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31088 Likewise.
31089 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31090 Likewise.
31091
31092 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
31093
31094 * nptl/Versions: Remove ignored symbols.
31095
31096 2015-09-22 Florian Weimer <fweimer@redhat.com>
31097
31098 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
31099 * nss/Makefile (tests): Update.
31100
31101 2015-09-22 Florian Weimer <fweimer@redhat.com>
31102
31103 * nss/bug18287.c: New file.
31104 * nss/Makefile (tests): Add bug18287.
31105
31106 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31107
31108 * mach/Versions (__mach_host_self_): Add symbol.
31109
31110 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
31111
31112 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
31113 vm_page_size.
31114
31115 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
31116
31117 Really fix sysdeps/i386/fpu/s_scalbn.S build
31118
31119 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
31120 (libc: GLIBC_2_22): Remove unused version set.
31121
31122 2015-09-18 Mike Frysinger <vapier@gentoo.org>
31123
31124 * config.make.in (enable-timezone-tools): New variable.
31125 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
31126 (enable_timezone_tools): Export to generated files.
31127 * configure: Regenerate.
31128 * INSTALL: Regenerate.
31129 * manual/install.texi (--disable-timezone-tools): Document new flag.
31130 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
31131 ifeq ($(enable-timezone-tools),yes) check.
31132
31133 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31134
31135 * timezone/Makefile: Revert previous change.
31136
31137 [BZ #18980]
31138 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
31139 (DEFINE_DBL_MIN): Likewise.
31140 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31141 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31142 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31143 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31144 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
31145 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31146 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31147 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
31148 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
31149 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31150 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31151 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31152 (flt_min): Replace with use of DEFINE_FLT_MIN.
31153 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31154 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31155 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31156 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31157 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31158 (flt_min): Replace with use of DEFINE_FLT_MIN.
31159 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31160 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31161 (flt_min): Replace with use of DEFINE_FLT_MIN.
31162 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31163 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31164 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31165 (__ieee754_hypot): Use DBL_NARROW_EVAL.
31166 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31167 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31168 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31169 (__ieee754_pow): Use DBL_NARROW_EVAL.
31170 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31171 (__ieee754_powf): Use FLT_NARROW_EVAL.
31172 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31173 (__ieee754_expf_sse2): Convert double-precision result to single
31174 precision.
31175 * sysdeps/i386/fpu/libm-test-ulps: Update.
31176
31177 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31178
31179 * timezone/Makefile: Ignore unused variable errors due to private.h
31180 (time_t_min) and (time_t_max).
31181 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
31182 Likewise.
31183
31184 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31185
31186 [BZ #18981]
31187 * sysdeps/i386/fpu/i386-math-asm.h: New file.
31188 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31189 (__ieee754_scalb): Use DBL_NARROW_EVAL.
31190 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31191 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31192 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31193 (__scalbn): Use DBL_NARROW_EVAL.
31194 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31195 (__scalbnf): Use FLT_NARROW_EVAL.
31196
31197 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31198
31199 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31200 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31201 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31202 * stdio-common/printf_fp.c (___printf_fp):
31203 Use signbit to get the sign. Use isinf macro to allow inlining.
31204 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31205 * stdio-common/printf_size.c (__printf_size): Likewise.
31206
31207 2015-09-18 Mike Frysinger <vapier@gentoo.org>
31208
31209 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31210
31211 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31212
31213 [BZ #18980]
31214 * sysdeps/generic/math_private.h: Include <float.h>.
31215 (math_narrow_eval): New macro.
31216 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31217 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31218 math_narrow_eval on overflowing return value.
31219 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31220 Likewise.
31221 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31222 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31223 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31224 Likewise.
31225 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31226
31227 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31228
31229 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31230 * math/Makefile: Remove isinf_ns.c.
31231 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31232 * math/multc3.c (__multc3): Likewise.
31233 * math/s_casin.c (__casin): Likewise.
31234 * math/s_casinf.c (__casinf): Likewise.
31235 * math/s_casinl.c (__casinl): Likewise.
31236 * math/s_cproj.c (__cproj): Likewise.
31237 * math/s_cprojf.c (__cprojf): Likewise.
31238 * math/s_cprojl.c (__cprofl): Likewise.
31239 * math/s_ctan.c (__ctan): Likewise.
31240 * math/s_ctanf.c (__ctanf): Likewise.
31241 * math/s_ctanh.c (__ctanh): Likewise.
31242 * math/s_ctanhf.c (__ctanhf): Likewise.
31243 * math/s_ctanhl.c (__ctanhl): Likewise.
31244 * math/s_ctanl.c (__ctanl): Likewise.
31245 * math/w_fmod.c (__fmod): Likewise.
31246 * math/w_fmodf.c (__fmodf): Likewise.
31247 * math/w_fmodl.c (_fmodl): Likewise.
31248 * math/w_remainder.c (__remainder): Likewise.
31249 * math/w_remainderf.c (__remainderf): Likewise.
31250 * math/w_remainderl.c (__remainderl): Likewise.
31251 * math/w_scalb.c (__scalb): Likewise.
31252 * math/w_scalbf.c (__scalbf): Likewise.
31253 * math/w_scalbl.c (__scalbl): Likewise.
31254 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31255 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31256 with isinf.
31257 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31259 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31260 __isinf_nsf with isinf.
31261 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31262 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31263 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31264 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31265 with isinf.
31266 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31267 __isinf_nsl with isinf.
31268 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31269 with isinf.
31270 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31271 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31272 __isinf_nsl with isinf.
31273 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31274 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31275 with isinf.
31276
31277 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31278
31279 * resolv/base64.c (rcsid): Remove unused static.
31280 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31281 static. (tqpi1): Likewise.
31282 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31283 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31284 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31285 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31286 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31287 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31288 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31289 * timezone/private.h (time_t_min): Likewise. (time_t_max):
31290 Likewise.
31291
31292 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
31293
31294 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31295 <nptl/pthreadP.h>.
31296 (_longjmp_unwind): Use __libc_ptf_call.
31297 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31298
31299 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
31300
31301 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31302 * sysdeps/arm/__longjmp.S: Likewise.
31303
31304 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31305
31306 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31307 Use __builtin_signbit.
31308 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31309 Use __builtin_signbitf.
31310 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31311 Use __builtin_signbitl.
31312 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31313 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31314
31315 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31316
31317 [BZ #15367]
31318 [BZ #17441]
31319
31320 * math/Makefile: Build test-snan.c with -fsignaling-nans.
31321 * math/math.h (fpclassify): Use __builtin_fpclassify when
31322 available. (signbit): Use __builtin_signbit(f/l).
31323 (isfinite): Use__builtin_isfinite. (isnormal): Use
31324 __builtin_isnormal. (isnan): Use __builtin_isnan.
31325 (isinf): Use __builtin_isinf_sign.
31326
31327 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31328
31329 * benchtests/Makefile: Add bench-math-inlines, link with libm.
31330 * benchtests/bench-math-inlines.c: New benchmark.
31331 * benchtests/bench-util.h: New file.
31332 * benchtests/bench-util.c: New file.
31333 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31334
31335 2015-09-18 Carlos O'Donell <carlos@redhat.com>
31336
31337 * elf/tst-dlmopen1.c: Define TEST_SO.
31338 (do_test): Use TEST_SO.
31339
31340 * elf/dl-load.c: Include libc-internal.h.
31341 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31342
31343 2015-09-18 Vincent Bernat <vincent@bernat.im>
31344
31345 [BZ #17887]
31346 * time/strptime_l.c (__strptime_internal): Make %z accept
31347 [+-]HH:MM time zones.
31348
31349 2015-09-18 Vincent Bernat <vincent@bernat.im>
31350
31351 [BZ #17886]
31352 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31353 valid time zone.
31354
31355 2015-09-17 Mike Frysinger <vapier@gentoo.org>
31356
31357 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31358 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31359 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31360 (__ASSUME_FDATASYNC): Delete.
31361
31362 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31363
31364 * conform/linknamespace.pl: Require weak undefined symbols to be
31365 in the standard namespace.
31366 (%strong_syms): Rename to %seen_syms.
31367 (%strong_seen): Rename to %seen_where.
31368
31369 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31370
31371 [BZ #18970]
31372 * misc/error.c (error): Replace pthread_setcancelstate with
31373 __pthread_setcancelstate.
31374 (error_at_line): Likewise.
31375 * posix/wordexp.c (parse_comm): Likewise.
31376 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31377 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31378 (__pthread_setcancelstate): This.
31379 (pthread_setcancelstate): Add an alias.
31380 * nptl/nptl-init.c (pthread_functions): Replace
31381 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31382 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31383 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31384 hidden_proto.
31385 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31386 it with hidden_def.
31387 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31388 (pthread_setcancelstate): Renamed to ...
31389 (__pthread_setcancelstate): This.
31390 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31391 __libc_ptf_call with __pthread_setcancelstate.
31392
31393 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31394 Andreas Schwab <schwab@suse.de>
31395
31396 [BZ #17118]
31397 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31398 result when imaginary part of argument is infinite using sine and
31399 cosine.
31400 * math/s_ctanf.c (__ctanf): Likewise.
31401 * math/s_ctanl.c (__ctanl): Likewise.
31402 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31403 of result when real part of argument is infinite using sine and
31404 cosine.
31405 * math/s_ctanhf.c (__ctanhf): Likewise.
31406 * math/s_ctanhl.c (__ctanhl): Likewise.
31407 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31408 (ctanh_test_data): Add more tests of ctanh.
31409
31410 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31411
31412 [BZ #15384]
31413 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31414 bit-mask as in subtraction.
31415 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31416 Likewise.
31417 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31418 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31419 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31420
31421 [BZ #18951]
31422 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31423 underflow exception for small results.
31424 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31425 Likewise.
31426 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31427 Likewise.
31428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31429 Likewise.
31430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31431 Likewise.
31432 * math/auto-libm-test-in: Add more tests of tgamma.
31433 * math/auto-libm-test-out: Regenerated.
31434
31435 2015-09-17 Andreas Schwab <schwab@suse.de>
31436
31437 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31438
31439 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31440
31441 [BZ #18977]
31442 * math/bits/mathcalls.h
31443 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31444 not declare.
31445 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31446 Likewise.
31447 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31448 Likewise.
31449 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31450 Likewise.
31451 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31452 Likewise.
31453 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31454 Likewise.
31455 * conform/data/math.h-data
31456 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31457 function.
31458 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31459 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31460 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31461 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31462 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31463 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31464 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31465 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31466 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31467 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31468 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31469
31470 [BZ #6803]
31471 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31472 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31473 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31474 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31475 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31476 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31477 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31478 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31479 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31481 Likewise.
31482 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31483 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31484 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31485 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31486 long_double_symbol calls.
31487 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31488 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31489 strong alias of __ldexpl.
31490 (scalbnl): Define using long_double_symbol.
31491 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31492 Remove alias.
31493 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31494 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31495 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31496 (scalbln_test_data): Add more errno expectations.
31497
31498 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31499
31500 Cache the host port like we cache the task port. This way we do not
31501 need to call the kernel just to get the port. Furthermore, we no
31502 longer increase the reference count on every invocation of
31503 `mach_host_self'.
31504
31505 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31506 Protect declarations against the macro expansion.
31507 * mach/mach_init.c (__mach_host_self_): New variable.
31508 (mach_init): Initialize `__mach_host_self_'.
31509 * mach/mach_init.h (__mach_host_self_): New declaration.
31510 (__mach_host_self, mach_host_self): New macros.
31511 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31512 Release reference.
31513
31514 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31515
31516 [BZ #4404]
31517 * po/de.po: Update from Translation Project.
31518
31519 [BZ #16415]
31520 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31521 (__expm1l): Remove code to handle positive infinity and overflow.
31522 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31523 variable.
31524 (__expm1l): Remove code to handle positive infinity and overflow.
31525
31526 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31527 Paul Pluzhnikov <ppluzhnikov@google.com>
31528
31529 [BZ #18872]
31530 * stdio-common/Makefile (tst-printf-bz18872): New test.
31531 (tst-printf-bz18872-mem.out): Likewise.
31532 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31533 * stdio-common/vfprintf.c: Fix memory leaks.
31534
31535 2015-09-16 Andreas Schwab <schwab@suse.de>
31536
31537 [BZ #17244]
31538 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31539 Remove extra va_start/va_end calls.
31540
31541 [BZ #17243]
31542 * posix/execl.c (execl): Add missing va_end.
31543 * posix/execle.c (execle): Likewise.
31544 * posix/execlp.c (execlp): Likewise.
31545
31546 2015-09-15 Roland McGrath <roland@hack.frob.com>
31547
31548 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31549 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31550
31551 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31552
31553 [BZ #18967]
31554 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31555 undefine around includes of <bits/mathcalls.h>.
31556 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31557 not declare function.
31558 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31559 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31560 (scalb): Likewise.
31561 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31562 not define macro.
31563 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31564 variable.
31565 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31566 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31567 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31568
31569 [BZ #18857]
31570 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31571 return non-finite argument without doing ordered comparisons on
31572 it.
31573
31574 [BZ #16296]
31575 * math/fenv.h (fegetround): Use __attribute_pure__.
31576 * include/fenv.h (__fegetround): Likewise.
31577
31578 [BZ #18595]
31579 * math/s_ctan.c (__ctan): Force underflow exception for results
31580 whose real or imaginary part has small absolute value.
31581 * math/s_ctanf.c (__ctanf): Likewise.
31582 * math/s_ctanh.c (__ctanh): Likewise.
31583 * math/s_ctanhf.c (__ctanhf): Likewise.
31584 * math/s_ctanhl.c (__ctanhl): Likewise.
31585 * math/s_ctanl.c (__ctanl): Likewise.
31586 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31587 and ctanh. Add more tests of ctan and ctanh.
31588
31589 [BZ #15918]
31590 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31591 handling of cases where one argument is an infinity.
31592
31593 [BZ #18875]
31594 [BZ #18966]
31595 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31596 (MO): New macro.
31597 (__ieee754_exp10): For small results, force underflow exception
31598 and remove excess range and precision from return value.
31599 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31600 (MO): New macro.
31601 (__ieee754_exp10f): For small results, force underflow exception
31602 and remove excess range and precision from return value.
31603 * math/auto-libm-test-in: Add more tests of exp10.
31604 * math/auto-libm-test-out: Regenerated.
31605
31606 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31607
31608 [BZ #18875]
31609 [BZ #18961]
31610 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31611 (MO): New macro.
31612 (__ieee754_exp): For small results, force underflow exception and
31613 remove excess range and precision from return value.
31614 (__exp_finite): Likewise.
31615 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31616 (MO): New macro.
31617 (__ieee754_expf): For small results, force underflow exception and
31618 remove excess range and precision from return value.
31619 (__expf_finite): Likewise.
31620 * math/auto-libm-test-in: Add more tests of exp.
31621 * math/auto-libm-test-out: Regenerated.
31622
31623 [BZ #16521]
31624 [BZ #18875]
31625 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31626 small results.
31627 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31628 (MO): New macro.
31629 (__ieee754_exp2): For small results, force underflow exception and
31630 remove excess range and precision from return value.
31631 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31632 (MO): New macro.
31633 (__ieee754_exp2f): For small results, force underflow exception
31634 and remove excess range and precision from return value.
31635 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31636 (MO): New macro.
31637 (__ieee754_exp2l): Force underflow exception for small results.
31638 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31639 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31640 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31641 (MO): New macro.
31642 (__ieee754_exp2l): Force underflow exception for small results.
31643 * math/auto-libm-test-in: Add more tests or exp2.
31644 * math/auto-libm-test-out: Regenerated.
31645
31646 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31647
31648 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31649
31650 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31651 /dev/null.
31652
31653 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31654
31655 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31656 io fs process)): Drop spurious backslash.
31657
31658 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31659
31660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31661 Use sysinfo system call instead of parsing /proc/meminfo.
31662 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31663 Likewise.
31664
31665 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31666
31667 [BZ #16985]
31668 * programs/localedef.c (main): Display argv[remaining] when
31669 output_path is NULL.
31670
31671 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31672
31673 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31674 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31675 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31676 tanh.
31677 * math/auto-libm-test-out: Regenerated.
31678 * sysdeps/i386/fpu/libm-test-ulps: Update.
31679 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31680 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31682
31683 2015-09-11 Roland McGrath <roland@hack.frob.com>
31684
31685 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31686 Use 'override' keyword to freeze the value here, preventing
31687 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31688
31689 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31690
31691 [BZ #14912]
31692 * sysdeps/aarch64/bits/atomic.h: Move to ...
31693 * sysdeps/aarch64/atomic-machine.h: ...here.
31694 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31695 _AARCH64_ATOMIC_MACHINE_H.
31696 * sysdeps/alpha/bits/atomic.h: Move to ...
31697 * sysdeps/alpha/atomic-machine.h: ...here.
31698 * sysdeps/arm/bits/atomic.h: Move to ...
31699 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31700 * bits/atomic.h: Move to ...
31701 * sysdeps/generic/atomic-machine.h: ...here.
31702 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31703 * sysdeps/i386/bits/atomic.h: Move to ...
31704 * sysdeps/i386/atomic-machine.h: ...here.
31705 * sysdeps/ia64/bits/atomic.h: Move to ...
31706 * sysdeps/ia64/atomic-machine.h: ...here.
31707 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31708 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31709 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31710 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31711 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31712 * sysdeps/microblaze/bits/atomic.h: Move to ...
31713 * sysdeps/microblaze/atomic-machine.h: ...here.
31714 * sysdeps/mips/bits/atomic.h: Move to ...
31715 * sysdeps/mips/atomic-machine.h: ...here.
31716 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31717 * sysdeps/powerpc/bits/atomic.h: Move to ...
31718 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31719 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31720 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31721 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31722 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31723 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31724 <atomic-machine.h> instead of <bits/atomic.h>.
31725 * sysdeps/s390/bits/atomic.h: Move to ...
31726 * sysdeps/s390/atomic-machine.h: ...here.
31727 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31728 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31729 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31730 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31731 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31732 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31733 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31734 * sysdeps/tile/bits/atomic.h: Move to ...
31735 * sysdeps/tile/atomic-machine.h: ...here.
31736 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31737 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31738 <sysdeps/tile/atomic-machine.h> instead of
31739 <sysdeps/tile/bits/atomic.h>.
31740 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31741 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31742 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31743 <sysdeps/tile/atomic-machine.h> instead of
31744 <sysdeps/tile/bits/atomic.h>.
31745 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31746 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31747 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31748 <sysdeps/arm/atomic-machine.h> instead of
31749 <sysdeps/arm/bits/atomic.h>.
31750 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31751 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31752 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31753 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31754 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31755 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31756 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31757 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31758 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31759 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31760 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31761 * sysdeps/x86_64/bits/atomic.h: Move to ...
31762 * sysdeps/x86_64/atomic-machine.h: ...here.
31763 * include/atomic.h: Include <atomic-machine.h> instead of
31764 <bits/atomic.h>.
31765
31766 * sysdeps/mips/mips32/libm-test-ulps: Update.
31767 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31768
31769 [BZ #18952]
31770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31771 not convert non-integer negative arguments to int to determine the
31772 value of signgam.
31773 * math/auto-libm-test-in: Add more tests of lgamma.
31774 * math/auto-libm-test-out: Regenerated.
31775
31776 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31777 cosh, csqrt, erfc, expm1 and lgamma.
31778 * math/auto-libm-test-out: Regenerated.
31779 * sysdeps/i386/fpu/libm-test-ulps: Update.
31780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31781
31782 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31783
31784 [BZ #2542]
31785 [BZ #2543]
31786 [BZ #2558]
31787 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31788 __lgamma_neg for arguments from -28.0 to -2.0.
31789 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31790 __lgamma_negf for arguments from -15.0 to -2.0.
31791 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31792 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31794 Call __lgamma_negl for arguments from -33.0 to -2.0.
31795 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31796 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31797 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31798 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31799 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31800 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31801 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31802 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31803 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31804 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31805 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31806 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31807 (__lgamma_neg): Likewise.
31808 (__lgamma_negl): Likewise.
31809 (__lgamma_product): Likewise.
31810 (__lgamma_productl): Likewise.
31811 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31812 * math/auto-libm-test-in: Add more tests of lgamma.
31813 * math/auto-libm-test-out: Regenerated.
31814 * sysdeps/i386/fpu/libm-test-ulps: Update.
31815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31816
31817 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31818
31819 [BZ #18675]
31820 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31821
31822 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31823
31824 [BZ #14912]
31825 * bits/libc-lock.h: Move to ...
31826 * sysdeps/generic/libc-lock.h: ...here.
31827 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31828 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31829 * sysdeps/mach/hurd/libc-lock.h: ...here.
31830 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31831 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31832 * sysdeps/mach/bits/libc-lock.h: Move to ...
31833 * sysdeps/mach/libc-lock.h: ...here.
31834 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31835 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31836 * sysdeps/nptl/libc-lock.h: ...here.
31837 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31838 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31839 * sysdeps/nptl/libc-lockP.h: ...here.
31840 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31841 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31842 <bits/libc-lock.h>.
31843 * dirent/scandir-tail.c: Likewise.
31844 * dlfcn/dlerror.c: Likewise.
31845 * elf/dl-close.c: Likewise.
31846 * elf/dl-iteratephdr.c: Likewise.
31847 * elf/dl-lookup.c: Likewise.
31848 * elf/dl-open.c: Likewise.
31849 * elf/dl-support.c: Likewise.
31850 * elf/dl-writev.h: Likewise.
31851 * elf/rtld.c: Likewise.
31852 * grp/fgetgrent.c: Likewise.
31853 * gshadow/fgetsgent.c: Likewise.
31854 * gshadow/sgetsgent.c: Likewise.
31855 * iconv/gconv_conf.c: Likewise.
31856 * iconv/gconv_db.c: Likewise.
31857 * iconv/gconv_dl.c: Likewise.
31858 * iconv/gconv_int.h: Likewise.
31859 * iconv/gconv_trans.c: Likewise.
31860 * include/link.h: Likewise.
31861 * inet/getnameinfo.c: Likewise.
31862 * inet/getnetgrent.c: Likewise.
31863 * inet/getnetgrent_r.c: Likewise.
31864 * intl/bindtextdom.c: Likewise.
31865 * intl/dcigettext.c: Likewise.
31866 * intl/finddomain.c: Likewise.
31867 * intl/gettextP.h: Likewise.
31868 * intl/loadmsgcat.c: Likewise.
31869 * intl/localealias.c: Likewise.
31870 * intl/textdomain.c: Likewise.
31871 * libidn/idn-stub.c: Likewise.
31872 * libio/libioP.h: Likewise.
31873 * locale/duplocale.c: Likewise.
31874 * locale/freelocale.c: Likewise.
31875 * locale/newlocale.c: Likewise.
31876 * locale/setlocale.c: Likewise.
31877 * login/getutent_r.c: Likewise.
31878 * login/getutid_r.c: Likewise.
31879 * login/getutline_r.c: Likewise.
31880 * login/utmp-private.h: Likewise.
31881 * login/utmpname.c: Likewise.
31882 * malloc/mtrace.c: Likewise.
31883 * misc/efgcvt.c: Likewise.
31884 * misc/error.c: Likewise.
31885 * misc/fstab.c: Likewise.
31886 * misc/getpass.c: Likewise.
31887 * misc/mntent.c: Likewise.
31888 * misc/syslog.c: Likewise.
31889 * nis/nis_call.c: Likewise.
31890 * nis/nis_callback.c: Likewise.
31891 * nis/nss-default.c: Likewise.
31892 * nis/nss_compat/compat-grp.c: Likewise.
31893 * nis/nss_compat/compat-initgroups.c: Likewise.
31894 * nis/nss_compat/compat-pwd.c: Likewise.
31895 * nis/nss_compat/compat-spwd.c: Likewise.
31896 * nis/nss_nis/nis-alias.c: Likewise.
31897 * nis/nss_nis/nis-ethers.c: Likewise.
31898 * nis/nss_nis/nis-grp.c: Likewise.
31899 * nis/nss_nis/nis-hosts.c: Likewise.
31900 * nis/nss_nis/nis-network.c: Likewise.
31901 * nis/nss_nis/nis-proto.c: Likewise.
31902 * nis/nss_nis/nis-pwd.c: Likewise.
31903 * nis/nss_nis/nis-rpc.c: Likewise.
31904 * nis/nss_nis/nis-service.c: Likewise.
31905 * nis/nss_nis/nis-spwd.c: Likewise.
31906 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31907 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31908 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31909 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31910 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31911 * nis/nss_nisplus/nisplus-network.c: Likewise.
31912 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31913 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31914 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31915 * nis/nss_nisplus/nisplus-service.c: Likewise.
31916 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31917 * nis/ypclnt.c: Likewise.
31918 * nptl/libc_pthread_init.c: Likewise.
31919 * nss/getXXbyYY.c: Likewise.
31920 * nss/getXXent.c: Likewise.
31921 * nss/getXXent_r.c: Likewise.
31922 * nss/nss_db/db-XXX.c: Likewise.
31923 * nss/nss_db/db-netgrp.c: Likewise.
31924 * nss/nss_db/nss_db.h: Likewise.
31925 * nss/nss_files/files-XXX.c: Likewise.
31926 * nss/nss_files/files-alias.c: Likewise.
31927 * nss/nsswitch.c: Likewise.
31928 * posix/regex_internal.h: Likewise.
31929 * posix/wordexp.c: Likewise.
31930 * pwd/fgetpwent.c: Likewise.
31931 * resolv/res_hconf.c: Likewise.
31932 * resolv/res_libc.c: Likewise.
31933 * shadow/fgetspent.c: Likewise.
31934 * shadow/lckpwdf.c: Likewise.
31935 * shadow/sgetspent.c: Likewise.
31936 * socket/opensock.c: Likewise.
31937 * stdio-common/reg-modifier.c: Likewise.
31938 * stdio-common/reg-printf.c: Likewise.
31939 * stdio-common/reg-type.c: Likewise.
31940 * stdio-common/vfprintf.c: Likewise.
31941 * stdio-common/vfscanf.c: Likewise.
31942 * stdlib/abort.c: Likewise.
31943 * stdlib/cxa_atexit.c: Likewise.
31944 * stdlib/fmtmsg.c: Likewise.
31945 * stdlib/random.c: Likewise.
31946 * stdlib/setenv.c: Likewise.
31947 * string/strsignal.c: Likewise.
31948 * sunrpc/auth_none.c: Likewise.
31949 * sunrpc/bindrsvprt.c: Likewise.
31950 * sunrpc/create_xid.c: Likewise.
31951 * sunrpc/key_call.c: Likewise.
31952 * sunrpc/rpc_thread.c: Likewise.
31953 * sysdeps/arm/backtrace.c: Likewise.
31954 * sysdeps/generic/ldsodefs.h: Likewise.
31955 * sysdeps/generic/stdio-lock.h: Likewise.
31956 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31957 * sysdeps/i386/backtrace.c: Likewise.
31958 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31959 * sysdeps/m68k/backtrace.c: Likewise.
31960 * sysdeps/mach/hurd/cthreads.c: Likewise.
31961 * sysdeps/mach/hurd/dirstream.h: Likewise.
31962 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31963 * sysdeps/nptl/malloc-machine.h: Likewise.
31964 * sysdeps/nptl/stdio-lock.h: Likewise.
31965 * sysdeps/posix/dirstream.h: Likewise.
31966 * sysdeps/posix/getaddrinfo.c: Likewise.
31967 * sysdeps/posix/system.c: Likewise.
31968 * sysdeps/pthread/aio_suspend.c: Likewise.
31969 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31970 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31971 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31972 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31973 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31974 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31975 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31976 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31977 * sysdeps/unix/sysv/linux/system.c: Likewise.
31978 * sysdeps/x86_64/backtrace.c: Likewise.
31979 * time/alt_digit.c: Likewise.
31980 * time/era.c: Likewise.
31981 * time/tzset.c: Likewise.
31982 * wcsmbs/wcsmbsload.c: Likewise.
31983 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31984 instead of <bits/libc-lock.h> in comment.
31985
31986 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31987
31988 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31989 Only use .set mips2 if the current ISA is below mips2.
31990 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31991 Likewise.
31992 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31993 mips32r2 if the current ISA is below mips32r2.
31994 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31995 (TLS_IE): Updated to use the TLD_RDHWR macro.
31996 (TLS_LE): Likewise.
31997 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31998 __ASSEMBLER__ condition.
31999
32000 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
32001
32002 Fix parallel build of before-compile targets.
32003
32004 * sysdeps/mach/Makefile ($(patsubst
32005 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
32006 mach-before-compile target.
32007 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32008 io fs process)): Move rule to dedicated hurd-before-compile target.
32009
32010 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32011
32012 Fix rules generating headers in hurd/ and mach/ when initial make call
32013 has subdir= explicitly set.
32014
32015 * sysdeps/mach/Makefile ($(patsubst
32016 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
32017 calling $(MAKE).
32018 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32019 io fs process)): Force subdir to hurd when calling $(MAKE).
32020 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
32021 subdir to mach when calling $(MAKE).
32022
32023 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
32024
32025 Check sysheaders when looking for Mach and Hurd headers
32026
32027 * sysdeps/mach/configure.ac: Add sysheaders check.
32028 * sysdeps/mach/configure: Regenerate.
32029 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
32030 * sysdeps/mach/hurd/configure: Regenerate.
32031
32032 2015-09-04 Roland McGrath <roland@hack.frob.com>
32033
32034 [BZ #18921]
32035 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
32036 Fix inverted sense of test of 'o_directory_works' value.
32037 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
32038 Bernhard Voelker <mail@bernhard-voelker.de>.
32039
32040 2015-09-04 Joseph Myers <joseph@codesourcery.com>
32041
32042 [BZ #14912]
32043 * bits/linkmap.h: Move to ...
32044 * sysdeps/generic/linkmap.h: ...here.
32045 * sysdeps/aarch64/bits/linkmap.h: Move to ...
32046 * sysdeps/aarch64/linkmap.h: ...here.
32047 * sysdeps/arm/bits/linkmap.h: Move to ...
32048 * sysdeps/arm/linkmap.h: ...here.
32049 * sysdeps/hppa/bits/linkmap.h: Move to ...
32050 * sysdeps/hppa/linkmap.h: ...here.
32051 * sysdeps/ia64/bits/linkmap.h: Move to ...
32052 * sysdeps/ia64/linkmap.h: ...here.
32053 * sysdeps/mips/bits/linkmap.h: Move to ...
32054 * sysdeps/mips/linkmap.h: ...here.
32055 * sysdeps/s390/bits/linkmap.h: Move to ...
32056 * sysdeps/s390/linkmap.h: ...here.
32057 * sysdeps/sh/bits/linkmap.h: Move to ...
32058 * sysdeps/sh/linkmap.h: ...here.
32059 * sysdeps/x86/bits/linkmap.h: Move to ...
32060 * sysdeps/x86/linkmap.h: ...here.
32061 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
32062
32063 2015-09-04 Andreas Schwab <schwab@suse.de>
32064
32065 [BZ #18635]
32066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
32067 (__makecontext): Terminate FDE before return label.
32068 (__novec_makecontext): Likewise.
32069
32070 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32071
32072 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
32073 first member of struct sv in syscall macro.
32074
32075 2015-09-04 Joseph Myers <joseph@codesourcery.com>
32076
32077 [BZ #14912]
32078 * bits/stdio-lock.h: Move to ...
32079 * sysdeps/generic/stdio-lock.h: ...here.
32080 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32081 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
32082 * sysdeps/nptl/stdio-lock.h: ...here.
32083 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32084 * include/libio.h: Include <stdio-lock.h> instead of
32085 <bits/stdio-lock.h>.
32086 * sysdeps/nptl/fork.c: Likewise.
32087 * sysdeps/pthread/flockfile.c: Likewise.
32088 * sysdeps/pthread/ftrylockfile.c: Likewise.
32089 * sysdeps/pthread/funlockfile.c: Likewise.
32090
32091 [BZ #14912]
32092 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
32093 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
32094 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
32095 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
32096 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
32097 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32098 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
32099
32100 2015-09-03 Roland McGrath <roland@hack.frob.com>
32101
32102 * elf/Makefile (test-xfail-tst-protected1a): New variable.
32103 (test-xfail-tst-protected1b): New variable.
32104
32105 2015-09-03 Joseph Myers <joseph@codesourcery.com>
32106
32107 [BZ #14912]
32108 * bits/libc-tsd.h: Move to ...
32109 * sysdeps/generic/libc-tsd.h: ...here.
32110 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
32111 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
32112 * sysdeps/mach/hurd/libc-tsd.h: ...here.
32113 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
32114 * include/ctype.h: Include <libc-tsd.h> instead of
32115 <bits/libc-tsd.h>.
32116 * include/rpc/rpc.h: Likewise.
32117 * locale/localeinfo.h: Likewise.
32118 * sunrpc/rpc_thread.c: Likewise.
32119 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
32120 * sysdeps/nptl/malloc-machine.h: Likewise.
32121
32122 * Makefile (headers): Remove bits/libc-lock.h.
32123 * libio/Makefile (headers): Remove bits/stdio-lock.h.
32124
32125 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
32126 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
32127 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
32128 <bits/stdio-lock.h>.
32129 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
32130 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
32131
32132 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32133
32134 [BZ #18757]
32135 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
32136 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
32137 BZ #18757.
32138
32139 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32140
32141 * malloc/mtrace.pl: Filter out NULL entries.
32142
32143 2015-09-01 Joseph Myers <joseph@codesourcery.com>
32144
32145 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
32146 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
32147 macro.
32148
32149 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32150 (TCP_CC_INFO): Likewise.
32151 (TCP_SAVE_SYN): Likewise.
32152 (TCP_SAVED_SYN): Likewise.
32153
32154 2015-08-31 Brett Neumeier <brett@neumeier.us>
32155
32156 [BZ #18870]
32157 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32158
32159 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
32160
32161 [BZ #18873]
32162 Fix broken overflow check in posix_fallocate
32163 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32164 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32165 Fix parenthesization typo.
32166
32167 2015-08-28 Mike Frysinger <vapier@gentoo.org>
32168
32169 [BZ #18887]
32170 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32171 tst-mntent-blank-passno.
32172 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32173 * misc/tst-mntent-blank-corrupt.c: New test.
32174 * misc/tst-mntent-blank-passno.c: New test ripped from ...
32175 * misc/tst-mntent.c (do_test): ... here.
32176
32177 2015-08-29 Mike Frysinger <vapier@gentoo.org>
32178
32179 [BZ #4404]
32180 * po/de.po: Fix SIGALRM typo.
32181
32182 2015-08-28 James Perkins <james@loowit.net>
32183
32184 * time/tst-strptime2.c (tests): Replace short list of test
32185 strings for strptime %z specifier with code which exhaustively
32186 tests every combination of sign and 0 to 5 digits. Tests for
32187 rejection of invalid strings.
32188
32189 2015-08-28 James Perkins <james@loowit.net>
32190
32191 [BZ #16141]
32192 * time/strptime_l.c (__strptime_internal): Fix %z minutes
32193 calculation, removing incorrect decimal time rounding, so that
32194 all minute values result in a valid seconds value.
32195 * time/strptime_l.c (__strptime_internal): Extend %z time zone
32196 offset range limits to UTC-99:59 through UTC+99:59 to parse
32197 current and historical use cases.
32198 * time/tst-strptime2.c (tests): Modify and add tests for the
32199 strptime %z input field descriptor, specifically conversion of
32200 minutes to seconds and validating an offset range of -9959 to
32201 +9959.
32202
32203 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32204 Dmitry V. Levin <ldv@altlinux.org>
32205
32206 [BZ #18877]
32207 * posix/Makefile (tests): Add tst-mmap-offset.
32208 * posix/tst-mmap.c: New file.
32209 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32210 offset calculation for negative values.
32211
32212 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32213
32214 * sysdeps/i386/init-arch.h: New file.
32215 * sysdeps/i386/i586/init-arch.h: Likewise.
32216 * sysdeps/i386/i686/init-arch.h: Likewise.
32217 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32218 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
32219 * sysdeps/x86/cpu-features.h (bit_I586): New.
32220 (bit_I686): Likewise.
32221 (bit_CX8): Likewise.
32222 (bit_CMOV): Likewise.
32223 (index_CX8): Likewise.
32224 (index_CMOV): Likewise.
32225 (index_I586): Likewise.
32226 (index_I686): Likewise.
32227 (reg_CX8): Likewise.
32228 (reg_CMOV): Likewise.
32229 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32230 available at compile-time.
32231 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32232 available at compile-time.
32233 * sysdeps/x86/init-arch.h (USE_I586): New macro.
32234 (USE_I686): Likewise.
32235
32236 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32237
32238 * sysdeps/i386/bcopy.S: New file.
32239 * sysdeps/i386/bzero.S: Likewise.
32240 * sysdeps/i386/memcpy.S: Likewise.
32241 * sysdeps/i386/memmove.S: Likewise.
32242 * sysdeps/i386/mempcpy.S: Likewise.
32243 * sysdeps/i386/memset.S: Likewise.
32244 * sysdeps/i386/bzero.c: Removed.
32245 * sysdeps/i386/memset.c: Likewise.
32246 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32247 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32248 * sysdeps/i386/i586/memset_chk.S: Likewise.
32249 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32250 * sysdeps/i386/memcpy_chk.S: Here.
32251 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32252 * sysdeps/i386/memmove_chk.S: Here.
32253 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32254 * sysdeps/i386/mempcpy_chk.S: Likewise.
32255 * sysdeps/i386/i686/memset_chk.S: Moved to ...
32256 * sysdeps/i386/memset_chk.S: Likewise.
32257
32258 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
32259
32260 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32261 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32262 file, move DIAG_POP_NEEDS_COMMENT to end of file.
32263 * soft-fp/fmadf4.c: Ditto.
32264 * soft-fp/fmatf4.c: Ditto.
32265
32266 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32267
32268 * sysdeps/i386/i586/Implies: Removed.
32269 * sysdeps/i386/i686/Implies: Likewise.
32270
32271 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32272
32273 * sysdeps/i386/i486/strlen.S: Moved to ...
32274 * sysdeps/i386/strlen.S: Here.
32275
32276 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32277
32278 * sysdeps/i386/i486/strcat.S: Moved to ...
32279 * sysdeps/i386/strcat.S: Here.
32280
32281 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32282
32283 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32284 * sysdeps/i386/pthread_spin_trylock.S: Here.
32285 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32286 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32287
32288 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32289
32290 * sysdeps/i386/i486/string-inlines.c: Moved to ...
32291 * sysdeps/i386/string-inlines.c: Here.
32292
32293 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32294
32295 * sysdeps/i386/i486/htonl.S: Moved ...
32296 * sysdeps/i386/htonl.S: here.
32297
32298 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32299
32300 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32301 * sysdeps/i386/bits/atomic.h: Here.
32302
32303 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32304
32305 * sysdeps/i386/i486/Versions: Removed.
32306
32307 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
32308
32309 [BZ #2898]
32310 * misc/mktemp.c: Add mkdtemp to the link_warning message.
32311 Based on patch by Aurelien Jarno.
32312
32313 2015-08-26 Stan Shebs <stanshebs@google.com>
32314
32315 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32316 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32317
32318 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32319
32320 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32321 * sysdeps/powerpc/dl-procinfo.c:
32322 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32323 feature so it shows when LD_SHOW_AUXV=1.
32324
32325 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32326
32327 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32328 (__arch_compare_and_exchange_val_32_acq): Remove and use common
32329 definition. ISA 2.07B no longer requires full sync.
32330
32331 2015-08-26 Mike Frysinger <vapier@gentoo.org>
32332
32333 [BZ #18863]
32334 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32335 (si_call_addr): Define.
32336 (si_syscall): Define.
32337 (si_arch): Define.
32338
32339 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
32340
32341 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32342 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32343 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32344 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32345 (__memset_zero_constant_len_parameter): New.
32346 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32347 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32348 (__memset_zero_constant_len_parameter): Don't define if
32349 __memset_chk or USE_AS_BZERO are defined.
32350
32351 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32352 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32353 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32354
32355 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32356 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32357 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32358 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
32359 comments.
32360 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32361 -mno-mmx for $(all-rtld-routines).
32362 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32363 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32364 i386.
32365
32366 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32367
32368 * sysdeps/generic/unwind.h
32369 (_Unwind_Word): Use __mode__(__unwind_word__)
32370 instead of __mode__(__word__).
32371 (_Unwind_Sword): Likewise.
32372
32373 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32374 (MAX_NEEDED_INPUT): New define.
32375 (MAX_NEEDED_OUTPUT): New define.
32376
32377 * NEWS: New item for IBM z13 string optimizations.
32378
32379 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32380 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32381 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32382 * sysdeps/s390/multiarch/Makefile
32383 (sysdep_routines): Add memrchr functions.
32384 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32385 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32386
32387 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32388 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32389 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32390 * sysdeps/s390/multiarch/Makefile
32391 (sysdep_routines): Add wmemcmp functions.
32392 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32393 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32394 * benchtests/bench-wmemcmp.c: New File.
32395 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32396
32397 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32398 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32399 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32400 * sysdeps/s390/multiarch/Makefile
32401 (sysdep_routines): Add wmemset functions.
32402 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32403 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32404 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32405 * string/test-memset.c: Add wmemset support.
32406 * wcsmbs/test-wmemset.c: New File.
32407 * wcsmbs/Makefile (strop-tests): Add wmemset.
32408 * benchtests/bench-memset.c: Add wmemset support.
32409 * benchtests/bench-wmemset.c: New File.
32410 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32411
32412 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32413 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32414 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32415 * sysdeps/s390/multiarch/Makefile
32416 (sysdep_routines): Add memccpy functions.
32417 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32418 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32419 * string/memccpy.c: Use MEMCCPY if defined.
32420
32421 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32422 * sysdeps/s390/multiarch/memchr.c: Likewise.
32423 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32424 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32425 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32426 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32427 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32428 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32429 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32430 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32431 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32432 and rawmemchr functions.
32433 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32434 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32435 and wmemchr.
32436 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32437 * string/test-memchr.c: Add wmemchr support.
32438 * wcsmbs/test-wmemchr.c: New File.
32439 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32440 * benchtests/bench-memchr.c: Add wmemchr support.
32441 * benchtests/bench-wmemchr.c: New File.
32442 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32443
32444 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32445 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32446 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32447 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32448 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32449 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32450 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32451 wcscspn functions.
32452 * sysdeps/s390/multiarch/ifunc-impl-list.c
32453 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32454 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32455 * string/test-strcspn.c: Add wcscspn support.
32456 * wcsmbs/test-wcscspn.c: New File.
32457 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32458 * benchtests/bench-strcspn.c: Add wcscspn support.
32459 * benchtests/bench-wcscspn.c: New File.
32460 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32461
32462 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32463 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32464 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32465 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32466 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32467 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32468 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32469 wcspbrk functions.
32470 * sysdeps/s390/multiarch/ifunc-impl-list.c
32471 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32472 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32473 * string/test-strpbrk.c: Add wcspbrk support.
32474 * wcsmbs/test-wcspbrk.c: New File.
32475 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32476 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32477 * benchtests/bench-wcspbrk.c: New File.
32478 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32479
32480 * sysdeps/s390/multiarch/strspn-c.c: New File.
32481 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32482 * sysdeps/s390/multiarch/strspn.c: Likewise.
32483 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32484 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32485 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32486 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32487 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32488 wcsspn functions.
32489 * sysdeps/s390/multiarch/ifunc-impl-list.c
32490 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32491 * string/test-strspn.c: Add wcsspn support.
32492 * wcsmbs/test-wcsspn.c: New File.
32493 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32494 * benchtests/bench-strspn.c: Add wcsspn support.
32495 * benchtests/bench-wcsspn.c: New File.
32496 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32497
32498 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32499 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32500 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32501 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32502 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32503 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32504 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32505 wcsrchr functions.
32506 * sysdeps/s390/multiarch/ifunc-impl-list.c
32507 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32508 * benchtests/bench-wcsrchr.c: New File.
32509 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32510
32511 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32512 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32513 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32514 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32515 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32516 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32517 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32518 wcschrnul functions.
32519 * sysdeps/s390/multiarch/ifunc-impl-list.c
32520 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32521 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32522 * string/test-strchr.c: Add wcschrnul support.
32523 * wcsmbs/test-wcschrnul.c: New File.
32524 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32525 * benchtests/bench-strchr.c: Add wcschrnul support.
32526 * benchtests/bench-wcschrnul.c: New File.
32527 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32528
32529 * sysdeps/s390/multiarch/strchr-c.c: New File.
32530 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32531 * sysdeps/s390/multiarch/strchr.c: Likewise.
32532 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32533 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32534 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32535 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32536 wcschr functions.
32537 * sysdeps/s390/multiarch/ifunc-impl-list.c
32538 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32539 * string/strchr.c (STRCHR): Define and use macro.
32540 * benchtests/bench-wcschr.c: New File.
32541 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32542
32543 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32544 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32545 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32546 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32547 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32548 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32549 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32550 wcsncmp functions.
32551 * sysdeps/s390/multiarch/ifunc-impl-list.c
32552 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32553 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32554 * benchtests/bench-strncmp.c: Add wcsncmp support.
32555 * benchtests/bench-wcsncmp.c: New File.
32556 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32557
32558 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32559 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32560 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32561 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32562 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32563 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32564 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32565 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32566 wcscmp functions.
32567 * sysdeps/s390/multiarch/ifunc-impl-list.c
32568 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32569 * string/strcmp.c (STRCMP): Define and use macro.
32570 * benchtests/bench-wcscmp.c: New File.
32571 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32572 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32573 instead of _HAVE_STRING_ARCH_memchr.
32574
32575 * sysdeps/s390/multiarch/strncat-c.c: New File.
32576 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32577 * sysdeps/s390/multiarch/strncat.c: Likewise.
32578 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32579 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32580 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32581 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32582 wcsncat functions.
32583 * sysdeps/s390/multiarch/ifunc-impl-list.c
32584 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32585 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32586 * string/test-strncat.c: Add wcsncat support.
32587 * wcsmbs/test-wcsncat.c: New File.
32588 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32589 * benchtests/bench-strncat.c: Add wcsncat support.
32590 * benchtests/bench-wcsncat.c: New File.
32591 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32592
32593 * sysdeps/s390/multiarch/strcat-c.c: New File.
32594 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32595 * sysdeps/s390/multiarch/strcat.c: Likewise.
32596 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32597 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32598 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32599 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32600 wcscat functions.
32601 * sysdeps/s390/multiarch/ifunc-impl-list.c
32602 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32603 * string/strcat.c (STRCAT): Define and use macro.
32604 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32605 * string/test-strcat.c: Add wcscat support.
32606 * wcsmbs/test-wcscat.c: New File.
32607 * wcsmbs/Makefile (strop-tests): Add wcscat.
32608 * benchtests/bench-strcat.c: Add wcscat support.
32609 * benchtests/bench-wcscat.c: New File.
32610 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32611
32612 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32613 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32614 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32615 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32616 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32617 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32618 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32619 wcpncpy functions.
32620 * sysdeps/s390/multiarch/ifunc-impl-list.c
32621 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32622 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32623 * string/test-stpncpy.c: Add wcpncpy support.
32624 * wcsmbs/test-wcpncpy.c: New File.
32625 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32626 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32627 * benchtests/bench-wcpncpy.c: New File.
32628 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32629
32630 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32631 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32632 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32633 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32634 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32635 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32636 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32637 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32638 wcsncpy functions.
32639 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32640 * sysdeps/s390/multiarch/ifunc-impl-list.c
32641 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32642 * string/test-strncpy.c: Add wcsncpy support.
32643 * wcsmbs/test-wcsncpy.c: New File.
32644 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32645 * benchtests/bench-strncpy.c: Add wcsncpy support.
32646 * benchtests/bench-wcsncpy.c: New File.
32647 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32648
32649 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32650 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32651 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32652 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32653 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32654 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32655 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32656 wcpcpy functions.
32657 * string/stpcpy.c: Use STPCPY if defined.
32658 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32659 * sysdeps/s390/multiarch/ifunc-impl-list.c
32660 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32661 * string/test-stpcpy.c: Add wcpcpy support.
32662 * wcsmbs/test-wcpcpy.c: New File.
32663 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32664 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32665 * benchtests/bench-wcpcpy.c: New File.
32666 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32667
32668 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32669 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32670 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32671 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32672 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32673 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32674 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32675 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32676 wcscpy functions.
32677 * sysdeps/s390/multiarch/ifunc-impl-list.c
32678 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32679 * benchtests/bench-wcscpy.c: New File.
32680 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32681
32682 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32683 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32684 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32685 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32686 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32687 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32688 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32689 wcsnlen functions.
32690 * sysdeps/s390/multiarch/ifunc-impl-list.c
32691 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32692 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32693 * string/test-strnlen.c: Add wcsnlen support.
32694 * wcsmbs/test-wcsnlen.c: New File.
32695 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32696 * benchtests/bench-strnlen.c: Add wcsnlen support.
32697 * benchtests/bench-wcsnlen.c: New File.
32698 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32699
32700 * sysdeps/s390/multiarch/Makefile: New File.
32701 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32702 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32703 * sysdeps/s390/multiarch/strlen.c: Likewise.
32704 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32705 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32706 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32707 * string/strlen.c (STRLEN): Define and use macro.
32708 * sysdeps/s390/multiarch/ifunc-impl-list.c
32709 (IFUNC_VX_IMPL): New macro function.
32710 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32711 * benchtests/Makefile (wcsmbs-bench): New variable.
32712 (string-bench-all): Added wcsmbs-bench.
32713 * benchtests/bench-wcslen.c: New File.
32714
32715 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32716 s390_vx_libc_ifunc2): New macro function.
32717
32718 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32719 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32720 assembler support.
32721 * sysdeps/s390/configure: Regenerated.
32722
32723 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32724 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32725
32726 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32727 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32728 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32729
32730 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32731 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32733 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32734 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32735 (memcmp, bcmp): Use __memcmp_default as alias source.
32736 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32737 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32738 Rename to __memcmp_default.
32739 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32740 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32741 (memcpy): Use __memcpy_default as alias source.
32742 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32743 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32744 Rename to __memcpy_default.
32745 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32746 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32747 (memset): Use __memset_default as alias source.
32748 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32749 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32750 Rename to __memset_default.
32751 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32752 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32753 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32754 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32755 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32756 (memcmp, bcmp): Use __memcmp_default as alias source.
32757 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32758 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32759 Rename to __memcmp_default.
32760 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32761 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32762 (memcpy): Use __memcpy_default as alias source.
32763 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32764 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32765 Rename to __memcpy_default.
32766 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32767 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32768 (memset): Use __memset_default as alias source.
32769 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32770 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32771 Rename to __memset_default.
32772 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32773 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32774
32775 [BZ #18610]
32776 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32777 __ieee_instruction_pointer to __unused.
32778 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32779 __ieee_instruction_pointer.
32780 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32781 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32782 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32783 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32784 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32785 Mark dxc-field as reserved.
32786
32787 2015-08-25 Roland McGrath <roland@hack.frob.com>
32788
32789 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32790 if the weak reference is not null.
32791
32792 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32793
32794 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32795
32796 [BZ #11214]
32797 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32798
32799 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32800
32801 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32802 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32803 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32804 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32805 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32806 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32807 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32808 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32809 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32810 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32811 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32812 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32813 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32814 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32815 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32816 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32817 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32818 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32819
32820 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32821
32822 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32823 register other than r0 for tabort, it has special meaning.
32824 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32825 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32826 transaction before starting syscall.
32827
32828 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32829
32830 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32831
32832 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32833
32834 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32835
32836 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32837 * sysdeps/x86_64/rtld-memset.S: Likewise.
32838 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32839 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32840 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32841 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32842
32843 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32844
32845 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
32846
32847 * debug/strcpy_chk.c: Improve performance.
32848 * debug/stpcpy_chk.c: Likewise.
32849 * sysdeps/x86_64/strcpy_chk.S: Remove.
32850 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32851
32852 [BZ #18240]
32853 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32854
32855 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32856
32857 [BZ #15128]
32858 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32859 ifuncmain8.
32860 (modules-names): Add ifuncmod8.
32861 ($(objpfx)ifuncmain8): New rule.
32862 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32863 <cpuid.h>.
32864 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32865 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32866 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32867 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32868 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32869 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32870 * sysdeps/x86_64/ifuncmain8.c: New file.
32871 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32872 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32873 Removed.
32874 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32875 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32876 Change rtld_savespace_sse to __glibc_unused2.
32877 (RTLD_CHECK_FOREIGN_CALL): Removed.
32878 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32879 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32880 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32881
32882 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32883
32884 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32885
32886 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32887
32888 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32889 Unconditionally set __fpcr to avoid uninialized warning.
32890 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32891
32892 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32893
32894 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32895 is corrupt.
32896
32897 * malloc/arena.c (arena_get2): Drop unused argument.
32898 (arena_lock): Adjust.
32899 (arena_get_retry): Likewise.
32900
32901 2015-08-24 Andreas Schwab <schwab@suse.de>
32902
32903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32904 Don't define.
32905 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32906 (__ASSUME_IPC64): Don't undef.
32907 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32908 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32909 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32910 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32911 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32912 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32913 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32914 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32915 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32916 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32917 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32918 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32919 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32920 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32921 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32922 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32923 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32924 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32925 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32926 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32927 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32928
32929 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32930
32931 * manual/Makefile (install): Only build manual when perl is available.
32932
32933 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32934
32935 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32936 '#undef memcpy' by '#undef memchr'.
32937
32938 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32939
32940 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32941 memchr not point to the internal __GI_memchr implementation.
32942
32943 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32944
32945 * timezone/Makefile (CFLAGS-zdump.c): Remove
32946 -Wno-strict-prototypes.
32947 (CFLAGS-zic.c): Likewise.
32948 (CFLAGS-ialloc.c): Likewise.
32949 (CFLAGS-scheck.c): Likewise.
32950
32951 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32952 -Wno-error=undef.
32953
32954 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32955
32956 * i386/i686/multiarch/strcasestr-c.c: Removed.
32957 * x86_64/multiarch/strcasestr.c: Likewise.
32958 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32959 Remove strcasestr.
32960
32961 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32962
32963 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32964
32965 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32966 variables for high and low parts before possibly modifying them.
32967
32968 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32969
32970 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32971 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32972 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32973 of "multiarch/init-arch.h".
32974 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32975 * sysdeps/x86/init-arch.h: This.
32976
32977 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32978
32979 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32980 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32981
32982 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32983
32984 [BZ #17787]
32985 * manual/macros.texi: Add twoexp macro.
32986 * manual/filesys.texi: Fix exponents.
32987 * manual/llio.texi: Likewise.
32988 * manual/stdio.texi: Likewise.
32989
32990 2015-08-20 Florian Weimer <fweimer@redhat.com>
32991
32992 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32993 incorrect use.
32994
32995 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32996
32997 [BZ #18370]
32998 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32999 whose real or imaginary part has small absolute value.
33000 * math/s_csqrtf.c (__csqrtf): Likewise.
33001 * math/s_csqrtl.c (__csqrtl): Likewise.
33002 * math/auto-libm-test-in: Add more tests of csqrt.
33003 * math/auto-libm-test-out: Regenerated.
33004 * sysdeps/i386/fpu/libm-test-ulps: Update.
33005
33006 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33007
33008 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
33009 __ppc_set_ppr_very_low): New functions.
33010 * manual/platform.texi: Add documentation about
33011 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
33012
33013 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
33014
33015 * string/stpncpy.c (stpncpy): Improve performance using
33016 __strnlen/memcpy/memset.
33017
33018 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
33019
33020 [BZ #18796]
33021 * scripts/test-installation.pl: Don't add -lmvec to build options if
33022 libmvec wasn't built.
33023
33024 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
33025
33026 [BZ #14341]
33027 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
33028 case when there is a gap between DT_REL and DT_JMPREL sections.
33029 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
33030 (LDFLAGS-tst-split-dynreloc): New.
33031 (tst-split-dynreloc-ENV): Likewise.
33032 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
33033 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
33034
33035 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33036
33037 [BZ #18822]
33038 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
33039 attribute_hidden.
33040 (__xstat64_conv): Likewise.
33041 (__xstat32_conv): Likewise.
33042
33043 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 [BZ #18822]
33046 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
33047 Don't load %ebx when calling __setcontext. Call __setcontext
33048 with HIDDEN_JUMPTARGET.
33049 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
33050 libc_hidden_def.
33051
33052 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33053
33054 * sysdeps/i386/i686/Makefile
33055 [$(subdir) == string] (sysdep_routines): Moved to ...
33056 * sysdeps/i386/Makefile: Here.
33057 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
33058 * sysdeps/i386/cacheinfo.c: Here.
33059 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
33060 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
33061 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
33062 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
33063
33064 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33065
33066 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
33067 __i586__ is defined.
33068 (HAS_I686): Defined to 1 if __i686__ is defined.
33069
33070 2015-08-19 Joseph Myers <joseph@codesourcery.com>
33071
33072 * elf/Makefile [$(have-z-execstack) = yes]
33073 (CPPFLAGS-tst-execstack.c): New variable.
33074
33075 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
33076 conditional to [defined UTMPX || _HAVE_UT_TYPE].
33077 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
33078 UTMPX || _HAVE_UT_TV].
33079 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
33080 UTMPX || _HAVE_UT_TV - 0].
33081
33082 2015-08-18 Joseph Myers <joseph@codesourcery.com>
33083
33084 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
33085 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
33086 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
33087
33088 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
33089
33090 * sysdeps/powerpc/dl-procinfo.c:
33091 (_dl_powerpc_cap_flags): Added missing strings for some
33092 hwcap features.
33093 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
33094
33095 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
33096
33097 Port the 0x7efe...feff pattern to GCC 6.
33098 See Steve Ellcey's bug report in:
33099 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
33100 * string/memrchr.c (MEMRCHR):
33101 * string/rawmemchr.c (RAWMEMCHR):
33102 * string/strchr.c (strchr):
33103 * string/strchrnul.c (STRCHRNUL):
33104 Rewrite code to avoid issues with signed shift overflow.
33105
33106 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
33107
33108 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
33109 whether cpuid is available only if HAS_CPUID is 0.
33110 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
33111 (HAS_I586): Likewise.
33112 (HAS_I686): Likewise.
33113
33114 2015-08-18 Zack Weinberg <zackw@panix.com>
33115
33116 * misc/Versions (libc): Add GLIBC_2.23.
33117
33118 2015-08-18 Alan Modra <amodra@gmail.com>
33119
33120 [BZ #18421]
33121 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
33122 .Lp__global.
33123 (_start): Load %dp via .Lp__global.
33124 [!SHARED]: Use .section .rodata.
33125
33126 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33127
33128 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
33129 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
33130
33131 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33132
33133 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
33134 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
33135
33136 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33137
33138 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
33139 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
33140
33141 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33142
33143 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
33144 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
33145
33146 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33147
33148 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
33149 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33150
33151 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33152
33153 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33154 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33155
33156 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33157
33158 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33159
33160 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33161
33162 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33163 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
33164 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33165 (__ASSUME_LWS_CAS): Delete.
33166
33167 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33168
33169 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33170 * sysdeps/hppa/configure: Regenerated.
33171 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33172 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33173 * sysdeps/hppa/nptl/tls.h: Likewise.
33174
33175 2015-08-17 Joseph Myers <joseph@codesourcery.com>
33176
33177 [BZ #18823]
33178 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33179 for scaling up small arguments.
33180 * math/s_csqrtf.c (__csqrtf): Likewise.
33181 * math/s_csqrtl.c (__csqrtl): Likewise.
33182 * math/auto-libm-test-in: Add more tests of csqrt.
33183 * math/auto-libm-test-out: Regenerated.
33184
33185 2015-08-17 Andreas Schwab <schwab@suse.de>
33186
33187 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33188 version set GLIBC_2.19.
33189
33190 2015-08-16 Zack Weinberg <zackw@panix.com>
33191
33192 [BZ #18681]
33193 * misc/regexp.h: This interface is no longer supported.
33194 Remove all contents, leaving only an #error directive.
33195 * misc/regexp.c (loc1, loc2, locs, step, advance):
33196 Demote to compatibility symbols.
33197
33198 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
33199
33200 [BZ #18084]
33201 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33202 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33203 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33204 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33205 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33206 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33207 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33208 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33209 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33210
33211 2015-08-15 Zack Weinberg <zackw@panix.com>
33212
33213 [BZ #18795]
33214 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33215 buffer length is known to be too large, not if it's known to be
33216 small enough.
33217 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33218 overflow at runtime, involving a length parameter, twice: once
33219 with a compile-time constant length parameter, once without.
33220
33221 2015-08-14 Joseph Myers <joseph@codesourcery.com>
33222
33223 [BZ #18824]
33224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33225 scaling x * y up instead of down.
33226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33228 * math/auto-libm-test-in: Add more tests of fma.
33229 * math/auto-libm-test-out: Regenerated.
33230
33231 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
33232
33233 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33234
33235 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33236
33237 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33238 unnecessary movq.
33239 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33240 Likewise.
33241
33242 2015-08-13 Joseph Myers <joseph@codesourcery.com>
33243
33244 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33245 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33246 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33247 and tgamma.
33248 * math/auto-libm-test-out: Regenerated.
33249 * sysdeps/i386/fpu/libm-test-ulps: Update.
33250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251
33252 [BZ #16520]
33253 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33254 (__tanh): Force underflow exception for arguments with small
33255 absolute value.
33256 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33257 (__tanhf): Force underflow exception for arguments with small
33258 absolute value.
33259 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33260 (__tanhl): Force underflow exception for arguments with small
33261 absolute value.
33262 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33263 (__tanhl): Force underflow exception for arguments with small
33264 absolute value.
33265 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33266 (__tanhl): Force underflow exception for arguments with small
33267 absolute value.
33268 * math/auto-libm-test-in: Add more tests of tanh.
33269 * math/auto-libm-test-out: Regenerated.
33270 * sysdeps/i386/fpu/libm-test-ulps: Update.
33271
33272 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33273
33274 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33275 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33276
33277 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33278
33279 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33280 <cpuid.h>.
33281
33282 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33285 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33286
33287 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33288
33289 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33290 Remove $(objpfx)init-arch.o.
33291 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33292 init-arch.
33293 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33294 (INIT_ARCH_EXT): Defined as empty.
33295 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33296 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33297 __init_cpu_features call. Replace HAS_XXX with
33298 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33299 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33300 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33302 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33307 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33308 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33309 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33310 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33311 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33312 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33313 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33314 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33315 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33316 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33317 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33318 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33319 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33320 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33321 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33322 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33323 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33324 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33325 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33326 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33327 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33328 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33329 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33330 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33331 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33332 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33333 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33334
33335 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33336
33337 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33338 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33339 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33340 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33341 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33342 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33343 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33344 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33345 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33346 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33347 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33348 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
33349 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33350 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33351 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33352 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33353 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33354 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33355 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33356 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33357 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33358 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33359 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33360 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33361 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33362 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33363 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33364 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33365 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33366 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33367 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33368 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33369 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33371 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33372 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33373 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33374 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33375 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33376 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33377 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33378 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33379 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33380
33381 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33382
33383 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33384 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33385 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33387 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33388 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33390 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33391 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33392 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33394 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33395 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33396 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33397 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33398 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33399 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33400 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33401 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33402 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33404 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33405 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33406 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33407 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33408 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33409 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33410 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33411 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33412 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33413 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33414 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33415 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33416 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33417 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33418 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33419 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33420 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33421 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33422 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33423 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33424 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33425 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33426
33427 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33428
33429 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33430 (dl_platform_init): Call init_cpu_features.
33431 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33432 * sysdeps/i386/i686/cacheinfo.c
33433 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33434 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33435 * sysdeps/i386/i686/multiarch/Versions: Removed.
33436 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33437 Removed.
33438 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33439 * sysdeps/unix/sysv/linux/x86/Makefile
33440 (libpthread-sysdep_routines): Remove init-arch.
33441 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33442 <sysdeps/x86_64/dl-procinfo.c> instead of
33443 sysdeps/generic/dl-procinfo.c>.
33444 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33445 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33446 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33447 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33448 [$(subdir) == elf] (tests-static): Add
33449 tst-get-cpu-features-static.
33450 * sysdeps/x86/Versions: New file.
33451 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33452 * sysdeps/x86/cpu-features.c: Likewise.
33453 * sysdeps/x86/cpu-features.h: Likewise.
33454 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33455 * sysdeps/x86/libc-start.c: Likewise.
33456 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33457 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33458 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33459 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33460 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33461 Assume USE_MULTIARCH is defined and don't check it.
33462 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33463 (is_amd): Likewise.
33464 (max_cpuid): Likewise.
33465 (intel_check_word): Likewise.
33466 (__cache_sysconf): Don't call __init_cpu_features.
33467 (__x86_preferred_memory_instruction): Removed.
33468 (init_cacheinfo): Don't call __init_cpu_features. Replace
33469 __cpu_features with GLRO(dl_x86_cpu_features).
33470 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33471 (dl_platform_init): Call init_cpu_features.
33472 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33473 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33474 * sysdeps/x86_64/multiarch/Versions: Removed.
33475 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33476 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33477 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33478 Removed.
33479 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33480
33481 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33482
33483 [BZ #18820]
33484 * libio/Makefile (test-fmemopen-mem): New test.
33485 * libio/test-fmemopen.c (do_bz18820): New test.
33486 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33487 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33488
33489 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33490
33491 [BZ #16734]
33492 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33493 (FREE_BUF): Delete.
33494 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33495 * libio/genops.c (_IO_setb): Use malloc and free directly.
33496 (_IO_default_doallocate, _IO_default_finish): Likewise.
33497 ( _IO_unbuffer_all): Likewise.
33498 ( libc_freeres_fn): Likewise.
33499 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33500 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33501 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33502 (_IO_wdefault_doallocate): Likewise.
33503
33504 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33505
33506 [BZ #18086]
33507 * sysdeps/posix/nice.c (nice): Restore old errno.
33508 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33509
33510 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33511
33512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33513
33514 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33515
33516 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33517 __bcopy and add a weak_alias to bcopy.
33518 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33519 for static build.
33520
33521 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33522 cleanup macro usage.
33523 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33525 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33526 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33527 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33528 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33529 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33530 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33531 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33532 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33534 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33535 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33536 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33538 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33539 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33540 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33541 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33542
33543 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33544 libc_hidden_def.
33545 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33546
33547 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33548 (sysdep_routines): Add strstr-ppc64.
33549 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33550
33551 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33552
33553 [BZ #18778]
33554 * elf/Makefile (tests): Add Add tst-nodelete2.
33555 (modules-names): Add tst-nodelete2mod.
33556 (tst-nodelete2mod.so-no-z-defs): New.
33557 ($(objpfx)tst-nodelete2): Likewise.
33558 ($(objpfx)tst-nodelete2.out): Likewise.
33559 (LDFLAGS-tst-nodelete2): Likewise.
33560 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33561 out of loop through all loaded libraries.
33562 * elf/tst-nodelete2.c: New file.
33563 * elf/tst-nodelete2mod.c: Likewise.
33564 * elf/tst-znodelete-zlib.cc: Delete.
33565
33566 2015-08-11 Andreas Schwab <schwab@suse.de>
33567
33568 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33569 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33570 (__openat64_nocancel): Likewise.
33571
33572 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33573
33574 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33575 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33576 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33577 * math/auto-libm-test-out: Regenerated.
33578 * sysdeps/i386/fpu/libm-test-ulps: Update.
33579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33580
33581 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33582
33583 [BZ #18790]
33584 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33585 threshold for returning +/- 1.
33586 * math/auto-libm-test-in: Add more tests of tanh.
33587 * math/auto-libm-test-out: Regenerated.
33588 * sysdeps/i386/fpu/libm-test-ulps: Update.
33589
33590 2015-08-10 Andreas Schwab <schwab@suse.de>
33591
33592 [BZ #18781]
33593 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33594 MORE_OFLAGS to oflag.
33595 * io/test-lfs.c (do_test): Test openat64.
33596
33597 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33598
33599 [BZ #18789]
33600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33601 smaller threshold for returning the argument.
33602 * math/auto-libm-test-in: Add more tests of sinh.
33603 * math/auto-libm-test-out: Regenerated.
33604 * sysdeps/i386/fpu/libm-test-ulps: Update.
33605
33606 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33607
33608 [BZ #18674]
33609 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33610 break.
33611
33612 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33613
33614 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33615 (generated): Don't add $(addprefix z.,$(tzfiles)).
33616
33617 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33618
33619 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33620 * scripts/sysd-rules.awk: Likewise.
33621
33622 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33623
33624 * iconvdata/tst-tables.sh: Change echo -n to printf.
33625 * nss/db-Makefile: Likewise.
33626 * posix/tst-getconf.sh: Likewise.
33627 * stdio-common/tst-unbputc.sh: Likewise.
33628
33629 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33630
33631 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33632 MADV_*_PAGES defines behind this feature check.
33633
33634 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33635
33636 [BZ #18480]
33637 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33638 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33639 Define.
33640 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33641 LOAD_REGS_5, LOAD_REGS_6): Update.
33642 (INTERNAL_SYSCALL): Update using new LOAD defines.
33643 (INTERNAL_SYSCALL_NCS): Likewise.
33644 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33645
33646 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33647
33648 [BZ #16734]
33649 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33650
33651 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33652
33653 [BZ #17905]
33654 * catgets/Makefile (tst-catgets-mem): New test.
33655 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33656 * catgets/open_catalog.c (__open_catalog): Likewise.
33657 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33658
33659 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33660
33661 [BZ #18787]
33662 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33663 clobber registers.
33664 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33665 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33666 Cast return to __typeof (oldval).
33667
33668 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33669
33670 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33671 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33672 and delete sys/syscall.h include.
33673
33674 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33675
33676 [BZ #16517]
33677 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33678 (tan): Force underflow exception for arguments with small absolute
33679 value.
33680 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33681 (__kernel_tanf): Force underflow exception for arguments with
33682 small absolute value.
33683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33684 (__kernel_tanl): Force underflow exception for arguments with
33685 small absolute value.
33686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33687 (__kernel_tanl): Force underflow exception for arguments with
33688 small absolute value.
33689 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33690 (__kernel_tanl): Force underflow exception for arguments with
33691 small absolute value.
33692 * math/auto-libm-test-in: Add more tests of tan.
33693 * math/auto-libm-test-out: Regenerated.
33694
33695 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33696
33697 Fix sysdeps/i386/fpu/s_scalbn.S build
33698
33699 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33700
33701 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33702
33703 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33704
33705 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33706
33707 Fix gcrt0.o compilation
33708
33709 When static-start-installed-name is different from
33710 start-installed-name, we must not use the shared objects.
33711
33712 * csu/Makefile
33713 (extra-objs): Add gmon-start.o when building shared library and
33714 $(static-start-installed-name) is different from
33715 $(start-installed-name).
33716 $(objpfx)g$(static-start-installed-name): When building shared
33717 library and $(static-start-installed-name) is different from
33718 $(static-start-installed-name), revert to non-shared rule,
33719 i.e. using $(objpfx)% and gmon-start.o.
33720
33721 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33722
33723 [BZ #16519]
33724 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33725 (__ieee754_sinh): Force underflow exception for arguments with
33726 small absolute value.
33727 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33728 (__ieee754_sinhf): Force underflow exception for arguments with
33729 small absolute value.
33730 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33731 (__ieee754_sinhl): Force underflow exception for arguments with
33732 small absolute value.
33733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33734 (__ieee754_sinhl): Force underflow exception for arguments with
33735 small absolute value.
33736 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33737 (__ieee754_sinhl): Force underflow exception for arguments with
33738 small absolute value.
33739 * math/auto-libm-test-in: Add more tests of sinh.
33740 * math/auto-libm-test-out: Regenerated.
33741 * sysdeps/i386/fpu/libm-test-ulps: Update.
33742
33743 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33744
33745 * libio/oldfileops.c: Include unistd.h.
33746
33747 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33748
33749 * stdlib/isomac.c: Include ctype.h.
33750
33751 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33752
33753 * dirent/tst-seekdir.c (main): Converted to ...
33754 (do_test): ... this.
33755 (TEST_FUNCTION): New macro.
33756 Include test-skeleton.c.
33757 * elf/tst-dlmodcount.c (main): Converted to ...
33758 (do_test): ... this.
33759 (TEST_FUNCTION): New macro.
33760 Include test-skeleton.c.
33761 * elf/tst-order-main.c (main): Converted to ...
33762 (do_test): ... this.
33763 (TEST_FUNCTION): New macro.
33764 Include test-skeleton.c.
33765 * elf/tst-pie2.c (main): Converted to ...
33766 (do_test): ... this.
33767 (TEST_FUNCTION): New macro.
33768 Include test-skeleton.c.
33769 * inet/tst-ether_aton.c (main): Converted to ...
33770 (do_test): ... this.
33771 (TEST_FUNCTION): New macro.
33772 Include test-skeleton.c.
33773 * misc/tst-mntent.c (main): Converted to ...
33774 (do_test): ... this.
33775 (TEST_FUNCTION): New macro.
33776 Include test-skeleton.c.
33777 * misc/tst-tsearch.c (main): Converted to ...
33778 (do_test): ... this.
33779 (TEST_FUNCTION): New macro.
33780 Include test-skeleton.c.
33781 * posix/tst-regexloc.c (main): Converted to ...
33782 (do_test): ... this.
33783 (TEST_FUNCTION): New macro.
33784 Include test-skeleton.c.
33785 * resolv/tst-aton.c (main): Converted to ...
33786 (do_test): ... this.
33787 (TEST_FUNCTION): New macro.
33788 Include test-skeleton.c.
33789 * stdio-common/test-fwrite.c (main): Converted to ...
33790 (do_test): ... this.
33791 (TEST_FUNCTION): New macro.
33792 Include test-skeleton.c.
33793 * stdio-common/tst-ferror.c (main): Converted to ...
33794 (do_test): ... this.
33795 (TEST_FUNCTION): New macro.
33796 Include test-skeleton.c.
33797 * stdio-common/tst-printf.c (main): Converted to ...
33798 (do_test): ... this.
33799 (TEST_FUNCTION): New macro.
33800 Include test-skeleton.c.
33801 * stdio-common/tst-printfsz.c (main): Converted to ...
33802 (do_test): ... this.
33803 (TEST_FUNCTION): New macro.
33804 Include test-skeleton.c.
33805 * stdlib/tst-strtod.c (main): Converted to ...
33806 (do_test): ... this.
33807 (TEST_FUNCTION): New macro.
33808 Include test-skeleton.c.
33809 * string/tst-strlen.c (main): Converted to ...
33810 (do_test): ... this.
33811 (TEST_FUNCTION): New macro.
33812 Include test-skeleton.c.
33813 * string/tst-svc.c (main): Converted to ...
33814 (do_test): ... this.
33815 (TEST_FUNCTION): New macro.
33816 Include test-skeleton.c.
33817 * time/tst-strptime.c (main): Converted to ...
33818 (do_test): ... this.
33819 (TEST_FUNCTION): New macro.
33820 Include test-skeleton.c.
33821 * timezone/tst-timezone.c (main): Converted to ...
33822 (do_test): ... this.
33823 (TEST_FUNCTION): New macro.
33824 Include test-skeleton.c.
33825
33826 2015-08-05 Zack Weinberg <zackw@panix.com>
33827
33828 * misc/regexp.h: Update comments.
33829
33830 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33831
33832 [BZ #18635]
33833 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33834 before return label.
33835
33836 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33837
33838 [BZ #18661]
33839 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33840 when calling __errno_location.
33841 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33842 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33843
33844 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33845
33846 [BZ #18661]
33847 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33848 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33849 __gettimeofday.
33850
33851 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33852
33853 [BZ #18661]
33854 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33855 (__start_context): Don't use pop to restore %rdi so that stack
33856 is aligned to 16 bytes when calling __setcontext.
33857
33858 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33859
33860 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33861 only for libc.
33862 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33863
33864 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33865
33866 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33867 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33868 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33869
33870 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33871
33872 * string/memccpy.c (memccpy):
33873 Improve performance by using memchr/memcpy/__mempcpy.
33874
33875 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33876
33877 * string/strncpy.c (strncpy):
33878 Improve performance by using __strnlen/memcpy.
33879
33880 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33881
33882 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33883 Optimize to avoid an unnecessary FPCR read.
33884
33885 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33886
33887 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33888 Optimize to reduce FPCR/FPSR accesses.
33889
33890 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33891
33892 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33893 dead->data[category] != NULL.
33894
33895 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33896
33897 [BZ #18647]
33898 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33899 and |x| close to 1, use absolute value of x when computing log.
33900 * math/auto-libm-test-in: Add more tests of pow.
33901 * math/auto-libm-test-out: Regenerated.
33902
33903 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33904
33905 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33906 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33907 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33908
33909 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33910
33911 [BZ #18525]
33912 * locales/km_KH: Remove timezone definition.
33913 * locales/lo_LA: Likewise.
33914 * locales/my_MM: Likewise.
33915 * locales/nan_TW@latin: Likewise.
33916 * locales/th_TH: Likewise.
33917 * locales/uk_UA: Likewise.
33918
33919 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33920
33921 [BZ #18265]
33922 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33923 (wcsncat): Likewise.
33924 (wcscmp): Likewise.
33925 (wcsncmp): Likewise.
33926
33927 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33928
33929 * test-skeleton.c (usage): New function.
33930 (main): Call usage when opt is '?'.
33931
33932 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33933
33934 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33935 before first use.
33936
33937 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33938
33939 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33940 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33941 in there too.
33942
33943 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33944
33945 * version.h (RELEASE): Set to "development".
33946 (VERSION): Set to "2.22.90"
33947
33948 * version.h (RELEASE): Set to "stable".
33949 (VERSION): Set to "2.22"
33950 * include/features.h (__GLIBC_MINOR__): Set to 22.
33951
33952 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33953
33954 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33955 Restructure macro to avoid "value computed is not used" warning.
33956 (atomic_compare_and_exchange_val_acq): Likewise.
33957
33958 2015-08-04 Andreas Schwab <schwab@suse.de>
33959
33960 [BZ #18635]
33961 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33962 ret.
33963 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33964
33965 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33966
33967 * po/pl.po: Updated translation.
33968 * po/uk.po: Likewise.
33969 * po/fi.po: Likewise.
33970 * po/ko.po: Likewise.
33971 * po/ru.po: Likewise.
33972 * po/vi.po: Likewise.
33973
33974 2015-07-31 Zack Weinberg <zackw@panix.com>
33975
33976 [BZ #18681]
33977 * regexp.h: Add unconditional #warning stating that this header
33978 will be removed soon. Revise banner comment to match.
33979 (compile): Consistently use ERROR instead of RETURN to report
33980 errors (partial fix for BZ #18681).
33981 * regexp.c: Don't include regexp.h. Remove some unnecessary
33982 declarations.
33983
33984 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33985
33986 * po/libc.pot: Regenerated.
33987
33988 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33989
33990 [BZ #18740]
33991 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33992 float-vlen4-arch-ext-cflags): Removed.
33993 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33994 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33995
33996 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33997
33998 [BZ #14113]
33999 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
34000 aligned to __aligned__.
34001 (pthread_cond_t, pthread_rwlock_t): Likewise.
34002
34003 2015-07-30 Torvald Riegel <triegel@redhat.com>
34004
34005 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
34006
34007 2015-07-30 Mike Frysinger <vapier@gentoo.org>
34008
34009 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
34010 (struct sigaction): Change sa_flags from a long to an int, and add
34011 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
34012
34013 2015-07-30 Mike Frysinger <vapier@gentoo.org>
34014
34015 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
34016 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
34017 sysdeps/generic/sysdep.h include.
34018 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
34019 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
34020 sysdeps/hppa/sysdep.h.
34021 (ENTRY, PSEUDO): Undefine before defining.
34022
34023 2015-07-30 Mike Frysinger <vapier@gentoo.org>
34024
34025 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
34026 from scratch to use INTERNAL_SYSCALL.
34027
34028 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
34029
34030 [BZ #18078]
34031 * scripts/check-localplt.awk: Support alternate relocations.
34032 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
34033 sections.
34034 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
34035 malloc entries with + REL R_386_GLOB_DAT.
34036 * sysdeps/x86_64/localplt.data: New file.
34037
34038 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
34039
34040 [BZ #18731]
34041 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
34042 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34043 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34044
34045 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34046
34047 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
34048
34049 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34050
34051 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
34052 directly in terms of __sync_fetch_and_add and delete (int) cast.
34053
34054 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34055
34056 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
34057 the -D_ASM_IA64_CURRENT_H flag.
34058
34059 2015-07-27 Mike Frysinger <vapier@gentoo.org>
34060
34061 [BZ #18641]
34062 * pwd/pwd.h (putpwent): Delete __nonnull markings.
34063
34064 2015-07-27 Andreas Schwab <schwab@suse.de>
34065
34066 * conform/conformtest.pl (checknamespace): Filter out string
34067 literals while tokenizing.
34068
34069 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
34070
34071 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34072 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
34073 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34074
34075 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
34076
34077 * nptl/tst-join7mod.c: Add #include <string.h>.
34078
34079 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
34080
34081 * sysdeps/nios2/libm-test-ulps: Update.
34082
34083 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
34084
34085 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
34086 Fix order of arguments to the rt_sigprocmask syscall.
34087 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
34088 Likewise.
34089
34090 2015-07-24 Roland McGrath <roland@hack.frob.com>
34091
34092 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
34093
34094 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34095
34096 [BZ #18457]
34097 * nptl/Makefile (tests): New test case tst-join7.
34098 (modules-names): New test case module tst-join7mod.
34099 * nptl/tst-join7.c: New file.
34100 * nptl/tst-join7mod.c: New file.
34101 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
34102 all translation units in libc.so, libpthread.so and rtld.
34103
34104 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34105
34106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34107
34108 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
34109
34110 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
34111 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
34112 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
34113 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
34114 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
34115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
34116 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
34117 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
34118 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
34119 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
34120 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
34121 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
34122 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
34123 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34124 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
34125 implementation.
34126
34127 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34128
34129 [BZ #17711]
34130 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34131 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
34132 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34133 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34134 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
34135 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34136
34137 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34138
34139 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
34140 instead of just saying load lock in the comments.
34141
34142 2015-07-23 Roland McGrath <roland@hack.frob.com>
34143
34144 * sysdeps/unix/Subdirs: Moved ...
34145 * sysdeps/posix/Subdirs: ... here.
34146 * login/pty.h (struct termios, struct winsize): Add forward decls.
34147 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
34148 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
34149 * sysdeps/arm/nacl/libc.abilist: Updated.
34150 * sysdeps/nacl/libutil.abilist: New file.
34151
34152 * bits/signum.h: Update comments to mention 1003.1-2013 too.
34153 (SIGWINCH): New macro.
34154
34155 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34156 * sysdeps/arm/nacl/libc.abilist: Add it.
34157
34158 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34159
34160 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34161
34162 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34163
34164 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34165 Swap __glibc_reserved0 and sa_flags order.
34166
34167 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34168
34169 [BZ #18657]
34170 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34171 are pending TLS destructor calls.
34172 * include/link.h (struct link_map): Add concurrency note for
34173 L_TLS_DTOR_COUNT.
34174 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34175 Don't touch the link map flag. Atomically increment
34176 l_tls_dtor_count.
34177 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34178 Avoid taking the load lock and don't touch the link map flag.
34179 * stdlib/tst-tls-atexit-nodelete.c: New test case.
34180 * stdlib/Makefile (tests): Use it.
34181 * stdlib/tst-tls-atexit.c (do_test): dlopen
34182 tst-tls-atexit-lib.so again before dlclose. Add conditionals
34183 to allow tst-tls-atexit-nodelete test case to use it.
34184
34185 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34186
34187 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34188 to bits/types.h.
34189 (msgqnum_t): New typedef.
34190 (msglen_t): Likewise.
34191 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
34192 and msg_qbytes type to msglen_t.
34193
34194 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34195
34196 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34197 pad0 to __glibc_reserved0.
34198 (struct stat64): Likewise.
34199
34200 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34201
34202 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34203 Change sa_flags from a long to an int and add __glibc_reserved0 before
34204 it for padding.
34205
34206 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34207
34208 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34209 anonymous by deleting "siginfo" name.
34210
34211 2015-07-21 Roland McGrath <roland@hack.frob.com>
34212
34213 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34214 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34215 rather than __nacl_irt_filename.
34216 * sysdeps/nacl/xstat.c (__xstat): Likewise.
34217
34218 * NEWS: New item for arm-nacl port.
34219 * sysdeps/arm/nacl/libc.abilist: New file.
34220 * sysdeps/nacl/ld.abilist: New file.
34221 * sysdeps/nacl/libBrokenLocale.abilist: New file.
34222 * sysdeps/nacl/libanl.abilist: New file.
34223 * sysdeps/nacl/libcrypt.abilist: New file.
34224 * sysdeps/nacl/libdl.abilist: New file.
34225 * sysdeps/nacl/libm.abilist: New file.
34226 * sysdeps/nacl/libpthread.abilist: New file.
34227 * sysdeps/nacl/libresolv.abilist: New file.
34228 * sysdeps/nacl/librt.abilist: New file.
34229
34230 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
34231
34232 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34233 __startcontext to initialize the new context.
34234 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34235 up CFI directive to forbid further backtracing.
34236
34237 2015-07-21 Marko Myllynen <myllynen@redhat.com>
34238
34239 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34240 reference.
34241 * charmaps/ANSI_X3.4-1968: Likewise.
34242 * charmaps/BS_4730: Likewise.
34243 * charmaps/BS_VIEWDATA: Likewise.
34244 * charmaps/CP1250: Likewise.
34245 * charmaps/CP1251: Likewise.
34246 * charmaps/CP1252: Likewise.
34247 * charmaps/CP1253: Likewise.
34248 * charmaps/CP1254: Likewise.
34249 * charmaps/CP1255: Likewise.
34250 * charmaps/CP1256: Likewise.
34251 * charmaps/CSN_369103: Likewise.
34252 * charmaps/EBCDIC-DK-NO: Likewise.
34253 * charmaps/GB_1988-80: Likewise.
34254 * charmaps/GREEK-CCITT: Likewise.
34255 * charmaps/GREEK7: Likewise.
34256 * charmaps/INIS-8: Likewise.
34257 * charmaps/ISIRI-3342: Likewise.
34258 * charmaps/ISO_2033-1983: Likewise.
34259 * charmaps/ISO_5427-EXT: Likewise.
34260 * locales/POSIX: Likewise.
34261 * locales/ar_SA: Likewise.
34262 * locales/be_BY: Likewise.
34263 * locales/be_BY@latin: Likewise.
34264 * locales/ca_ES: Likewise.
34265 * locales/cs_CZ: Likewise.
34266 * locales/da_DK: Likewise.
34267 * locales/de_BE: Likewise.
34268 * locales/de_CH: Likewise.
34269 * locales/de_LU: Likewise.
34270 * locales/en_AU: Likewise.
34271 * locales/en_BW: Likewise.
34272 * locales/en_CA: Likewise.
34273 * locales/en_DK: Likewise.
34274 * locales/en_GB: Likewise.
34275 * locales/en_IE: Likewise.
34276 * locales/en_NZ: Likewise.
34277 * locales/en_ZA: Likewise.
34278 * locales/en_ZW: Likewise.
34279 * locales/es_AR: Likewise.
34280 * locales/es_BO: Likewise.
34281 * locales/es_CL: Likewise.
34282 * locales/es_CO: Likewise.
34283 * locales/es_DO: Likewise.
34284 * locales/es_EC: Likewise.
34285 * locales/es_ES: Likewise.
34286 * locales/es_HN: Likewise.
34287 * locales/es_MX: Likewise.
34288 * locales/es_PA: Likewise.
34289 * locales/es_PE: Likewise.
34290 * locales/es_PY: Likewise.
34291 * locales/es_SV: Likewise.
34292 * locales/es_US: Likewise.
34293 * locales/es_UY: Likewise.
34294 * locales/es_VE: Likewise.
34295 * locales/et_EE: Likewise.
34296 * locales/fa_IR: Likewise.
34297 * locales/fo_FO: Likewise.
34298 * locales/fr_CA: Likewise.
34299 * locales/fr_CH: Likewise.
34300 * locales/gv_GB: Likewise.
34301 * locales/he_IL: Likewise.
34302 * locales/hr_HR: Likewise.
34303 * locales/id_ID: Likewise.
34304 * locales/is_IS: Likewise.
34305 * locales/it_CH: Likewise.
34306 * locales/iw_IL: Likewise.
34307 * locales/kl_GL: Likewise.
34308 * locales/ko_KR: Likewise.
34309 * locales/kw_GB: Likewise.
34310 * locales/lg_UG: Likewise.
34311 * locales/lt_LT: Likewise.
34312 * locales/lv_LV: Likewise.
34313 * locales/mi_NZ: Likewise.
34314 * locales/nhn_MX: Likewise.
34315 * locales/nl_BE: Likewise.
34316 * locales/pl_PL: Likewise.
34317 * locales/sk_SK: Likewise.
34318 * locales/sl_SI: Likewise.
34319 * locales/sv_FI: Likewise.
34320 * locales/tl_PH: Likewise.
34321 * locales/tr_TR: Likewise.
34322 * locales/vi_VN: Likewise.
34323
34324 2015-07-21 Khem Raj <raj.khem@gmail.com>
34325
34326 [BZ #17475]
34327 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34328 of tu_IN and bh_IN.
34329
34330 2015-07-21 Mike Frysinger <vapier@gentoo.org>
34331
34332 [BZ #18694]
34333 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34334 bits/wordsize.h.
34335 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34336
34337 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34338
34339 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34340 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34341 (spawn_thread): New function.
34342 (load): Rename to reg_dtor_and_close. Move dlopen to...
34343 (do_test): ... here. Use IS_LOADED to test for its
34344 availability.
34345
34346 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
34347
34348 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34349
34350 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
34351
34352 [BZ #18696]
34353 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34354 si_addr_bnd.
34355 (si_lower): New.
34356 (si_upper): Likewise.
34357
34358 2015-07-16 David S. Miller <davem@davemloft.net>
34359
34360 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34361
34362 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34363
34364 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34365 buffer.
34366 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34367 fail output information.
34368
34369 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34370
34371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34372 and strstr-ppc64..
34373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34374 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34375 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34376 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34377 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34378
34379 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34380
34381 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34382 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34383 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34384 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34385
34386 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34387
34388 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34389 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34390 rtld_hidden_proto.
34391 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34392
34393 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34394
34395 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34396 the test can fail.
34397
34398 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34399
34400 [BZ #18676]
34401 * elf/tst-nodelete-opened.c: New test case.
34402 * elf/tst-nodelete-opened-lib.c: New test case module.
34403 * elf/Makefile (tests, modules-names): Use them.
34404 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34405 early.
34406
34407 2015-07-15 David S. Miller <davem@davemloft.net>
34408
34409 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34410 futex-intenal.h
34411 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34412 * sysdeps/sparc/sparc64/Makefile: Likewise.
34413 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34414 Remove space from macro define.
34415 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34416
34417 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34418
34419 [BZ #17475]
34420 * locale/iso-639.def: Update Bhili and Tulu language codes as
34421 per iso639-3.
34422
34423 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34424
34425 * elf/tst-leaks1.c (main): Converted to ...
34426 (do_test): ... this.
34427 (TEST_FUNCTION): New macro.
34428 Include test-skeleton.c.
34429 * localedata/tst-langinfo.c (main): Converted to ...
34430 (do_test): ... this.
34431 (TEST_FUNCTION): New macro.
34432 Include test-skeleton.c.
34433 * math/test-fpucw.c (main): Converted to ...
34434 (do_test): ... this.
34435 (TEST_FUNCTION): New macro.
34436 Include test-skeleton.c.
34437 * math/test-tgmath.c (main): Converted to ...
34438 (do_test): ... this.
34439 (TEST_FUNCTION): New macro.
34440 Include test-skeleton.c.
34441 * math/test-tgmath2.c (main): Converted to ...
34442 (do_test): ... this.
34443 (TEST_FUNCTION): New macro.
34444 Include test-skeleton.c.
34445 * setjmp/tst-setjmp.c (main): Converted to ...
34446 (do_test): ... this.
34447 (TEST_FUNCTION): New macro.
34448 Include test-skeleton.c.
34449 * stdio-common/tst-sscanf.c (main): Converted to ...
34450 (do_test): ... this.
34451 (TEST_FUNCTION): New macro.
34452 Include test-skeleton.c.
34453 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34454 (do_test): ... this.
34455 (TEST_FUNCTION): New macro.
34456 Include test-skeleton.c.
34457
34458 * elf/tst-audit9.c (main): Converted to ...
34459 (do_test): ... this.
34460 (TEST_FUNCTION): New macro.
34461 Include test-skeleton.c.
34462
34463 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34464
34465 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34466
34467 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34468
34469 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34470 New variable.
34471
34472 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34473
34474 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34475
34476 2015-07-14 Roland McGrath <roland@hack.frob.com>
34477
34478 * sysdeps/generic/dl-fileid.h: New file.
34479 * sysdeps/posix/dl-fileid.h: New file.
34480 * sysdeps/nacl/dl-fileid.h: New file.
34481 * include/link.h: Include <dl-fileid.h>.
34482 (struct link_map): Replace l_dev and l_ino with l_file_id.
34483 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34484 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34485 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34486
34487 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34488
34489 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34490
34491 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34492
34493 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34494 Add iff $CXX is set.
34495 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34496 Likewise.
34497 (tst-nodelete-zmodiff): Likewise.
34498 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34499
34500 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34501
34502 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34503
34504 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34505
34506 * sysdeps/aarch64/fpu/math_private.h
34507 (define math_opt_barrier): Add AArch64 version.
34508 (math_force_eval): Likewise.
34509
34510 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34511
34512 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34513
34514 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34515
34516 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34517 %ld with %jd and cast to intmax_t.
34518 (do_test_length_zero): Likewise.
34519
34520 2015-07-10 Roland McGrath <roland@hack.frob.com>
34521
34522 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34523
34524 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34525
34526 * sysdeps/tile/libm-test-ulps: Regenerated.
34527
34528 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34529 Comment out the whole function, not just its body.
34530
34531 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34532
34533 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34534 locks.
34535
34536 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34537
34538 2015-07-10 Torvald Riegel <triegel@redhat.com>
34539
34540 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34541 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34542
34543 2015-07-10 Torvald Riegel <triegel@redhat.com>
34544
34545 * sysdeps/nptl/futex-internal.h: New file.
34546 * sysdeps/nacl/futex-internal.h: New file.
34547 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34548 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34549 error checking.
34550 (setxid_unmark_thread): Likewise.
34551 (__nptl_setxid): Likewise.
34552 (__wait_lookup_done): Likewise.
34553 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34554 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34555 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34556 * nptl/pthread_once.c (clear_once_control): Likewise.
34557 (__pthread_once_slow): Likewise.
34558 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34559 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34560 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34561 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34562 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34563 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34564 Likewise.
34565 (__pthread_rwlock_rdlock): Likewise.
34566 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34567 Likewise.
34568 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34569 Likewise.
34570 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34571 Likewise.
34572 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34573 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34574 Likewise.
34575 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34576 __ASSUME_PRIVATE_FUTEX check.
34577 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34578 Check that shared futexes are supported.
34579 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34580 wrappers with error checking.
34581 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34582 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34583 * nptl/pthread_barrierattr_setpshared.c
34584 (pthread_barrierattr_setpshared): Check that shared futexes are
34585 supported.
34586 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34587 Likewise.
34588 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34589 Likewise.
34590 * nptl/sem_init.c (futex_private_if_supported): Remove.
34591 (__new_sem_init): Adapt and check that shared futexes are supported.
34592 * nptl/sem_open.c (sem_open): Likewise.
34593 * nptl/sem_post.c (futex_wake): Remove.
34594 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34595 (do_futex_wait): Use futex wrappers with error checking.
34596 * nptl/sem_wait.c: Include lowlevellock.h.
34597 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34598 Use futex_supports_pshared.
34599 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34600 Use futex wrappers with error checking.
34601 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34602 Likewise.
34603 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34604 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34605 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34606 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34607 (futex_wake): Likewise.
34608 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34609 (do_futex_wait): Use futex wrappers with error checking.
34610 (__new_sem_wait_slow): Update EINTR handling.
34611 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34612
34613 2015-07-09 Martin Sebor <msebor@redhat.com>
34614
34615 [BZ #18435]
34616 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34617 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34618 * nptl/Makefile (test-xfail-tst-once5): Define.
34619
34620 2015-07-09 Roland McGrath <roland@hack.frob.com>
34621
34622 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34623 * elf/dl-minimal.c: For readability, reorder some definitions and
34624 introduce more page breaks. Include <stdio.h>.
34625 (__libc_fatal): New function.
34626
34627 * include/unistd.h: Add rtld_hidden_proto for _exit.
34628 * posix/_exit.c: Add rtld_hidden_def.
34629 * sysdeps/mach/hurd/_exit.c: Likewise.
34630 * sysdeps/nacl/_exit.c: Likewise.
34631 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34632 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34633
34634 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34635
34636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34637 bndmov encoding with zero displacement.
34638
34639 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34640 H.J. Lu <hongjiu.lu@intel.com>
34641
34642 [BZ #18134]
34643 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34644 * sysdeps/i386/configure: Regenerated.
34645 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34646 (_dl_runtime_profile): Save and restore Intel MPX return bound
34647 registers when calling _dl_call_pltexit. Add
34648 PRESERVE_BND_REGS_PREFIX before return.
34649 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34650 (LRV_BND1_OFFSET): Likewise.
34651 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34652 lrv_bnd1.
34653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34654 typo in bndmov encoding.
34655 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34656 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34657 branch instructions to preserve bounds.
34658
34659 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34660
34661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34662 [GLIBC_2.22]: Add fmemopen.
34663
34664 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34665
34666 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34667 returns an error, also try to use host port from __mach_host_self for
34668 the __vm_wire call.
34669 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34670
34671 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34672
34673 [BZ #18400]
34674 [BZ #18648]
34675 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34676 Fix pr_uid and pr_gid members.
34677 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34678 definition to elf_greg_t.
34679
34680 2015-07-08 Roland McGrath <roland@hack.frob.com>
34681
34682 [BZ #18383]
34683 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34684 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34685 * sysdeps/arm/configure: Regenerated.
34686 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34687 (test-xfail-tst-tlsalign-static): Variable removed.
34688
34689 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34690 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34691 rather than explicit 'ln -s'.
34692
34693 * resolv/rpc/netdb.h: New file.
34694 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34695
34696 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34697
34698 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34699 length buffers.
34700 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34701 test-skeleton.c.
34702
34703 [BZ #6544]
34704 [BZ #11216]
34705 [BZ #12836]
34706 [BZ #13151]
34707 [BZ #13152]
34708 [BZ #14292]
34709 * include/stdio.h (fmemopen): Remove hidden prototype.
34710 (__fmemopen): Add new hidden prototype.
34711 * libio/Makefile: Add oldfmemopen object.
34712 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34713 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34714 compliance.
34715 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34716 symbol compatibility.
34717 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34718 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34719 fmemopen.
34720 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34721 on append and read mode.
34722 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34723 fmemopen.
34724 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34725 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34726 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34727 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34728 Likewise.
34729 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34730 [GLIBC_2.22]: Likewise.
34731 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34732 Likewise.
34733 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34734 Likewise.
34735 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34736 [GLIBC_2.22]: Likewise.
34737 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34738 [GLIBC_2.22]: Likewise.
34739 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34740 [GLIBC_2.22]: Likewise.
34741 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34742 [GLIBC_2.22]: Likewise.
34743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34744 [GLIBC_2.22]: Likewise.
34745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34746 [GLIBC_2.22]: Likewise.
34747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34748 [GLIBC_2.22]: Likewise.
34749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34750 Likewise.
34751 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34752 Likewise.
34753 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34755 [GLIBC_2.22]: Likewise.
34756 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34757 [GLIBC_2.22]: Likewise.
34758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34759 [GLIBC_2.22]: Likewise.
34760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34761 [GLIBC_2.22]: Likewise.
34762 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34763 Likewise.
34764 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34765 Likewise.
34766 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34767 Likewise.
34768 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34769 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34770
34771 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34772
34773 [BZ #18643]
34774 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34775 IPV6_PATHMTU, and IPV6_DONTFRAG.
34776
34777 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34778
34779 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34780 and _IO_UNBUFFERED.
34781 * libio/oldfileops.c: Likewise.
34782 * libio/wfileops.c: Likewise.
34783
34784 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34785
34786 * nscd/selinux.c: Delete selinux/flask.h include.
34787
34788 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34789
34790 [BZ #18641]
34791 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34792 (putpwent): Likewise.
34793 (getpwnam): Likewise.
34794 (getpwent_r): Likewise.
34795 (getpwuid_r): Likewise.
34796 (getpwnam_r): Likewise.
34797 (fgetpwent_r): Likewise.
34798
34799 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34800
34801 [BZ #18557]
34802 * inet/rcmd.c (__validuser2_sa): Check user first to
34803 short-circuit host check.
34804
34805 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34806 Mikhail Ilin <m.ilin@samsung.com>
34807
34808 [BZ #17833]
34809 * elf/Makefile (tests): Add tst-nodelete.
34810 (modules-names): Add tst-nodelete-uniquemod.
34811 (tst-nodelete-uniquemod.so-no-z-defs): New.
34812 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34813 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34814 ($(objpfx)tst-nodelete): Likewise.
34815 ($(objpfx)tst-nodelete.out): Likewise.
34816 (LDFLAGS-tst-nodelete): Likewise.
34817 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34818 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34819 implement forced object deletion.
34820 (_dl_close): Pass false to _dl_close_worker.
34821 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34822 * elf/tst-nodelete.cc: New file.
34823 * elf/tst-nodeletelib.cc: Likewise.
34824 * elf/tst-znodeletelib.cc: Likewise.
34825 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34826
34827 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34828
34829 [BZ #18508]
34830 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34831 Depend on $(libdl).
34832 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34833 is not called infinitely times.
34834 (backtrace_helper): New function.
34835 (trace_arg): New struct.
34836 (st1): Enlarge stack size.
34837 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34838 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34839 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34840 Likewise.
34841
34842 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34843
34844 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34845
34846 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34847
34848 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34849 Include sys/types.h instead of bits/types.h.
34850 Remove inclusion of bits/wordsize.h.
34851
34852 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34853
34854 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34855 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34856 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34857 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34858 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34859 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34860
34861 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34862
34863 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34864 link-defines.sym.
34865 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34866 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34867 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34868 and LR_SIZE.
34869 * sysdeps/i386/link-defines.sym: New file.
34870
34871 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34872
34873 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34874 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34875 ($(objpfx)tst-audit3): New rule.
34876 ($(objpfx)tst-audit3.out): Likewise.
34877 * sysdeps/i386/tst-audit3.c: New file.
34878 * sysdeps/i386/tst-audit3.h: Likewise.
34879 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34880 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34881
34882 2015-07-07 Torvald Riegel <triegel@redhat.com>
34883
34884 [BZ #18633]
34885 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34886 pointer in C code.
34887 (__strcat_c): Likewise.
34888 (__strcat_g): Likewise.
34889
34890 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34891
34892 [BZ #18592]
34893 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34894
34895 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34896
34897 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34898 New function. (__ieee754_sqrtf): New function.
34899 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34900 New function.
34901 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34902 New function.
34903
34904 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34905
34906 * sysdeps/ieee754/support.c: Remove unused file.
34907
34908 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34909
34910 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34911 registers instead of d ones so the layout is kernel abi compatible.
34912 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34913 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34914 Likewise.
34915
34916 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34917
34918 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34919
34920 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34921
34922 [BZ #18619]
34923 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34924 and return argument in case of subnormal argument.
34925
34926 2015-07-01 Martin Sebor <msebor@redhat.com>
34927
34928 [BZ #18435]
34929 * nptl/Makefile: Add tst-once5.cc.
34930 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34931 Remove macro redefinitions.
34932 * nptl/tst-once5.cc: New test.
34933
34934 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34935
34936 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34937
34938 * sysdeps/arm/libm-test-ulps: Regenerated.
34939
34940 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34941 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34942
34943 2015-06-30 Torvald Riegel <triegel@redhat.com>
34944
34945 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34946 lll_lock_wait_private and lll_futex_wake probes.
34947
34948 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34950 Likewise.
34951 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34952 atomic_spin_nop.
34953 * sysdeps/x86_64/bits/atomic.h: Likewise.
34954 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34955 to atomic_spin_nop and move ...
34956 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34957 ... here and ...
34958 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34959 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34960 atomic_spin_nop instead of BUSY_WAIT_NOP.
34961 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34962 Likewise.
34963 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34964 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34965 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34966 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34967 instead of atomic_delay.
34968
34969 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34970
34971 [BZ #18613]
34972 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34973 X_ADJ not X when adjusting exponent.
34974 (__ieee754_gamma_r): Do intermediate computations in
34975 round-to-nearest then adjust overflowing and underflowing results
34976 as needed.
34977 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34978 of X_ADJ not X when adjusting exponent.
34979 (__ieee754_gammaf_r): Do intermediate computations in
34980 round-to-nearest then adjust overflowing and underflowing results
34981 as needed.
34982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34983 log of X_ADJ not X when adjusting exponent.
34984 (__ieee754_gammal_r): Do intermediate computations in
34985 round-to-nearest then adjust overflowing and underflowing results
34986 as needed. Use 1.0L not 1.0f as numerator of division.
34987 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34988 log of X_ADJ not X when adjusting exponent.
34989 (__ieee754_gammal_r): Do intermediate computations in
34990 round-to-nearest then adjust overflowing and underflowing results
34991 as needed. Use 1.0L not 1.0f as numerator of division.
34992 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34993 of X_ADJ not X when adjusting exponent.
34994 (__ieee754_gammal_r): Do intermediate computations in
34995 round-to-nearest then adjust overflowing and underflowing results
34996 as needed. Use 1.0L not 1.0f as numerator of division.
34997 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34998 to auto-libm-test-in.
34999 (tgamma_test): Use ALL_RM_TEST.
35000 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
35001 tests of tgamma with spurious-overflow.
35002 * math/auto-libm-test-out: Regenerated.
35003 * math/gen-libm-have-vector-test.sh: Do not check for START.
35004 * sysdeps/i386/fpu/libm-test-ulps: Update.
35005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35006
35007 [BZ #18612]
35008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
35009 arguments, just return 0.5 times the argument, with underflow
35010 forced as needed.
35011 * math/auto-libm-test-in: Add more tests of j1.
35012 * math/auto-libm-test-out: Regenerated.
35013
35014 [BZ #16559]
35015 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
35016 (__ieee754_j1): Force underflow exception for small results.
35017 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35018 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
35019 (__ieee754_j1f): Force underflow exception for small results.
35020 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35021 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35023 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
35024 (__ieee754_j1l): Force underflow exception for small results.
35025 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35026 * math/auto-libm-test-in: Add more tests of j1 and jn.
35027 * math/auto-libm-test-out: Regenerated.
35028
35029 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
35030 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
35031 (PF_MPLS): Likewise.
35032 (AF_IB): Likewise.
35033 (AF_MPLS): Likewise.
35034 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
35035 value and macro.
35036 (MS_RMT_MASK): Include MS_LAZYTIME.
35037
35038 2015-06-26 Mel Gorman <mgorman@suse.de>
35039
35040 [BZ #18502]
35041 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
35042 already minimal.
35043
35044 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
35045
35046 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
35047 (DT_MIPS_NUM): Update.
35048 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
35049 DT_MIPS_RLD_MAP_REL.
35050
35051 2015-06-25 Joseph Myers <joseph@codesourcery.com>
35052
35053 [BZ #16559]
35054 [BZ #18602]
35055 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
35056 round-to-nearest internally then recompute results that
35057 underflowed to zero in the original rounding mode.
35058 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35059 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35061 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35062 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
35063 * sysdeps/i386/fpu/libm-test-ulps: Update.
35064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35065
35066 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
35067
35068 * NEWS: Fixed description of link with vector math library.
35069
35070 2015-06-25 Andreas Schwab <schwab@suse.de>
35071
35072 [BZ #18549]
35073 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
35074 * libio/test-fmemopen.c (do_test): Add test for it.
35075
35076 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
35077
35078 [BZ #17841]
35079 * Makeconfig (no-pie-ldflag): New.
35080 (+link): Set to $(+link-pie) if default to PIE.
35081 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
35082 * config.make.in (build-pie-default): New.
35083 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
35084 is default. AC_SUBST.
35085 * configure: Regenerated.
35086 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
35087
35088 2015-06-24 Roland McGrath <roland@hack.frob.com>
35089
35090 * nptl/descr.h (struct pthread): Change type of field setxid_futex
35091 to 'unsigned int'.
35092
35093 * resolv/gai_misc.h (struct waitlist): Change type of field
35094 counterp to 'volatile unsigned int *'.
35095 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
35096 FUTEXADDR and OLDVAL.
35097 * resolv/getaddrinfo_a.c (getaddrinfo_a):
35098 Give local variable TOTAL type 'volatile unsigned int'.
35099 (struct async_waitlist): Change type of field counter to 'unsigned int'.
35100 * resolv/gai_suspend.c (gai_suspend):
35101 Give local variable CNTR type 'unsigned int'.
35102
35103 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
35104 counterp to 'volatile unsigned int *'.
35105 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
35106 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
35107 (aio_suspend): Give local variable CNTR type 'unsigned int'.
35108 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
35109 Give local variable TOTAL type 'volatile unsigned int'.
35110 (struct async_waitlist): Change type of field counter to 'unsigned int'.
35111
35112 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35113
35114 [BZ #18383]
35115 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
35116 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
35117 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
35118 comment for i386/x86-64.
35119 (test-xfail-tst-tlsalign-extern-static): Removed.
35120
35121 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35122
35123 * math/test-double.h: New file.
35124 * math/test-float.h: Likewise.
35125 * math/test-ldouble.h: Likewise.
35126 * math/test-math-inline.h: Likewise.
35127 * math/test-math-no-inline.h: Likewise.
35128 * math/test-math-scalar.h: Likewise.
35129 * math/test-math-vector.h: Likewise.
35130 * math/test-vec-loop.h: Remove file. Contents moved into
35131 test-math-vector.h.
35132 * math/libm-test.inc (MATHCONST): Do not document macro.
35133 * math/test-double.c: Include test-double.h, test-math-no-inline.h
35134 and test-math-scalar.h.
35135 (FUNC): Remove macro.
35136 (FUNC_TEST): Likewise.
35137 (FLOAT): Likewise.
35138 (MATHCONST): Likewise.
35139 (PRINTF_EXPR): Likewise.
35140 (PRINTF_XEXPR): Likewise.
35141 (PRINTF_NEXPR): Likewise.
35142 (TEST_DOUBLE): Likewise.
35143 (TEST_MATHVEC): Likewise.
35144 (__NO_MATH_INLINES): Likewise.
35145 * math/test-float.c: Include test-float.h, test-math-no-inline.h
35146 and test-math-scalar.h.
35147 (FUNC): Remove macro.
35148 (FUNC_TEST): Likewise.
35149 (FLOAT): Likewise.
35150 (MATHCONST): Likewise.
35151 (PRINTF_EXPR): Likewise.
35152 (PRINTF_XEXPR): Likewise.
35153 (PRINTF_NEXPR): Likewise.
35154 (TEST_FLOAT): Likewise.
35155 (TEST_MATHVEC): Likewise.
35156 (__NO_MATH_INLINES): Likewise.
35157 * math/test-idouble.c: Include test-double.h, test-math-inline.h
35158 and test-math-scalar.h.
35159 (FUNC): Remove macro.
35160 (FUNC_TEST): Likewise.
35161 (FLOAT): Likewise.
35162 (MATHCONST): Likewise.
35163 (PRINTF_EXPR): Likewise.
35164 (PRINTF_XEXPR): Likewise.
35165 (PRINTF_NEXPR): Likewise.
35166 (TEST_DOUBLE): Likewise.
35167 (TEST_MATHVEC): Likewise.
35168 (TEST_INLINE): Likewise.
35169 (__NO_MATH_INLINES): Likewise.
35170 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35171 test-math-scalar.h.
35172 (FUNC): Remove macro.
35173 (FUNC_TEST): Likewise.
35174 (FLOAT): Likewise.
35175 (MATHCONST): Likewise.
35176 (PRINTF_EXPR): Likewise.
35177 (PRINTF_XEXPR): Likewise.
35178 (PRINTF_NEXPR): Likewise.
35179 (TEST_FLOAT): Likewise.
35180 (TEST_MATHVEC): Likewise.
35181 (TEST_INLINE): Likewise.
35182 (__NO_MATH_INLINES): Likewise.
35183 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35184 and test-math-scalar.h.
35185 (FUNC): Remove macro.
35186 (FUNC_TEST): Likewise.
35187 (FLOAT): Likewise.
35188 (MATHCONST): Likewise.
35189 (PRINTF_EXPR): Likewise.
35190 (PRINTF_XEXPR): Likewise.
35191 (PRINTF_NEXPR): Likewise.
35192 (TEST_LDOUBLE): Likewise.
35193 (TEST_MATHVEC): Likewise.
35194 (TEST_INLINE): Likewise.
35195 (__NO_MATH_INLINES): Likewise.
35196 * math/test-ldouble.c: Include test-ldouble.h,
35197 test-math-no-inline.h and test-math-scalar.h.
35198 (FUNC): Remove macro.
35199 (FUNC_TEST): Likewise.
35200 (FLOAT): Likewise.
35201 (MATHCONST): Likewise.
35202 (PRINTF_EXPR): Likewise.
35203 (PRINTF_XEXPR): Likewise.
35204 (PRINTF_NEXPR): Likewise.
35205 (TEST_LDOUBLE): Likewise.
35206 (TEST_MATHVEC): Likewise.
35207 (__NO_MATH_INLINES): Likewise.
35208 * math/test-double-vlen2.h: Include test-double.h,
35209 test-math-no-inline.h and test-math-vector.h.
35210 (FLOAT): Remove macro.
35211 (FUNC): Likewise.
35212 (MATHCONST): Likewise.
35213 (PRINTF_EXPR): Likewise.
35214 (PRINTF_XEXPR): Likewise.
35215 (PRINTF_NEXPR): Likewise.
35216 (TEST_DOUBLE): Likewise.
35217 (TEST_MATHVEC): Likewise.
35218 (__NO_MATH_INLINES): Likewise.
35219 (CNCT): Likewise.
35220 (CONCAT): Likewise.
35221 (WRAPPER_NAME): Likewise.
35222 (WRAPPER_DECL): Likewise.
35223 (WRAPPER_DECL_ff): Likewise.
35224 (WRAPPER_DECL_fFF): Likewise.
35225 (VECTOR_WRAPPER): Likewise.
35226 (VECTOR_WRAPPER_ff): Likewise.
35227 (VECTOR_WRAPPER_fFF): Likewise.
35228 (VEC_LEN): New macro.
35229 * math/test-double-vlen4.h: Include test-double.h,
35230 test-math-no-inline.h and test-math-vector.h.
35231 (FLOAT): Remove macro.
35232 (FUNC): Likewise.
35233 (MATHCONST): Likewise.
35234 (PRINTF_EXPR): Likewise.
35235 (PRINTF_XEXPR): Likewise.
35236 (PRINTF_NEXPR): Likewise.
35237 (TEST_DOUBLE): Likewise.
35238 (TEST_MATHVEC): Likewise.
35239 (__NO_MATH_INLINES): Likewise.
35240 (CNCT): Likewise.
35241 (CONCAT): Likewise.
35242 (WRAPPER_NAME): Likewise.
35243 (WRAPPER_DECL): Likewise.
35244 (WRAPPER_DECL_ff): Likewise.
35245 (WRAPPER_DECL_fFF): Likewise.
35246 (VECTOR_WRAPPER): Likewise.
35247 (VECTOR_WRAPPER_ff): Likewise.
35248 (VECTOR_WRAPPER_fFF): Likewise.
35249 (VEC_LEN): New macro.
35250 * math/test-double-vlen8.h: Include test-double.h,
35251 test-math-no-inline.h and test-math-vector.h.
35252 (FLOAT): Remove macro.
35253 (FUNC): Likewise.
35254 (MATHCONST): Likewise.
35255 (PRINTF_EXPR): Likewise.
35256 (PRINTF_XEXPR): Likewise.
35257 (PRINTF_NEXPR): Likewise.
35258 (TEST_DOUBLE): Likewise.
35259 (TEST_MATHVEC): Likewise.
35260 (__NO_MATH_INLINES): Likewise.
35261 (CNCT): Likewise.
35262 (CONCAT): Likewise.
35263 (WRAPPER_NAME): Likewise.
35264 (WRAPPER_DECL): Likewise.
35265 (WRAPPER_DECL_ff): Likewise.
35266 (WRAPPER_DECL_fFF): Likewise.
35267 (VECTOR_WRAPPER): Likewise.
35268 (VECTOR_WRAPPER_ff): Likewise.
35269 (VECTOR_WRAPPER_fFF): Likewise.
35270 (VEC_LEN): New macro.
35271 * math/test-float-vlen4.h: Include test-float.h,
35272 test-math-no-inline.h and test-math-vector.h.
35273 (FLOAT): Remove macro.
35274 (FUNC): Likewise.
35275 (MATHCONST): Likewise.
35276 (PRINTF_EXPR): Likewise.
35277 (PRINTF_XEXPR): Likewise.
35278 (PRINTF_NEXPR): Likewise.
35279 (TEST_FLOAT): Likewise.
35280 (TEST_MATHVEC): Likewise.
35281 (__NO_MATH_INLINES): Likewise.
35282 (CNCT): Likewise.
35283 (CONCAT): Likewise.
35284 (WRAPPER_NAME): Likewise.
35285 (WRAPPER_DECL): Likewise.
35286 (WRAPPER_DECL_ff): Likewise.
35287 (WRAPPER_DECL_fFF): Likewise.
35288 (VECTOR_WRAPPER): Likewise.
35289 (VECTOR_WRAPPER_ff): Likewise.
35290 (VECTOR_WRAPPER_fFF): Likewise.
35291 (VEC_LEN): New macro.
35292 * math/test-float-vlen8.h: Include test-float.h,
35293 test-math-no-inline.h and test-math-vector.h.
35294 (FLOAT): Remove macro.
35295 (FUNC): Likewise.
35296 (MATHCONST): Likewise.
35297 (PRINTF_EXPR): Likewise.
35298 (PRINTF_XEXPR): Likewise.
35299 (PRINTF_NEXPR): Likewise.
35300 (TEST_FLOAT): Likewise.
35301 (TEST_MATHVEC): Likewise.
35302 (__NO_MATH_INLINES): Likewise.
35303 (CNCT): Likewise.
35304 (CONCAT): Likewise.
35305 (WRAPPER_NAME): Likewise.
35306 (WRAPPER_DECL): Likewise.
35307 (WRAPPER_DECL_ff): Likewise.
35308 (WRAPPER_DECL_fFF): Likewise.
35309 (VECTOR_WRAPPER): Likewise.
35310 (VECTOR_WRAPPER_ff): Likewise.
35311 (VECTOR_WRAPPER_fFF): Likewise.
35312 (VEC_LEN): New macro.
35313 * math/test-float-vlen16.h: Include test-float.h,
35314 test-math-no-inline.h and test-math-vector.h.
35315 (FLOAT): Remove macro.
35316 (FUNC): Likewise.
35317 (MATHCONST): Likewise.
35318 (PRINTF_EXPR): Likewise.
35319 (PRINTF_XEXPR): Likewise.
35320 (PRINTF_NEXPR): Likewise.
35321 (TEST_FLOAT): Likewise.
35322 (TEST_MATHVEC): Likewise.
35323 (__NO_MATH_INLINES): Likewise.
35324 (CNCT): Likewise.
35325 (CONCAT): Likewise.
35326 (WRAPPER_NAME): Likewise.
35327 (WRAPPER_DECL): Likewise.
35328 (WRAPPER_DECL_ff): Likewise.
35329 (WRAPPER_DECL_fFF): Likewise.
35330 (VECTOR_WRAPPER): Likewise.
35331 (VECTOR_WRAPPER_ff): Likewise.
35332 (VECTOR_WRAPPER_fFF): Likewise.
35333 (VEC_LEN): New macro.
35334 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35335 test-vec-loop.h.
35336 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35337 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35338 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35339 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35340 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35341 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35342 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35343
35344 2015-06-24 Roland McGrath <roland@hack.frob.com>
35345
35346 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35347 (__getlogin_r): ... this.
35348
35349 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35350
35351 [BZ #18594]
35352 * math/s_ccosh.c (__ccosh): Compare with least normal value
35353 instead of comparing class with FP_SUBNORMAL.
35354 * math/s_ccoshf.c (__ccoshf): Likewise.
35355 * math/s_ccoshl.c (__ccoshl): Likewise.
35356 * math/s_cexp.c (__cexp): Likewise.
35357 * math/s_cexpf.c (__cexpf): Likewise.
35358 * math/s_cexpl.c (__cexpl): Likewise.
35359 * math/s_csin.c (__csin): Likewise.
35360 * math/s_csinf.c (__csinf): Likewise.
35361 * math/s_csinh.c (__csinh): Likewise.
35362 * math/s_csinhf.c (__csinhf): Likewise.
35363 * math/s_csinhl.c (__csinhl): Likewise.
35364 * math/s_csinl.c (__csinl): Likewise.
35365 * math/s_ctan.c (__ctan): Likewise.
35366 * math/s_ctanf.c (__ctanf): Likewise.
35367 * math/s_ctanh.c (__ctanh): Likewise.
35368 * math/s_ctanhf.c (__ctanhf): Likewise.
35369 * math/s_ctanhl.c (__ctanhl): Likewise.
35370 * math/s_ctanl.c (__ctanl): Likewise.
35371 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35372 csin, csinh, ctan and ctanh.
35373 * math/auto-libm-test-out: Regenerated.
35374 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35375 * sysdeps/i386/fpu/libm-test-ulps: Update.
35376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35377
35378 2015-06-24 Roland McGrath <roland@hack.frob.com>
35379
35380 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35381 return value is wrong, print the expected value too.
35382
35383 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35384
35385 [BZ #18585]
35386 * elf/readlib.c (is_gdb_python_file): New.
35387 (process_file): Don't issue errors on filenames with -gdb.py
35388 suffix.
35389
35390 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35391
35392 * math/auto-libm-test-in: Add more tests of csin and csinh.
35393 * math/auto-libm-test-out: Regenerated.
35394 * math/libm-test.inc (csin_test_data): Remove tests moved to
35395 auto-libm-test-in.
35396 (csinh_test_data): Likewise.
35397
35398 [BZ #18593]
35399 * math/s_csin.c (__csin): Negate before rather than after possibly
35400 overflowing multiplication.
35401 * math/s_csinf.c (__csinf): Likewise.
35402 * math/s_csinh.c (__csinh): Likewise.
35403 * math/s_csinhf.c (__csinhf): Likewise.
35404 * math/s_csinhl.c (__csinhl): Likewise.
35405 * math/s_csinl.c (__csinl): Likewise.
35406 * math/auto-libm-test-in: Add some tests of csin and csinh.
35407 * math/auto-libm-test-out: Regenerated.
35408 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35409 (csinh_test_data): Likewise.
35410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35411
35412 [BZ #18586]
35413 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35414 underflow exception for small results.
35415
35416 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35417
35418 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35419 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35420 variable and included header.
35421 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35422 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35423 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35424 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35425 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35426 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35427 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35428 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35429 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35430 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35431 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35432 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35433 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35434 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35435 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35436 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35437
35438 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35439
35440 [BZ #16526]
35441 [BZ #16538]
35442 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35443 (__sin): Force underflow exception for arguments with small
35444 absolute value.
35445 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35446 (__kernel_sinf): Force underflow exception for arguments with
35447 small absolute value.
35448 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35449 (__kernel_sincosl): Force underflow exception for arguments with
35450 small absolute value.
35451 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35452 (__kernel_sinl): Force underflow exception for arguments with
35453 small absolute value.
35454 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35455 (__kernel_sincosl): Force underflow exception for arguments with
35456 small absolute value.
35457 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35458 (__kernel_sinl): Force underflow exception for arguments with
35459 small absolute value.
35460 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35461 (__kernel_sinl): Force underflow exception for arguments with
35462 small absolute value.
35463 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35464 (__kernel_sinf): Force underflow exception for arguments with
35465 small absolute value.
35466 * math/auto-libm-test-in: Add more tests of sin and sincos.
35467 * math/auto-libm-test-out: Regenerated.
35468
35469 [BZ #18245]
35470 [BZ #18583]
35471 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35472 (__kernel_standard_l): Use feholdexcept and fesetenv around
35473 conversion to double instead of special-casing overflow and
35474 underflow.
35475 * math/libm-test.inc (fmod_test_data): Add more tests.
35476 (remainder_test_data): Likewise.
35477 (sqrt_test_data): Likewise.
35478
35479 2015-06-23 Torvald Riegel <triegel@redhat.com>
35480
35481 [BZ #17403]
35482 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35483 atomic_read_barrier, atomic_write_barrier): Define.
35484 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35485 atomic_read_barrier, atomic_write_barrier): Define.
35486
35487 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35488
35489 * math/Makefile [$(PERL) != no]
35490 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35491 dependency on libm-test.stmp below the inclusion of Rules.
35492
35493 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35494
35495 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35496 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35497 and included header.
35498 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35499 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35500 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35501 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35502 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35503 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35504 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35505 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35506 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35507 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35508 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35509 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35510 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35511 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35512 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35513 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35514 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35515 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35516 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35517
35518 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35519
35520 [BZ #18371]
35521 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35522 intermediate but not final result might underflow.
35523 * math/s_csqrtf.c (__csqrtf): Likewise.
35524 * math/s_csqrtl.c (__csqrtl): Likewise.
35525 * math/auto-libm-test-in: Add more tests of csqrt.
35526 * math/auto-libm-test-out: Regenerated.
35527 * sysdeps/i386/fpu/libm-test-ulps: Update.
35528
35529 [BZ #18219]
35530 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35531 threshold on absolute value of exponent for which scaling is used.
35532 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35533 * math/auto-libm-test-in: Add more tests of exp2.
35534 * math/auto-libm-test-out: Regenerated.
35535
35536 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35537
35538 [BZ #17977]
35539 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35540 when initializing interface list, based on the bug analysis
35541 and the patch proposed by Eric Newton.
35542 * resolv/tst-res_hconf_reorder.c: New test.
35543 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35544 tst-res_hconf_reorder.
35545 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35546 and $(shared-thread-library).
35547 (tst-res_hconf_reorder-ENV): New variable.
35548
35549 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35550 in comment.
35551
35552 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35553
35554 [BZ #16353]
35555 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35556 (__expm1): Force underflow exception for arguments with small
35557 absolute value.
35558 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35559 (__expm1f): Force underflow exception for arguments with small
35560 absolute value.
35561 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35562 (__expm1): Force underflow exception for arguments with small
35563 absolute value.
35564 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35565 (__expm1f): Force underflow exception for arguments with small
35566 absolute value.
35567 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35568 Check for small arguments before calling __expm1.
35569 * math/auto-libm-test-in: Do not mark underflow exceptions as
35570 possibly missing for bug 16353.
35571 * math/auto-libm-test-out: Regenerated.
35572
35573 2015-06-22 Andreas Schwab <schwab@suse.de>
35574
35575 [BZ #18513]
35576 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35577 PTR queries.
35578
35579 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35580
35581 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35582
35583 * string/strcoll_l.c: Remove unused struct element idxnow.
35584
35585 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35586
35587 [BZ #18569]
35588 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35589 underflow and return argument in case of subnormal argument.
35590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35591 Likewise.
35592 * math/auto-libm-test-in: Add more tests of expm1.
35593 * math/auto-libm-test-out: Regenerated.
35594
35595 [BZ #16361]
35596 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35597 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35598 tiny results.
35599 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35600 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35601 tiny results.
35602 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35603 mark underflow exceptions as possibly missing for bug 16361.
35604 * math/auto-libm-test-out: Regenerated.
35605
35606 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35607
35608 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35609 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35610 Remove variable.
35611 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35612 (test-xfail-XOPEN2K8/utmpx.h/conform).
35613
35614 * conform/conformtest.pl ($xerrors): New variable.
35615 (note_error): New function.
35616 (compiletest): New argument $xfail. Use not_error.
35617 (runtest): Likewise.
35618 (top level): Handle xfail- lines. Update calls to compiletest and
35619 runtest. Handle xfail- and optional- in headers listed with
35620 allow-header.
35621 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35622 (O_EXEC): Likewise.
35623 (O_SEARCH): Likewise.
35624 * conform/data/stropts.h-data (ioctl): Likewise.
35625 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35626 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35627 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35628 (msghdr.msg_controllen): Likewise.
35629 (cmsghdr.cmsg_len): Likewise.
35630 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35631 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35632 variable.
35633 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35634 (test-xfail-XPG4/stropts.h/conform): Likewise.
35635 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35636 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35637 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35638 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35639 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35640 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35641 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35642 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35643 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35644 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35645 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35646 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35647 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35648 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35649 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35650 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35651 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35652 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35653 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35654
35655 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35656
35657 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35658 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35659 definitions for proper unfolding of __MATHDECL_VEC.
35660
35661 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35662
35663 * benchtests/bench-strcoll.c:
35664 Include string.h.
35665 (main): Remove unused variable res.
35666
35667 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35668
35669 * timezone/Makefile (%/UTC %/Universal):
35670 Generate test-result files for UTC and Universal.
35671
35672 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35673
35674 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35675
35676 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35677
35678 [BZ #16350]
35679 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35680 for arguments with small absolute value.
35681 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35682 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35683 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35684 (__asinh): Force underflow exception for arguments with small
35685 absolute value.
35686 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35687 (__asinhf): Force underflow exception for arguments with small
35688 absolute value.
35689 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35690 (__asinhl): Force underflow exception for arguments with small
35691 absolute value.
35692 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35693 (__asinhl): Force underflow exception for arguments with small
35694 absolute value.
35695 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35696 (__asinhl): Force underflow exception for arguments with small
35697 absolute value.
35698 * math/auto-libm-test-in: Do not mark underflow exceptions as
35699 possibly missing for bug 16350.
35700 * math/auto-libm-test-out: Regenerated.
35701
35702 * include/bits/ipc.h: Remove file.
35703 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35704 variable.
35705 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35706 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35707 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35708 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35709 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35710 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35711 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35712 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35713 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35714
35715 * math/auto-libm-test-in: Remove spurious underflow allowance for
35716 tests of cexp.
35717 * math/auto-libm-test-out: Regenerated.
35718
35719 [BZ #18558]
35720 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35721 unconditional definition.
35722 (MCAST_BLOCK_SOURCE): Likewise.
35723 (MCAST_UNBLOCK_SOURCE): Likewise.
35724 (MCAST_LEAVE_GROUP): Likewise.
35725 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35726 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35727 (MCAST_MSFILTER): Likewise.
35728 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35729 Remove variable.
35730 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35731 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35732 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35733 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35734 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35735
35736 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35737
35738 * NEWS: Mention addition of x86_64 vector sincosf.
35739 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35740 * math/test-float-vlen4.h: Likewise.
35741 * math/test-float-vlen8.h: Likewise.
35742 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35743 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35744 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35745 * sysdeps/x86_64/fpu/Versions: New versions added.
35746 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35747 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35748 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35749 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35750 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35751 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35752 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35753 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35754 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35755 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35756 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35757 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35758 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35759 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35760 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35761 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35762 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35763 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35764 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35765 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35766 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35767 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35768 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35769 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35770
35771 * NEWS: Mention addition of x86_64 vector sincos.
35772 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35773 * math/math.h (__MATHDECL_VEC): New macro.
35774 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35775 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35776 declaration under condition.
35777 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35778 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35779 TEST_VEC_LOOP change.
35780 * math/test-double-vlen4.h: Likewise.
35781 * math/test-double-vlen8.h: Likewise.
35782 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35783 * math/test-float-vlen4.h: Likewise.
35784 * math/test-float-vlen8.h: Likewise.
35785 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35786 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35787 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35788 * sysdeps/x86_64/fpu/Versions: New versions added.
35789 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35790 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35791 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35793 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35794 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35795 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35796 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35797 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35798 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35799 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35800 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35801 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35802 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35803 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35804 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35805 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35806 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35807 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35808 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35809 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35810 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35811 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35812 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35813
35814 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35815 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35816 redirections for powf.
35817 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35818 * sysdeps/x86_64/fpu/Versions: New versions added.
35819 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35820 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35821 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35822 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35823 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35824 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35825 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35826 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35827 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35828 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35829 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35830 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35831 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35832 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35833 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35834 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35835 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35836 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35837 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35838 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35839 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35840 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35841 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35842 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35843 * math/test-float-vlen16.h: Fixed 2 argument macro.
35844 * math/test-float-vlen4.h: Likewise.
35845 * math/test-float-vlen8.h: Likewise.
35846 * NEWS: Mention addition of x86_64 vector powf.
35847
35848 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35849
35850 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35851 and redefine.
35852 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35853 and redefine.
35854 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35855 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35857
35858 [BZ #18553]
35859 * resource/getpriority.c (getpriority): Rename to __getpriority
35860 and define as weak alias of __getpriority.
35861 * resource/setpriority.c (setpriority): Rename to __setpriority
35862 and define as weak alias of __setpriority.
35863 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35864 __getpriority and define as weak alias of __getpriority.
35865 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35866 __setpriority and define as weak alias of __setpriority.
35867 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35868 strong name.
35869 (setpriority): Use __setpriority as strong name.
35870 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35871 __getpriority and define as weak alias of __getpriority.
35872 * include/sys/resource.h (__getpriority): Declare. Use
35873 libc_hidden_proto.
35874 (__setpriority): Likewise.
35875 (getpriority): Don't use libc_hidden_proto.
35876 (setpriority): Likewise.
35877 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35878 getpriority. Call __setpriority instead of setpriority.
35879 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35880 Remove variable.
35881
35882 [BZ #18547]
35883 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35884 as weak alias of __getttynam. Use prototype function definition.
35885 Call __setttyent, __getttyent and __endttyent instead of
35886 setttyent, getttyent and endttyent.
35887 (getttyent): Rename to __getttyent and define as weak alias of
35888 __getttyent. Call __setttyent instead of setttyent. Call
35889 __fgets_unlocked instead of fgets_unlocked.
35890 (setttyent): Rename to __setttyent and define as weak alias of
35891 __setttyent.
35892 (endttyent): Rename to __endttyent and define as weak alias of
35893 __endttyent.
35894 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35895 (__setttyent): Likewise.
35896 (__endttyent): Likewise.
35897 (getttyent): Don't use libc_hidden_proto.
35898 (setttyent): Likewise.
35899 (endttyent): Likewise.
35900 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35901 __endttyent instead of setttyent, getttyent and endttyent.
35902 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35903 Remove variable.
35904
35905 [BZ #18546]
35906 * socket/recv.c (__recv): Use libc_hidden_def.
35907 * socket/socket.c (__socket): Likewise.
35908 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35909 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35910 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35911 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35912 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35913 libc_hidden_def.
35914 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35915 libc_hidden_weak.
35916 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35917 Use libc_hidden_proto.
35918 (__recv): Likewise.
35919 * socket/Versions (libc): Export __recv and __socket at version
35920 GLIBC_PRIVATE.
35921 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35922 instead of recv.
35923 (init_mq_netlink): Call __socket instead of socket.
35924 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35925 Remove variable.
35926
35927 [BZ #18545]
35928 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35929 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35930 hidden_weak.
35931 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35932 define as alias of __mq_timedsend. Use hidden_weak.
35933 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35934 __mq_timedsend as strong name.
35935 (mq_timedreceive): Use __mq_timedreceive as strong name.
35936 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35937 (__mq_timedreceive): Likewise.
35938 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35939 __mq_timedreceive instead of mq_timedreceive.
35940 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35941 instead of mq_timedsend.
35942 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35943 Remove variable.
35944
35945 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35946 hidden_def and hidden_weak instead of libc_hidden_def and
35947 libc_hidden_weak.
35948 (top level): Refer to hidden_def in comment.
35949 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35950 macro. Use it instead of libc_hidden_def.
35951 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35952 specify __GI_* name explicitly.
35953 (mq_timedreceive): Likewise.
35954 (mq_setattr): Likewise.
35955
35956 [BZ #18544]
35957 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35958 __pthread_barrier_init and define as weak alias of
35959 __pthread_barrier_init.
35960 * sysdeps/sparc/nptl/pthread_barrier_init.c
35961 (pthread_barrier_init): Likewise.
35962 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35963 __pthread_barrier_wait and define as weak alias of
35964 __pthread_barrier_wait.
35965 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35966 (pthread_barrier_wait): Likewise.
35967 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35968 (pthread_barrier_wait): Likewise.
35969 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35970 (pthread_barrier_wait): Likewise.
35971 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35972 (pthread_barrier_wait): Likewise.
35973 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35974 __pthread_barrier_wait at version GLIBC_PRIVATE.
35975 * include/pthread.h (__pthread_barrier_init): Declare.
35976 (__pthread_barrier_wait): Likewise.
35977 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35978 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35979 (helper_thread): Likewise.
35980 (init_mq_netlink): Call __pthread_barrier_init instead of
35981 pthread_barrier_init.
35982
35983 [BZ #18542]
35984 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35985 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35986 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35987 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35988 vswscanf.
35989 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35990 Remove variable.
35991
35992 [BZ #18540]
35993 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35994 strong alias of _IO_fflush. Use libc_hidden_def.
35995 * libio/iofflush_u.c (fflush_unlocked): Rename to
35996 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35997 Use libc_hidden_weak.
35998 * include/stdio.h (__fflush_unlocked): Declare. Use
35999 libc_hidden_proto.
36000 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
36001 fflush_unlocked.
36002 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
36003 Remove variable.
36004
36005 [BZ #18539]
36006 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
36007 define as weak alias of __addseverity.
36008 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
36009 Remove variable.
36010 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36011 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36012 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36013
36014 [BZ #18536]
36015 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
36016 (__tfind): Likewise.
36017 (__tdelete): Likewise.
36018 (__twalk): Likewise.
36019 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
36020 __twalk to GLIBC_PRIVATE.
36021 * include/search.h (__tsearch): Use libc_hidden_proto.
36022 (__tfind): Likewise.
36023 (__tdelete): Likewise.
36024 (__twalk): Likewise.
36025 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
36026 Call __tdelete instead of tdelete.
36027 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
36028 tfind. Call __tsearch instead of tsearch.
36029 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
36030 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
36031 Remove variable.
36032 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36033
36034 [BZ #18534]
36035 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
36036 (dprintf): Define as a weak alias of __dprintf, not a strong
36037 alias.
36038 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
36039 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
36040 dprintf.
36041 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
36042 Remove variable.
36043 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36044 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36045
36046 [BZ #18533]
36047 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
36048 not a strong alias.
36049 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
36050 Remove variable.
36051
36052 [BZ #18532]
36053 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
36054 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
36055 (in6addr_loopback): Rename to __in6addr_loopback and define as
36056 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
36057 * include/netinet/in.h (__in6addr_loopback): Declare. Use
36058 libc_hidden_proto.
36059 (__in6addr_any): Likewise.
36060 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
36061 in6addr_any.
36062 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
36063 variable.
36064 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36065
36066 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
36067
36068 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
36069 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
36070 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36071 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36072 redirections for pow.
36073 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36074 * sysdeps/x86_64/fpu/Versions: New versions added.
36075 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36076 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36077 build of SSE, AVX2 and AVX512 IFUNC versions.
36078 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
36079 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
36080 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
36081 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
36082 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
36083 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
36084 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
36085 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
36086 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
36087 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
36088 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
36089 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
36090 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
36091 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
36092 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36093 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36094 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36095 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36096 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36097 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36098 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36099 * NEWS: Mention addition of x86_64 vector pow.
36100
36101 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36102 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36103 redirections for expf.
36104 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36105 * sysdeps/x86_64/fpu/Versions: New versions added.
36106 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36107 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36108 build of SSE, AVX2 and AVX512 IFUNC versions.
36109 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
36110 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
36111 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
36112 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
36113 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
36114 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
36115 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
36116 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
36117 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
36118 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
36119 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
36120 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
36121 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
36122 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36123 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36124 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36125 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36126 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36127 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36128 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36129 * NEWS: Mention addition of x86_64 vector expf.
36130
36131 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
36132 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
36133 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36134 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36135 redirections for exp.
36136 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36137 * sysdeps/x86_64/fpu/Versions: New versions added.
36138 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36139 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36140 build of SSE, AVX2 and AVX512 IFUNC versions.
36141 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
36142 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
36143 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
36144 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
36145 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
36146 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
36147 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
36148 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
36149 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36150 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36151 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36152 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36153 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36154 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36155 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36156 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36157 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36158 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36159 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36160 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36161 * NEWS: Mention addition of x86_64 vector exp.
36162
36163 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36164 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36165 redirections for logf.
36166 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36167 * sysdeps/x86_64/fpu/Versions: New versions added.
36168 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36169 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36170 build of SSE, AVX2 and AVX512 IFUNC versions.
36171 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36172 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36173 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36174 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36175 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36176 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36177 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36178 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36179 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36180 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36181 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36182 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36183 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36184 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36185 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36186 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36187 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36188 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36189 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36190 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36191 * NEWS: Mention addition of x86_64 vector logf.
36192
36193 * bits/libm-simd-decl-stubs.h: Added stubs for log.
36194 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36195 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36196 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36197 redirections for log.
36198 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36199 * sysdeps/x86_64/fpu/Versions: New versions added.
36200 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36201 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36202 build of SSE, AVX2 and AVX512 IFUNC versions.
36203 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36204 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36205 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36206 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36207 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36208 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36209 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36210 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36211 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36212 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36213 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36214 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36215 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36216 test.
36217 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36218 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36219 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36220 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36221 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36222 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36223 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36224 * NEWS: Mention addition of x86_64 vector log.
36225
36226 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
36227
36228 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36229 cfi_adjust_cfa_offset argument.
36230 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36231 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36232
36233 [BZ #18034]
36234 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36235 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36236 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36237 ordering using ldar.
36238 (_dl_tlsdesc_dynamic): Likewise.
36239 (_dl_tlsdesc_return_lazy): Likewise.
36240 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36241 relaxed atomics instead of volatile and synchronize with release store.
36242 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36243 volatile.
36244 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36245
36246 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
36247
36248 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36249 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36250 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36251 * sysdeps/x86_64/fpu/Versions: New versions added.
36252 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36253 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36254 build of SSE, AVX2 and AVX512 IFUNC versions.
36255 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36256 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36257 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36258 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36259 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36260 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36261 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36262 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36263 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36264 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36265 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36266 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36267 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36268 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36269 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36270 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36271 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36272 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36273 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36274 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36275 * NEWS: Mention addition of x86_64 vector sinf.
36276
36277 2015-06-14 Joseph Myers <joseph@codesourcery.com>
36278
36279 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36280 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36281 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36282 Remove variable.
36283 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36284 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36285
36286 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36287
36288 [BZ #18530]
36289 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36290 strong alias of _IO_fputs. Use libc_hidden_def.
36291 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36292 and define as weak alias of __fputs_unlocked. Use
36293 libc_hidden_weak.
36294 * include/stdio.h (__fputs_unlocked): Declare. Use
36295 libc_hidden_proto.
36296 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36297 fputs_unlocked.
36298
36299 [BZ #18529]
36300 * resolv/netdb.h [__USE_POSIX]: Change condition to
36301 [__USE_XOPEN2K].
36302 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36303 not expect.
36304 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36305 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36306 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36307 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36308 [XPG4 || UNIX98] (AI_ALL): Likewise.
36309 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36310 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36311 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36312 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36313 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36314 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36315 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36316 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36317 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36318 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36319 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36320 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36321 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36322 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36323 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36324 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36325 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36326 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36327 [XPG4 || UNIX98] (gai_strerror): Likewise.
36328 [XPG4 || UNIX98] (getaddrinfo): Likewise.
36329 [XPG4 || UNIX98] (getnameinfo): Likewise.
36330
36331 [BZ #18528]
36332 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36333 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36334 __USE_XOPEN2K8].
36335 (getgrent): Likewise.
36336 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36337 expect.
36338 [XPG3 || POSIX2008] (endgrent): Likewise.
36339 [XPG3] (setgrent): Likewise.
36340 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36341 variable.
36342 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36343
36344 [BZ #18527]
36345 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36346 define as weak alias of __getlogin_r. Use libc_hidden_weak.
36347 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36348 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36349 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36350 * include/unistd.h (__getlogin_r): Declare. Use
36351 libc_hidden_proto.
36352 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36353 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36354 variable.
36355 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36356 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36357 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36358
36359 2015-06-12 Martin Sebor <msebor@redhat.com>
36360
36361 [BZ #18512]
36362 * Makerules (check-install-supported): New target.
36363 (install): Add check-install-supported as a dependency.
36364 * manual/install.texi (Installing the C Library): Document
36365 that overriding prefix and exec_prefix is not supported.
36366 Mention DESTDIR.
36367 * INSTALL: Regenerate from the above.
36368
36369 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36370
36371 [BZ #18519]
36372 * posix/Versions (libc): Export __libc_pread at version
36373 GLIBC_PRIVATE.
36374 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36375 instead of pread.
36376 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36377 variable.
36378
36379 [BZ #18522]
36380 * misc/efgcvt_r.c
36381 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36382 (cvt_symbol): Use weak_alias instead of strong_alias.
36383 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36384 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36385 Remove variable.
36386 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36387 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36388
36389 [BZ #18520]
36390 * inet/herrno.c (h_errno): Rename to __h_errno.
36391 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36392 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36393 to __h_errno instead of h_errno.
36394 * nptl/herrno.c (h_errno): Rename to __h_errno.
36395 (__h_errno_location): Refer to __h_errno not h_errno.
36396 * resolv/Versions (h_errno): Rename to __h_errno.
36397 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36398 Remove variable.
36399 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36400
36401 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36402
36403 * configure.ac: More strict check for AVX512 assembler support.
36404 * configure: Regenerated.
36405
36406 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36407 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36408 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36409 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36410 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36411 * sysdeps/x86_64/fpu/Versions: New versions added.
36412 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36413 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36414 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36415 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36416 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36417 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36418 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36419 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36421 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36422 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36423 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36424 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36425 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36426 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36427 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36428 test.
36429 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36430 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36431 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36432 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36433 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36434 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36435 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36436 * NEWS: Mention addition of x86_64 vector sin.
36437
36438 2015-06-11 Florian Weimer <fweimer@redhat.com>
36439
36440 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36441 comment.
36442
36443 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36444
36445 [BZ #18479]
36446 * nptl/pt-interp.c: New file.
36447 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36448 Add pt-interp.
36449 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36450 $(common-objpfx)runtime-linker.h.
36451
36452 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36453
36454 * Makeconfig (+interp): Remove unused variable.
36455 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36456 only. Depend on $(common-objpfx)runtime-linker.h instead of
36457 $(elf-objpfx)runtime-linker.h.
36458 ($(elf-objpfx)runtime-linker.h): Rename to
36459 $(common-objpfx)runtime-linker.h and move ...
36460 * Makerules [$(build-shared) = yes]: ... here.
36461 * elf/interp.c: Include <runtime-linker.h> instead of
36462 <elf/runtime-linker.h>.
36463
36464 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36465
36466 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36467 (__gettimeofday_syscall): Remove vsyscall fallback.
36468 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36469 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36470 Add syscall fallback function.
36471 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36472 if vDSO is not present.
36473 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36474 fallback function.
36475 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36476 present.
36477 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36478 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36479
36480 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36481
36482 [BZ #18497]
36483 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36484 of wcscmp.
36485 (wcscmp): Define as weak alias of WCSCMP.
36486 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36487 wcscoll.
36488 (USE_HIDDEN_DEF): Define.
36489 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36490 __wcscoll. Don't use libc_hidden_weak.
36491 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36492 wcscmp.
36493 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36494 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36495 __GI_wcscmp.
36496 (weak_alias): Undefine and redefine.
36497 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36498 __wcscmp and define as weak alias of __wcscmp.
36499 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36500 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36501 (__wcscoll): Likewise.
36502 (wcscmp): Don't use libc_hidden_proto.
36503 (wcscoll): Likewise.
36504 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36505 wcscoll.
36506 * posix/regexec.c (check_node_accept_bytes): Likewise.
36507 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36508 variable.
36509 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36510 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36511
36512 [BZ #18507]
36513 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36514 __fstatvfs and define as weak alias of __fstatvfs. Use
36515 libc_hidden_weak.
36516 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36517 and define as weak alias of __statvfs. Use libc_hidden_weak.
36518 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36519 Define as alias of __fstatvfs, not fstatvfs.
36520 (fstatvfs64): Likewise.
36521 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36522 Define as alias of __statvfs, not statvfs.
36523 (statvfs64): Likewise.
36524 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36525 Remove variable.
36526
36527 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36528
36529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36530 (HAVE_GETCPU_VSYSCALL): Define.
36531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36532 (HAVE_GETCPU_VSYSCALL): Likewise.
36533 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36534 * sysdeps/unix/sysv/linux/sched_getcpu.c
36535 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36536 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36537 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36538 prototype.
36539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36540 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36541 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36543 Define.
36544 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36545 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36548
36549 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36550
36551 * sysdeps/x86_64/fpu/Makefile: New file.
36552 * sysdeps/x86_64/fpu/Versions: New file.
36553 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36554 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36555 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36556 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36557 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36558 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36559 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36560 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36561 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36562 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36563 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36564 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36565 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36566 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36567 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36568 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36569 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36570 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36571 * sysdeps/x86_64/configure: Regenerated.
36572 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36573 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36574 * manual/install.texi (Configuring and compiling): Document
36575 --disable-mathvec.
36576 * INSTALL: Regenerated.
36577 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36578
36579 * math/Makefile: Added rules for vector tests.
36580 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36581 declaration under condition.
36582 * math/test-double-vlen2.h: New file.
36583 * math/test-double-vlen4.h: New file.
36584 * math/test-double-vlen8.h: New file.
36585 * math/test-vec-loop.h: Added initialization macro.
36586 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36587 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36588 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36589 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36590 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36591 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36592 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36593 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36594 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36595 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36596 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36597
36598 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36599 * sysdeps/x86_64/fpu/Versions: New versions added.
36600 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36601 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36602 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36603 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36604 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36605 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36606 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36607 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36608 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36609 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36610 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36611 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36612 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36613 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36614 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36615 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36616 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36617 * NEWS: Mention addition of x86_64 vector cosf.
36618
36619 * math/Makefile: Added CFLAGS for new tests.
36620 * math/test-float-vlen16.h: New file.
36621 * math/test-float-vlen4.h: New file.
36622 * math/test-float-vlen8.h: New file.
36623 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36624 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36625 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36626 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36627 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36628 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36629 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36630 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36631 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36632 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36633 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36634
36635 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36636
36637 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36638 * locale/programs/ld-ctype.c: Likewise.
36639
36640 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36641
36642 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36643 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36644 bit_ZMM16_31_state): New macro.
36645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36646 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36647
36648 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36649
36650 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36651
36652 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36653
36654 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36655
36656 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36657
36658 [BZ #18498]
36659 * libio/memstream.c (open_memstream): Rename to __open_memstream
36660 and define as weak alias of __open_memstream.
36661 * include/stdio.h (__open_memstream): Declare. Use
36662 libc_hidden_proto.
36663 (open_memstream): Don't use libc_hidden_proto.
36664 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36665 open_memstream.
36666 * posix/getopt.c (_getopt_internal_r): Likewise.
36667 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36668 variable.
36669 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36670 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36671 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36672
36673 [BZ #18496]
36674 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36675 instead of wcrtomb.
36676
36677 [BZ #18483]
36678 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36679 [__USE_XOPEN2K8]. Remove redundant #endif.
36680 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36681 Remove redundant #if.
36682 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36683 Remove variable.
36684 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36685 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36686
36687 [BZ #18495]
36688 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36689 (__iswlower): Likewise.
36690 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36691 (__iswlower): Likewise.
36692 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36693 instead of towlower.
36694 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36695 instead of iswlower. Call __towupper instead of towupper.
36696 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36697 instead of iswalnum.
36698
36699 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36700
36701 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36702 errors to stderr.
36703
36704 2015-06-05 Florian Weimer <fweimer@redhat.com>
36705
36706 [BZ #15661]
36707 [BZ #17322]
36708 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36709 Check for overflow properly. Check for O_APPEND. Ignore large
36710 file system block sizes. Add comments about problems.
36711 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36712 * manual/filesys.texi (Storage Allocation): New node.
36713
36714 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36715
36716 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36717 cancellable syscalls.
36718 (SYS_ify): Add guard to no redefine it.
36719 (INLINE_SYSCALL): Likewise.
36720 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36721 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36722 SYSCALL_CANCEL instead.
36723 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36724 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36725 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36726 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36727 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36728 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36729 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36730 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36731 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36732 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36733 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36734 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36735 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36736 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36737 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36738 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36739 Likewise.
36740 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36741 (__libc_pread64): Likewise.
36742 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36743 (__libc_preadv): Likewise.
36744 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36745 (__libc_readv64): Likewise.
36746 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36747 (__libc_pwrite): Likewise.
36748 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36749 (__libc_pwrite64): Likewise.
36750 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36751 (__libc_pwritev): Likewise.
36752 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36753 (__libc_pwritev64): Likewise.
36754 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36755 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36756 (sync_file_range): Likewise.
36757 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36758 Likewise.
36759 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36760 Likewise.
36761 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36762 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36763 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36764 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36765 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36766 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36767 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36768 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36770 Likewise.
36771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36772 (__libc_read64): Likewise.
36773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36774 Likewise.
36775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36776 Likewise.
36777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36778 Likewise.
36779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36780 Likewise.
36781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36782 (__libc_pread64): Likewise.
36783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36784 Likewise.
36785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36786 (__libc_pwrite64): Likewise.
36787 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36788 (sync_file_range): Likewise.
36789 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36790 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36791 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36792 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36793 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36794 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36795 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36796 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36797 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36798 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36799 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36800 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36801 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36802 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36803 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36804 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36805 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36806 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36807 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36808 Likewise.
36809 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36810 Likewise.
36811 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36812 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36813 Likewise.
36814 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36815 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36816 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36817 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36818 Likewise.
36819 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36820 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36821 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36822 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36823 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36824
36825 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36826
36827 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36828 Include dl-vdso.
36829 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36830 Use VDSO routines for gettimeofday, clock_gettime if
36831 available.
36832 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36833 Declare VDSO symbols.
36834 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36835 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36836 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36837 * sysdeps/unix/sysv/linux/arm/Versions: Add
36838 __vdso_clock_gettime.
36839
36840 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36841
36842 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36843 be an inline implementation regardless of library is built within.
36844 (open_not_cancel_2): Likewise.
36845 (__read_nocancel): Likewise.
36846 (__write_nocancel): Likewise.
36847 (openat_not_cancel): Likewise.
36848 (openat_not_cancel_3): Likewise.
36849 (openat64_not_cancel): Likewise.
36850 (openat64_not_cancel_3): Likewise.
36851 (__close_nocancel): Likewise.
36852 (pause_not_cancel): Likewise.
36853 (nanosleep_not_cancel): Likewise.
36854 (sigsuspend_not_cancel): Likewise.
36855
36856 2015-06-04 Torvald Riegel <triegel@redhat.com>
36857
36858 [BZ #14958]
36859 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36860 wake-up.
36861 (__pthread_rwlock_rdlock_slow): Likewise.
36862 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36863 Likewise.
36864 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36865 Likewise.
36866 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36867 * nptl/tst-rwlock16.c: New file.
36868 * nptl/Makefile (tests): Add new test.
36869
36870 2015-06-04 Torvald Riegel <triegel@redhat.com>
36871
36872 [BZ #18324]
36873 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36874 missing wake-up of readers.
36875 * nptl/tst-rwlock15.c: New file.
36876 * nptl/Makefile (tests): Add new test.
36877
36878 2015-06-03 Roland McGrath <roland@hack.frob.com>
36879
36880 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36881 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36882 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36883 and __nacl_supply_interface_rtld.
36884 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36885 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36886 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36887 Add __nacl_supply_interface_rtld.
36888 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36889
36890 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36891
36892 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36893 isfinite.
36894 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36895 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36896
36897 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36898
36899 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36900 __signbit* with standard C99 macros.
36901 * math/e_exp10l.c: Likewise.
36902 * math/e_exp2l.c: Likewise.
36903 * math/e_scalb.c: Likewise.
36904 * math/e_scalbf.c: Likewise.
36905 * math/e_scalbl.c: Likewise.
36906 * math/s_ldexp.c: Likewise.
36907 * math/s_ldexpf.c: Likewise.
36908 * math/s_ldexpl.c: Likewise.
36909 * math/w_atan2.c: Likewise.
36910 * math/w_atan2f.c: Likewise.
36911 * math/w_atan2l.c: Likewise.
36912 * math/w_cosh.c: Likewise.
36913 * math/w_coshf.c: Likewise.
36914 * math/w_coshl.c: Likewise.
36915 * math/w_exp10.c: Likewise.
36916 * math/w_exp10f.c: Likewise.
36917 * math/w_exp10l.c: Likewise.
36918 * math/w_exp2.c: Likewise.
36919 * math/w_exp2f.c: Likewise.
36920 * math/w_exp2l.c: Likewise.
36921 * math/w_fmod.c: Likewise.
36922 * math/w_fmodf.c: Likewise.
36923 * math/w_fmodl.c: Likewise.
36924 * math/w_hypot.c: Likewise.
36925 * math/w_hypotf.c: Likewise.
36926 * math/w_hypotl.c: Likewise.
36927 * math/w_jnl.c: Likewise.
36928 * math/w_lgamma.c: Likewise.
36929 * math/w_lgamma_r.c: Likewise.
36930 * math/w_lgammaf.c: Likewise.
36931 * math/w_lgammaf_r.c: Likewise.
36932 * math/w_lgammal.c: Likewise.
36933 * math/w_lgammal_r.c: Likewise.
36934 * math/w_pow.c: Likewise.
36935 * math/w_powf.c: Likewise.
36936 * math/w_powl.c: Likewise.
36937 * math/w_remainder.c: Likewise.
36938 * math/w_remainderf.c: Likewise.
36939 * math/w_remainderl.c: Likewise.
36940 * math/w_scalb.c: Likewise.
36941 * math/w_scalbf.c: Likewise.
36942 * math/w_scalbl.c: Likewise.
36943 * math/w_scalbln.c: Likewise.
36944 * math/w_scalblnf.c: Likewise.
36945 * math/w_scalblnl.c: Likewise.
36946 * math/w_sinh.c: Likewise.
36947 * math/w_sinhf.c: Likewise.
36948 * math/w_sinhl.c: Likewise.
36949 * math/w_tgamma.c: Likewise.
36950 * math/w_tgammaf.c: Likewise.
36951 * math/w_tgammal.c: Likewise.
36952 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36953 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36954 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36955 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36956 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36958 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36959 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36960 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36962 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36963 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36964 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36965 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36966 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36968 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36969 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36970 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36973 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36976 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36977 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36978 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36981 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36982 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36983 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36984 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36985 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36986 * stdio-common/printf_fp.c: Likewise.
36987 * stdio-common/printf_fphex.c: Likewise.
36988 * stdio-common/printf_size.c: Likewise.
36989
36990 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36991
36992 [BZ #18470]
36993 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36994 strnlen.
36995 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36996 Remove variable.
36997 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36998 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36999 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37000 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37001 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37002 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37003 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37004 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37005 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37006 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37007
37008 [BZ #18468]
37009 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
37010 weak alias of __wmemchr. Use libc_hidden_weak.
37011 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
37012 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
37013 instead of wmemchr.
37014
37015 2015-06-02 Roland McGrath <roland@hack.frob.com>
37016
37017 [BZ #18383]
37018 * elf/tst-tlsalign-extern.c: New file.
37019 * elf/tst-tlsalign-extern-static.c: New file.
37020 * elf/tst-tlsalign-vars.c: New file.
37021 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
37022 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
37023 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
37024 ($(objpfx)tst-tlsalign-extern-static): Likewise.
37025 (test-xfail-tst-tlsalign-extern-static): New variable.
37026
37027 2015-06-02 Joseph Myers <joseph@codesourcery.com>
37028
37029 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
37030 Use variable name _sc_err instead of err.
37031 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
37032 instead of ret.
37033 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
37034 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
37035 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
37036 (INLINE_SYSCALL): Likewise.
37037
37038 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
37039 * include/string.h (__strnlen): Use libc_hidden_proto.
37040 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
37041 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
37042 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
37043 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
37044 (libc_hidden_def): Undefine and redefine.
37045 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
37046 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
37047 __GI_strnlen.
37048 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
37049 libc_hidden_def.
37050 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
37051
37052 [BZ #18469]
37053 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
37054 weak alias of __towlower. Use libc_hidden_weak.
37055 (towupper): Rename to __towupper and define as weak alias of
37056 __towupper. Use libc_hidden_weak.
37057 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
37058 (__towupper): Likewise.
37059 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
37060 __towlower instead of towlower.
37061
37062 2015-06-02 Roland McGrath <roland@hack.frob.com>
37063
37064 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
37065 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
37066
37067 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
37068
37069 * sysdeps/aarch64/libm-test-ulps: Update.
37070
37071 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37072
37073 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
37074 Define.
37075 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
37077 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37078 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37079 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
37080 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
37081 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
37082
37083 2015-06-01 Martin Sebor <msebor@redhat.com>
37084
37085 [BZ #18116]
37086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37087 (__setcontext): Use extended four-operand version of mtsf whenever
37088 possible.
37089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37090 (__novec_swapcontext): Likewise.
37091
37092 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37093
37094 * benchtests/scripts/compare_bench.py: New file.
37095 * benchtests/scripts/import_bench.py (mean): New function.
37096 (split_list): Likewise.
37097 (do_for_all_timings): Likewise.
37098 (compress_timings): Likewise.
37099
37100 * benchtests/scripts/import_bench.py: New file.
37101 * benchtests/scripts/validate_benchout.py: Import import_bench
37102 instead of jsonschema.
37103 (validate_bench): Remove function.
37104 (main): Use import_bench.
37105
37106 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
37107
37108 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
37109 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
37110
37111 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37112
37113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37114
37115 2015-05-28 Roland McGrath <roland@hack.frob.com>
37116
37117 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
37118 set THREAD_SELF->tid to a magic value and futex-wake it.
37119 Pass its address to the thread_exit system call.
37120 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
37121 bit is clear.
37122 * sysdeps/nacl/lowlevellock.h: New file.
37123 * sysdeps/nacl/lll_timedwait_tid.c: New file.
37124
37125 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
37126 Add TIMEOUT to current time, don't subtract it.
37127
37128 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
37129
37130 [BZ #2981]
37131 [BZ #18422]
37132 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
37133 ($(objpfx)tst-audit2.out): Also depend on
37134 $(objpfx)tst-auditmod9b.so.
37135 * elf/tst-audit2.c: Include <dlfcn.h>.
37136 (calloc_called): New.
37137 (calloc): Allow to be called more than once.
37138 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
37139
37140 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
37141
37142 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
37143 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
37144
37145 2015-05-27 Marko Myllynen <myllynen@redhat.com>
37146
37147 * stdlib/monetary.h: Fix comment.
37148
37149 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
37150
37151 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37152 Avoid using variables in #defines that might cause shadowing.
37153 (INTERNAL_VSYSCALL_CALL): Likewise.
37154
37155 2015-05-26 Roland McGrath <roland@hack.frob.com>
37156
37157 * sysdeps/nacl/lll_timedlock_wait.c: New file.
37158
37159 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37160 * nptl/lll_timedlock_wait.c: ... to this new file.
37161 * nptl/Makefile (libpthread-routines): Add it.
37162 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37163 * nptl/lll_timedwait_tid.c: ... to this new file.
37164 * nptl/Makefile (libpthread-routines): Add it.
37165 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37166 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37167 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37168 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37169 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37170 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37171 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37172 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37173 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37174 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37175
37176 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37177
37178 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37179 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37180 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37181 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37182 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37184 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37186 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37187 * sysdeps/unix/sysv/linux/tile/sysdep.h
37188 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37189 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37190 using vDSO syscall macro.
37191
37192 2015-05-26 Andriy Rysin <arysin@gmail.com>
37193
37194 [BZ #17293]
37195 * uk_UA: Fix sorting order for Ukrainian locale
37196
37197 2015-05-26 Marko Myllynen <myllynen@redhat.com>
37198
37199 * stdlib/monetary.h: Fix comment.
37200
37201 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
37202
37203 [BZ #18234]
37204 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37205 st_mtim and st_ctim members.
37206 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37207 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37208 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37209 (struct stat64): Likewise.
37210 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37211 (struct stat64): Likewise.
37212 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37213 (struct stat64): Likewise.
37214
37215 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37216
37217 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37218 Define and include sysdep-vdso.h.
37219 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37220 Likewise.
37221 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37222 Likewise.
37223 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37224 Define with VDSO_SYMBOL and use PTR_MANGLE.
37225 (__vdso_clock_gettime): Likewise.
37226 (__vdso_clock_getres): Likewise.
37227 (_libc_vdso_platform_setup): Likewise.
37228 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37229 Likewise.
37230 (_libc_vdso_platform_setup): Likewise.
37231 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37232 Likewise.
37233 (__vdso_clock_gettime): Likewise.
37234 (__vdso_clock_getres): Likewise.
37235 (__vdso_get_tbfreq): Likewise.
37236 (__vdso_getcpu): Likewise.
37237 (__vdso_time): Likewise.
37238 (__vdso_sigtramp_rt64): Likewise.
37239 (__vdso_signtramp32): Likewise.
37240 (__vdso_sigtramp_rt32): Likewise.
37241 (_libc_vdso_platform_setup): Likewise.
37242 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37243 Likewise.
37244 (__vdso_clock_gettime): Likewise.
37245 (__vdso_clock_getres): Likewise.
37246 (_libc_vdso_platform_setup): Likewise.
37247 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37248 Likewise.
37249 (__vdso_clock_gettime): Likewise.
37250 (_libc_vdso_platform_setup): Likewise.
37251 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37252 Likewise.
37253 (__vdso_getcpu): Likewise.
37254 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37255 Use VDSO_SYMBOL macro to define.
37256 (__vdso_clock_gettime): Likewise.
37257 (__vdso_clock_getres): Likewise.
37258 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37259 Likewise.
37260 (__vdso_clock_gettime): Likewise.
37261 (__vdso_clock_getres): Likewise.
37262 (__vdso_get_tbfreq): Likewise.
37263 (__vdso_getcpu): Likewise.
37264 (__vdso_time): Likewise.
37265 (__vdso_sigtramp_rt64): Likewise.
37266 (__vdso_signtramp32): Likewise.
37267 (__vdso_sigtramp_rt32): Likewise.
37268 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37269 Likewise.
37270 (__vdso_clock_gettime): Likewise.
37271 (__vdso_clock_getres): Likewise.
37272 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37273 Likewise.
37274 (__vdso_clock_gettime): Likewise.
37275 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37276 Likewise.
37277 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
37278 macro.
37279 (INTERNAL_VSYSCALL): Likewise.
37280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37281 Remove macro.
37282 (INTERNAL_VSYSCALL): Likewise.
37283 (INTERNAL_VSYSCALL_NCS): Likewise.
37284 (INTERNAL_VSYSCALL_CALL): New macro.
37285 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37287 Likewise.
37288 (INTERNAL_VSYSCALL): Likewise.
37289 (INTERNAL_VSYSCALL_NCS): Likewise.
37290 (INTERNAL_VSYSCALL_CALL): New macro.
37291 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37293 (INLINE_VSYSCALL): Remove macro.
37294 (INTERNAL_VSYSCALL): Remove macro.
37295 (INTERNAL_VSYSCALL_NCS): Remove macro.
37296 (INTERNAL_VSYSCALL_CALL): New macro.
37297 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37298 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37299 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37300 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37301 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37303 (INLINE_VSYSCALL): Remove macro.
37304 (INTERNAL_VSYSCALL): Likewise.
37305 (INTERNAL_VSYSCALL_NCS): Likewise.
37306 (INTERNAL_VSYSCALL_CALL): New macro.
37307 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37308 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37309 PTR_DEMANGLE on vDSO pointer.
37310 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37311 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37312 macro.
37313 (INTERNAL_SYSCALL): Likewise.
37314 (INTERNAL_VSYSCALL_NCS): Remove macro.
37315 (INTERNAL_VSYSCALL_CALL): New macro.
37316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37317 Remove macro.
37318 (INTERNAL_VSYSCALL): Likewise.
37319 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37320 sysdep-vdso.h instead of libc-vdso.h.
37321 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37322 definition.
37323 (INLINE_VSYSCALL): Likewise.
37324 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37325 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37326 definition.
37327 (INLINE_VSYSCALL): Likewise.
37328 (INTERNAL_VSYSCALL): Likewise.
37329 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37330 * sysdeps/unix/sysv/linux/timespec_get.c
37331 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37332 (timespec_get): Use ANSI prototype.
37333 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37334 and definition for Linux.
37335
37336 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
37337
37338 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37339 * include/libc-symbols.h: libmvec_hidden_* macro series added.
37340
37341 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
37342
37343 [BZ #2981]
37344 [BZ #18410]
37345 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37346 for missing DT_PLTRELSZ.
37347
37348 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
37349
37350 Remove obsolete aliases that broke 'locale -a'
37351 [BZ #18412]
37352 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
37353 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37354 breaking some applications that use 'locale -a' output.
37355 Change the encoding of this file from Latin-1 to ASCII to avoid
37356 other potential problems with people grepping this file.
37357
37358 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37359
37360 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37361 -fasynchronous-unwind-tables.
37362 (CFLAGS-sendto.c): Likewise.
37363 (CFLAGS-sendmsg.c): Likewise.
37364 (CFLAGS-connect.c): Likewise.
37365 (CFLAGS-recvmsg.c): Likewise.
37366 (CFLAGS-recvfrom.c): Likewise.
37367 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37368 (SOCKETCALL): New macro: non-cancellable socketcall.
37369 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37370 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37371 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37372 * sysdeps/unix/sysv/linux/accept.c: New file.
37373 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37374 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37375 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37376 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37377 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37378 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37379 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37380 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37381 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37382 * sysdeps/unix/sysv/linux/send.c: Likewise.
37383 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37384 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37385 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37386 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37387 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37388 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37389 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37390 prototype.
37391 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37392 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37393 instead of __internal_xxx function.
37394 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37395 prototype.
37396 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37397 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37398 instead of __internal_xxx function.
37399 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37400 prototype.
37401 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37402 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37403 instead of __internal_xxx function.
37404 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37405 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37406 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37407 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37408 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37409 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37410 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37411 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37412 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37413 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37414 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37415 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37416 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37417 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37418 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37419 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37420 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37421 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37422 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37423 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37426 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37427 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37428 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37429 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37430 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37431 * sysdeps/unix/sysv/linux/send.S: Likewise.
37432 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37433 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37434 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37435 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37436 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37437 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37438 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37439 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37440 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37441 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37442 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37443 socketcall is implemented in GLIBC.
37444
37445 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37446
37447 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37448 (__fma): Ignore uninitialized warnings around packing.
37449 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37450 (__fmaf): Ignore uninitialized warnings around packing.
37451 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37452 (__fmal): Ignore uninitialized warnings around packing.
37453
37454 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37455 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37456 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37457 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37458
37459 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37460 switch statement into default case.
37461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37462
37463 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37464 a conditional in forcing "inexact".
37465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37466 Likewise.
37467
37468 2015-05-22 Roland McGrath <roland@hack.frob.com>
37469
37470 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37471 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37472 for each INTERNAL_SYSCALL use.
37473
37474 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37475
37476 [BZ #438]
37477 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37478 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37479 variable.
37480
37481 [BZ #18444]
37482 * string/basename.c (basename): Rename to __basename and define as
37483 weak alias of __basename. Use libc_hidden_weak.
37484 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37485 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37486 __basename instead of basename.
37487 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37488 Remove variable.
37489 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37490
37491 2015-05-18 Florian Weimer <fweimer@redhat.com>
37492
37493 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37494 (_IO_JUMPS_FILE_plus): New.
37495 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37496 _IO_CAST_FIELD_ACCESS.
37497 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37498 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37499 * libio/freopen.c (freopen): Likewise.
37500 * libio/freopen64.c (freopen64): Likewise.
37501 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37502 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37503 * libio/iofwide.c (_IO_fwide): Likewise.
37504 * libio/memstream.c (open_memstream): Likewise.
37505 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37506 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37507 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37508
37509 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37510
37511 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37512 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37513 NADJ.
37514 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37515 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37516 NADJ.
37517 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37518 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37519 NADJ.
37520
37521 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37522 (p == 4) case.
37523
37524 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37525 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37526 Remove variable.
37527 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37528 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37529 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37530
37531 2015-05-21 Florian Weimer <fweimer@redhat.com>
37532
37533 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37534 Adjust jump table label generation macros.
37535
37536 2015-05-21 Florian Weimer <fweimer@redhat.com>
37537
37538 * stdio-common/vfprintf.c (vfprintf): Move local variables
37539 args_malloced, specs, specs_malloced, and the code after
37540 do_positional to the printf_positional function.
37541 (printf_positional): New function.
37542
37543 2015-05-21 Florian Weimer <fweimer@redhat.com>
37544
37545 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37546 function.
37547 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37548 STEP4_TABLE, process_arg): Move macro definitions
37549 out of the vfprintf function. (Cosmetic change only.)
37550
37551 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37552
37553 * benchtests/Makefile (stdio-common-bench): Define.
37554 (benchset): Add stdio-common-bench.
37555 * sprintf-inputs: New file.
37556 * sprintf-source.c: New file.
37557
37558 2015-05-21 Andreas Schwab <schwab@suse.de>
37559
37560 [BZ #13028]
37561 [BZ #17053]
37562 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37563 of struct __res_state.
37564 * resolv/res_send.c (__libc_res_nsend): Likewise.
37565 (get_nsaddr): New function.
37566 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37567 statp directly.
37568
37569 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37570
37571 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37572 -D_POSIX_C_SOURCE=199506L.
37573
37574 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37575
37576 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37577 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37578 Do not mention otherwise.
37579 [POSIX] (_XOPEN_VERSION): Do not expect.
37580 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37581 [POSIX] (_POSIX2_C_BIND): Likewise.
37582 [POSIX] (_POSIX2_VERSION): Likewise.
37583 [POSIX] (_XOPEN_XPG2): Likewise.
37584 [POSIX] (_XOPEN_XPG3): Likewise.
37585 [POSIX] (_XOPEN_XPG4): Likewise.
37586 [POSIX] (_XOPEN_UNIX): Likewise.
37587 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37588 [POSIX] (_POSIX_BARRIERS): Likewise.
37589 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37590 [POSIX] (_POSIX_CPUTIME): Likewise.
37591 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37592 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37593 [POSIX] (_POSIX_SHELL): Likewise.
37594 [POSIX] (_POSIX_SPAWN): Likewise.
37595 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37596 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37597 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37598 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37599 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37600 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37601 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37602 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37603 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37604 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37605 [POSIX] (_POSIX2_PBS): Likewise.
37606 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37607 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37608 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37609 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37610 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37611 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37612 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37613 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37614 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37615 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37616 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37617 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37618 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37619 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37620 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37621 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37622 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37623 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37624 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37625 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37626 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37627 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37628 [POSIX] (_SC_2_C_BIND): Likewise.
37629 [POSIX] (_SC_2_C_VERSION): Likewise.
37630 [POSIX] (_SC_2_PBS): Likewise.
37631 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37632 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37633 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37634 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37635 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37636 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37637 [POSIX] (_SC_BARRIERS): Likewise.
37638 [POSIX] (_SC_BASE): Likewise.
37639 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37640 [POSIX] (_SC_DEVICE_IO): Likewise.
37641 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37642 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37643 [POSIX] (_SC_FD_MGMT): Likewise.
37644 [POSIX] (_SC_FIFO): Likewise.
37645 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37646 [POSIX] (_SC_FILE_LOCKING): Likewise.
37647 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37648 [POSIX] (_SC_IOV_MAX): Likewise.
37649 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37650 [POSIX] (_SC_NETWORKING): Likewise.
37651 [POSIX] (_SC_PAGE_SIZE): Likewise.
37652 [POSIX] (_SC_PASS_MAX): Likewise.
37653 [POSIX] (_SC_PIPE): Likewise.
37654 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37655 [POSIX] (_SC_REGEXP): Likewise.
37656 [POSIX] (_SC_SHELL): Likewise.
37657 [POSIX] (_SC_SIGNALS): Likewise.
37658 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37659 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37660 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37661 [POSIX] (_SC_USER_GROUPS): Likewise.
37662 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37663 [POSIX] (_SC_STREAMS): Likewise.
37664 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37665 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37666 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37667 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37668 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37669 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37670 [POSIX] (_PC_FILESIZEBITS): Likewise.
37671 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37672 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37673 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37674 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37675 [POSIX] (uid_t): Likewise.
37676 [POSIX] (gid_t): Likewise.
37677 [POSIX] (off_t): Likewise.
37678 [POSIX] (pid_t): Likewise.
37679 [POSIX] (cuserid): Allow.
37680 (_SC_2_CHAR_TERM): Require constant.
37681 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37682 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37683 variable.
37684
37685 2015-05-20 Roland McGrath <roland@hack.frob.com>
37686
37687 * sysdeps/nacl/pthread-pids.h: New file.
37688 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37689 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37690
37691 * nptl/pthread-pids.h: New file.
37692 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37693 * nptl/nptl-init.c: Include <pthread-pids.h>.
37694 (__pthread_initialize_minimal_internal):
37695 Call __pthread_initialize_pids instead of set_tid_address syscall.
37696
37697 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37698 * sysdeps/posix/usleep.c: ... here.
37699
37700 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37701
37702 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37703 call_pselect6 object.
37704 [$(subdir) = io]: Remove call_sync_file_range object.
37705 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37706 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37707 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37708 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37709
37710 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37711
37712 * math/s_cproj.c: Add include "math_private.h".
37713 * math/s_cprojf.c: Likewise.
37714 * math/s_cprojl.c: Likewise.
37715
37716 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37717
37718 [BZ #18244]
37719 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37720 high mantissa bit when testing whether P is a NaN.
37721 * math/libm-test.inc (remainder_test_data): Add more tests.
37722 (remquo_test_data): Likewise.
37723
37724 [BZ #18049]
37725 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37726 below -32, return the argument, with underflow if subnormal.
37727 * math/auto-libm-test-in: Add more tests of atanh.
37728 * math/auto-libm-test-out: Regenerated.
37729
37730 2015-05-19 Roland McGrath <roland@hack.frob.com>
37731
37732 [BZ #18434]
37733 * nptl/tst-sem15.c: New file.
37734 * nptl/Makefile (tests): Add it.
37735 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37736 s/<</>>/ to fix typo in EOVERFLOW check.
37737 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37738
37739 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37740
37741 * manual/strings.texi (envz_remove): Fix typo in safety
37742 annotations.
37743
37744 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37745 Steve Ellcey <sellcey@imgtec.com>
37746
37747 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37748 in order to avoid strict alias warnings.
37749 (iruserok_af): Ditto for ra.
37750
37751 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37752
37753 [BZ #17581]
37754 * malloc/hooks.c
37755 (magicbyte): Convert to a function and avoid returning 0x01.
37756 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37757 (mem2chunk_check): Fix unsigned comparisons to zero.
37758 Hoist defs of sz and magic.
37759
37760 2015-05-19 Richard Henderson <rth@redhat.com>
37761
37762 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37763
37764 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37765
37766 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37767
37768 [BZ #16159]
37769 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37770 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37771 (reused_arena): Find a non-corrupt arena.
37772 (heap_trim): Pass arena to unlink.
37773 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37774 malloc_printerr.
37775 (top_check): Likewise.
37776 (free_check): Likewise.
37777 (realloc_check): Likewise.
37778 * malloc/malloc.c (malloc_printerr): Add arena argument.
37779 (unlink): Likewise.
37780 (munmap_chunk): Adjust.
37781 (ARENA_CORRUPTION_BIT): New macro.
37782 (arena_is_corrupt): Likewise.
37783 (set_arena_corrupt): Likewise.
37784 (sysmalloc): Use mmap if there are no usable arenas.
37785 (_int_malloc): Likewise.
37786 (__libc_malloc): Don't fail if arena_get returns NULL.
37787 (_mid_memalign): Likewise.
37788 (__libc_calloc): Likewise.
37789 (__libc_realloc): Adjust for additional argument to
37790 malloc_printerr.
37791 (_int_free): Likewise.
37792 (malloc_consolidate): Likewise.
37793 (_int_realloc): Likewise.
37794 (_int_memalign): Don't touch corrupt arenas.
37795 * malloc/tst-malloc-backtrace.c: New test case.
37796
37797 * Makefile (summarize-tests): Fix return value on success.
37798
37799 * manual/string.texi (Envz Functions): Add envz_remove.
37800
37801 2015-05-18 Roland McGrath <roland@hack.frob.com>
37802
37803 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37804 (invalid_name): New function, broken out of ...
37805 (__opendirat): ... here. Call it.
37806 (need_isdir_precheck): New function, broken out of ...
37807 (__opendirat): ... here. Call it.
37808 Use __fxstatat64, not __xstatat64.
37809 (opendir_oflags): New function, broken out of ...
37810 (__opendirat): ... here. Call it.
37811 (opendir_tail): New function, broken out of ...
37812 (__opendirat): ... here. Call it.
37813 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37814 opendir_tail, rather than punting to __opendirat.
37815 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37816
37817 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37818
37819 * .gitignore: Ignore generated *.pyc.
37820
37821 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37822
37823 * include/stdio.h: Define __need_wint_t.
37824 * test-skeleton.c: Avoid `for' loop initial declaration.
37825 * nptl/tst-initializers1.c: Use test-skeleton.c.
37826
37827 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37828
37829 [BZ #18418]
37830 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37831
37832 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37833
37834 [BZ #16352]
37835 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37836 (__ieee754_atanh): Force underflow exception for results with
37837 small absolute value.
37838 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37839 (__ieee754_atanhf): Force underflow exception for results with
37840 small absolute value.
37841 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37842 (__ieee754_atanh): Force underflow exception for results with
37843 small absolute value.
37844 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37845 (__ieee754_atanhf): Force underflow exception for results with
37846 small absolute value.
37847 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37848 (__ieee754_atanhl): Force underflow exception for results with
37849 small absolute value.
37850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37851 (__ieee754_atanhl): Force underflow exception for results with
37852 small absolute value.
37853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37854 (__ieee754_atanhl): Force underflow exception for results with
37855 small absolute value.
37856 * math/auto-libm-test-in: Do not allow missing underflow
37857 exceptions from atanh.
37858 * math/auto-libm-test-out: Regenerated.
37859
37860 [BZ #18221]
37861 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37862 2**-28 as threshold for returning x or +/- 1/x.
37863 * math/auto-libm-test-in: Add more tests of tan.
37864 * math/auto-libm-test-out: Regenerated.
37865
37866 [BZ #18220]
37867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37868 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37869 * math/auto-libm-test-in: Add another test of lgamma.
37870 * math/auto-libm-test-out: Regenerated.
37871
37872 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37873
37874 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37875 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37876 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37877 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37878 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37879 (ADD2A): Use fabs. (SUB2A): Use fabs.
37880 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37881 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37883 (log1): Use fabs. (my_log2): Use fabs.
37884 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37885 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37887 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37889 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37890 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37891 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37892 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37893 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37894 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37895
37896 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37897
37898 [BZ #18217]
37899 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37900 as threshold for returning 1 - x.
37901 * math/auto-libm-test-in: Add more tests of erfc.
37902 * math/auto-libm-test-out: Regenerated.
37903
37904 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37905
37906 [BZ #18196]
37907 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37908 threshold for large arguments.
37909 * math/auto-libm-test-in: Add another test of atan.
37910 * math/auto-libm-test-out: Regenerated.
37911
37912 [BZ #16339]
37913 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37914 (__log1p): Force underflow exception for results with small
37915 absolute value.
37916 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37917 (__log1pf): Force underflow exception for results with small
37918 absolute value.
37919 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37920 (__log1p): Force underflow exception for results with small
37921 absolute value.
37922 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37923 (__log1pf): Force underflow exception for results with small
37924 absolute value.
37925 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37926 (__log1pl): Force underflow exception for results with small
37927 absolute value.
37928 * math/auto-libm-test-in: Do not allow missing underflow
37929 exceptions from log1p.
37930 * math/auto-libm-test-out: Regenerated.
37931
37932 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37933 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37934
37935 [BZ #16704]
37936 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37937
37938 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37939
37940 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37941 (libmvec): New variable.
37942 * configure.ac: Added option for mathvec build.
37943 * configure: Regenerated.
37944 * mathvec/Depend: New file.
37945 * mathvec/Makefile: New file.
37946 * shlib-versions: Added libmvec.
37947 * math/Makefile: Added rule for libm.so installation.
37948
37949 * bits/math-vector.h: New file.
37950 * bits/libm-simd-decl-stubs.h: New header.
37951 * math/Makefile (headers): Added new header
37952 libm-simd-decl-stubs.h.
37953 * math/math.h (__MATHCALL_VEC): New macro.
37954
37955 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37956 for conditions in testing functions.
37957 * math/Makefile: Added call of libm-have-vector-test.sh.
37958 * math/libm-test.inc (HAVE_VECTOR): New macros.
37959
37960 * math/libm-test.inc: START refactored.
37961 * math/test-double.c (TEST_MATHVEC): Add define.
37962 * math/test-float.c: Likewise.
37963 * math/test-idouble.c: Likewise.
37964 * math/test-ifloat.c: Likewise.
37965 * math/test-ildoubl.c: Likewise.
37966 * math/test-ldouble.c: Likewise.
37967 * sysdeps/generic/math-tests-arch.h
37968 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37969 architecture check.
37970
37971 * math/test-double.c (FUNC_TEST): New macro.
37972 * math/test-float.c: Likewise.
37973 * math/test-idouble.c: Likewise.
37974 * math/test-ifloat.c: Likewise.
37975 * math/test-ildoubl.c: Likewise.
37976 * math/test-ldouble.c: Likewise.
37977 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37978
37979 2015-05-13 Roland McGrath <roland@hack.frob.com>
37980
37981 * sysdeps/nacl/fdopendir.c: New file.
37982
37983 * dirent/scandir-tail.c: New file.
37984 * dirent/scandir64-tail.c: New file.
37985 * dirent/Makefile (routines): Add them.
37986 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37987 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37988 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37989 [!SCANDIR] (SCANDIR_TAIL): New macro.
37990 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37991 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37992 (SCANDIRAT): Macro removed.
37993 (SCANDIR_TAIL): New macro.
37994 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37995 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37996 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37997 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37998 (READDIR): Macro removed.
37999 (SCANDIR_TAIL): New macro.
38000 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
38001 (SCANDIR_TAIL): New macro.
38002
38003 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
38004 * dirent/scandir-cancel.c: ... to this new file.
38005 * dirent/Makefile (routines): Add it.
38006 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
38007 * sysdeps/unix/sysv/linux/i386/scandir64.c
38008 (SKIP_SCANDIR_CANCEL): Macro removed.
38009 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
38010
38011 * dirent/tst-scandir.c: New file.
38012 * dirent/tst-scandir64.c: New file.
38013 * dirent/Makefile (tests): Add them.
38014
38015 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
38016
38017 [BZ #18409]
38018 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
38019
38020 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
38021
38022 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
38023 list.
38024
38025 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
38026
38027 * benchtests/bench-strcoll.c: New benchmark.
38028 * benchtests/Makefile: Generate locales and run benchmark.
38029 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
38030 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
38031 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
38032 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
38033 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
38034 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
38035 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
38036 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
38037 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
38038 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
38039 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
38040 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
38041 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
38042 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
38043 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
38044 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
38045 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
38046 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
38047 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
38048 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
38049 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
38050 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
38051 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
38052 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
38053
38054 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
38055
38056 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
38057 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38058
38059 2015-05-12 Roland McGrath <roland@hack.frob.com>
38060
38061 * posix/uname-values.h: New file.
38062 * posix/uname.c: Include that instead of <config-name.h>.
38063 * sysdeps/nacl/uname-values.h: New file.
38064 * sysdeps/arm/nacl/uname-values.h: New file.
38065
38066 2015-05-12 Joseph Myers <joseph@codesourcery.com>
38067
38068 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
38069 splitting into fields.
38070
38071 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
38072
38073 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
38074 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
38075 * locale/localeinfo.h: Add enum collation_encoding_type.
38076 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
38077 * programs/ld-collate.c (collate_output): Add encoding type info.
38078 * string/strcoll_l.c (STRDIFF): New function.
38079 * (STRCOLL): Use STRDIFF to skip over equal prefix.
38080 * wcsmbs/wcscoll_l.c: Define STRDIFF.
38081
38082 2015-05-11 Joseph Myers <joseph@codesourcery.com>
38083
38084 [BZ #18397]
38085 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
38086 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
38087 <fpu_control.h> instead of <math/fpu_control.c>.
38088 * sysdeps/mips/mips32/fpu/Makefile: New file.
38089
38090 2015-05-11 Andreas Schwab <schwab@suse.de>
38091
38092 [BZ #18007]
38093 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
38094 nss_endgrent.
38095 (_nss_compat_endgrent): Call nss_endgrent.
38096 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
38097 nss_endpwent.
38098 (_nss_compat_endpwent): Call nss_endpwent.
38099 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
38100 needent, call nss_setspent only if non-zero.
38101 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
38102 (internal_endspent): Don't call nss_endspent.
38103 (_nss_compat_endspent): Call nss_endspent.
38104 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
38105 Remove. All uses removed.
38106 (internal_setent): Remove parameter stayopen, add parameter
38107 stream. Use it instead of global variable.
38108 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
38109 (internal_endent, internal_getent): Add parameter stream. Use it
38110 instead of global variable.
38111 (CONCAT(_nss_files_end,ENTNAME))
38112 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
38113 (_nss_files_get##name##_r): Pass local stream. Remove locking.
38114 * nss/nss_files/files-alias.c (position, last_use): Remove. All
38115 uses removed.
38116 (internal_setent, internal_endent): Add parameter stream. Use it
38117 instead of global variable.
38118 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
38119 stream.
38120 (get_next_alias): Add parameter stream.
38121 (_nss_files_getaliasent_r): Pass global stream.
38122 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
38123 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
38124 (_nss_files_gethostbyname4_r): Pass local stream to
38125 internal_setent, internal_getent and internal_endent. Remove
38126 locking.
38127
38128 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38129
38130 * tst-strfmon1.c (tests): Update expected currency symbol.
38131
38132 2015-05-08 Roland McGrath <roland@hack.frob.com>
38133
38134 * sysdeps/nacl/gethostname.c: New file.
38135
38136 2015-05-08 Joseph Myers <joseph@codesourcery.com>
38137
38138 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
38139 and sinh.
38140 * math/auto-libm-test-out: Regenerated.
38141 * sysdeps/i386/fpu/libm-test-ulps: Update.
38142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38143
38144 2015-05-08 Carlos O'Donell <carlos@redhat.com>
38145
38146 [BZ #18125]
38147 * stdlib/tst-setcontext3.c: New file.
38148 * stdlib/tst-setcontext3.sh: New file.
38149 * stdlib/Makefile (tests): Add tst-setcontext3.
38150 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38151 to verify test program created output file.
38152 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38153 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38154 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38155 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38156
38157 2015-05-06 Roland McGrath <roland@hack.frob.com>
38158
38159 [BZ #18383]
38160 * elf/tst-tlsalign.c: New file.
38161 * elf/tst-tlsalign-static.c: New file.
38162 * elf/tst-tlsalign-lib.c: New file.
38163 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38164 (tests-static): Add tst-tlsalign-static.
38165 (modules-names): Add tst-tlsalign-lib.
38166 (test-xfail-tst-tlsalign): New variable.
38167 (test-xfail-tst-tlsalign-static): New variable.
38168
38169 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38170 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38171
38172 2015-05-06 Joseph Myers <joseph@codesourcery.com>
38173
38174 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38175 csqrt, erfc, sin and sincos.
38176 * math/auto-libm-test-out: Regenerated.
38177 * sysdeps/i386/fpu/libm-test-ulps: Update.
38178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38179
38180 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
38181
38182 * sysdeps/aarch64/libm-test-ulps: Update.
38183
38184 2015-05-05 Joseph Myers <joseph@codesourcery.com>
38185
38186 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38187 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38188 * math/auto-libm-test-out: Regenerated.
38189 * sysdeps/i386/fpu/libm-test-ulps: Update.
38190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38191
38192 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
38193
38194 [BZ #18265]
38195 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38196 (wcsncpy): Likewise.
38197
38198 2015-05-05 Florian Weimer <fweimer@redhat.com>
38199
38200 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38201 Assume __ASSUME_FALLOCATE is always true.
38202 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38203 (__posix_fallocate64_l64): Likewise.
38204 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38205 (posix_fallocate): Likewise.
38206 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38207 (__posix_fallocate64_l64): Likewise.
38208 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38209 [!__ASSUME_FALLOCATE]: Add comment.
38210
38211 2015-05-05 Florian Weimer <fweimer@redhat.com>
38212
38213 * sysdeps/unix/sysv/linux/i386/Makefile
38214 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38215 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38216 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38217 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38218 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38219 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38220 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38221
38222 2015-05-02 Joseph Myers <joseph@codesourcery.com>
38223
38224 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38225 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38226 tgamma.
38227 * math/auto-libm-test-out: Regenerated.
38228 * sysdeps/i386/fpu/libm-test-ulps: Update.
38229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38230
38231 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38232
38233 * math/auto-libm-test-in: Add more tests of tgamma.
38234 * math/auto-libm-test-out: Regenerated.
38235 * sysdeps/i386/fpu/libm-test-ulps: Update.
38236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38237
38238 * math/auto-libm-test-in: Add more tests of tanh.
38239 * math/auto-libm-test-out: Regenerated.
38240 * sysdeps/i386/fpu/libm-test-ulps: Update.
38241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38242
38243 * math/auto-libm-test-in: Add more tests of tan.
38244 * math/auto-libm-test-out: Regenerated.
38245 * sysdeps/i386/fpu/libm-test-ulps: Update.
38246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38247
38248 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38249 * math/auto-libm-test-out: Regenerated.
38250 * sysdeps/i386/fpu/libm-test-ulps: Update.
38251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38252
38253 * math/auto-libm-test-in: Add another test of pow.
38254 * math/auto-libm-test-out: Regenerated.
38255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38256
38257 * math/auto-libm-test-in: Add more tests of lgamma.
38258 * math/auto-libm-test-out: Regenerated.
38259 * sysdeps/i386/fpu/libm-test-ulps: Update.
38260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38261
38262 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38263 log1p.
38264 * math/auto-libm-test-out: Regenerated.
38265 * sysdeps/i386/fpu/libm-test-ulps: Update.
38266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38267
38268 2015-05-01 Mark Wielaard <mjw@redhat.com>
38269
38270 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38271 Elf64_Chdr structs and ELFCOMPRESS constants.
38272
38273 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38274
38275 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38276 expm1.
38277 * math/auto-libm-test-out: Regenerated.
38278 * sysdeps/i386/fpu/libm-test-ulps: Update.
38279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38280
38281 * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
38287
38288 * config.h.in (HAVE_AARCH64_BE): Add.
38289
38290 2015-04-30 Joseph Myers <joseph@codesourcery.com>
38291
38292 * math/auto-libm-test-in: Add more tests of csqrt.
38293 * math/auto-libm-test-out: Regenerated.
38294 * sysdeps/i386/fpu/libm-test-ulps: Update.
38295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38296
38297 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38298 * math/auto-libm-test-out: Regenerated.
38299 * sysdeps/i386/fpu/libm-test-ulps: Update.
38300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38301
38302 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38303
38304 2015-04-29 Roland McGrath <roland@hack.frob.com>
38305
38306 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38307 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38308
38309 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38310 (euidaccess, eaccess): Define as weak aliases.
38311
38312 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38313 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
38314 but __suseconds_t is often 'long int' so some sources assume that
38315 type is being used (e.g. they use %ld to print tv_usec).
38316
38317 2015-04-29 Florian Weimer <fweimer@redhat.com>
38318
38319 [BZ #18007]
38320 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38321 (CVE-2014-8121)
38322 * nss/tst-nss-getpwent.c: New file.
38323 * nss/Makefile (tests): Add new test.
38324
38325 2015-04-28 Joseph Myers <joseph@codesourcery.com>
38326
38327 [BZ #18346]
38328 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38329 exponents less than 48 as cases where high part of mantissa needs
38330 examining to determine whether argument is integral.
38331 * math/libm-test.inc (round_test_data): Add more tests.
38332
38333 2015-04-28 Mark Wielaard <mjw@redhat.com>
38334
38335 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38336
38337 2015-04-27 David S. Miller <davem@davemloft.net>
38338
38339 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38340 __tls_get_addr.
38341 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38342
38343 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
38344
38345 [BZ #18333]
38346 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38347
38348 2015-04-27 Florian Weimer <fweimer@redhat.com>
38349
38350 [BZ #18333]
38351 * time/tzset.c (parse_tzname): Return error on memory allocation
38352 failure.
38353 * test-skeleton.c (struct temp_name_list): Change type of name
38354 member to non-const.
38355 (add_temp_file): Create a copy of the file name.
38356 (delete_temp_files): Deallocate memory.
38357 (create_temp_file): Add comment.
38358
38359 2015-04-24 Florian Weimer <fweimer@redhat.com>
38360
38361 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38362 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38363
38364 2015-04-24 Roland McGrath <roland@hack.frob.com>
38365
38366 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38367 * sysdeps/arm/configure: Regenerated.
38368
38369 2015-04-24 Florian Weimer <fweimer@redhat.com>
38370
38371 [BZ #17715]
38372 * time/tzfile.c (__tzfile_read): Check for large values of
38373 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38374 * time/tzset.c (__tzstring_len): New function, based on the old
38375 __tzstring function.
38376 (__tzstring): Call __tzstring_len.
38377 (parse_tzname): New helper function extracted from
38378 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38379 the input string.
38380 (parse_offset): New helper function extracted from
38381 __tzset_parse_tz. Replace switch with fallthrough with
38382 initialization before sscanf.
38383 (parse_rule): Likewise.
38384 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38385 new-style function definition.
38386 * timezone/Makefile (tests): Add tst-tzset.
38387 (tst-tzset.out): Dependencies on time zone files.
38388 (tst-tzset-ENV): Set TZDIR.
38389 (testdata/XT%): Copy crafted time zone files.
38390 * timezone/README: Mention crafted time zone files.
38391 * timezone/testdata/XT1, timezone/testdata/XT2,
38392 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38393 files.
38394 * timezone/tst-tzset.c: New test.
38395
38396 2015-04-24 Florian Weimer <fweimer@redhat.com>
38397
38398 * Makeconfig (+gccwarn): Remove -Winline.
38399
38400 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38401
38402 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38403
38404 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38405
38406 * NEWS: Mention sysconf() cache information support for s390.
38407 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38408
38409 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38410
38411 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38412 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38413 (__nearbyint): Likewise.
38414 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38415 (copysignl): Likewise.
38416
38417 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38418
38419 [BZ #18287]
38420 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38421 based on padding. (CVE-2015-1781)
38422
38423 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38424
38425 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38426 libc-vdso.h.
38427 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38428 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38429 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38430 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38431 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38432 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38433 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38435 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38436 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38437 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38438 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38439 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38440 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38441 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38442 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38443 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38444 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38445 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38446 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38447 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38448 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38449 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38450
38451 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38452
38453 * stdlib/setenv.c (__add_to_environ):
38454 Dump core quickly if setenv (..., NULL, ...) is called.
38455 This time, do it the right way, and pacify GCC with a pragma.
38456
38457 2015-04-17 Roland McGrath <roland@hack.frob.com>
38458
38459 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38460 IMAP->l_prev cannot be null, and #if out the code for the contrary
38461 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38462 believe that NS (&_dl_ns[NSID]) could point outside the array.
38463
38464 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38465 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38466 before using NSID as an index.
38467
38468 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38469
38470 [BZ #17825]
38471 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38472 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38473 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38474
38475 2015-04-17 Roland McGrath <roland@hack.frob.com>
38476
38477 Add preliminary port to Google Native Client on ARM.
38478 * abi-tags (.*-.*-nacl.*): New entry.
38479 * sysdeps/arm/nacl: New directory.
38480 * sysdeps/nacl: New directory.
38481
38482 2015-04-16 David S. Miller <davem@davemloft.net>
38483
38484 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38485 lowlevellock-futex.h
38486
38487 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38488
38489 * sysdeps/tile/configure.ac: New file.
38490 * sysdeps/tile/configure: Regenerated.
38491
38492 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38493
38494 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38495 conditionals for weak_alias and libc_hidden_weak.
38496 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38497 libc_hidden_weak and weak_alias.
38498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38499 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38500 and weak_alias for static one.
38501
38502 2015-04-15 David S. Miller <davem@davemloft.net>
38503
38504 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38505
38506 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38507
38508 [BZ #18206]
38509 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38510 Use signed comparision instead of substraction to avoid
38511 overflow bug.
38512 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38513 Take the sign of ret.
38514 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38515 Do not expect precise return values. Only the sign matters.
38516 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38517 * wcsmbs/test-wcsncmp.c: New File.
38518 * string/test-strncmp.c: Add wcsncmp support.
38519
38520 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38521
38522 [BZ #6792]
38523 * math/w_log1p.c: New file.
38524 * math/w_log1pf.c: Likewise.
38525 * math/w_log1pl.c: Likewise.
38526 * math/Makefile (libm-calls): Add w_log1p.
38527 * math/s_log1pl.c (log1pl): Remove weak_alias.
38528 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38529 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38530 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38531 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38532 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38533 [NO_LONG_DOUBLE] (log1pl): Likewise.
38534 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38535 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38536 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38537 (log1p): Remove long_double_symbol.
38538 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38539 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38540 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38541 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38542 remove weak_alias for corresponding log1p function.
38543 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38544 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38545 * sysdeps/ia64/fpu/w_log1p.c: New file.
38546 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38547 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38548 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38549
38550 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38551
38552 [BZ #18247]
38553 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38554 decimal exponent by 1.
38555 * stdlib/tst-strtod-round-data: Add more tests.
38556 * stdlib/tst-strtod-round.c (tests): Regenerated.
38557
38558 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38559
38560 * math/auto-libm-test-in: Add more tests of clog and clog10.
38561 * math/auto-libm-test-out: Regenerated.
38562 * sysdeps/i386/fpu/libm-test-ulps: Update.
38563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38564
38565 2015-04-09 Roland McGrath <roland@hack.frob.com>
38566
38567 * Makeconfig (module-cppflags): Exclude all .v.i files.
38568 (skip-module-cppflags): Variable removed.
38569
38570 * configure.ac (libc_config_ok): Initialize before reading
38571 preconfigure scripts, not after.
38572 * configure: Regenerated.
38573
38574 * test-skeleton.c (TIMEOUT): Move #define to top level.
38575 (main): Grok environment variable TEST_DIRECT. If set, print
38576 test expectation details into that file and then behave as if
38577 given --direct.
38578
38579 2015-04-09 Florian Weimer <fweimer@redhat.com>
38580
38581 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38582 warning on 32-bit.
38583
38584 2015-04-08 David S. Miller <davem@davemloft.net>
38585
38586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38587
38588 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38589
38590 * math/auto-libm-test-in: Add more tests of atanh.
38591 * math/auto-libm-test-out: Regenerated.
38592 * sysdeps/i386/fpu/libm-test-ulps: Update.
38593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38594
38595 * math/auto-libm-test-in: Add more tests of atan.
38596 * math/auto-libm-test-out: Regenerated.
38597 * sysdeps/i386/fpu/libm-test-ulps: Update.
38598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38599
38600 2015-04-08 Florian Weimer <fweimer@redhat.com>
38601
38602 * elf/pldd.c (main): Rewrite to use struct
38603 scratch_buffer instead of extend_alloca.
38604 * elf/pldd-xx.c (find_maps): Likewise.
38605 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38606 <alloca.h>.
38607 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38608 scratch_buffer instead of extend_alloca.
38609 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38610 grp/compat-initgroups.c.
38611 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38612 Rewrite to use struct scratch_buffer instead of extend_alloca.
38613 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38614 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38615
38616 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38617
38618 * math/auto-libm-test-in: Add more tests of cbrt.
38619 * math/auto-libm-test-out: Regenerated.
38620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38621
38622 * math/auto-libm-test-in: Add more tests of cabs.
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 #18210]
38628 [BZ #18211]
38629 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38630 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38631 computations.
38632 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38633 clog10.
38634 * math/auto-libm-test-out: Regenerated.
38635 * sysdeps/i386/fpu/libm-test-ulps: Update.
38636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38637
38638 [BZ #18197]
38639 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38640 (atan): Set FE_TONEAREST mode for internal computations.
38641 * math/auto-libm-test-in: Add more tests of atan.
38642 * math/auto-libm-test-out: Regenerated.
38643
38644 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38645
38646 [BZ #17930]
38647 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38648
38649 2015-04-07 Florian Weimer <fweimer@redhat.com>
38650
38651 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38652
38653 2015-04-07 Florian Weimer <fweimer@redhat.com>
38654
38655 * include/scratch_buffer.h: New file.
38656 * malloc/scratch_buffer_grow.c: Likewise.
38657 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38658 * malloc/scratch_buffer_set_array_size.c: Likewise.
38659 * malloc/tst-scratch_buffer.c: Likewise.
38660 * malloc/Makefile (routines): Add scratch_buffer_grow.
38661 (tests): Add test case.
38662 * malloc/Versions (GLIBC_PRIVATE): Export
38663 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38664 __libc_scratch_buffer_set_array_size.
38665
38666 2015-04-06 Richard Henderson <rth@redhat.com>
38667
38668 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38669 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38670
38671 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38672 unsigned int before printing.
38673
38674 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38675
38676 [BZ #17596]
38677 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38678 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38679
38680 2015-04-02 Florian Weimer <fweimer@redhat.com>
38681
38682 * include/libc-internal.h (libc_max_align_t): Define.
38683
38684 2015-04-02 Andreas Schwab <schwab@suse.de>
38685
38686 [BZ #16850]
38687 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38688
38689 2015-04-02 Mel Gorman <mgorman@suse.de>
38690
38691 [BZ #17195]
38692 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38693 as well as the main arena.
38694
38695 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38696
38697 [BZ #18185]
38698 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38699 sharing L2 cache to 2 for Silvermont/Knights Landing.
38700
38701 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38702
38703 [BZ #17711]
38704 * config.make.in (have-protected-data): New.
38705 * configure.ac: Check linker support for protected data symbol.
38706 * configure: Regenerated.
38707 * elf/Makefile (modules-names): Add tst-protected1moda and
38708 tst-protected1modb if $(have-protected-data) is yes.
38709 (tests): Add tst-protected1a and tst-protected1b if
38710 $(have-protected-data) is yes.
38711 ($(objpfx)tst-protected1a): New.
38712 ($(objpfx)tst-protected1b): Likewise.
38713 (tst-protected1modb.so-no-z-defs): Likewise.
38714 * elf/tst-protected1a.c: New file.
38715 * elf/tst-protected1b.c: Likewise.
38716 * elf/tst-protected1mod.h: Likewise.
38717 * elf/tst-protected1moda.c: Likewise.
38718 * elf/tst-protected1modb.c: Likewise.
38719
38720 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38721
38722 [BZ #17711]
38723 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38724 indicates it is called from do_lookup_x on relocation against
38725 protected data, skip the data definion in the executable from
38726 copy reloc.
38727 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38728 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38729 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38730 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38731 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38732 otherwise to 0.
38733 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38734 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38735 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38736 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38737 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38738 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38739
38740 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38741
38742 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38743 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38744
38745 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38746
38747 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38748 THREAD_SETMEM_NC.
38749 * sysdeps/x86_64/nptl/tls.h: Ditto.
38750
38751 2015-03-27 Roland McGrath <roland@hack.frob.com>
38752
38753 * dlfcn/tststatic.c (main): Converted to ...
38754 (do_test): ... this.
38755 (TEST_FUNCTION): New macro.
38756 Include test-skeleton.c.
38757
38758 2015-03-26 Alan Modra <amodra@gmail.com>
38759
38760 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38761 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38762 zero for undefined weak.
38763 (elf_machine_plt_conflict): Similarly.
38764
38765 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38766
38767 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38768 atanh.
38769 * math/auto-libm-test-out: Regenerated.
38770 * sysdeps/i386/fpu/libm-test-ulps: Update.
38771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38772
38773 * math/auto-libm-test-in: Add another test of asin.
38774 * math/auto-libm-test-out: Regenerated.
38775 * sysdeps/i386/fpu/libm-test-ulps: Update.
38776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38777
38778 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38779 Remove macro.
38780 (LLL_EBX_REG): Likewise.
38781 (LLL_ENTER_KERNEL): Likewise.
38782
38783 * math/auto-libm-test-in: Add more tests of asin.
38784 * math/auto-libm-test-out: Regenerated.
38785 * sysdeps/i386/fpu/libm-test-ulps: Update.
38786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38787
38788 [BZ #18138]
38789 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38790 libc_do_syscall_args): New structure.
38791 (INTERNAL_SYSCALL_MAIN_0): New macro.
38792 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38793 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38794 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38795 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38796 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38797 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38798 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38799 Replace conditional definitions by conditional definitions of ....
38800 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38801 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38802 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38803 (libpthread-sysdep_routines): Add libc-do-syscall.
38804 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38805 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38806 to __NR_futex not 240.
38807
38808 2015-03-25 Alan Modra <amodra@gmail.com>
38809
38810 * NEWS: Advertise TLS optimization.
38811 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38812 (DT_PPC_NUM): Increment.
38813 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38814 (CHECK_STATIC_TLS): Use here.
38815 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38816 TLS descriptors.
38817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38818 * sysdeps/powerpc/dl-tls.c: New file.
38819 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38820 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38821 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38822 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38826
38827 2015-03-25 Alan Modra <amodra@gmail.com>
38828
38829 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38830 for overlapping .opd entries" to "support...".
38831 * sysdeps/powerpc/powerpc64/configure: Regenerate
38832
38833 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38834
38835 * math/auto-libm-test-in: Add more tests of acos.
38836 * math/auto-libm-test-out: Regenerated.
38837 * sysdeps/i386/fpu/libm-test-ulps: Update.
38838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38839
38840 * math/auto-libm-test-in: Add more tests of expm1.
38841 * math/auto-libm-test-out: Regenerated.
38842 * sysdeps/i386/fpu/libm-test-ulps: Update.
38843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38844
38845 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38846
38847 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38848 * math/auto-libm-test-out: Regenerated.
38849 * sysdeps/i386/fpu/libm-test-ulps: Update.
38850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38851
38852 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38854
38855 * math/auto-libm-test-in: Add more tests of log2.
38856 * math/auto-libm-test-out: Regenerated.
38857 * sysdeps/i386/fpu/libm-test-ulps: Update.
38858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38859
38860 2015-03-23 Roland McGrath <roland@hack.frob.com>
38861
38862 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38863 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38864 _IO_IS_APPENDING bit in READ_WRITE instead.
38865
38866 2015-03-23 Florian Weimer <fweimer@redhat.com>
38867
38868 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38869 (__determine_cpumask_size): Replace extend_alloca with a
38870 variable-length array. Do not treat res == 0 as an error.
38871
38872 2015-03-23 Florian Weimer <fweimer@redhat.com>
38873
38874 [BZ #18100]
38875 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38876 and integer overflow.
38877 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38878 (main): Add integer overflow tests.
38879 * manual/pattern.texi (Calling Wordexp): Document additional use
38880 for WRDE_SYNTAX.
38881
38882 2015-03-23 Alan Modra <amodra@gmail.com>
38883
38884 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38885 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38886 and false branch of conditional.
38887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38888 Likewise.
38889
38890 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38891
38892 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38893 libc-modules.h
38894 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38895 unused declaration of _hurd_intr_rpc_msg_in_trap.
38896 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38897 defined instead of whether it is non-zero.
38898 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38899 input constraint instead of both input and output constraint. Use ecx
38900 clobber instead of %ecx.
38901 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38902 mutex_unlock): Use a statement expression instead of an expression list.
38903 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38904 type to vm_size_t instead of vm_address_t.
38905 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38906 defined instead of whether it is non-zero.
38907 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38908 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38909 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38910 comparisons with mapaddr.
38911 * nscd/nscd-client.h: Include <time.h>.
38912 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38913 9th parameter to __vm_region instead of int.
38914 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38915 * scripts/check-local-headers.sh (exclude): Add device/,
38916 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38917 cthreads.h.
38918
38919 2015-03-19 Roland McGrath <roland@hack.frob.com>
38920
38921 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38922 to account for alignment padding.
38923 * sysdeps/arm/memmove.S: Likewise.
38924
38925 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38926
38927 * sysdeps/unix/sysv/linux/generic/README: New file.
38928
38929 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38930
38931 [BZ #18138]
38932 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38933 (futex_abstimed_wait)
38934 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38935 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38936 of lll_futex_timed_wait.
38937
38938 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38939
38940 [BZ #17542]
38941 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38942
38943 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38944
38945 [BZ #17090]
38946 [BZ #17620]
38947 [BZ #17621]
38948 [BZ #17628]
38949 * NEWS: Update.
38950 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38951 entries with Static TLS too. Skip entries past the end of the
38952 allocated DTV, from Alan Modra.
38953 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38954 Static TLS DTV entry set up from...
38955 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38956 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38957 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38958 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38959 for Static TLS.
38960 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38961 that the slot we find is associated with the given map before
38962 using its generation count.
38963 * nptl_db/db_info.c: Include ldsodefs.h.
38964 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38965 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38966 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38967 (link_map::l_tls_offset): New struct field.
38968 (dtv_t::counter): Likewise.
38969 (rtld_global): New struct.
38970 (_rtld_global): New rtld variable.
38971 (dl_tls_dtv_slotinfo_list): New rtld global field.
38972 (dtv_slotinfo_list): New struct.
38973 (dtv_slotinfo): Likewise.
38974 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38975 (td_lookup): Rename to...
38976 (td_mod_lookup): ... this. Use new mod parameter instead of
38977 LIBPTHREAD_SO.
38978 * nptl_db/td_thr_tlsbase.c: Include link.h.
38979 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38980 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38981 addresses even if the DTV is out of date or missing them.
38982 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38983 index zero-length arrays.
38984 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38985 (td_lookup): Make it a macro implemented in terms of...
38986 (td_mod_lookup): ... this declaration.
38987 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38988 (DB_MAIN_VARIABLE): Likewise.
38989
38990 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38991
38992 [BZ #18134]
38993 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38994
38995 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38996
38997 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38998
38999 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
39000
39001 [BZ #18128]
39002 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
39003 (atomic_add, atomic_increment_and_test)
39004 (atomic_decrement_and_test): Fix 64-bit arithmetic.
39005
39006 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
39007
39008 * stdlib/setenv.c (__add_to_environ):
39009 Dump core quickly if setenv (..., NULL, ...) is called.
39010
39011 2015-03-13 Roland McGrath <roland@hack.frob.com>
39012
39013 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
39014 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
39015 all the necessary asm magic in one place.
39016 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
39017 using those.
39018
39019 2015-03-13 Carlos O'Donell <carlos@redhat.com>
39020
39021 [BZ #14906]
39022 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
39023 traced file mtime. Use consistent log message.
39024 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
39025 (register_traced_file): Call install_watches. Always set mtime.
39026 (invalidate_cache): Iterate over all trace files. Call install_watches.
39027 (inotify_check_files): Don't inline. Handle watching parent
39028 directories and configuration file movement in and out.
39029 (handle_inotify_events): New function.
39030 (main_loop_poll): Call handle_inotify_events.
39031 (main_loop_epoll): Likewise.
39032 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
39033 (struct traced_file): Use array of inotify fds. Add parent directory,
39034 and basename.
39035 (struct database_dyn): Remove unused file_mtime.
39036 (init_traced_file): New inline function.
39037 (define_traced_file): New macro.
39038 * nss/nss_db/db-init.c: Use define_traced_file.
39039 (_nss_db_init): Use init_traced_file.
39040 * nss/nss_files/files-init.c: Use define_traced_file.
39041 (_nss_files_init): Use init_traced_file.
39042
39043 2015-03-12 Joseph Myers <joseph@codesourcery.com>
39044
39045 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
39046 [_LIBC]: Do not include <stdlib.h>.
39047 [!_LIBC] (abort): Remove declaration.
39048 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
39049 _FP_STATIC_ASSERT instead of conditionally calling abort.
39050 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
39051 (_FP_EXTEND_CNAN): Likewise.
39052 (FP_TRUNC): Likewise.
39053 (__FP_CLZ): Likewise.
39054 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
39055
39056 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
39057
39058 * manual/string.texi (XPG basename): Fix prototype.
39059
39060 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39061
39062 [BZ #18080]
39063 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
39064 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39065 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
39066 (__setcontext): Likewise.
39067 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
39068 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39069 Call rt_sigprocmask syscall one time to set new signal mask
39070 and retrieve the current signal mask instead of two calls.
39071 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
39072 (__swapcontext): Likewise.
39073 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
39074 * stdlib/tst-setcontext2.c: New file.
39075
39076 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39077
39078 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39079
39080 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
39081
39082 [BZ #18093]
39083 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
39084 the wrong size.
39085
39086 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
39087
39088 [BZ #18043]
39089 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
39090
39091 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39092
39093 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
39094 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
39095 Remove define.
39096 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
39097 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
39098 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
39099 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
39100 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
39101 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
39102 define.
39103 * nptl_db/td_symbol_list.c (td_lookup): Remove
39104 HAVE_ASM_GLOBAL_DOT_NAME code.
39105 * sysdeps/powerpc/powerpc64/configure.ac: Remove
39106 HAVE_ASM_GLOBAL_DOT_NAME check.
39107 * sysdeps/powerpc/powerpc64/configure: Regenerate.
39108 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
39109 (DOT_LABEL): Remove define.
39110 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
39111 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
39112 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
39113 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
39114 (__TLS_GET_ADDR): Likewise.
39115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
39116 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
39117
39118 2015-03-11 Carlos O'Donell <carlos@redhat.com>
39119
39120 [BZ #18111]
39121 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
39122 (_FPU_SETCW): Initialize cw from fpsr before storing.
39123 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
39124 (fesetexceptflag): Rewrite using fpu_control.h.
39125 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
39126
39127 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
39128
39129 [BZ #18110]
39130 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
39131 asms.
39132 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39133
39134 2015-03-11 Joseph Myers <joseph@codesourcery.com>
39135
39136 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
39137 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
39138 abort.
39139 (_FP_FMA): Likewise.
39140 (_FP_DIV): Likewise.
39141
39142 2015-03-10 Roland McGrath <roland@hack.frob.com>
39143
39144 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
39145 with 0 in that case.
39146 * Makefile (summarize-tests): New canned sequence, factored out of
39147 commands for targets tests and xtests. Display summary lines that
39148 don't start with PASS: or XFAIL: rather than ones that do start with
39149 ERROR: or FAIL:. Make the commands fail if any summary lines fail
39150 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39151 do start with ERROR: or FAIL:.
39152 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39153 (except for [$(build-shared) = yes]).
39154 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39155 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39156 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39157 * nptl/Makefile: Revert 2015-03-04 changes.
39158 [$(CXX) empty] (tests-unsupported): New variable.
39159 * debug/Makefile: Likewise.
39160
39161 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39162 gnulib file. Replace __attribute with __attribute__ throughout.
39163
39164 2015-03-10 Carlos O'Donell <carlos@redhat.com>
39165
39166 * sysdeps/hppa/fpu/libm-test-ulps: Update.
39167
39168 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39169
39170 [BZ #18104]
39171 * math/auto-libm-test-in: Add another test of pow.
39172 * math/auto-libm-test-out: Regenerated.
39173
39174 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39175
39176 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39177 $(config-cflags-nofma).
39178
39179 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39180
39181 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39182 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39183 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39184 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39185 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39186 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39187 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39188 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39189 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39190 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39191 Add comment on closing #endif.
39192
39193 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39194
39195 * posix/wordexp.c (CHAR_IN_SET): New macro.
39196 (parse_param): Use it.
39197
39198 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39199
39200 * sysdeps/powerpc/fpu/libm-test-ulps: update.
39201
39202 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39203
39204 [BZ #18043]
39205 * posix/wordexp.c (parse_param): Fix buffer overflow.
39206 * posix/wordexp-test.c (test_case): Add test case.
39207
39208 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39209
39210 [BZ #18042]
39211 * posix/wordexp.c (parse_backtick): Fix off-by-one.
39212 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39213
39214 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39215
39216 [BZ #18043]
39217 * posix/wordexp-test.c (test_case): Add test for BZ #18043
39218 (do_bz18043): Delete.
39219 (at_page_end): New.
39220 (testit): Refactor to have words at the edge of unreadable page.
39221
39222 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39223
39224 [BZ #16734]
39225 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39226 Cleanup read-only streams as well.
39227 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39228
39229 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39230
39231 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39232 <bits/libc-lockP.h>
39233
39234 2015-03-07 Joseph Myers <joseph@codesourcery.com>
39235
39236 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
39237 on [__KERNEL__].
39238 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39239 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39240 * soft-fp/op-common.h (_FP_DECL): Likewise.
39241
39242 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
39243
39244 * elf/ifuncdep2.c (global): Replace
39245 __attribute__((visibility("protected"))) with
39246 asm (".protected global").
39247 * elf/ifuncmod1.c (global): Likewise.
39248 * elf/ifuncmod5.c (global): Likewise.
39249
39250 2015-03-06 Joseph Myers <joseph@codesourcery.com>
39251
39252 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39253 <asm/sfp-machine.h> instead of <sfp-machine.h>.
39254
39255 2015-03-06 Roland McGrath <roland@hack.frob.com>
39256
39257 * manual/install.texi (Configuring and compiling):
39258 Document test-wrapper-env-only.
39259 * INSTALL: Regenerated.
39260
39261 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39262
39263 [BZ #18043]
39264 * posix/wordexp.c (parse_param): Fix buffer overflow.
39265 * posix/wordexp-test.c (do_bz18043): Add test case.
39266
39267 2015-03-06 Vincent Bernat <vincent@bernat.im>
39268
39269 * time/tst-strptime2.c (do_test): Ensure failing tests are
39270 reported correctly.
39271 * time/tst-strptime3.c (do_test): Likewise.
39272
39273 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
39274
39275 Fix aio_error thread-safety.
39276 * sysdeps/pthread/aio_error.c: New file
39277 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39278 synchronization.
39279
39280 2015-03-06 Florian Weimer <fweimer@redhat.com>
39281
39282 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39283 (group_number, vfprintf): Use it.
39284 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39285 (JUMP, REF): Use it.
39286 (WORK_BUFFER_SIZE): New enum constant.
39287 (process_arg, vfprintf): Use it.
39288
39289 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
39290
39291 * manual/errno.texi (Error Messages): Complete example function
39292 by adding missing #define.
39293 (program_invocation_name): Add statement indicating GNU
39294 extension and reference which header file declares the variable.
39295 (program_invocation_short_name): Likewise.
39296
39297 2015-03-06 Mike Frysinger <vapier@gentoo.org>
39298
39299 * manual/errno.texi (Error Messages): Delete strerror ISO C89
39300 compatibility note.
39301
39302 2015-03-05 Roland McGrath <roland@hack.frob.com>
39303
39304 * Makeconfig (test-wrapper-env-only): New variable.
39305 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39306 then use that with $(test-wrapper-env-only) rather than using
39307 $(test-wrapper-env) $(run-program-env) $($*-ENV).
39308
39309 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
39310
39311 [BZ #18082]
39312 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39313 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39314 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39315 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39316 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39317 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39318 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39319 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39320 Likewise.
39321 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39322 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39323 Likewise.
39324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39325 Likewise.
39326 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39327 Likewise.
39328 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39329 Likewise.
39330 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39331 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39332 Likewise.
39333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39334 Likewise.
39335 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39336 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39337
39338 2015-03-04 Roland McGrath <roland@hack.frob.com>
39339
39340 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39341 (ETH_ALEN): New macro.
39342 (struct ether_addr): Use it for length of ether_addr_octet.
39343
39344 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39345 (setdb): Don't call __nss_configure_lookup for "rpc".
39346 (do_test): Don't call test_rpc.
39347 (output_rpcent, test_rpc): Functions moved ...
39348 * sunrpc/test-rpcent.c: ... to this new file.
39349 * sunrpc/Makefile (tests): Add it.
39350
39351 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39352 __xpg_sigpause.
39353 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39354 * nptl/tst-signal6.c: Likewise.
39355 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39356 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39357
39358 * configure.ac (libc_cv_cxx_link_ok): New check.
39359 Reset CXX to empty if it fails to link.
39360 * configure: Regenerated.
39361 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39362 bug-atexit3-lib only if $(CXX) is nonempty.
39363 * nptl/Makefile (tests): Likewise for tst-cancel24.
39364 (tests, tests-static): Likewise for tst-cancel24-static.
39365 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39366 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39367 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39368 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39369
39370 2015-03-04 Andreas Schwab <schwab@suse.de>
39371
39372 [BZ #17631]
39373 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39374 for non-GCC compilers.
39375 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39376 Likewise.
39377
39378 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39379
39380 [BZ #17776]
39381 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39382 integer before bitwise and assembly operations.
39383 (feclearexcept): Likewise.
39384 * math/test-fenvinline.c: New file.
39385 * math/Makefile: Add test-fenvinline test.
39386
39387 2015-03-03 Alan Modra <amodra@gmail.com>
39388
39389 [BZ #16512]
39390 * scripts/localplt.awk: Strip off symbol version.
39391 * NEWS: Mention bug fix.
39392
39393 2015-03-02 Roland McGrath <roland@hack.frob.com>
39394
39395 * sysdeps/pthread/timer_routines.c
39396 (timer_free_list, thread_free_list, thread_active_list): Make static.
39397
39398 2015-03-02 Joseph Myers <joseph@codesourcery.com>
39399
39400 [BZ #17779]
39401 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39402 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39403 Undefine.
39404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39405 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39406 Likewise.
39407 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39408 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39409 Likewise.
39410
39411 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39412
39413 [BZ #18036]
39414 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39415 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39416
39417 2015-03-02 Andreas Schwab <schwab@suse.de>
39418
39419 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39420 variable name.
39421
39422 2015-03-02 Florian Weimer <fweimer@redhat.com>
39423
39424 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39425 Return error status.
39426
39427 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39428
39429 [BZ #15969]
39430 * locale/findlocale.c (_nl_find_locale): Introduce const
39431 version of loc_name and drop unsafe type casts.
39432
39433 2015-02-27 Roland McGrath <roland@hack.frob.com>
39434
39435 * dlfcn/tststatic2.c (main): Converted to ...
39436 (do_test): ... this.
39437 (TEST_FUNCTION): New macro.
39438 Include test-skeleton.c.
39439
39440 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39441
39442 [BZ #17711]
39443 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39444 (tests-pie): Add vismain.
39445 (CFLAGS-vismain.c): New.
39446 * elf/vismain.c: Add comments for PIE requirement.
39447
39448 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39449
39450 [BZ #18046]
39451 [BZ #18047]
39452 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39453 0x1p-56L as threshold for just returning the argument.
39454 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39455 0x1p-32L as threshold for just returning the argument.
39456 * math/auto-libm-test-in: Add more tests of atanh.
39457 * math/auto-libm-test-out: Regenerated.
39458 * sysdeps/i386/fpu/libm-test-ulps: Update.
39459 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39460
39461 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39462
39463 * string/bcopy.c (bcopy): Call memmove for performance.
39464
39465 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39466
39467 * string/bzero.c (__bzero): Call memset for performance.
39468
39469 2015-02-27 John David Anglin <dave.anglin@bell.net>
39470
39471 [BZ #18068]
39472 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39473 to 00100000.
39474
39475 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39476
39477 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39478
39479 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39480
39481 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39482 (__kernel_standard): Use CSTR macro when setting exc.name.
39483 * sysdeps/ieee754/Makefile [$(subdir) = math]
39484 (CFLAGS-k_standard.c): Remove variable.
39485
39486 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39487 setting p and q from "else if" to "else".
39488 (qzero): Likewise.
39489 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39490 (qone): Likewise.
39491 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39492 (qzerof): Likewise.
39493 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39494 (qonef): Likewise.
39495 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39496 (qzero): Likewise.
39497 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39498 (qone): Likewise.
39499
39500 [BZ #18038]
39501 [BZ #18039]
39502 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39503 return pi/2 for arguments below 0x1p-113L.
39504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39505 return pi/2 for arguments below 0x1p-106L.
39506 * math/auto-libm-test-in: Add more tests of acos.
39507 * math/auto-libm-test-out: Regenerated.
39508
39509 [BZ #16351]
39510 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39511 (MO): New macro.
39512 (__ieee754_asin): Force underflow exception for results with small
39513 absolute value.
39514 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39515 (MO): New macro.
39516 (__ieee754_asinf): Force underflow exception for results with
39517 small absolute value.
39518 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39519 (__ieee754_asin): Force underflow exception for results with small
39520 absolute value.
39521 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39522 (__ieee754_asinf): Force underflow exception for results with
39523 small absolute value.
39524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39525 (__ieee754_asinl): Force underflow exception for results with
39526 small absolute value.
39527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39528 (__ieee754_asinl): Force underflow exception for results with
39529 small absolute value.
39530 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39531 (__ieee754_asinl): Force underflow exception for results with
39532 small absolute value.
39533 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39534 Include <math.h>.
39535 * math/auto-libm-test-in: Do not mark underflow exceptions as
39536 possibly missing for bug 16351.
39537 * math/auto-libm-test-out: Regenerated.
39538
39539 [BZ #18030]
39540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39541 of power of 2 down when low part has opposite sign.
39542 * math/libm-test.inc (logb_test_data): Add more tests.
39543
39544 2015-02-26 Andreas Schwab <schwab@suse.de>
39545
39546 [BZ #18032]
39547 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39548 over collating symbol inside a bracket expression. Minor cleanup.
39549 * posix/tst-fnmatch3.c (do_test): Add test case.
39550
39551 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39552
39553 [BZ #18029]
39554 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39555 Adjust exponent of power of 2 down when low part has opposite
39556 sign.
39557 * math/libm-test.inc (ilogb_test_data): Add more tests.
39558
39559 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39560
39561 [BZ #15969]
39562 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39563 the previous change.
39564
39565 [BZ #15969]
39566 * locale/findlocale.c (_nl_find_locale): Retry archive search
39567 after alias expansion.
39568
39569 2015-02-25 Roland McGrath <roland@hack.frob.com>
39570
39571 * iconv/tst-iconv3.c (main): Converted to ...
39572 (do_test): ... this.
39573 (TEST_FUNCTION): New macro.
39574 Include test-skeleton.c.
39575
39576 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39577 (convert): Make function static.
39578 (test_unalign): Likewise. Add const to argument pointee types.
39579 (main): Replace with static function do_test.
39580 Print "Succeeded." only if RET is zero.
39581 (TEST_FUNCTION): New macro.
39582 Include test-skeleton.c.
39583
39584 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39585 returns a null pointer.
39586
39587 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39588
39589 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39590 to __memcpy_ppc only for static builds.
39591
39592 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39593
39594 [BZ #18020]
39595 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39596 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39597 * math/auto-libm-test-in: Add more tests of asinh.
39598 * math/auto-libm-test-out: Regenerated.
39599 * sysdeps/i386/fpu/libm-test-ulps: Update.
39600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39601
39602 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39603
39604 [BZ #15850]
39605 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39606 and ip6_mtuinfo definitions here.
39607 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39608 in this define too. Update comment.
39609
39610 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39611
39612 * elf/sprof.c (load_shobj): Tweak error message to match others.
39613
39614 2015-02-24 Kevin Easton <kevin@guarana.org>
39615
39616 [BZ #16145] (partial fix)
39617 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39618 to reduce lock contention.
39619
39620 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39621
39622 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39623 (struct timex): Update time comment.
39624 (ADJ_SETOFFSET): Define.
39625
39626 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39627
39628 [BZ #18019]
39629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39630 2**56 not 2**28 as threshold for log (2x) formula.
39631 * math/auto-libm-test-in: Add more tests of acosh.
39632 * math/auto-libm-test-out: Regenerated.
39633 * sysdeps/i386/fpu/libm-test-ulps: Update.
39634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39635
39636 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39637
39638 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39639 parenthesis around the buf assignment.
39640 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39641
39642 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39643
39644 [BZ #16783]
39645 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39646 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39647 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39648 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39649 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39650 * math/libm-test.inc (scalb_test_data): Add more tests.
39651
39652 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39653
39654 [BZ #17916]
39655 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39656 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39657
39658 2015-02-24 Eric Rannaud <e@nanocritical.com>
39659
39660 [BZ #17523]
39661 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39662 * io/bits/fcntl2.h (open): Use it.
39663 (openat): Likewise.
39664 * io/open.c (__libc_open): Likewise.
39665 * io/open64.c (__libc_open64): Likewise.
39666 * io/open64_2.c (__open64_2): Likewise.
39667 * io/open_2.c (__open_2): Likewise.
39668 * io/openat.c (__openat): Likewise.
39669 * io/openat64.c (__openat64): Likewise.
39670 * io/openat64_2.c (__openat64_2): Likewise.
39671 * io/openat_2.c (__openat_2): Likewise.
39672 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39673 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39674 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39675 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39676 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39677 (__open_nocancel): Likewise.
39678 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39679 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39680 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39681
39682 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39683
39684 [BZ #14841]
39685 * resolv/gethnamaddr.c (getanswer): Skip logging if
39686 RES_USE_DNSSEC is set.
39687 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39688
39689 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39690
39691 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39692
39693 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39694
39695 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39696 201304L, for Unicode 7.
39697
39698 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39699
39700 [BZ #17836]
39701 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39702 shared library. Add gmon-start.os otherwise.
39703 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39704 $(objpfx)gmon-start.os if builing shared library.
39705 ($(objpfx)g$(static-start-installed-name)): Likewise.
39706
39707 2015-02-23 Andreas Schwab <schwab@suse.de>
39708
39709 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39710
39711 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39712
39713 [BZ #17269]
39714 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39715 (enlarge_userbuf): Likewise.
39716
39717 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39718
39719 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39720 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39721 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39722 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39723
39724 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39725
39726 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39727 expression inside statement expression.
39728
39729 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39730
39731 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39732 <sysdeps/nptl/lowlevellock.h> and remove macros and
39733 functions that are now defined there.
39734 (SYS_futex): Remove.
39735 (lll_compare_and_swap): Remove.
39736 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39737
39738 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39739
39740 [BZ #17999]
39741 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39742 instead of scandirat.
39743 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39744 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39745 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39746 __scandirat.
39747 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39748 (__scandirat): Declare. Use libc_hidden_proto.
39749 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39750 Remove variable.
39751 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39752
39753 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39754
39755 [BZ #15319]
39756 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39757 (MO): New macro.
39758 (__ieee754_atan2): For results with small absolute value, force
39759 underflow exception and remove excess range and precision from
39760 return value.
39761 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39762 (MO): New macro.
39763 (__ieee754_atan2f): For results with small absolute value, force
39764 underflow exception and remove excess range and precision from
39765 return value.
39766 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39767 (MO): New macro.
39768 (__atan): For results with small absolute value, force underflow
39769 exception and remove excess range and precision from return value.
39770 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39771 (MO): New macro.
39772 (__atanf): For results with small absolute value, force underflow
39773 exception and remove excess range and precision from return value.
39774 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39775 <math.h>.
39776 (__ieee754_atan2): Force underflow exception for results with
39777 small absolute value.
39778 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39779 <math_private.h>.
39780 (atan): Force underflow exception for results with small absolute
39781 value.
39782 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39783 (__atanf): Force underflow exception for results with small
39784 absolute value.
39785 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39786 <math.h>.
39787 (__atanl): Force underflow exception for results with small
39788 absolute value.
39789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39790 (__atanl): Force underflow exception for results with small
39791 absolute value.
39792 * sysdeps/x86/fpu/bits/mathinline.h
39793 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39794 (__ieee754_atan2): Only define inline for long double.
39795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39796 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39797 * math/auto-libm-test-in: Do not mark underflow exceptions as
39798 possibly missing for bug 15319. Add more tests of atan2.
39799 * math/auto-libm-test-out: Regenerated.
39800 * math/libm-test.inc (casin_test_data): Do not mark underflow
39801 exceptions as possibly missing for bug 15319.
39802 (casinh_test_data): Likewise.
39803 * sysdeps/i386/fpu/libm-test-ulps: Update.
39804
39805 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39806
39807 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39808 * sysdeps/mips/bits/endian.h: Fix comments.
39809
39810 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39811
39812 [BZ #17996]
39813 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39814 (hdestroy_r): Likewise.
39815 (hsearch_r): Likewise.
39816 (__hcreate_r): Declare and use libc_hidden_proto.
39817 (__hdestroy_r): Likewise.
39818 (__hsearch_r): Likewise.
39819 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39820 (hcreate): Call __hcreate_r instead of hcreate_r.
39821 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39822 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39823 as weak alias of __hcreate_r.
39824 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39825 __hdestroy_r.
39826 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39827 __hsearch_r.
39828 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39829 Remove variable.
39830 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39831 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39832 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39833 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39834
39835 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39836
39837 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39838 arena_lock into a single arena_get.
39839
39840 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39841
39842 * dl-reloc.c: Inlucde libc-internal.h.
39843 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39844 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39845 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39846 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39847 (grow_heap): Likewise.
39848 * malloc/malloc.c: Include libc-internal.h.
39849 (do_check_malloc): Call powerof2.
39850 (sysmalloc): Use pagesize. Call ALIGN_UP.
39851 (systrim): Use pagesize.
39852 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39853 (__libc_valloc): Use pagesize.
39854 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39855
39856 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39857
39858 [BZ #17991]
39859 * include/sys/resource.h (__getrlimit64): Declare. Use
39860 libc_hidden_proto.
39861 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39862 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39863 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39864 getrlimit64.
39865 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39866 __getrlimit64.
39867 [!getrlimit64] (getrlimit64): Define as weak alias of
39868 __getrlimit64. Use libc_hidden_weak.
39869 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39870 using __getrlimit64 not __new_getrlimit64.
39871 (__GI_getrlimit64): Likewise.
39872 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39873 Likewise.
39874 (__GI_getrlimit64): Likewise.
39875 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39877 (getrlimit): Add __getrlimit64 alias.
39878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39879 Likewise.
39880 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39881 Remove variable.
39882 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39883 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39884
39885 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39886
39887 * libio/fileops.c: Add missing sys/mman.h
39888 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39889
39890 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39891
39892 * manual/math.texi (Errors in Math Functions): Clarify goals
39893 regarding inexact and underflow exceptions.
39894
39895 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39896
39897 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39898 * sysdeps/mips/memset.S: Ditto.
39899
39900 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39901
39902 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39903
39904 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39905
39906 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39907 (__v1longjmp): Remove versioned symbol.
39908 (__v1siglongjmp): Remove alias and versioned symbol.
39909 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39910 (__v2siglongjmp): Likewise.
39911
39912 2015-02-16 Torvald Riegel <triegel@redhat.com>
39913
39914 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39915
39916 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39917
39918 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39919
39920 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39921
39922 [BZ #17987]
39923 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39924 zero result does not depend on the sign resulting from
39925 subtraction.
39926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39927 Likewise.
39928 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39929 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39930 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39931 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39932 * math/libm-test.inc (remquo_test_data): Add more tests.
39933
39934 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39935
39936 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39937 Problem reported by J William Piggott.
39938
39939 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39940
39941 [BZ #17978]
39942 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39943 products 4 * y and 2 * y where those would overflow.
39944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39945 Likewise.
39946 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39947 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39948 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39949 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39950 * math/libm-test.inc (remquo_test_data): Add more tests.
39951
39952 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39953
39954 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39955 [defined _COMPILING_NEWLIB].
39956 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39957 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39958
39959 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39960 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39961
39962 2015-02-16 Torvald Riegel <triegel@redhat.com>
39963
39964 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39965 acquired.
39966
39967 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39968
39969 [BZ #17792]
39970 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39971 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39972 HOST_STACK_END_ADDR): Likewise.
39973
39974 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39975
39976 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39977 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39978 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39979
39980 2015-02-13 Roland McGrath <roland@hack.frob.com>
39981
39982 * sysdeps/generic/c++-types.data: New file.
39983 * sysdeps/generic/ld.abilist: New file.
39984 * sysdeps/generic/libBrokenLocale.abilist: New file.
39985 * sysdeps/generic/libanl.abilist: New file.
39986 * sysdeps/generic/libc.abilist: New file.
39987 * sysdeps/generic/libcrypt.abilist: New file.
39988 * sysdeps/generic/libdl.abilist: New file.
39989 * sysdeps/generic/libm.abilist: New file.
39990 * sysdeps/generic/libpthread.abilist: New file.
39991 * sysdeps/generic/libresolv.abilist: New file.
39992 * sysdeps/generic/librt.abilist: New file.
39993
39994 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39995
39996 [BZ #17569]
39997 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39998 Compute absolute value of x as modified by fmod, not original
39999 value of x.
40000 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
40001 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
40002 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
40003 RUN_TEST_ffI_f1_mod8.
40004 (remquo_test_data): Add more tests.
40005
40006 2015-02-13 Roland McGrath <roland@hack.frob.com>
40007
40008 * sysdeps/init_array/pt-crti.S: New file.
40009
40010 2015-02-13 Joseph Myers <joseph@codesourcery.com>
40011
40012 [BZ #17967]
40013 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
40014 __builtin_fmaf instead of relying on contraction of a * b + c.
40015
40016 2015-02-12 J William Piggott <elseifthen@gmx.com>
40017
40018 [BZ #17969]
40019 * manual/time.texi: correct the zoneinfo path in the TZ Variable
40020 node.
40021
40022 2015-02-12 Joseph Myers <joseph@codesourcery.com>
40023
40024 [BZ #17964]
40025 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
40026 __builtin_fma instead of relying on contraction of a * b + c.
40027
40028 2015-02-12 Roland McGrath <roland@hack.frob.com>
40029
40030 * Makeconfig (ASFLAGS): Add -Werror=undef.
40031 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
40032 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
40033 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
40034
40035 * Makeconfig (after-link): New variable.
40036 (+link-pie, +link-pie-tests): Use it.
40037 (+link-static, +link-static-tests): Likewise.
40038 (+link, +link-tests): Likewise.
40039 * Makerules (build-module, build-module-asneeded): Likewise.
40040 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
40041 Likewise.
40042 * elf/Makefile ($(objpfx)ld.so): Likewise.
40043
40044 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
40045
40046 [BZ #17965]
40047 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
40048 both struct timeval and struct timespec.
40049
40050 2015-02-12 Joseph Myers <joseph@codesourcery.com>
40051
40052 [BZ #16560]
40053 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40054 and redefine.
40055 (__ieee754_exp2l): Do not multiply small fractional parts by
40056 M_LN2l.
40057 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
40058 small argument.
40059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40060 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
40061 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
40062 * math/auto-libm-test-in: Add more tests of exp2.
40063 * math/auto-libm-test-out: Regenerated.
40064
40065 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40066
40067 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
40068 unaligned path.
40069
40070 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40071
40072 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
40073 little endian.
40074
40075 2015-02-12 Andreas Schwab <schwab@suse.de>
40076
40077 [BZ #15790]
40078 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
40079 Filter out elision flags from value returned in kind.
40080 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
40081 * nptl/tst-pthread-mutexattr.c: New file.
40082
40083 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
40084
40085 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
40086 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
40087 into gnu-gnu, and update comment to refer to abi-tags.
40088
40089 2015-02-11 Joseph Myers <joseph@codesourcery.com>
40090
40091 [BZ #15467]
40092 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
40093 (__sincos): Set errno to EDOM for infinite argument.
40094 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
40095 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
40096 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
40097 (__sincosl): Set errno to EDOM for infinite argument.
40098 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
40099 (__sincosl): Set errno to EDOM for infinite argument.
40100 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
40101 (__sincosl): Set errno to EDOM for infinite argument.
40102 * math/libm-test.inc (sincos_test_data): Test errno setting.
40103
40104 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
40105
40106 * string/strxfrm_l.c: Remove #define STRCMP.
40107 * string/strcoll_l.c: Remove #define STRLEN.
40108 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
40109 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
40110
40111 2015-02-10 Joseph Myers <joseph@codesourcery.com>
40112
40113 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
40114 * sysdeps/mips/mips32/sfp-machine.h: ... here.
40115 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
40116 * sysdeps/mips/mips64/Makefile: ... here.
40117 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
40118 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
40119 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
40120 * sysdeps/mips/mips64/sfp-machine.h: ... here.
40121 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
40122 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
40123 * sysdeps/mips/mips64/n64/Implies: Likewise.
40124
40125 2015-02-10 Roland McGrath <roland@hack.frob.com>
40126
40127 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
40128 <sys/time.h>, <string.h>, and <errno.h>.
40129 (dest_offset, dest_address, value, zero): Remove unused variables.
40130 (ldouble): Remove typedef.
40131 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
40132 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
40133 1). Fix code style.
40134 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
40135 (check): Function removed.
40136 (CHECK): New macro.
40137 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
40138 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
40139 Don't call set_sigaction_FP and remove_sigaction_FP here.
40140 (ldouble_test): Just use 'long double' as macro argument, no need for
40141 the 'ldouble' typedef.
40142 (do_test): Set up SIGFPE handler at start, using plain signal rather
40143 than sigaction. Fix code style.
40144
40145 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
40146
40147 [BZ #17949]
40148 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
40149 jump label.
40150
40151 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40152
40153 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40154 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40155
40156 * sysdeps/powerpc/configure.ac: Remove file.
40157 * sysdeps/powerpc/configure: Likewise.
40158
40159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40160 [sysdep_routines]: Remove wordcopy-power6 object.
40161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40162 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40163 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40164 (__memmove_ppc32): Likewise.
40165 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40166 file.
40167 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40168 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40169 Remove preprocessor.
40170
40171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40172 [sysdep_routines]: Remove wide chars objects.
40173 [wcsmbs]: New rule for wide char objects.
40174
40175 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40176 Remove wordcopy-power6 obejct.
40177 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40178 Use local call for wordcopy and memcpy symbols.
40179 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40180 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40181 implementation for loader.
40182 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40183
40184 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40185 Remove wordcopy-power7 object.
40186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40188 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40189 (_wordcopy_fwd_dest_aligned): Likewise.
40190 (_wordcopy_bwd_aligned): Likewise.
40191 (_wordcopy_bwd_dest_aligned): Likewise.
40192
40193 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40194 Rewrite to call __memmove_ppc instead of include default
40195 implementation.
40196
40197 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40198 Remove wide chars objects.
40199 [wcsmbs]: New rule for wide char objects.
40200
40201 2015-02-09 Andreas Schwab <schwab@suse.de>
40202
40203 [BZ #17912]
40204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40205 in terms of __O_DIRECTORY.
40206
40207 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
40208
40209 * time/getdate.c: Include <stdbool.h>.
40210 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40211 call PTR_MANGLE.
40212 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40213 PTR_DEMANGLE.
40214
40215 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
40216
40217 Add ersatz _Static_assert on older C hosts
40218 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40219 pre-C11 C platform that is not known to support _Static_assert.
40220
40221 2015-02-07 Richard Braun <rbraun@sceen.net>
40222
40223 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40224 sigstate.
40225 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40226
40227 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
40228
40229 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40230 priority against unexistent AIO_PRIO_DELTA_MAX.
40231 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40232 instead of int.
40233 * misc/fchflags.c (fchflags): Likewise.
40234 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40235 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40236 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40237 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40238 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40239 Declare macros.
40240 [__USE_MISC] (chflags, fchflags): Declare functions.
40241 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40242 EINVAL when nfds is greater than FD_SETSIZE.
40243 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40244 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40245 45.
40246 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40247 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40248 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40249 MACH_RCV_TIMED_OUT.
40250 * hurd/hurd/signal.h (_hurd_self_sigstate,
40251 _hurd_critical_section_lock, _hurd_critical_section_unlock):
40252 Explicit casts from void *.
40253 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40254 * abi-tags: Rename gnu-gnu os into gnu.
40255
40256 [BZ #4719]
40257 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40258 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40259 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40260 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40261 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40262 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40263
40264 [BZ #17944]
40265 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40266 duplicates ADDR->sun_path with sockaddr LEN limitation.
40267 * sysdeps/mach/hurd/connect.c: Include <string.h>
40268 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40269 * sysdeps/mach/hurd/sendmsg.c: Likewise.
40270 * sysdeps/mach/hurd/sendto.c: Likewise.
40271 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40272 implementing it by hand.
40273
40274 2015-02-06 Roland McGrath <roland@hack.frob.com>
40275
40276 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40277 Use sfi_breg on ldr.
40278 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40279 Likewise.
40280
40281 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40282 it's defined.
40283 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40284 Test SIGSETXID only if it's defined.
40285
40286 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40287
40288 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40289 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
40290
40291 * nptl/tst-align2.c: Moved ...
40292 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40293 * nptl/Makefile (tests): Remove tst-align2.
40294 * sysdeps/unix/sysv/linux/Makefile
40295 [$(subdir) = nptl] (tests): Add tst-align-clone.
40296 * nptl/tst-getpid1.c: Moved ...
40297 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40298 * nptl/tst-getpid2.c: Moved ...
40299 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40300 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40301 * sysdeps/unix/sysv/linux/Makefile
40302 [$(subdir) = nptl] (tests): ... here.
40303 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40304 * sysdeps/unix/sysv/linux/Makefile
40305 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40306
40307 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40308 Drop trailing \n from perror argument. Use return rather than exit.
40309
40310 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40311 on [SA_SIGINFO].
40312 * nptl/tst-cancel21.c (do_test): Likewise.
40313 * debug/tst-backtrace6.c: Include <signal.h> first thing.
40314 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40315 [!SA_SIGINFO]: Make it a stub test.
40316
40317 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40318 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40319
40320 * posix/tst-getlogin.c: Move to ...
40321 * login/tst-getlogin.c: ... here.
40322 * posix/Makefile (tests): Move tst-getlogin to ...
40323 * login/Makefile (tests): ... here.
40324
40325 * libio/tst-atime.c (do_test): Move local variables SV and E
40326 inside [ST_NOATIME] conditional.
40327
40328 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40329
40330 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40331
40332 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40333 (wait_code): New function replaces macro.
40334 Call nanosleep rather than syscall.
40335
40336 * nptl/pt-system.c: Rewritten. Put everything under
40337 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40338 Use IFUNC to redirect when possible.
40339
40340 * nptl/pt-longjmp.c: Rewritten. Put everything under
40341 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40342 Use IFUNC to redirect when possible.
40343
40344 * nptl/pt-fork.c: Rewritten. Put everything under
40345 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40346 Use IFUNC to redirect when possible.
40347 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40348
40349 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40350 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40351 unconditionally nowadays. This included the only reference to
40352 __vdso_clock_gettime that appears outside libc proper.
40353 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40354 Remove version set (containing only __vdso_clock_gettime).
40355 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40356 Add attribute_hidden.
40357 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40358 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40359 libc_hidden_data_def.
40360 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40362
40363 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40364 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40365 setrpcent, and getrpcport to ...
40366 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40367 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40368 getrpcbynumber_r, and getrpcent_r to ...
40369 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40370 * inet/getrpcbyname.c: Moved ...
40371 * sunrpc/getrpcbyname.c: ... here.
40372 * inet/getrpcbyname_r.c: Moved ...
40373 * sunrpc/getrpcbyname_r.c: ... here.
40374 * inet/getrpcbynumber.c: Moved ...
40375 * sunrpc/getrpcbynumber.c: ... here.
40376 * inet/getrpcbynumber_r.c: Moved ...
40377 * sunrpc/getrpcbynumber_r.c: ... here.
40378 * inet/getrpcent.c: Moved ...
40379 * sunrpc/getrpcent.c: ... here.
40380 * inet/getrpcent_r.c: Moved ...
40381 * sunrpc/getrpcent_r.c: ... here.
40382 * inet/Makefile (routines): Move those to ...
40383 * sunrpc/Makefile (routines): ... here.
40384 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40385 the $(subdirs) list.
40386 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40387 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40388 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40389 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40390
40391 * elf/Makefile (routines): Include $(all-dl-routines), not just
40392 $(dl-routines).
40393 (rtld-routines): Likewise. Use = rather than :=.
40394 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40395 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40396 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40397 * sysdeps/arm/Makefile: Likewise.
40398 * sysdeps/i386/Makefile: Likewise.
40399 * sysdeps/x86_64/Makefile: Likewise.
40400 * sysdeps/hppa/Makefile [$(subdir) = elf]
40401 (sysdep_routines, sysdep-rtld-routines): Don't add
40402 $(sysdep-dl-routines) to these.
40403 * sysdeps/ia64/Makefile: Likewise.
40404 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40405 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40406 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40407 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40408 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40409 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40410 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40411 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40412 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40413 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40414 these; sysdep-dl-routines alone is enough.
40415
40416 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40417
40418 [BZ #17932]
40419 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40420 where multiplication results in zero and third argument is finite
40421 and nonzero.
40422 * math/auto-libm-test-in: Add more tests of fma.
40423 * math/auto-libm-test-out: Regenerated.
40424
40425 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40426 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40427 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40428 (_FP_CMP_EQ): Likewise.
40429 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40430
40431 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40432 extra argument CHECK_NAN. Redefine as wrapper around
40433 _FP_EXTEND_CNAN.
40434
40435 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40436
40437 * version.h (RELEASE): Set to "stable".
40438 (VERSION): Set to "2.21"
40439 * include/features.h (__GLIBC_MINOR__): Set to 21.
40440
40441 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40442
40443 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40444 Paul Eggert <eggert@cs.ucla.edu>
40445
40446 [BZ #16618]
40447 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40448 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40449 size in bytes. Store needed elements in wpmax. Use needed size
40450 in bytes for extend_alloca.
40451
40452 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40453
40454 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40455 binutls 2.25, and texinfo 5.2.
40456 * INSTALL: Regenerate.
40457 * sysdeps/nios2/configure: Regenerate.
40458 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40459 * manual/contrib.texi: Update.
40460 * po/be.po: Update.
40461 * po/bg.po: Update.
40462 * po/ca.po: Update.
40463 * po/cs.po: Update.
40464 * po/da.po: Update.
40465 * po/de.po: Update.
40466 * po/el.po: Update.
40467 * po/eo.po: Update.
40468 * po/es.po: Update.
40469 * po/fi.po: Update.
40470 * po/fr.po: Update.
40471 * po/gl.po: Update.
40472 * po/hr.po: Update.
40473 * po/hu.po: Update.
40474 * po/ia.po: Update.
40475 * po/id.po: Update.
40476 * po/it.po: Update.
40477 * po/ja.po: Update.
40478 * po/ko.po: Update.
40479 * po/lt.po: Update.
40480 * po/nb.po: Update.
40481 * po/nl.po: Update.
40482 * po/pl.po: Update.
40483 * po/pt_BR.po: Update.
40484 * po/ru.po: Update.
40485 * po/rw.po: Update.
40486 * po/sk.po: Update.
40487 * po/sl.po: Update.
40488 * po/sv.po: Update.
40489 * po/tr.po: Update.
40490 * po/uk.po: Update.
40491 * po/vi.po: Update.
40492 * po/zh_CN.po: Update.
40493 * po/zh_TW.po: Update.
40494
40495 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40496 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40497 * sysdeps/hppa/dl-irel.h: Remove #warning.
40498 * sysdeps/hppa/entry.h: Provide prototype for
40499 __canonicalize_funcptr_for_compare and cast argument.
40500 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40501 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40502 * sysdeps/hppa/sotruss-lib.c: New file.
40503 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40504 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40505 (atomic_compare_and_exchange_bool_acq): Likewise.
40506 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40507 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40508
40509 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40510 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40511 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40512
40513 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40514
40515 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40516 called function in non-PIC case.
40517
40518 2015-01-31 David S. Miller <davem@davemloft.net>
40519
40520 * sysdeps/sparc/sparc32/bits/atomic.h
40521 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40522 unlock not after it.
40523 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40524 volatile register usage warnings from the compiler.
40525
40526 * sysdeps/sparc/nptl/sem_init.c: Delete.
40527 * sysdeps/sparc/nptl/sem_post.c: Delete.
40528 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40529 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40530 * sysdeps/sparc/sparc32/sem_init.c: New file.
40531 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40532 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40533 padding explicitly initialized.
40534 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40535 padding for in-semaphore spinlock.
40536 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40537 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40538 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40539 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40540 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40541 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40542 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40543 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40544 version.
40545 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40546 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40547
40548 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40549
40550 [BZ #17801]
40551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40552 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40553 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40554 New.
40555 (index_AVX_Fast_Unaligned_Load): Likewise.
40556 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40557 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40558 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40559 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40560 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40561 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40562 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40563 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40564 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40565
40566 2015-01-29 Andreas Schwab <schwab@suse.de>
40567
40568 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40569
40570 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40571
40572 [BZ #17892]
40573 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40574
40575 2015-01-28 Martin Sebor <msebor@redhat.com>
40576
40577 * math/README.libm-test: Clarify. Add "How to read the test output."
40578
40579 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40580
40581 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40582 Define to 0.
40583
40584 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40585
40586 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40587 (__HAVE_64B_ATOMICS): Define to 0.
40588
40589 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40590
40591 [BZ #17885]
40592 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40593 value to set as new flag.
40594
40595 [BZ #16576]
40596 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40597 and use _ARCH_PPCSQ instead.
40598 (__ieee754_sqrt): Likewise.
40599 (__ieee754_sqrtf): Likewise.
40600 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40601 _ARCH_PPCSQ is defined.
40602 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40603 fsqrt instruction.
40604 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40605 _ARCH_PPCSQ is defined.
40606 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40607 fsqrts instruction.
40608 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40609
40610 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40611
40612 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40613 bug (GCC BZ #64739).
40614
40615 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40616
40617 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40618 Mark _retval as used.
40619 (lll_futex_wake_unlock): Likewise.
40620 (lll_futex_timed_wait_requeue_pi): Likewise.
40621
40622 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40623 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40624 register variables.
40625
40626 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40627 libm_hidden_def.
40628
40629 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40630 (__bswap_64): Mark as __always_inline.
40631
40632 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40633
40634 [BZ #15378]
40635 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40636 when none of the search directories exist.
40637
40638 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40639
40640 [BZ #17869]
40641 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40642 power8 in .machine directive.
40643
40644 [BZ #17868]
40645 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40646 set dependency from opd value.
40647
40648 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40649
40650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40651 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40652 architecture.
40653
40654 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40655
40656 [BZ #17870]
40657 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40658 with uint64_t.
40659 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40660 (uint64_t) 1.
40661 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40662 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40663 Replace 1UL with (uint64_t) 1.
40664 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40665 int with uint64_t.
40666
40667 2015-01-23 Roland McGrath <roland@hack.frob.com>
40668
40669 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40670 (if_freenameindex): Likewise.
40671
40672 * resource/getrlimit64.c: Add missing libc_hidden_def.
40673
40674 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40675
40676 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40677 __label__.
40678 (_FP_FMA): Likewise.
40679 (_FP_TO_INT_ROUND): Likewise.
40680 (_FP_FROM_INT): Likewise.
40681
40682 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40683
40684 [BZ #16418]
40685 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40686 Make code racy and cancel safe.
40687
40688 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40689
40690 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40691 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40692 attribution.
40693
40694 * pwd/tst-getpw.c: Rewrite.
40695
40696 [BZ #17702]
40697 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40698 (modules-names): Add moddummy1 and moddummy2.
40699 ($(objpfx)tst-rec-dlopen): Define.
40700 * dlfcn/moddummy1.c: New file.
40701 * dlfcn/moddummy2.c: New file.
40702 * dlfcn/tst-rec-dlopen.c: New file.
40703 * elf/dl-cache.c (_dl_load_cache_lookup):
40704 Return char*. Copy result with alloca/strcpy/strdup.
40705 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40706 returns char*. Free cached. If not saving realname
40707 free cached.
40708 * elf/dl-open.c (dl_open_worker): Do not assert that
40709 _r_debug->r_state is RT_CONSISTENT.
40710 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40711 returns char*.
40712
40713 2015-01-21 Torvald Riegel <triegel@redhat.com>
40714 Carlos O'Donell <carlos@redhat.com>
40715
40716 [BZ #12674]
40717 * nptl/sem_waitcommon.c: New file.
40718 * nptl/sem_wait.c: Include sem_waitcommon.c.
40719 (__sem_wait_cleanup, do_futex_wait): Remove.
40720 (__new_sem_wait): Adapt.
40721 (__new_sem_trywait): New function.
40722 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40723 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40724 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40725 (sem_timedwait): Adapt.
40726 * nptl/sem_post.c (__new_sem_post): Adapt.
40727 (futex_wake): New function.
40728 (__old_sem_post): Add release MO fence.
40729 * nptl/sem_open.c (sem_open): Adapt.
40730 * nptl/sem_init.c (__new_sem_init): Adapt.
40731 (futex_private_if_supported): New function.
40732 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40733 (__old_sem_getvalue): Add using previous code.
40734 * sysdeps/nptl/internaltypes.h: Adapt.
40735 * nptl/tst-sem13.c (do_test): Adapt.
40736 * nptl/tst-sem11.c (main): Adapt.
40737 * nptl/sem_trywait.c: Remove.
40738 * nptl/DESIGN-sem.txt: Remove.
40739 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40740 (gen-as-const-headers): Remove structsem.sym.
40741 * nptl/structsem.sym: Remove.
40742 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40743 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40744 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40745 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40746 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40747 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40748 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40749 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40750 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40751 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40752 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40753 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40754 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40755 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40756 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40757 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40758 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40759 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40760 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40761 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40762 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40763 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40764
40765 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40766
40767 * INSTALL: Regenerated.
40768
40769 * po/libc.pot: Regenerated.
40770
40771 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40772 Sandra Loosemore <sandra@codesourcery.com>
40773 Andrew Jenner <andrew@codesourcery.com>
40774 Joseph Myers <joseph@codesourcery.com>
40775 Nathan Sidwell <nathan@codesourcery.com>
40776
40777 * NEWS: Mention new Nios II port.
40778 * sysdeps/nios2/Implies: New file.
40779 * sysdeps/nios2/Makefile: New file.
40780 * sysdeps/nios2/Subdirs: New file.
40781 * sysdeps/nios2/Versions: New file.
40782 * sysdeps/nios2/__longjmp.S: New file.
40783 * sysdeps/nios2/abort-instr.h: New file.
40784 * sysdeps/nios2/backtrace.c: New file.
40785 * sysdeps/nios2/bits/endian.h: New file.
40786 * sysdeps/nios2/bits/fenv.h: New file.
40787 * sysdeps/nios2/bits/link.h: New file.
40788 * sysdeps/nios2/bits/setjmp.h: New file.
40789 * sysdeps/nios2/bsd-_setjmp.S: New file.
40790 * sysdeps/nios2/bsd-setjmp.S: New file.
40791 * sysdeps/nios2/configure: New generated file.
40792 * sysdeps/nios2/configure.ac: New file.
40793 * sysdeps/nios2/crti.S: New file.
40794 * sysdeps/nios2/crtn.S: New file.
40795 * sysdeps/nios2/dl-init.c: New file.
40796 * sysdeps/nios2/dl-machine.h: New file.
40797 * sysdeps/nios2/dl-sysdep.h: New file.
40798 * sysdeps/nios2/dl-tls.h: New file.
40799 * sysdeps/nios2/dl-trampoline.S: New file.
40800 * sysdeps/nios2/gccframe.h: New file.
40801 * sysdeps/nios2/gmp-mparam.h: New file.
40802 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40803 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40804 * sysdeps/nios2/ldsodefs.h: New file.
40805 * sysdeps/nios2/libc-tls.c: New file.
40806 * sysdeps/nios2/libm-test-ulps: New file.
40807 * sysdeps/nios2/machine-gmon.h: New file.
40808 * sysdeps/nios2/math-tests.h: New file.
40809 * sysdeps/nios2/math_private.h: New file.
40810 * sysdeps/nios2/memusage.h: New file.
40811 * sysdeps/nios2/nptl/Makefile: New file.
40812 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40813 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40814 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40815 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40816 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40817 * sysdeps/nios2/nptl/tls.h: New file.
40818 * sysdeps/nios2/preconfigure: New file.
40819 * sysdeps/nios2/s_fma.c: New file.
40820 * sysdeps/nios2/s_fmaf.c: New file.
40821 * sysdeps/nios2/setjmp.S: New file.
40822 * sysdeps/nios2/sfp-machine.h: New file.
40823 * sysdeps/nios2/sotruss-lib.c: New file.
40824 * sysdeps/nios2/stackguard-macros.h: New file.
40825 * sysdeps/nios2/stackinfo.h: New file.
40826 * sysdeps/nios2/start.S: New file.
40827 * sysdeps/nios2/sysdep.h: New file.
40828 * sysdeps/nios2/tls-macros.h: New file.
40829 * sysdeps/nios2/tst-audit.h: New file.
40830 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40831 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40832 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40833 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40834 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40835 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40836 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40837 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40838 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40839 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40840 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40841 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40842 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40843 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40844 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40845 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40846 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40847 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40848 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40849 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40850 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40851 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40852 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40853 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40854 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40855 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40856 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40857 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40858 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40859 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40860 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40861 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40862 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40863 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40864 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40865 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40866 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40867 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40868 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40869 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40870 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40871 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40872 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40873 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40874
40875 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40876
40877 [BZ #17844]
40878 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40879 (getutent): Use weak_alias in non SHARED case
40880 and default_symbol_version in SHARED case.
40881 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40882 (getutent_r, pututline): Likewise.
40883 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40884 (getutid): Likewise.
40885 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40886 (getutid_r): Likewise.
40887 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40888 (getutline): Likewise.
40889 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40890 (getutline_r): Likewise.
40891 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40892 (updwtmp): Likewise.
40893
40894 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40895
40896 [BZ #17848]
40897 * sysdeps/s390/s390-32/memcmp.S
40898 (memcmp_g5): Rename to __memcmp_g5.
40899 * sysdeps/s390/s390-32/memcpy.S
40900 (memcpy_g5): Rename to __memcpy_g5.
40901 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40902 (memcpy_mvcle) Rename to __memcpy_mvcle.
40903 * sysdeps/s390/s390-32/memset.S
40904 (memset_g5): Rename to __memset_g5.
40905 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40906 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40907 and use prefixed functions.
40908 * sysdeps/s390/s390-32/multiarch/memcmp.S
40909 (memcmp_z196): Rename to __memcmp_z196.
40910 (memcmp_z10): Rename to __memcmp_z10.
40911 (memcmp): Set alias to __memcmp_g5.
40912 (bcmp): Set alias to __memcmp_g5.
40913 * sysdeps/s390/s390-32/multiarch/memcpy.S
40914 (memcpy_z196): Rename to __memcpy_z196.
40915 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40916 (memcpy_z10): Rename to __memcpy_z10.
40917 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40918 (memcpy): Set alias to __memcpy_g5.
40919 * sysdeps/s390/s390-32/multiarch/memset.S
40920 (memset_z196): Rename to __memset_z196.
40921 Jump to __memset_mvcle instead of memset_mvcle.
40922 (memset_z10): Rename to __memset_z10.
40923 Jump to __memset_mvcle instead of memset_mvcle.
40924 (memset_mvcle) Rename to __memset_mvcle.
40925 (memset): Set alias to __memset_g5.
40926 * sysdeps/s390/s390-64/memcmp.S
40927 (memcmp_z900): Rename to __memcmp_z900.
40928 * sysdeps/s390/s390-64/memcpy.S
40929 (memcpy_z900): Rename to __memcpy_z900.
40930 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40931 (memcpy_mvcle) Rename to __memcpy_mvcle.
40932 * sysdeps/s390/s390-64/memset.S
40933 (memset_z900): Rename to __memset_z900.
40934 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40935 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40936 and use prefixed functions.
40937 * sysdeps/s390/s390-64/multiarch/memcmp.S
40938 (memcmp_z196): Rename to __memcmp_z196.
40939 (memcmp_z10): Rename to __memcmp_z10.
40940 (memcmp): Set alias to __memcmp_z900.
40941 (bcmp): Set alias to __memcmp_z900.
40942 * sysdeps/s390/s390-64/multiarch/memcpy.S
40943 (memcpy_z196): Rename to __memcpy_z196.
40944 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40945 (memcpy_z10): Rename to __memcpy_z10.
40946 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40947 (memcpy): Set alias to __memcpy_z900.
40948 * sysdeps/s390/s390-64/multiarch/memset.S
40949 (memset_z196): Rename to __memset_z196.
40950 Jump to __memset_mvcle instead of memset_mvcle.
40951 (memset_z10): Rename to __memset_z10.
40952 Jump to __memset_mvcle instead of memset_mvcle.
40953 (memset_mvcle) Rename to __memset_mvcle.
40954 (memset): Set alias to __memset_z900.
40955
40956 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40957
40958 [BZ #17748]
40959 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40960 __fesetenv instead of fesetenv.
40961
40962 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40963
40964 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40965 macro.
40966
40967 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40968
40969 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40970 regression on LE.
40971
40972 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40973 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40974 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40975 strncmp-power8 object.
40976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40977 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40978 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40979 * NEWS: Update.
40980
40981 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40982 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40983
40984 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40985 trailing byte check.
40986
40987 2015-01-13 David S. Miller <davem@davemloft.net>
40988
40989 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40990
40991 2015-01-13 Roland McGrath <roland@hack.frob.com>
40992
40993 * login/logout.c (logout): Use memset rather than bzero.
40994 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40995 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40996 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40997 (_gethtbyaddr): Likewise.
40998 * locale/programs/simple-hash.c (bcopy): Macro removed.
40999
41000 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41001
41002 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41003 Add strcmp-power8 object.
41004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41005 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
41006 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
41007 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
41008 __strcmp_power8 implementation.
41009 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
41010 * NEWS: Update.
41011
41012 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41013 Add strncpy-power8 and stpncpy-power8 objects.
41014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41015 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
41016 implementations.
41017 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
41018 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
41019 __stpncpy_power8 implementation.
41020 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
41021 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
41022 __strncpy_power8 implementation.
41023 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
41024 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
41025 * NEWS: Update.
41026
41027 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
41028 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
41029 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
41030
41031 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41032 strncat-power8 object.
41033 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
41034 __strcat_power8 implementation.
41035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41036 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
41037 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
41038 optimized strcat for power8.
41039
41040 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41041 strcpy-power8 and stpcpy-power8 objects.
41042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41043 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
41044 implementations.
41045 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
41046 multiarch stpcpy implementation for POWER8.
41047 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
41048 multiarch strcpy implementation for POWER8.
41049 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
41050 __strcpy_power8 function.
41051 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
41052 stpcpy for POWER8.
41053 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
41054 strcpy for POWER8.
41055 * NEWS: Update.
41056
41057 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
41058
41059 [BZ #16009]
41060 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
41061 weights and rules. Use do_xfrm_cached if data fits in cache,
41062 do_xfrm otherwise. Moved former main loop to...
41063 * (do_xfrm_cached): New function.
41064 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
41065 find_idx, find_position and stack_push.
41066 * (find_idx): New function.
41067 * (find_position): Likewise.
41068 * localedata/sort-test.sh: Added test run for do_xfrm.
41069 * localedata/xfrm-test.c (main): Added command line option
41070 -nocache to run the test with strings that are too large for
41071 the STRXFRM cache.
41072
41073 2015-01-13 Torvald Riegel <triegel@redhat.com>
41074
41075 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
41076 variable to lll_futex_wake call, not the value itself.
41077
41078 2015-01-12 Joseph Myers <joseph@codesourcery.com>
41079
41080 [BZ #17803]
41081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
41082 twom64. Adjust value to 0x1p-64L.
41083 (__scalblnl): Only return standard underflowing result for K <=
41084 -64 not K <= -63; adjust exponent for underflowing result by 64
41085 not 63.
41086 * math/libm-test.inc (scalbn_test_data): Add more tests.
41087 (scalbln_test_data): Likewise.
41088
41089 [BZ #17834]
41090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
41091 0x1p63L.
41092 (__scalblnl): Get new exponent of adjusted subnormal value from ES
41093 not HX.
41094 * math/libm-test.inc (scalbn_test_data): Add more tests.
41095 (scalbln_test_data): Likewise.
41096
41097 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41098 Stefani Seibold <stefani@seibold.net>
41099
41100 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
41101 (sysdep_routines): Add dl-vdso here, ...
41102 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
41103 (sysdep_routines): ... not here.
41104 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
41105 fallback when vDSO is not presented.
41106 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
41107 Define with libc_hidden_proto/libc_hidden_data_def definitions.
41108 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
41109 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
41110 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
41111 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
41112 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
41113 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
41114 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
41115 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
41116 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
41117 fallback configurable symbol when vDSO is not available.
41118 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
41119 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
41120 be able to redefine fallback symbol when vDSO is not available.
41121 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
41122 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
41123
41124 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41125
41126 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
41127 (TLS_INIT_TP): Add tm_capable initialization.
41128 (TLS_DEFINE_INIT_TP): Likewise.
41129 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
41130 TCB.
41131 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
41132 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
41133 calculation.
41134 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
41135 transactoion is lock elision is built and TCB tm_capable is set.
41136 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
41137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41138 (INTERNAL_SYSCALL_NCS): Likewise.
41139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41140 (INTERNAL_SYSCALL_NCS): Likewise.
41141 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
41142
41143 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
41144 for powerpc.
41145 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41146 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
41147 and remove it for 32 bits case.
41148 [pthread_rwlock_t] (__rwelision): New field for lock elision.
41149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41150 initialization.
41151 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41152 Disable lock elision with rdlocks if elision is not available.
41153
41154 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41155 (sysdep_routines): Add lock elision objects.
41156 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41157 [pthread_mutex_t] (__spins): Rework to add lock elision field.
41158 [pthread_mutex_t] (__elision): Add field.
41159 [__PTHREAD_SPINS]: Adjust to init lock elision field.
41160 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41161 elision definitions for powerpc.
41162 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41163 implementation of lock elision for powerpc.
41164 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41165 implementation of timed lock elision for powerpc.
41166 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41167 implementation of trylock with lock elision for powerpc.
41168 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41169 implementaion of unlock for lock elision for powerpc.
41170 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41171 automatic enable lock elision for mutexes.
41172 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41173 transaction execution definitions for powerpc.
41174 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41175 definitions.
41176 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41177 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41178 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41179 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41180 * NEWS: Update.
41181
41182 2015-01-09 Roland McGrath <roland@hack.frob.com>
41183
41184 * sysdeps/posix/shm-directory.c: Use <> rather than ""
41185 for #include of <shm-directory.h>.
41186
41187 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
41188
41189 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41190 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41191
41192 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
41193
41194 [BZ #17791]
41195 * NEWS: Mention bug fix.
41196 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41197 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41198 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41199
41200 2015-01-09 Torvald Riegel <triegel@redhat.com>
41201
41202 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41203
41204 2015-01-09 Torvald Riegel <triegel@redhat.com>
41205
41206 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41207
41208 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41209
41210 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41211 pointer and cast to uintptr_t.
41212
41213 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41214
41215 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41216 removed.
41217 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41218
41219 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41220
41221 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41222 of 0.
41223
41224 2015-01-08 Roland McGrath <roland@hack.frob.com>
41225
41226 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41227 <nptl/pthreadP.h> instead.
41228 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41229
41230 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41231 already defined.
41232 [__SIGRTMIN] (init): Function removed.
41233 [__SIGRTMIN] (initialized): Variable removed.
41234 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41235 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41236 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41237 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41238 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41239 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41240 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41241 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41242 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41243 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41244 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41245 * sysdeps/nptl/allocrtsig.c: New file.
41246 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41247 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41248 * sysdeps/generic/testrtsig.h: File removed.
41249
41250 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41251 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41252
41253 * nptl/nptl-init.c (pthread_functions): Conditionalize
41254 .ptr__nptl_setxid initialization on [SIGSETXID].
41255
41256 * sysdeps/nptl/sys/procfs.h: New file.
41257 * nptl_db/Makefile (headers): Add it.
41258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41259
41260 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41261 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41262 * nptl/pthread_attr_setaffinity.c: Include it.
41263 * nptl/pthread_setattr_default_np.c: Likewise.
41264 * nptl/check-cpuset.h: New file.
41265
41266 2015-01-08 Richard Henderson <rth@redhat.com>
41267
41268 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41269 (CFLAGS-tst-execstack-prog.c): Likewise.
41270 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41271
41272 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
41273 Sandra Loosemore <sandra@codesourcery.com>
41274 Andrew Jenner <andrew@codesourcery.com>
41275 Joseph Myers <joseph@codesourcery.com>
41276 Nathan Sidwell <nathan@codesourcery.com>
41277
41278 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41279 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41280 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41281 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41282 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41283 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41284 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41285 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41286 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41287 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41288 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41289 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41290 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41291 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41292 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41293 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41294 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41295
41296 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41297
41298 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41299 timespec struct member in syscall macro.
41300 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41301 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41302 first timeval struct member in syscall macro.
41303 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41304
41305 2015-01-07 Joseph Myers <joseph@codesourcery.com>
41306
41307 [BZ #17748]
41308 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41309 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41310 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41311 __feupdateenv and define as weak alias of __feupdateenv. Use
41312 libm_hidden_weak.
41313 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41314 libm_hidden_def.
41315 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41316 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
41317 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41318 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41319 libm_hidden_def.
41320 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41321 __feupdateenv and define as weak alias of __feupdateenv. Use
41322 libm_hidden_weak.
41323 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41324 libm_hidden_def.
41325 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41326 __feupdateenv and define as weak alias of __feupdateenv. Use
41327 libm_hidden_weak.
41328 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41329 libm_hidden_def.
41330 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41331 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41332 (__feupdateenv): Likewise.
41333 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41334 __feupdateenv and define as weak alias of __feupdateenv. Use
41335 libm_hidden_weak.
41336 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41337 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41338 libm_hidden_def.
41339 * sysdeps/tile/math_private.h (__feupdateenv): New inline
41340 function.
41341 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41342 libm_hidden_def.
41343 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41344 __feupdateenv instead of feupdateenv.
41345 (default_libc_feupdateenv_test): Likewise.
41346 (libc_feresetround_ctx): Likewise.
41347
41348 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41349
41350 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41351 prototype.
41352
41353 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
41354
41355 * posix/regcomp.c (parse_bracket_exp): Initialize type to
41356 COLL_SYM in a couple of places to avoid uninitialized variable
41357 wanings on tilegx gcc 4.8.2.
41358
41359 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41360
41361 * sysdeps/aarch64/strcpy.S: New file.
41362 * sysdeps/aarch64/stpcpy.S: New file.
41363 * NEWS: Updated.
41364
41365 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41366
41367 * sysdeps/aarch64/strrchr.S: New file.
41368 * NEWS: Updated.
41369
41370 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
41371
41372 [BZ #17658]
41373 * stdlib/setenv.c: Fix memory leak when setting large,
41374 duplicate string.
41375
41376 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41377
41378 [BZ #17273]
41379 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41380 and tabs from buffer before parsing fstab entry.
41381 * misc/tst-mntent.c (main): Add test for mount entry with
41382 trailing spaces and tabs.
41383
41384 2015-01-06 Joseph Myers <joseph@codesourcery.com>
41385
41386 [BZ #17748]
41387 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41388 * math/fesetround.c (fesetround): Rename to __fesetround and
41389 define as weak alias of __fesetround. Use libm_hidden_weak.
41390 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41391 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41392 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41393 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41394 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41395 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41396 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41397 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41398 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41399 __fesetround_inline.
41400 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41401 __fesetround_inline instead of __fesetround.
41402 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41403 __fesetround and define as weak alias of __fesetround. Use
41404 libm_hidden_weak. Call __fesetround_inline instead of
41405 __fesetround.
41406 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41407 __fesetround and define as weak alias of __fesetround. Use
41408 libm_hidden_weak.
41409 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41410 Likewise.
41411 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41412 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41413 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41414 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41415 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41416 __fesetround and define as weak alias of __fesetround. Use
41417 libm_hidden_weak.
41418 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41419 __fesetround instead of fesetround.
41420 (default_libc_feholdexcept_setround): Likewise.
41421 (libc_feholdsetround_ctx): Likewise.
41422 (libc_feholdsetround_noex_ctx): Likewise.
41423
41424 [BZ #17748]
41425 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41426 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41427 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41428 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41429 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41430 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41431 define as weak alias of __fesetenv. Use libm_hidden_weak.
41432 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41433 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41434 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41435 define as weak alias of __fesetenv. Use libm_hidden_weak.
41436 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41437 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41438 define as weak alias of __fesetenv. Use libm_hidden_weak.
41439 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41440 libm_hidden_def.
41441 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41442 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41443 Likewise.
41444 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41445 define as weak alias of __fesetenv. Use libm_hidden_weak.
41446 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41447 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41448 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41449 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41450 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41451 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41452 __fesetenv instead of fesetenv.
41453 (libc_feresetround_noex_ctx): Likewise.
41454 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41455 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41456 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41457 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41458 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41459 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41460 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41461 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41462 (__feupdateenv): Likewise.
41463 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41464 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41465 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41466 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41467
41468 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41469
41470 [BZ #17806]
41471 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41472 addresses have been freed.
41473
41474 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41475
41476 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41477 and nservall.
41478
41479 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
41480
41481 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41482 Clean up check_pf allocation pattern. addresses
41483
41484 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41485
41486 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41487 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41488 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41489 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41490 * nptl/pthread_join.c (pthread_join): Likewise.
41491 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41492 * sysdeps/posix/waitid.c (__waitid): Likewise.
41493 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41494 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41495 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41496 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41497 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41498 Likewise.
41499 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41500 (__libc_pread64): Likewise.
41501 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41502 (__libc_pwrite): Likewise.
41503 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41504 (__libc_pwrite64): Likewsie.
41505 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41506 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41507 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41508 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41509 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41510 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41511 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41513 Likewise.
41514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41515 (__libc_pread64): Likewise.
41516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41517 Likewise.
41518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41519 (__libc_pwrite64): Likewise.
41520 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41521 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41522 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41523 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41524 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41525 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41526 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41527 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41528 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41529 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41530 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41531 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41532 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41533 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41534 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41535 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41536 Likewise.
41537
41538 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41539
41540 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41541 (CFLAGS-test-double.c): Likewise.
41542 (CFLAGS-test-ldouble.c): Likewise.
41543 (CPPFLAGS-test-ifloat.c): Likewise.
41544 (CPPFLAGS-test-idouble.c): Likewise.
41545 (CPPFLAGS-test-ildoubl.c): Likewise.
41546 (CFLAGS-test-test-fenv.c): Remove variable.
41547 (CFLAGS-test-misc.c): Likewise.
41548
41549 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41550
41551 [BZ #17797]
41552 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41553 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41554 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41555 CLOCKS_PER_SEC == 1000000.
41556 * time/clocktest.c (main): Replace %ld with %jd and cast to
41557 intmax_t.
41558
41559 2015-01-05 Roland McGrath <roland@hack.frob.com>
41560
41561 * sysdeps/generic/unwind-resume.h: New file.
41562 * sysdeps/gnu/unwind-resume.c: Include it.
41563 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41564 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41565 argument list.
41566 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41567 global rather than static.
41568 (_Unwind_Resume): Update user.
41569 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41570 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41571 rather than static. Add __attribute__ ((cold)).
41572 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41573 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41574 * sysdeps/arm/arm-unwind-resume.S: New file.
41575 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41576 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41577 * sysdeps/arm/Makefile [$(subdir) = csu]
41578 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41579 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41580 Add rt-arm-unwind-resume.
41581 [$(subdir) = nptl]
41582 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41583 Add pt-arm-unwind-resume.
41584 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41585 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41586
41587 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41588
41589 [BZ #17748]
41590 * include/fenv.h (__feholdexcept): Declare. Use
41591 libm_hidden_proto.
41592 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41593 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41594 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41595 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41596 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41597 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41598 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41599 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41600 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41601 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41602 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41603 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41604 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41605 (feholdexcept): Likewise.
41606 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41607 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41608 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41609 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41610 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41611 __feholdexcept instead of feholdexcept.
41612 (default_libc_feholdexcept_setround): Likewise.
41613
41614 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41615
41616 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41617 to avoid using stl/str to align destination.
41618
41619 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41620
41621 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41622
41623 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41624
41625 [BZ #17796]
41626 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41627 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41628 Define as weak alias not strong alias.
41629
41630 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41631
41632 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41633 bltzal with addiupc.
41634 (RTLD_START): Ditto.
41635
41636 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41637
41638 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41639 for __vdso_* functions in declarations.
41640 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41641 definitions.
41642 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41643 INTERNAL_VSYSCALL): Use struct return types to check for error.
41644
41645 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41646 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41647 function with cast from llround().
41648 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41649 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41650 Define.
41651
41652 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41653
41654 [BZ #17793]
41655 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41656 Define as weak alias not strong alias.
41657
41658 [BZ #17635]
41659 * ctype/ctype-c99.c: New file. isblank implementation moved from
41660 ...
41661 * ctype/ctype-extn.c: ... here.
41662 (__isblank_l): Move to ...
41663 * ctype/ctype-c99_l.c: ... here. New file.
41664 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41665 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41666 Remove variable.
41667 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41668 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41669 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41670 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41671 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41672
41673 [BZ #17777]
41674 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41675 (posix_fadvise64): Define as weak alias not strong alias.
41676 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41677 (posix_fallocate64): Likewise.
41678 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41679 Remove variable.
41680 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41681 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41682 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41683 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41684 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41685
41686 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41687
41688 [BZ #16191]
41689 * NEWS: Mention bug fix.
41690 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41691 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41692 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41693 (HOST_STACK_END_ADDR): Likewise.
41694
41695 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41696
41697 [BZ #17748]
41698 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41699 * math/fegetround.c (fegetround): Rename to __fegetround and
41700 define as weak alias of __fegetround. Use libm_hidden_weak.
41701 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41702 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41703 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41704 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41705 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41706 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41707 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41708 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41709 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41710 Undefine after rather than before function definition; use
41711 parentheses around function name in definition.
41712 (__fegetround): Also undefine macro after function definition.
41713 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41714 __fegetround and define as weak alias of __fegetround. Use
41715 libm_hidden_weak. Do not undefine as macro.
41716 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41717 Likewise.
41718 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41719 __fegetround and define as weak alias of __fegetround. Use
41720 libm_hidden_weak.
41721 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41722 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41723 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41724 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41725 __fegetround and define as weak alias of __fegetround. Use
41726 libm_hidden_weak.
41727 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41728 __fegetround instead of fegetround.
41729
41730 [BZ #17782]
41731 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41732 Condition macro definition on [__USE_MISC].
41733
41734 [BZ #17781]
41735 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41736 (struct sigaction): Change type of sa_flags field to int.
41737
41738 [BZ #17780]
41739 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41740 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41741 __glibc_reserved0.
41742
41743 * nptl/version.c (banner): Use single year in copyright notice.
41744
41745 * NEWS: Update copyright dates.
41746 * catgets/gencat.c (print_version): Likewise.
41747 * csu/version.c (banner): Likewise.
41748 * debug/catchsegv.sh: Likewise.
41749 * debug/pcprofiledump.c (print_version): Likewise.
41750 * debug/xtrace.sh (do_version): Likewise.
41751 * elf/ldconfig.c (print_version): Likewise.
41752 * elf/ldd.bash.in: Likewise.
41753 * elf/pldd.c (print_version): Likewise.
41754 * elf/sotruss.sh: Likewise.
41755 * elf/sprof.c (print_version): Likewise.
41756 * iconv/iconv_prog.c (print_version): Likewise.
41757 * iconv/iconvconfig.c (print_version): Likewise.
41758 * locale/programs/locale.c (print_version): Likewise.
41759 * locale/programs/localedef.c (print_version): Likewise.
41760 * login/programs/pt_chown.c (print_version): Likewise.
41761 * malloc/memusage.sh (do_version): Likewise.
41762 * malloc/memusagestat.c (print_version): Likewise.
41763 * malloc/mtrace.pl: Likewise.
41764 * manual/libc.texinfo: Likewise.
41765 * nptl/version.c (banner): Likewise.
41766 * nscd/nscd.c (print_version): Likewise.
41767 * nss/getent.c (print_version): Likewise.
41768 * nss/makedb.c (print_version): Likewise.
41769 * posix/getconf.c (main): Likewise.
41770 * scripts/test-installation.pl: Likewise.
41771 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41772
41773 2015-01-02 Will Newton <will.newton@linaro.org>
41774
41775 * sysdeps/arm/armv7/configure: Removed.
41776 * sysdeps/arm/armv7/configure.ac: Likewise.
41777
41778 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41779
41780 * All files with FSF copyright notices: Update copyright dates
41781 using scripts/update-copyrights.
41782 * intl/plural.c: Regenerated.
41783 * locale/programs/charmap-kw.h: Likewise.
41784 * locale/programs/locfile-kw.h: Likewise.
41785
41786 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41787
41788 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41789
41790 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41791
41792 [BZ #17748]
41793 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41794 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41795 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41796 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41797 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41798 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41799 define as weak alias of __fegetenv. Use libm_hidden_weak.
41800 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41801 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41802 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41803 define as weak alias of __fegetenv. Use libm_hidden_weak.
41804 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41805 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41806 define as weak alias of __fegetenv. Use libm_hidden_weak.
41807 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41808 libm_hidden_def.
41809 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41810 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41811 Likewise.
41812 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41813 define as weak alias of __fegetenv. Use libm_hidden_weak.
41814 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41815 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41816 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41817 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41818 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41819 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41820 __fegetenv instead of fegetenv.
41821 (libc_feholdsetround_noex_ctx): Likewise.
41822
41823 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41824
41825 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41826 (Elf_MIPS_ABIFlags_v0): New structure.
41827 (EF_MIPS_FP64): Define.
41828 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41829 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41830 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41831 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41832 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41833 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41834 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41835 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41836 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41837 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41838 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41839 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41840 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41841 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41842 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41843 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41844 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41845 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41846 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41847 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41848 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41849 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41850 field.
41851 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41852 EF_MIPS_FP64.
41853 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41854 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41855 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41856 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41857 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41858 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41859 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41860 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41861 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41862 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41863 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41864 record the current FP ABI extension.
41865 (mips-mode-switch): Define to show if kernel headers support mode
41866 switching.
41867 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41868 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41869 supported SYSV ABI version to 3.
41870 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41871 feature.
41872
41873 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41874 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41875
41876 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41877 path.
41878 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41879
41880 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41881
41882 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41883 __fegetround and redefine to call __fegetround. Remove condition
41884 on [!__NO_MATH_INLINES].
41885 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41886 function.
41887 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41888 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41889 Remove macro.
41890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41891 instead of <fenv_libc.h>.
41892 (__llrintl): Call fegetround instead of __fegetround.
41893 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41894 instead of <fenv_libc.h>.
41895 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41896 (__lrintl): Call fegetround instead of __fegetround.
41897 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41898 instead of <fenv_libc.h>.
41899 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41900 (__rintl): Call fegetround instead of __fegetround.
41901
41902 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41903
41904 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41905 arrays.
41906
41907 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41908
41909 [BZ #17775]
41910 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41911 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41912 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41913
41914 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41915
41916 * sysdeps/i386/tls-macros.h: Include <features.h>.
41917 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41918 (TLS_IE): Likewise.
41919 (TLS_LD): Likewise.
41920 (TLS_GD): Likewise.
41921 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41922 define for GCC >= 5.0.
41923
41924 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41925
41926 * math/test-fenv.c (test_single_exception, set_single_exc,
41927 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41928 feexcp_mask_test, feenable_test, fe_single_test): Add
41929 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41930 case where they are not used.
41931 * math/libm-test.inc: Likewise.
41932 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41933 unused in the absence of FP rounding/exception support.
41934 * stdio-common/tst-printf-round.c: Likewise.
41935 * stdlib/tst-strtod-round.c: Likewise.
41936 * stdlib/tst-strtod-underflow.c: Likewise.
41937
41938 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41939
41940 [BZ #17723]
41941 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41942 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41943 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41944 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41945 libm_hidden_weak.
41946 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41947 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41948 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41949 libm_hidden_def.
41950 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41951 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41952 libm_hidden_weak.
41953 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41954 Likewise.
41955 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41956 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41957 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41958 libm_hidden_weak.
41959 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41960 libm_hidden_def.
41961 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41962 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41963 (__feraiseexcept): Likewise.
41964 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41965 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41966 libm_hidden_weak.
41967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41968 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41969 libm_hidden_def.
41970 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41971 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41972 Use libm_hidden_def.
41973 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41974 libm_hidden_def.
41975 (feraiseexcept): Define as weak not strong alias. Use
41976 libm_hidden_weak.
41977 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41978 New inline function. Factored out of ...
41979 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41980 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41981 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41982 feraiseexcept.
41983 * math/w_acos.c (__acos): Likewise.
41984 * math/w_asin.c (__asin): Likewise.
41985 * math/w_ilogb.c (__ilogb): Likewise.
41986 * math/w_j0.c (y0): Likewise.
41987 * math/w_j1.c (y1): Likewise.
41988 * math/w_jn.c (yn): Likewise.
41989 * math/w_log.c (__log): Likewise.
41990 * math/w_log10.c (__log10): Likewise.
41991 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41992 * sysdeps/aarch64/fpu/math_private.h
41993 (libc_feupdateenv_test_aarch64): Likewise.
41994 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41995 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41996 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41997 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41998 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41999 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
42000 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
42001 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42002 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42003 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42004
42005 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
42006
42007 [BZ #17732]
42008 * io/test-utime.c (main): Replace %ld with %jd and cast to
42009 intmax_t.
42010 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
42011 * nptl/tst-mutex5.c: Include <stdint.h>.
42012 (do_test): Replace %ld with %jd and cast to intmax_t.
42013 * posix/tst-regex.c (run_test): Likewise.
42014 (run_test_backwards): Likewise.
42015 * rt/tst-clock.c: Include <stdint.h>.
42016 (clock_test): Replace %ld with %jd and cast to intmax_t.
42017 * rt/tst-cpuclock1.c: Include <stdint.h>.
42018 (do_test): Replace %lu with %ju and cast to uintmax_t.
42019 * rt/tst-cpuclock2.c: Include <stdint.h>.
42020 (do_test): Replace %lu with %ju and cast to uintmax_t.
42021 * rt/tst-mqueue1.c: Include <stdint.h>.
42022 (check_attrs): Replace %ld with %jd and cast to intmax_t.
42023 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
42024 intmax_t.
42025 * rt/tst-mqueue4.c (do_test): Likewise.
42026 * rt/tst-timer4.c: Include <stdint.h>.
42027 (check_ts): Replace %ld with %jd and cast to intmax_t.
42028 (do_test): Likewise.
42029 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
42030 and cast to intmax_t.
42031 * sysdeps/pthread/tst-timer.c (main): Likewise.
42032 * time/clocktest.c (main): Likewise.
42033 * time/tst-posixtz.c (do_test): Likewise.
42034 * timezone/tst-timezone.c (main): Likewise.
42035
42036 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
42037 H.J. Lu <hongjiu.lu@intel.com>
42038
42039 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
42040 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
42041 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
42042 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
42043 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
42044 version if bit_Fast_Unaligned_Load is set.
42045 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42046 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42047 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42048 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42049 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42050 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42052 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
42053 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
42054 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
42055 to 4.
42056 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
42057 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
42058 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
42059 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
42060
42061 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
42062
42063 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
42064 instead of #if to avoid a Wundef warning.
42065 * stdlib/tst-limits.c (do_test): Likewise.
42066
42067 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
42068 parallel other exception macros.
42069 (fegetenv): Convert from macro to extern inline so that it applies
42070 retroactively to inline functions already seen by the compiler.
42071 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
42072
42073 * posix/Makefile (before-compile): Use $(objpfx) for
42074 posix-conf-vars-def.h.
42075
42076 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42077
42078 * posix/getconf.c (main): Use size_t for type of I.
42079 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
42080 NSPEC.
42081
42082 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
42083 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
42084 * posix/posix-envs.def: Likewise.
42085 * sysdeps/posix/sysconf.c: Likewise.
42086 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
42087 (specs): Remove array.
42088 * scripts/gen-posix-conf-vars.awk: Support generation of specs
42089 array.
42090
42091 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
42092 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
42093 (__sysconf): Use CONF_IS_* macros.
42094
42095 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
42096 ($(objpfx)posix-conf-vars-def.h): New target.
42097 * posix/posix-conf-vars.list: New file.
42098 * posix/posix-conf-vars.h: New file.
42099 * posix/confstr.c: Include posix-conf-vars.h.
42100 (confstr): Use CONF_IS_* macros.
42101 * posix/posix-envs.def: Include posix-conf-vars.h. Use
42102 CONF_IS_* macros.
42103 * scripts/gen-posix-conf-vars.awk: New file.
42104
42105 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
42106
42107 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
42108 fegetround): Add no-op macros to avoid linknamespace issues.
42109
42110 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
42111 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
42112
42113 * sysdeps/unix/sysv/linux/tile/sysdep.h
42114 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
42115 assembly-specific section to avoid a redefinition warning.
42116
42117 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
42118 long before casting to pointer to avoid a cast warning.
42119
42120 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
42121
42122 * sysdeps/tile/tilegx/Implies: New file.
42123
42124 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
42125
42126 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
42127
42128 2014-12-23 Florian Weimer <fweimer@redhat.com>
42129
42130 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
42131
42132 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42133
42134 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
42135 not define.
42136 * sysdeps/unix/sysv/linux/utimes.c: Do not include
42137 <kernel-features.h>.
42138 (__utimes) [__NR_utimes]: Make code unconditional.
42139 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
42140 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42141 (__ASSUME_UTIMES): Do not undefine.
42142 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42143 (__ASSUME_UTIMES): Likewise.
42144 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42145 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
42146 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
42147 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
42148
42149 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42150
42151 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42152
42153 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
42154
42155 [BZ #17747]
42156 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42157 alias to weak alias for j0l, y0l.
42158 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42159 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42160
42161 [BZ #17746]
42162 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42163 conversion.
42164
42165 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42166
42167 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42168 to zero if not already defined.
42169
42170 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42171
42172 [BZ #17724]
42173 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42174 (__kernel_standard_f): Remove. Moved to k_standardf.c.
42175 (__kernel_standard_l): Remove. Moved to k_standardl.c with
42176 (char *) casts added.
42177 * sysdeps/ieee754/k_standardf.c: New file.
42178 * sysdeps/ieee754/k_standardl.c: Likewise.
42179 * math/Makefile (libm-support): Remove k_standard.
42180 (libm-calls): Add k_standard.
42181
42182 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42183
42184 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42185 Optimize to avoid an unnecessary FPCR read.
42186
42187 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42188
42189 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42190 Optimize to reduce FPCR/FPSR accesses.
42191
42192 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42193
42194 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42195 Call libc_fetestexcept_aarch64.
42196
42197 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42198
42199 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42200 Call libc_fesetround_aarch64.
42201
42202 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42203
42204 [BZ #17733]
42205 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42206 (__bind): Do not define as weak alias.
42207 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42208 define.
42209 (__getsockname): Do not define as weak alias.
42210
42211 2014-12-22 Will Newton <will.newton@linaro.org>
42212
42213 * manual/install.texi: Document that we require bison 2.7
42214 or above.
42215 * INSTALL: Regenerate.
42216 * configure.ac: Use AC_CHECK_PROG_VER instead of
42217 AC_PATH_PROG when checking for bison and check for
42218 version 2.7 or above.
42219 * configure: Regenerate.
42220
42221 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
42222
42223 [BZ #17745]
42224 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42225 * sysdeps/tile/ffsll.c (ffsll): To here.
42226
42227 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42228
42229 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42230
42231 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42232 if not defined.
42233 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42234 definition.
42235 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42236 hidden ___tls_get_addr.
42237 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42238 hidden __tls_get_addr.
42239 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42240 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42241 Likewise.
42242
42243 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
42244
42245 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42246 _dl_init call.
42247
42248 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42249
42250 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42251 from "call _dl_init@PLT".
42252 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42253
42254 2014-12-21 Anders Kaseorg <andersk@mit.edu>
42255
42256 * manual/search.texi: (Array Sort Function): Clarify stable sorting
42257 guarantees.
42258
42259 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
42260
42261 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42262
42263 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42264
42265 [BZ #17744]
42266 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42267 strnlen.
42268
42269 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42270
42271 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42272 of multu on MIPSr6.
42273 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42274 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42275 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42276 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42277 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42278
42279 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42280
42281 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42282 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42283 (PTR_SUBU): Use subu for mips32r6/mips64r6.
42284 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42285 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42286 mips32r6/mips64r6.
42287 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42288
42289 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
42290
42291 * string/strncat.c (STRNCAT): Simplify implementation.
42292
42293 2014-12-19 David S. Miller <davem@davemloft.net>
42294
42295 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42296 access the quad as both a long double and as a series of 4 words.
42297
42298 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42299 link_map->l_info array access.
42300
42301 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42302
42303 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42304
42305 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42306 * math/atest-exp2.c (TIMEOUT): Likewise.
42307 * math/atest-sincos.c (TIMEOUT): Likewise.
42308
42309 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42310
42311 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42312 -Wno-error with -fno-builtin-lround.
42313
42314 2014-12-19 Torvald Riegel <triegel@redhat.com>
42315
42316 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42317 Contains futex constants and functions moved over from ...
42318 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
42319 <lowlevellock-futex.h>.
42320 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42321 (lll_timedwait_tid): Add comments and parentheses around macro
42322 arguments.
42323
42324 2014-12-19 Torvald Riegel <triegel@redhat.com>
42325
42326 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42327 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
42328 (__lll_private_flag): Remove.
42329 (lll_futex_wait): Likewise.
42330 (lll_futex_timed_wait): Likewise.
42331 (lll_futex_wake): Likewise.
42332 (lll_futex_requeue): Likewise.
42333 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42334 (__lll_timedwait_tid): Spell out argument names.
42335 (lll_timedwait_tid): Add comments and parentheses around macro
42336 arguments.
42337 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42338 LLL_SHARED and LLL_PRIVATE usable from assembly code.
42339
42340 2014-12-19 Torvald Riegel <triegel@redhat.com>
42341
42342 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42343 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42344 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42345 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42346 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42347 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42348 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42349 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42350 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42351 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42352 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42353 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42354 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42355 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42356 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42357 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42358 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42359 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42360 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42361
42362 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42363
42364 * sysdeps/x86_64/x32/Makefile: New file.
42365
42366 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42367
42368 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42369 1L with (mp_limb_t) 1.
42370
42371 2014-12-17 Roland McGrath <roland@hack.frob.com>
42372
42373 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42374 * nptl/libc_pthread_init.c: ... here.
42375 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42376 * nptl/register-atfork.c: ... here.
42377
42378 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42379 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42380 Use assert_perror to check its return value.
42381 (__gai_create_helper_thread): Likewise.
42382
42383 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42384
42385 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42386
42387 2014-12-17 Joseph Myers <joseph@codesourcery.com>
42388
42389 [BZ #17725]
42390 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42391 __profil_counter.
42392 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42393 Likewise.
42394 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42395 Likewise.
42396 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42397 Likewise.
42398 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42399 (profil_counter): Likewise.
42400 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42401 (profil_counter): Likewise.
42402 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42403 Likewise.
42404 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42405 Likewise.
42406 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42407 (profil_counter): Likewise.
42408 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42409 Likewise.
42410 [!__profil_counter] (profil_counter): Define as weak alias of
42411 __profil_counter.
42412 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42413 (profil_counter): Rename to __profil_counter.
42414 [!__profil_counter] (profil_counter): Define as weak alias of
42415 __profil_counter.
42416 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42417 (profil_counter): Rename to __profil_counter.
42418 [!__profil_counter] (profil_counter): Define as weak alias of
42419 __profil_counter.
42420 * sysdeps/posix/profil.c: Update comment referring to
42421 profil_counter.
42422 (__profil): Use __profil_counter instead of profil_counter.
42423 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42424 __profil_counter. Use __profil_counter_ushort and
42425 __profil_counter_uint in definitions.
42426 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42427 instead of profil_counter_uint and profil_counter_ushort.
42428
42429 [BZ #17722]
42430 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42431 define as weak alias of __inet_makeaddr.
42432 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42433 as weak alias of __inet_addr.
42434 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42435 as weak alias of __inet_pton. Use libc_hidden_weak.
42436 * include/arpa/inet.h (__inet_pton): Declare. Use
42437 libc_hidden_proto.
42438 (inet_makeaddr): Don't use libc_hidden_proto.
42439 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42440 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42441 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42442 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42443 Remove variable.
42444 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42445 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42446
42447 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42448
42449 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42450
42451 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42452
42453 * stdio-common/bug-vfprintf-nargs.c (do_test):
42454 Cast value to intptr_t to avoid format warning
42455 for usage with PRIdPTR printing macro.
42456
42457 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42458
42459 * libio/tst-widetext.c (do_test):
42460 Use format type %td instead of %Zd for ptrdiff_t
42461 in order to avoid format warning.
42462
42463 2014-12-17 Andreas Schwab <schwab@suse.de>
42464
42465 * nscd/mem.c (gc): Add size_t cast to match printf format.
42466
42467 2014-12-16 Roland McGrath <roland@hack.frob.com>
42468
42469 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42470 (init): Apply PTR_MANGLE to pointers before storing them.
42471 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42472 before using them.
42473
42474 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42475
42476 [BZ #17719]
42477 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42478 define as weak alias of __memrchr.
42479 (__memrchr): Do not define as strong alias of memrchr.
42480 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42481 Remove variable.
42482 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42483 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42484 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42485
42486 [BZ #17717]
42487 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42488 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42489 (if_indextoname): Rename to __if_indextoname and define as weak
42490 alias of __if_indextoname. Use libc_hidden_weak.
42491 (if_freenameindex): Rename to __if_freenameindex and define as
42492 weak alias of __if_freenameindex.
42493 (if_nameindex): Rename to __if_nameindex and define as weak alias
42494 of __if_nameindex.
42495 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42496 __if_nametoindex and define as weak alias of __if_nametoindex.
42497 Use libc_hidden_weak.
42498 (if_freenameindex): Rename to __if_freenameindex and define as
42499 weak alias of __if_freenameindex.
42500 (if_nameindex): Rename to __if_nameindex and define as weak alias
42501 of __if_nameindex.
42502 (if_indextoname): Rename to __if_indextoname and define as weak
42503 alias of __if_indextoname. Use libc_hidden_weak.
42504 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42505 __if_nametoindex and define as weak alias of __if_nametoindex.
42506 Use libc_hidden_weak.
42507 (if_freenameindex): Rename to __if_freenameindex and define as
42508 weak alias of __if_freenameindex. Use libc_hidden_weak.
42509 (if_nameindex_netlink): Use __if_freenameindex instead of
42510 if_freenameindex.
42511 (if_nameindex): Rename to __if_nameindex and define as weak alias
42512 of __if_nameindex. Use libc_hidden_weak.
42513 (if_indextoname): Rename to __if_indextoname and define as weak
42514 alias of __if_indextoname. Use libc_hidden_weak.
42515 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42516 libc_hidden_proto.
42517 [!_ISOMAC] (__if_freenameindex): Likewise.
42518 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42519 if_nametoindex.
42520 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42521 variable.
42522 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42523 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42524 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42525 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42526 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42527 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42528 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42529
42530 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42531 Remove variable.
42532 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42533 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42534
42535 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42536
42537 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42538 subscript above bounds'
42539
42540 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42541 bounds.
42542
42543 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42544
42545 * libio/tst-fopenloc.c: Use test-skeleton.c.
42546
42547 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42548 (entry): Rename to ITEM.
42549 (do_test, comp): Adjust.
42550
42551 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42552
42553 2014-12-16 Torvald Riegel <triegel@redhat.com>
42554
42555 * string/tester.c: Include <libc-internal.h>.
42556 (test_memset): Ignore -Wmemset-transposed-args.
42557
42558 2014-12-16 Torvald Riegel <triegel@redhat.com>
42559
42560 * misc/tst-mntent2.c (do_test): Fix warning.
42561
42562 2014-12-16 Torvald Riegel <triegel@redhat.com>
42563
42564 * elf/tst-unique4lib.cc(a): Mark as used.
42565
42566 2014-12-16 Florian Weimer <fweimer@redhat.com>
42567
42568 [BZ #17630]
42569 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42570 names.
42571
42572 2014-12-16 Allan McRae <allan@archlinux.org>
42573
42574 * stdio-common/Makefile (tests): Re-add bug26.
42575
42576 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
42577
42578 [BZ #17657]
42579 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42580 static array.
42581
42582 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42583
42584 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42585 (__lll_lock_wait): Likewise.
42586 (__lll_timedlock_wait): Likewise.
42587 (__lll_timedwait_tid): Likewise.
42588 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42589 (__lll_robust_timedlock_wait): Likewise.
42590 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42591 (lll_cond_trylock): Likewise.
42592 (__lll_lock): Likewise.
42593 (__lll_robust_lock): Likewise.
42594 (__lll_cond_lock): Likewise.
42595 (lll_robust_cond_lock): Likewise.
42596 (__lll_timedlock): Likewise.
42597 (__lll_robust_timedlock): Likewise.
42598 (__lll_unlock): Likewise.
42599 (__lll_robust_unlock): Likewise.
42600 (lll_wait_tid): Likewise.
42601 (lll_timedwait_tid): Likewise.
42602
42603 2014-12-15 Torvald Riegel <triegel@redhat.com>
42604
42605 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42606
42607 2014-12-15 Torvald Riegel <triegel@redhat.com>
42608
42609 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42610
42611 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42612
42613 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42614 * stdio-common/tst-sprintf.c: Likewise.
42615
42616 2014-12-15 Torvald Riegel <triegel@redhat.com>
42617
42618 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42619
42620 2014-12-15 Jeff Law <law@redhat.com>
42621
42622 [BZ #16617]
42623 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42624 on the heap. (CVE-2012-3406)
42625 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42626 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42627 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42628
42629 2014-12-15 Will Newton <will.newton@linaro.org>
42630
42631 * manual/install.texi: Bump required version of texinfo
42632 to 4.7 from 4.5.
42633 * INSTALL: Regenerated.
42634 * configure.ac: Check for makeinfo version 4.7 and above.
42635 * configure: Regenerated.
42636
42637 2014-12-12 Roland McGrath <roland@hack.frob.com>
42638
42639 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42640 PREFIX, string constant to insert between directory and name.
42641 * sysdeps/posix/shm_open.c: Update caller.
42642 * sysdeps/posix/shm_unlink.c: Likewise.
42643 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42644 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42645 (SEM_SHM_PREFIX): New macro.
42646 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42647 [$(have-thread-library) = no].
42648 * nptl/Makefile (libpthread-routines): Add shm-directory.
42649 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42650 * sysdeps/nptl/shm-directory.h: New file.
42651 * sysdeps/posix/shm-directory.c
42652 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42653 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42654 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42655 INTERNAL_SYSCALL.
42656 (__where_is_shmfs): Function removed.
42657 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42658 Variables removed.
42659 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42660 Use SHM_GET_NAME.
42661 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42662
42663 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42664 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42665 unconditional for use inside libpthread.
42666 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42667
42668 2014-12-12 Roland McGrath <roland@hack.frob.com>
42669
42670 * nptl/pthread_getaffinity.c: New file.
42671 * nptl/pthread_setaffinity.c: New file.
42672 * nptl/pthread_getname.c: New file.
42673 * nptl/pthread_setname.c: New file.
42674
42675 * nptl/pthread_create.c (START_THREAD_DEFN)
42676 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42677
42678 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42679 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42680
42681 * resolv/res_send.c (send_vc): Disable warning resplen may
42682 be used uninitialized.
42683
42684 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42685
42686 * nptl/tst-mutex6.c
42687 (ATTR_NULL): New define checks ATTR against NULL.
42688 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42689 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42690
42691 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42692
42693 [BZ #17581]
42694 * malloc/hooks.c
42695 (mem2mem_check): Revert my previous change.
42696 (malloc_check_get_size): Revert my previous change.
42697 (mem2chunk_check): Revert my previous change.
42698
42699 2014-12-11 Roland McGrath <roland@hack.frob.com>
42700
42701 * sysdeps/posix/shm-directory.c: New file.
42702 * sysdeps/posix/shm-directory.h: New file.
42703 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42704 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42705 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42706 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42707 Transmute EPERM to EACCES.
42708 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42709 from ...
42710 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42711 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42712
42713 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42714
42715 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42716 pointer and cast to uintptr_t.
42717 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42718 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42719 Add cast to avoid warning.
42720 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42721
42722 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42723
42724 * nptl/semaphore.h: Move to ...
42725 * sysdeps/pthread/semaphore.h: ... here.
42726 * Makefile (installed-headers): Change nptl/semaphore.h to
42727 sysdeps/pthread/semaphore.h.
42728
42729 2014-12-11 Roland McGrath <roland@hack.frob.com>
42730
42731 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42732 generated error format strings.
42733
42734 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42735 -Wformat-extra-args warnings for scanf formats.
42736 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42737 test of zero-length format (duh).
42738 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42739 corner-case scanf format test.
42740 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42741 generated fprintf format string.
42742 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42743 corner-case sprintf format tests.
42744 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42745 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42746 -Wformat-extra-args warnings throughout.
42747 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42748 (CFLAGS-scanf4.c): Likewise.
42749 (CFLAGS-scanf7.c): Likewise.
42750 (CFLAGS-tst-sprintf.c): Likewise.
42751 (CFLAGS-tst-printf.c): Likewise.
42752 (CFLAGS-tst-printfsz.c): Likewise.
42753
42754 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42755
42756 * include/cpio.h: New file.
42757 * include/fmtmsg.h: Likewise.
42758
42759 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42760 corresponding format argument to size_t.
42761 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42762 arguments.
42763 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42764 corresponding format argument to size_t.
42765 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42766 arguments.
42767 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42768 corresponding format argument to size_t.
42769 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42770 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42771 (CFLAGS-tst-mbswcs2.c): Likewise.
42772 (CFLAGS-tst-mbswcs3.c): Likewise.
42773 (CFLAGS-tst-mbswcs4.c): Likewise.
42774 (CFLAGS-tst-mbswcs5.c): Likewise.
42775 (CFLAGS-tst-trans.c): Likewise.
42776
42777 2014-12-11 Roland McGrath <roland@hack.frob.com>
42778
42779 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42780 rather than assuming they won't contain any '%'s.
42781
42782 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42783
42784 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42785 inhibit_loop_to_libcall to avoid recursive calls.
42786 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42787 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42788
42789 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42790
42791 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42792 prototype.
42793
42794 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42795
42796 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42797 integer value instead of boolean.
42798
42799 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42800
42801 * malloc/malloc.c: Fix powerof2 check.
42802
42803 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42804
42805 * locale/programs/locfile.h (maybe_swap_uint32):
42806 Remove inline and add unused attribute.
42807
42808 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42809
42810 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42811 Truncating assembler expression to a .long expression.
42812
42813 2014-12-11 Andreas Schwab <schwab@suse.de>
42814
42815 * elf/rtld.c (struct map_args): Constify str member.
42816 (do_preload): Constify fname argument.
42817
42818 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42819
42820 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42821 constants definition.
42822
42823 2014-12-11 Andreas Schwab <schwab@suse.de>
42824
42825 [BZ #16657]
42826 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42827 FORCE_ELISION instead of DO_ELISION.
42828 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42829 Remove.
42830 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42831 Likewise.
42832
42833 * iconvdata/gconv-modules: Remove duplicate entry.
42834
42835 2014-12-11 Will Newton <will.newton@linaro.org>
42836
42837 Merge gettext 0.19.3 into intl/.
42838
42839 This involves a number of cosmetic changes to comments
42840 and ANSI function definitions and prototypes throughout
42841 all the files. The gettext copyright header is used but
42842 with the date ranges taken from the glibc copy.
42843
42844 * NEWS: Add gettext merge to 2.21.
42845 * intl/bindtextdom.c: Switch to gettext copyright.
42846 Use ANSI definitions and prototypes.
42847 Use gl_* locking primitives rather than __libc_* ones.
42848 Use __builtin_expect rather than __glibc_likely/unlikely.
42849 * intl/dcgettext.c: Switch to gettext copyright.
42850 Use ANSI definitions and prototypes.
42851 * intl/dcigettext.c: Switch to gettext copyright.
42852 Use ANSI definitions and prototypes.
42853 (INTDIV0_RAISES_SIGFPE): New define.
42854 Use gl_* locking primitives rather than __libc_* ones.
42855 Include eval-plural.h instead of plural-eval.c.
42856 Use __builtin_expect rather than __glibc_likely/unlikely.
42857 * intl/dcngettext.c: Switch to gettext copyright.
42858 Use ANSI definitions and prototypes.
42859 * intl/dgettext.c: Likewise.
42860 * intl/dngettext.c: Likewise.
42861 * intl/plural-eval.c: Renamed to...
42862 * intl/eval-plural.h: ...this.
42863 * intl/explodename.c: Switch to gettext copyright.
42864 Use ANSI definitions and prototypes.
42865 (_nl_explode_name): Use strchr instead of __rawmemchr.
42866 * intl/finddomain.c: Switch to gettext copyright.
42867 Use ANSI definitions and prototypes.
42868 Use gl_* locking primitives rather than __libc_* ones.
42869 (_nl_find_domain): Use malloc rather than alloca for
42870 allocation of temporary locale name.
42871 * intl/gettext.c: Switch to gettext copyright.
42872 Use ANSI definitions and prototypes.
42873 * intl/gettextP.h: Switch to gettext copyright.
42874 Use ANSI definitions and prototypes.
42875 Use gl_* locking primitives rather than __libc_* ones.
42876 * intl/gmo.h: Switch to gettext copyright.
42877 (struct sysdep_string): Move struct segment_pair outside of
42878 struct definition.
42879 * intl/hash-string.c: Use ANSI definitions and prototypes.
42880 * intl/hash-string.h: Switch to gettext copyright.
42881 Use ANSI definitions and prototypes.
42882 * intl/l10nflist.c: Switch to gettext copyright.
42883 Use ANSI definitions and prototypes.
42884 (_nl_normalize_codeset): Avoid integer overflow.
42885 * intl/loadinfo.h: Switch to gettext copyright.
42886 Use ANSI definitions and prototypes.
42887 (LIBINTL_DLL_EXPORTED): New define.
42888 (PATH_SEPARATOR): New define.
42889 * intl/loadmsgcat.c: Switch to gettext copyright.
42890 * intl/localealias.c: Switch to gettext copyright.
42891 Use ANSI definitions and prototypes.
42892 (_nl_expand_alias): Use PATH_SEPARATOR.
42893 * intl/ngettext.c: Switch to gettext copyright.
42894 Use ANSI definitions and prototypes.
42895 * intl/plural-exp.c: Likewise.
42896 * intl/plural-exp.h: Switch to gettext copyright.
42897 Use ANSI definitions and prototypes.
42898 (struct expression): Move definition of enum operator outside
42899 of struct definition.
42900 * intl/plural.c: Regenerate.
42901 * intl/plural.y: Switch to gettext copyright.
42902 Use ANSI definitions and prototypes.
42903 Port to bison 3.0.
42904 * intl/textdomain.c: Switch to gettext copyright.
42905 Use ANSI definitions and prototypes.
42906 Use gl_* locking primitives rather than __libc_* ones.
42907
42908 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42909
42910 * debug/warning-nop.c: Add used atrribute.
42911
42912 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42913
42914 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42915
42916 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42917 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42918 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42919
42920 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42921 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42922
42923 [BZ #17634]
42924 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42925 Undefine after defining function. Define as weak alias of
42926 __wcschr. Use libc_hidden_weak.
42927 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42928 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42929 (libc_hidden_def): Also define __GI___wcschr alias.
42930 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42931 __wcschr and define as weak alias of __wcschr.
42932 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42933 __wcschr.
42934 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42935 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42936 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42937 libc_hidden_weak. Do not use libc_hidden_def.
42938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42939 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42940 __GI___wcschr alias.
42941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42942 [IS_IN (libc)] (wcschr): Define as macro expanding to
42943 __redirect_wcschr.
42944 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42945 [IS_IN (libc)] (__wcschr_power6): Likewise.
42946 [IS_IN (libc)] (__wcschr_power7): Likewise.
42947 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42948 instead of wcschr.
42949 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42950 __libc_wcschr.
42951 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42952 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42953 __wcschr and define as weak alias of __wcschr. Use
42954 libc_hidden_builtin_def.
42955 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42956 as weak alias of __wcschr. Use libc_hidden_weak.
42957 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42958 wcschr.
42959 * time/era.c (_nl_init_era_entries): Likewise.
42960 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42961 variable.
42962 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42963 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42964
42965 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42966
42967 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42968 format for long int variable.
42969
42970 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42971
42972 [BZ #10672]
42973 * manual/search.texi: (Array Sort Function): Remove claim how to make
42974 qsort stable.
42975
42976 2014-12-10 Andreas Schwab <schwab@suse.de>
42977
42978 [BZ #12847]
42979 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42980 user-controlled locks.
42981
42982 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42983
42984 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42985 register.
42986
42987 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42988
42989 * configure.ac (--disable-werror): New configure option.
42990 (enable_werror): New AC_SUBST.
42991 * configure: Regenerated.
42992 * config.make.in (enable-werror): New variable.
42993 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42994 -Wno-error=undef.
42995 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42996 * manual/install.texi (Configuring and compiling): Document
42997 --disable-werror.
42998 * INSTALL: Regenerated.
42999 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
43000 (CFLAGS-tst-chk2.c): Likewise.
43001 (CFLAGS-tst-chk3.c): Likewise.
43002 (CFLAGS-tst-chk4.cc): Likewise.
43003 (CFLAGS-tst-chk5.cc): Likewise.
43004 (CFLAGS-tst-chk6.cc): Likewise.
43005 (CFLAGS-tst-lfschk1.c): Likewise.
43006 (CFLAGS-tst-lfschk2.c): Likewise.
43007 (CFLAGS-tst-lfschk3.c): Likewise.
43008 (CFLAGS-tst-lfschk4.cc): Likewise.
43009 (CFLAGS-tst-lfschk5.cc): Likewise.
43010 (CFLAGS-tst-lfschk6.cc): Likewise.
43011
43012 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
43013 (main): Disable -Wdeprecated-declarations around calls to
43014 register_printf_function.
43015
43016 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
43017 (do_test): Disable -Wdiv-by-zero around some calls to
43018 fwrite_unlocked and fread_unlocked.
43019
43020 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
43021 (DIAG_POP_NEEDS_COMMENT): Likewise.
43022 (_DIAG_STR1): Likewise.
43023 (_DIAG_STR): Likewise.
43024 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
43025 * stdio-common/bug21.c: Include <libc-internal.h>.
43026 (do_test): Disable -Wformat around call to sscanf.
43027 * stdio-common/scanf14.c: Include <libc-internal.h>.
43028 (main): Disable -Wformat around some calls to scanf functions.
43029
43030 2014-12-09 Torvald Riegel <triegel@redhat.com>
43031
43032 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
43033
43034 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43035
43036 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
43037 stack variable alignment.
43038
43039 2014-12-06 Joseph Myers <joseph@codesourcery.com>
43040
43041 [BZ #17682]
43042 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
43043 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
43044 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
43045 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
43046 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
43047 __getrlimit instead of getrlimit.
43048 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
43049 __gettimeofday instead of gettimeofday.
43050 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
43051 Likewise.
43052 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
43053 Likewise.
43054 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43055 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
43056 Remove variable.
43057 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43058 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43059
43060 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43061
43062 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
43063 for wide-character tests.
43064
43065 2014-12-04 Roland McGrath <roland@hack.frob.com>
43066
43067 * io/openat64.c: #include <libc-internal.h>
43068 (__openat64): Prototypify. Use ignore_value on MODE.
43069 * io/openat.c: Likewise.
43070 * misc/reboot.c: #include <libc-internal.h>
43071 (reboot): Prototypify. Use ignore_value on HOWTO.
43072 * misc/ptrace.c: #include <libc-internal.h>
43073 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
43074
43075 2014-12-04 Joseph Myers <joseph@codesourcery.com>
43076
43077 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
43078 XPG4, UNIX98 and XOPEN2K.
43079 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
43080 Remove variable.
43081 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43082
43083 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43084
43085 * libio/fileops.c: Use ISO C style for function definitions.
43086 * libio/iofopen.c: Likewise.
43087 * libio/wfileops.c: Likewise.
43088
43089 [BZ #17653]
43090 * libio/fileops.c (_IO_new_file_underflow): Unset cached
43091 offset on EOF.
43092 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
43093 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
43094 (fgets_func): Function pointer to fgets and fgetws.
43095 (do_ftell_test): Add test to verify ftell value after read
43096 EOF.
43097 (do_test): Set fgets_func.
43098
43099 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
43100 O_TRUNC flag for w and w+ modes.
43101 (do_rewind_test): Likewise.
43102 (do_ftell_test): Likewise.
43103 (do_write_test): Likewise.
43104
43105 [BZ #17647]
43106 * libio/fileops.c (do_ftell): Seek only when there are
43107 unflushed writes.
43108 * libio/wfileops.c (do_ftell_wide): Likewise.
43109 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
43110 test case.
43111 (do_one_test): Call it.
43112
43113 2014-12-03 Joseph Myers <joseph@codesourcery.com>
43114
43115 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
43116 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
43117 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
43118 Remove variable.
43119 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43120 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43121 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43122
43123 2014-12-02 Joseph Myers <joseph@codesourcery.com>
43124
43125 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
43126 Remove variable.
43127 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43128
43129 [BZ #17668]
43130 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
43131 as weak alias of __getifaddrs. Use libc_hidden_weak.
43132 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43133 __freeifaddrs. Use libc_hidden_weak.
43134 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
43135 define as weak alias of __getifaddrs. Use libc_hidden_weak.
43136 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43137 __freeifaddrs. Use libc_hidden_weak.
43138 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
43139 __getifaddrs and define as weak alias of __getifaddrs. Use
43140 libc_hidden_weak.
43141 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43142 __freeifaddrs. Use libc_hidden_weak.
43143 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
43144 Remove variable.
43145 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43146 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43147
43148 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
43149
43150 [BZ #17601]
43151 * sysdeps/mips/start.S (__start): Use indirect jump to call
43152 __libc_start_main.
43153
43154 2014-12-02 Joseph Myers <joseph@codesourcery.com>
43155
43156 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43157
43158 * nptl/tst-mutex1.c: Include <stdbool.h>.
43159 [!ATTR] (ATTR_NULL): New macro.
43160 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43161 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43162 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43163
43164 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43165 to char *.
43166
43167 [BZ #17665]
43168 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43169 Change conditional to [__USE_MISC].
43170
43171 [BZ #17664]
43172 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43173 fgets_unlocked.
43174 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43175 __fgets_unlocked.
43176 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43177 fgets_unlocked.
43178 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43179 Remove variable.
43180 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43181 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43182 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43183 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43184 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43185 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43186 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43187 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43188 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43189
43190 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43191
43192 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43193
43194 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43195 Remove strpbrk objects.
43196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43197 (__libc_ifunc_impl_list): Remove strpbrk implementation.
43198 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43199 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43200 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43201 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43202
43203 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43204 Remove strcspn objects.
43205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43206 (__libc_ifunc_impl_list): Remove strcspn implementation.
43207 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43208 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43209 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43210 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43211
43212 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43213 Remove strspn objetcs.
43214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43215 (__libc_ifunc_impl_list): Remove strspn implementation.
43216 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43217 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43218 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43219 * sysdeps/powerpc/powerpc64/strspn.S: New file.
43220
43221 2014-12-01 James Lemke <jwlemke@codesourcery.com>
43222
43223 [BZ #17581]
43224 * malloc/hooks.c
43225 (mem2mem_check): Add a terminator to the chain of checking blocks.
43226 (malloc_check_get_size): Use it here.
43227 (mem2chunk_check): Ditto.
43228
43229 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43230
43231 * sysdeps/powerpc/powerpc64/strtok.S: New file.
43232 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43233
43234 2014-11-29 Carlos O'Donell <carlos@redhat.com>
43235
43236 * bits/ioctl-types.h: Indent preprocessor directives correctly.
43237
43238 * nptl/nptl-init.c: Include libc-internal.h.
43239 (__pthread_initialize_minimal_internal): Use ROUND_UP.
43240
43241 * elf/ldconfig.c (search_dir): Expand comment.
43242
43243 2014-11-29 Joseph Myers <joseph@codesourcery.com>
43244
43245 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43246 variable.
43247 (linknamespace-symlist-stdlibs-tests): Likewise.
43248 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43249 instead of $(objpfx)symlist-stdlibs.
43250 (linknamespace-libs-isoc): New variable.
43251 (linknamespace-libs): Use $(linknamespace-libs-isoc).
43252 (linknamespace-libs-ISO): New variable.
43253 (linknamespace-libs-ISO99): Likewise.
43254 (linknamespace-libs-ISO11): Likewise.
43255 (linknamespace-libs-XPG3): Likewise.
43256 (linknamespace-libs-XPG4): Likewise.
43257 (linknamespace-libs-POSIX): Likewise.
43258 (linknamespace-libs-UNIX98): Likewise.
43259 (linknamespace-libs-XOPEN2K): Likewise.
43260 (linknamespace-libs-POSIX2008): Likewise.
43261 (linknamespace-libs-XOPEN2K8): Likewise.
43262 ($(objpfx)symlist-stdlibs): Replace by
43263 $(linknamespace-symlist-stdlibs-tests). Use
43264 $(linknamespace-libs-$*) as set of libraries.
43265 ($(linknamespace-header-tests)): Update dependencies. Use
43266 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43267 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43268 * conform/linknamespace.pl: Remove comment about considering
43269 definitions of symbols from irrelevant libraries.
43270
43271 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
43272
43273 [BZ #13862]
43274 * elf/dl-tls.c: Include <atomic.h>.
43275 (oom): Remove #ifdef SHARED/#endif.
43276 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43277 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
43278 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43279 big enough.
43280 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43281 * nptl/Makefile (tests): Add tst-stack4.
43282 (modules-names): Add tst-stack4mod.
43283 ($(objpfx)tst-stack4): New.
43284 (tst-stack4mod.sos): Likewise.
43285 ($(objpfx)tst-stack4.out): Likewise.
43286 ($(tst-stack4mod.sos)): Likewise.
43287 (clean): Likewise.
43288 * nptl/tst-stack4.c: New file.
43289 * nptl/tst-stack4mod.c: Likewise.
43290
43291 2014-11-27 J. Brown <jb999@gmx.de>
43292
43293 * sysdeps/x86/bits/string.h: Add recent CPUs.
43294
43295 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43296
43297 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43298 sigblock.
43299
43300 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43301 feof.
43302
43303 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43304 variable.
43305
43306 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
43307
43308 * nscd/connections.c: Include libc-internal.h because of macro
43309 usage ignore_value.
43310
43311 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43312
43313 * string/bits/string3.h (__warn_memset_zero_len): Don't
43314 declare for gcc newer than 5.0.
43315 (memset): Don't test for zero-length __LEN for gcc newer than
43316 5.0.
43317
43318 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43319
43320 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43321 size_t for %zu format.
43322
43323 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43324 difference, not %ju.
43325
43326 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43327
43328 * include/libc-internal.h (ignore_value): New macro.
43329 * nscd/connections.c (restart): Wrap calls to setuid and setgid
43330 with ignore_value.
43331
43332 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43333 definition.
43334
43335 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43336 pthread_cleanup_push to void *.
43337
43338 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43339 Undefine.
43340
43341 [BZ #16619]
43342 [BZ #16740]
43343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43344 instead of 1L << 52.
43345
43346 * libio/bug-rewind.c (do_test): Check fwscanf return values.
43347 * libio/bug-rewind2.c (do_test): Likewise.
43348
43349 * debug/test-stpcpy_chk-ifunc.c: Remove file.
43350 * debug/test-strcpy_chk-ifunc.c: Likewise.
43351 * wcsmbs/test-wcschr-ifunc.c: Likewise.
43352 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43353 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43354 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43355 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43356 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43357 * Rules [$(multi-arch) = no] (tests): Do not filter out
43358 $(tests-ifunc).
43359 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43360 * debug/Makefile (tests-ifunc): Remove variable.
43361 (tests): Do not add $(tests-ifunc).
43362 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43363 (tests): Do not add $(tests-ifunc).
43364 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43365 [TEST_IFUNC]: Remove conditionals.
43366 * string/test-string.h (TEST_IFUNC): Remove macro.
43367 [TEST_IFUNC]: Remove conditionals.
43368
43369 * string/test-strchr.c [!WIDE] (L): New macro.
43370 [WIDE] (L): Likewise.
43371 (check1): Use CHAR instead of char. Use L on string and character
43372 constants.
43373
43374 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43375
43376 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43377 tests.
43378 * sysdeps/powerpc/bits/atomic.h
43379 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43380 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43381 (atomic_exchange_and_add_acq): Likewise.
43382 (atomic_exchange_and_add_rel): Likewise.
43383 * sysdeps/powerpc/powerpc32/bits/atomic.h
43384 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43385 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43386 * sysdeps/powerpc/powerpc64/bits/atomic.h
43387 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43388 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43389
43390 2014-11-26 Torvald Riegel <triegel@redhat.com>
43391
43392 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43393 Change synchronization of __sched_fifo_min_prio and
43394 __sched_fifo_max_prio.
43395 * nptl/pthread_mutexattr_getprioceiling.c
43396 (pthread_mutexattr_getprioceiling): Likewise.
43397 * nptl/pthread_mutexattr_setprioceiling.c
43398 (pthread_mutexattr_setprioceiling): Likewise.
43399 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43400 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43401 Likewise.
43402
43403 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43404
43405 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43406 void.
43407
43408 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43409
43410 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43411 third argument const.
43412
43413 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43414
43415 fnmatch: work around GCC compiler warning bug with uninit var
43416 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43417 This works around a bug with x86-64 GCC 4.9.2 and earlier
43418 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43419 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43420 used uninitialized in this function [-Wmaybe-uninitialized]".
43421
43422 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43423
43424 * posix/bug-regex31.c (main): Return RES not 0.
43425
43426 2014-11-25 Anton Blanchard <anton@samba.org>
43427
43428 * sysdeps/powerpc/bits/atomic.h
43429 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43430
43431 2014-11-24 Sterling Augustine <saugustine@google.com>
43432
43433 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43434
43435 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43436
43437 [BZ #17608]
43438 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43439
43440 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43441
43442 [BZ #17633]
43443 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43444 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43445 variable.
43446 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43447 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43448
43449 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43450
43451 * string/strncpy.c (strncpy): Improve performance by using memset.
43452
43453 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43454
43455 * string/strcpy.c (strcpy):
43456 Improve performance by using strlen and memcpy.
43457
43458 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43459
43460 * string/strcoll_l.c (get_next_seq): __always_inline.
43461 * string/strcoll_l.c (do_compare): __always_inline.
43462
43463 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43464
43465 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43466 defined.
43467 * include/mqueue.h: Likewise.
43468 * include/stdlib.h: Likewise.
43469
43470 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43471 (get_null_defines): Adjust.
43472 * sunrpc/Makefile: Adjust comment.
43473 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43474 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43475 (CFLAGS-interp.c): Likewise.
43476 (CFLAGS-ldconfig.c): Likewise.
43477 (CPPFLAGS-.os): Likewise.
43478 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43479 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43480 * extra-modules.mk (extra-modules.mk): Likewise.
43481 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43482 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43483 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43484 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43485 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43486 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43487 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43488 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43489 * iconvdata/Makefile (CPPFLAGS): Likewise.
43490 (cpp-srcs-left): Add libof for all iconvdata routines.
43491 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43492 * include/assert.h: Likewise.
43493 * include/ctype.h: Likewise.
43494 * include/errno.h: Likewise.
43495 * include/libc-symbols.h: Likewise.
43496 * include/math.h: Likewise.
43497 * include/netdb.h: Likewise.
43498 * include/resolv.h: Likewise.
43499 * include/stdio.h: Likewise.
43500 * include/stdlib.h: Likewise.
43501 * include/string.h: Likewise.
43502 * include/sys/stat.h: Likewise.
43503 * include/wctype.h: Likewise.
43504 * intl/l10nflist.c: Likewise.
43505 * libidn/idn-stub.c: Likewise.
43506 * libio/libioP.h: Likewise.
43507 * nptl/libc_multiple_threads.c: Likewise.
43508 * nptl/pthreadP.h: Likewise.
43509 * posix/regex_internal.h: Likewise.
43510 * resolv/res_hconf.c: Likewise.
43511 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43512 * sysdeps/arm/memmove.S: Likewise.
43513 * sysdeps/arm/sysdep.h: Likewise.
43514 * sysdeps/generic/_itoa.h: Likewise.
43515 * sysdeps/generic/symbol-hacks.h: Likewise.
43516 * sysdeps/gnu/errlist.awk: Likewise.
43517 * sysdeps/gnu/errlist.c: Likewise.
43518 * sysdeps/i386/i586/memcpy.S: Likewise.
43519 * sysdeps/i386/i586/memset.S: Likewise.
43520 * sysdeps/i386/i686/memcpy.S: Likewise.
43521 * sysdeps/i386/i686/memmove.S: Likewise.
43522 * sysdeps/i386/i686/mempcpy.S: Likewise.
43523 * sysdeps/i386/i686/memset.S: Likewise.
43524 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43525 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43526 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43527 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43528 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43529 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43530 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43531 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43532 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43540 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43541 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43542 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43543 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43544 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43545 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43546 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43547 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43548 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43549 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43550 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43551 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43553 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43554 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43557 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43558 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43560 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43561 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43562 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43563 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43564 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43565 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43566 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43567 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43568 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43569 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43570 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43571 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43572 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43573 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43574 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43575 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43576 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43577 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43578 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43579 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43580 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43581 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43582 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43583 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43584 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43585 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43586 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43587 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43588 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43589 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43590 * sysdeps/posix/closedir.c: Likewise.
43591 * sysdeps/posix/opendir.c: Likewise.
43592 * sysdeps/posix/readdir.c: Likewise.
43593 * sysdeps/posix/rewinddir.c: Likewise.
43594 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43595 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43596 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43597 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43598 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43599 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43600 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43601 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43603 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43604 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43605 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43606 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43607 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43608 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43609 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43610 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43611 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43612 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43613 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43614 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43615 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43616 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43617 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43618 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43619 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43621 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43622 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43623 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43629 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43630 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43631 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43632 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43633 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43634 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43635 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43636 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43637 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43638 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43639 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43640 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43641 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43642 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43643 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43644 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43645 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43646 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43647 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43648 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43651 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43652 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43653 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43654 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43655 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43656 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43657 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43658 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43659 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43660 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43661 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43662 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43663 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43664 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43665 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43666 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43667 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43668 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43669 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43670 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43671 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43672 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43673 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43674 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43675 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43676 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43677 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43678 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43679 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43680 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43681 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43682 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43683 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43684 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43685 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43686 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43690 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43692 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43693 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43694 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43695 * sysdeps/unix/alpha/sysdep.S: Likewise.
43696 * sysdeps/unix/alpha/sysdep.h: Likewise.
43697 * sysdeps/unix/make-syscalls.sh: Likewise.
43698 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43699 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43700 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43701 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43702 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43703 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43704 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43705 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43706 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43707 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43708 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43709 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43710 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43711 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43712 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43713 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43714 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43715 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43716 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43717 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43718 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43719 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43720 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43721 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43722 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43723 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43724 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43727 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43728 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43729 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43732 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43736 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43737 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43738 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43739 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43740 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43741 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43742 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43745 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43746 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43748 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43749 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43750 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43751 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43752 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43754 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43756 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43757 * sysdeps/x86_64/memcpy.S: Likewise.
43758 * sysdeps/x86_64/memmove.c: Likewise.
43759 * sysdeps/x86_64/memset.S: Likewise.
43760 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43762 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43763 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43764 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43767 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43768 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43769 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43770 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43771 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43772 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43773 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43774 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43775 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43776 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43777 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43778 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43779 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43780 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43781 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43782 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43783 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43784 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43785 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43786 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43787 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43788 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43789 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43790 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43791 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43792 * sysdeps/x86_64/strcmp.S: Likewise.
43793
43794 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43795
43796 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43797 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43798 * elf/rtld-Rules: Likewise.
43799 * elf/setup-vdso.h: Likewise.
43800 * include/assert.h: Likewise.
43801 * include/bits/stdlib-float.h: Likewise.
43802 * include/errno.h: Likewise.
43803 * include/sys/stat.h: Likewise.
43804 * include/unistd.h: Likewise.
43805 * sysdeps/aarch64/setjmp.S: Likewise.
43806 * sysdeps/alpha/setjmp.S: Likewise.
43807 * sysdeps/arm/__longjmp.S: Likewise.
43808 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43809 * sysdeps/arm/setjmp.S: Likewise.
43810 * sysdeps/arm/sysdep.h: Likewise.
43811 * sysdeps/generic/_itoa.h: Likewise.
43812 * sysdeps/generic/dl-sysdep.h: Likewise.
43813 * sysdeps/generic/ldsodefs.h: Likewise.
43814 * sysdeps/i386/dl-tls.h: Likewise.
43815 * sysdeps/i386/setjmp.S: Likewise.
43816 * sysdeps/m68k/setjmp.c: Likewise.
43817 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43818 * sysdeps/mach/hurd/opendir.c: Likewise.
43819 * sysdeps/posix/getcwd.c: Likewise.
43820 * sysdeps/posix/opendir.c: Likewise.
43821 * sysdeps/posix/profil.c: Likewise.
43822 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43823 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43824 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43825 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43826 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43828 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43829 * sysdeps/s390/dl-tls.h: Likewise.
43830 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43831 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43832 * sysdeps/sh/sh3/setjmp.S: Likewise.
43833 * sysdeps/sh/sh4/setjmp.S: Likewise.
43834 * sysdeps/unix/alpha/sysdep.h: Likewise.
43835 * sysdeps/unix/arm/sysdep.S: Likewise.
43836 * sysdeps/unix/i386/sysdep.S: Likewise.
43837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43838 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43839 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43840 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43842 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43843 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43844 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43845 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43846 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43847 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43848 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43849 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43852 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43855 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43856 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43857 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43860 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43861 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43862 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43865 * sysdeps/x86_64/setjmp.S: Likewise.
43866
43867 * include/math.h: Use IS_IN instead of IS_IN_libm.
43868 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43869 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43872 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43873 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43874 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43875 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43877 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43878 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43879 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43880 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43881 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43882 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43883 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43884 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43885 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43886 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43887 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43888 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43889 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43890 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43891 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43892 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43893 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43894 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43895 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43896 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43897 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43898 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43899 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43900 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43902 Likewise.
43903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43904 Likewise.
43905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43906 Likewise.
43907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43908 Likewise.
43909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43910 Likewise.
43911 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43912 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43913 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43914 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43915 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43916 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43922 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43923 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43924 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43925 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43926 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43927 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43928 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43929 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43930 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43931 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43932 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43933 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43935 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43937 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43938
43939 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43940 * nptl/pthreadP.h: Likewise.
43941 * nptl_db/structs.def: Likewise.
43942 * sysdeps/arm/sysdep.h: Likewise.
43943 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43944 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43945 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43946 * sysdeps/unix/alpha/sysdep.h: Likewise.
43947 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43948 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43949 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43950 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43951 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43952 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43953 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43954 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43955 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43956 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43957 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43958 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43959 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43960 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43963 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43965 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43968 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43969 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43970 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43971 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43972 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43973
43974 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43975 * nptl/pthreadP.h: Likewise.
43976 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43977 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43978 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43979 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43980 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43981 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43982 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43983 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43984 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43985 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43986 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43987 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43989 Likewise.
43990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43991 Likewise.
43992 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43993 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43994 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43996 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43997 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43998 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43999 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
44000
44001 * dlfcn/dladdr.c: Use IS_IN.
44002 * dlfcn/dladdr1.c: Likewise.
44003 * dlfcn/dlclose.c: Likewise.
44004 * dlfcn/dlerror.c: Likewise.
44005 * dlfcn/dlinfo.c: Likewise.
44006 * dlfcn/dlmopen.c: Likewise.
44007 * dlfcn/dlopen.c: Likewise.
44008 * dlfcn/dlsym.c: Likewise.
44009 * dlfcn/dlvsym.c: Likewise.
44010
44011 * include/ifaddrs.h: Use IS_IN.
44012 * inet/check_pf.c: Likewise.
44013 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44014 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
44015
44016 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
44017 IS_IN_ldconfig.
44018 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
44019 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
44020
44021 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
44022 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
44023 IS_IN (libc).
44024
44025 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
44026
44027 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
44028 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44029 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
44030 * include/libc-symbols.h (IS_IN_LIB): New macro.
44031 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
44032 * include/netdb.h: Likewise.
44033 * include/stap-probe.h: Remove all uses of IN_LIB.
44034
44035 * Makeconfig (module-cppflags-real): Define MODULE_NAME
44036 instead of IN_MODULE.
44037 * include/libc-symbols.h (IN_MODULE): Define using
44038 MODULE_NAME.
44039 (PASTE_NAME, PASTE_NAME1): New macros.
44040 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
44041 of IN_LIB.
44042 (STAP_PROBE_ASM): Likewise.
44043
44044 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
44045
44046 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
44047 __mach_init in dlopened libc.
44048
44049 2014-11-22 Mike Frysinger <vapier@gentoo.org>
44050
44051 * sysdeps/arm/preconfigure.ac: Delete EABI check.
44052 * sysdeps/arm/preconfigure: Regenerate.
44053
44054 2014-11-21 Roland McGrath <roland@hack.frob.com>
44055
44056 * nptl/pthread_create.c (__pthread_create_2_1): Set
44057 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
44058 when copying values from IATTR into PD.
44059
44060 2014-11-21 Will Newton <will.newton@linaro.org>
44061 Andrew Pinski <andrew.pinski@caviumnetworks.com>
44062
44063 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
44064 Refactor inline-asm. Also add comment.
44065
44066 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
44067 ElfW macro instead of hardcoded Elf64 types.
44068 (la_aarch64_gnu_pltenter): Likewise.
44069 * sysdeps/aarch64/dl-machine.h
44070 (elf_machine_runtime_setup): Use ElfW(Addr).
44071
44072 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
44073 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
44074 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
44075 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
44076 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
44077 (R_AARCH64_TLS_DTPMOD64): Rename to ..
44078 (R_AARCH64_TLS_DTPMOD): This.
44079 (R_AARCH64_TLS_DTPREL64): Rename to ...
44080 (R_AARCH64_TLS_DTPREL): This.
44081 (R_AARCH64_TLS_TPREL64): Rename to ...
44082 (R_AARCH64_TLS_TPREL): This.
44083 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
44084 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
44085 R_AARCH64_TLS_TPREL64.
44086 (elf_machine_rela): Likewise.
44087
44088 2014-11-21 Torvald Riegel <triegel@redhat.com>
44089
44090 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
44091 by setting it to 0. 64b atomics are not supported currently.
44092
44093 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44094
44095 [BZ #16469]
44096 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
44097 search domain names.
44098
44099 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44100
44101 [BZ #16469]
44102 * NEWS: Update.
44103 * resolv/res_query.c (__libc_res_nquerydomain): Retain
44104 trailing dot.
44105 * posix/tst-getaddrinfo5.c: New.
44106 * posix/Makefile (tests): Add it.
44107
44108 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44109
44110 [BZ #14498]
44111 * NEWS: Fixed.
44112 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
44113 after parsing line but before break_if_match.
44114 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
44115 if there is a protocol mismatch.
44116
44117 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
44118
44119 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
44120 because the potential race is on the user-supplied stream.
44121
44122 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44123
44124 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
44125 string literal if not passed a buffer.
44126 * manual/job.texi (ctermid): Update reasoning, note deviation
44127 from posix, suggest mtasurace when not passed a buffer, for
44128 future non-preliminary safety notes.
44129
44130 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44131
44132 * manual/users.texi (cuserid): Fix MT-Safety note for the case
44133 of not passing it a buffer.
44134 Reported by Peng Haitao.
44135
44136 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
44137
44138 * manual/Makefile ($(objpfx)stamp-summary): Require
44139 check-safety.sh to pass.
44140 * manual/check-safety.sh: Wish for verification that every
44141 @deftypefn and @deftypefun is followed by a @safety remark.
44142
44143 2014-11-20 Roland McGrath <roland@hack.frob.com>
44144
44145 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
44146
44147 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
44148 PTHREAD_CANCEL_ASYNCHRONOUS.
44149 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44150 send SIGCANCEL.
44151
44152 * nptl/default-sched.h: New file.
44153 * sysdeps/unix/sysv/linux/default-sched.h: New file.
44154 * nptl/pthread_create.c: Include it.
44155 (__pthread_create_2_1): Use collect_default_sched instead of making
44156 Linux syscalls here directly.
44157
44158 2014-11-20 Torvald Riegel <triegel@redhat.com>
44159
44160 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44161 __pthread_once): Use C11 atomics.
44162
44163 2014-11-20 Torvald Riegel <triegel@redhat.com>
44164
44165 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44166
44167 2014-11-20 Torvald Riegel <triegel@redhat.com>
44168
44169 * include/atomic.h (__atomic_link_error, __atomic_check_size,
44170 atomic_thread_fence_acquire, atomic_thread_fence_release,
44171 atomic_thread_fence_seq_cst, atomic_load_relaxed,
44172 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44173 atomic_compare_exchange_weak_relaxed,
44174 atomic_compare_exchange_weak_acquire,
44175 atomic_compare_exchange_weak_release,
44176 atomic_exchange_acquire, atomic_exchange_release,
44177 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44178 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44179 atomic_fetch_and_acquire,
44180 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44181
44182 2014-11-20 Torvald Riegel <triegel@redhat.com>
44183
44184 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44185 USE_ATOMIC_COMPILER_BUILTINS): Define.
44186 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44187 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44188 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44189 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44190 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44192 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44193 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44194 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44195 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44196 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44197 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44198 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44199 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44200 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44201 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44202 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44203 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44204 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44205 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44206 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44207 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44208 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44209 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44210 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44211 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44212 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44213 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44214 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44215 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44216 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44217 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44218 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44219 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44220 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44221 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44223 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44224 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44225 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44226
44227 2014-11-19 Roland McGrath <roland@hack.frob.com>
44228
44229 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44230 the sched_priority value here. It was already checked when the user
44231 called pthread_attr_setschedparam.
44232
44233 * nptl/tst-bad-schedattr.c: New file.
44234 * nptl/Makefile (tests): Add it.
44235
44236 2014-11-19 Carlos O'Donell <carlos@redhat.com>
44237 Florian Weimer <fweimer@redhat.com>
44238 Joseph Myers <joseph@codesourcery.com>
44239 Adam Conrad <adconrad@0c3.net>
44240 Andreas Schwab <schwab@suse.de>
44241 Brooks <bmoses@google.com>
44242
44243 [BZ #17625]
44244 * wordexp-test.c (__dso_handle): Add prototype.
44245 (__register_atfork): Likewise.
44246 (__app_register_atfork): New function.
44247 (registered_forks): New global.
44248 (register_fork): New function.
44249 (test_case): Add 3 new tests for WRDE_CMDSUB.
44250 (main): Call __app_register_atfork.
44251 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44252 fork count is non-zero fail the test.
44253 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44254 is set.
44255 (parse_dollars): Remove check for WRDE_NOCMD.
44256 (parse_dquote): Likewise.
44257
44258 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44259
44260 * Makeconfig (built-modules): List non-library modules to be
44261 built.
44262 (module-cppflags): Include libc-modules.h for
44263 everything except shlib-versions.v.i.
44264 (CPPFLAGS): Use it.
44265 (before-compile): Add libc-modules.h.
44266 ($(common-objpfx)libc-modules.h,
44267 $(common-objpfx)libc-modules.stmp): New targets.
44268 (common-generated): Add libc-modules.h and libc-modules.stmp.
44269 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44270 * include/libc-symbols.h: Don't include libc-modules.h.
44271 * include/libc-modules.h: Remove file.
44272 * scripts/gen-libc-modules.awk: New script to generate
44273 libc-modules.h.
44274 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44275 Depend on libc-modules.stmp.
44276
44277 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44278
44279 * Makeconfig (in-module): Get value of libof set for the
44280 translation unit.
44281 (CPPFLAGS): Use $(in-module).
44282 * Makerules: Don't suffix routine names for nonlib.
44283 * include/libc-modules.h: New file.
44284 * include/libc-symbols.h: Include libc-modules.h
44285 (IS_IN): New macro to replace IS_IN_* macros.
44286 * elf/Makefile: Set libof-* for each routine.
44287 * elf/rtld-Rules: Likewise.
44288 * extra-modules.mk: Likewise.
44289 * iconv/Makefile: Likewise.
44290 * iconvdata/Makefile: Likewise.
44291 * locale/Makefile: Likewise.
44292 * malloc/Makefile: Likewise.
44293 * nss/Makefile: Likewise.
44294 * sysdeps/gnu/Makefile: Likewise.
44295 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44296 * sysdeps/unix/sysv/linux/Makefile: Likewise.
44297 * sysdeps/s390/s390-64/Makefile: Likewise.
44298 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
44299 CPPFLAGS for nscd instead of nonlib.
44300
44301 2014-11-18 Roland McGrath <roland@hack.frob.com>
44302
44303 * nptl/createthread.c: New file.
44304
44305 * nptl/createthread.c: Moved ...
44306 * sysdeps/unix/sysv/linux/createthread.c: ... here.
44307
44308 * nptl/createthread.c: Add proper top-line comment.
44309 (do_clone): Folded into ...
44310 (create_thread): ... here. Take new arguments STOPPED_START and
44311 THREAD_RAN. Always set PD->stopped_start to something here. Don't
44312 increment __nptl_threads, do event-reporting logic, do
44313 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44314 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
44315 resource cleanup if sched_setaffinity or sched_setscheduler fails,
44316 just send SIGCANCEL.
44317 * nptl/pthread_create.c: Forward-declare create_thread before
44318 including createthread.c.
44319 (start_thread): Use new macro START_THREAD_DEFN to replace defining
44320 declaration, and new macro START_THREAD_SELF to replace argument.
44321 Remove return statement.
44322 (report_thread_creation): New function.
44323 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
44324 synchronization logic, and __nptl_nthreads increment here, around
44325 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
44326 PD->parent_cancelhandling here, before create_thread. When
44327 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44328 __deallocate_stack, and ENOMEM translation here.
44329
44330 2014-11-18 Joseph Myers <joseph@codesourcery.com>
44331
44332 [BZ #17616]
44333 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44334 (mptwo): Rename to __mptwo.
44335 (__inv): Use __mptwo instead of mptwo.
44336 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44337 (mptwo): Rename to __mptwo.
44338 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44339 of mpone and __mptwo instead of mptwo.
44340 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44341 instead of mpone.
44342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44343 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44344 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44345 of mpone and __mptwo instead of mptwo.
44346 (__mpranred): Use __mpone instead of mpone.
44347 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44348 variable.
44349 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44350 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44351 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44352 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44353 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44354 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44355 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44356 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44357 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44358 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44359 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44360 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44361 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44362 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44363 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44364 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44365 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44366 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44367 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44368
44369 2014-11-18 Tom de Vries <tom@codesoucery.com>
44370
44371 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44372 replace BSD Handler xref with BSD Signal Handling.
44373
44374 2014-11-17 Richard Henderson <rth@redhat.com>
44375
44376 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44377 (_FP_PACK_RAW_2): Remove.
44378 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44379 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44380 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44381 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44382 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44383 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44384 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44385 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44386 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44387 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44388 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44389 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44390 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44391 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44392 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44393 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44394
44395 2014-11-14 Roland McGrath <roland@hack.frob.com>
44396
44397 * signal/signal.h [__USE_MISC]
44398 (struct sigvec): Remove type.
44399 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44400 (sigvec): Remove declaration.
44401 * sysdeps/posix/sigvec.c: Moved ...
44402 * signal/sigvec.c: ... here, replacing old file.
44403 (struct sigvec): New type, copied from old signal.h definition.
44404 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44405 (__sigvec): Convert definition to prototype.
44406 (sigvec): Replace weak_alias with compat_symbol.
44407 * signal/Versions (libc: GLIBC_2.21): New version set.
44408 * include/signal.h: Remove __sigvec declaration.
44409 * sysdeps/unix/bsd/sigvec.c: Remove file.
44410 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44411 * manual/signal.texi (BSD Handler): Remove subsection.
44412 Move siginterrupt up to ...
44413 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44414 (Blocking in BSD): Fold subsection into its parent.
44415 * NEWS: Mention sigvec removal.
44416
44417 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44418
44419 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44420 (DLA_FMS): Make definition conditional only on [__FMA4__].
44421 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44422 definition.
44423
44424 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44425 Make definition conditional only on [PROF].
44426 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44427 definition.
44428 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44429 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44430
44431 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44432 !__GNUC__].
44433 * include/signal.h (__sigpause): Move declaration above call to
44434 libc_hidden_proto.
44435 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44436 variable.
44437 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44438 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44439
44440 2014-11-14 David S. Miller <davem@davemloft.net>
44441
44442 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44443 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44444
44445 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44446
44447 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44448 * configure: Regenerated.
44449 * manual/install.texi (Tools for Compilation): Document a
44450 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44451 compiler verified to work.
44452 * INSTALL: Regenerated.
44453
44454 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44455 redeclare with asm name.
44456 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44457 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44458 including <string.h>.
44459 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44460 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44461 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44462 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44463 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44465 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44466
44467 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44468
44469 * stdlib/strtol.c (__strtol): Use prototype definition.
44470
44471 [BZ #17594]
44472 * stdlib/strtol.c (SYM__): New macro.
44473 (SYM__1): Likewise.
44474 (__strtol): Likewise.
44475 (strtol): Rename to __strtol and define as weak alias of
44476 __strtol. Use libc_hidden_weak.
44477
44478 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44479
44480 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44481 Use numbered labels in inline assembly.
44482
44483 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44484
44485 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44486 Add setjmp LIBC_PROBE.
44487 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44488 Likewise.
44489 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44490 Add longjmp, longjmp_target LIBC_PROBE.
44491 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44492 Likewise.
44493
44494 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44495
44496 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44497 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44498 to get rid of unused variable warning.
44499
44500 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44501
44502 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44503 Check for unwind_backtrace == NULL only in SHARED case.
44504 (__backchain_backtrace): Compile only in SHARED case.
44505 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44506 Likewise.
44507 (__backchain_backtrace): Declare as static.
44508
44509 2014-11-12 Roland McGrath <roland@hack.frob.com>
44510
44511 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44512 (__libc_multiple_threads_ptr): Variable moved ...
44513 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44514
44515 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44516
44517 * conform/GlibcConform.pm: New file.
44518 * conform/conformtest.pl: Use GlibcConform module.
44519 * conform/linknamespace.pl: New file.
44520 * conform/list-header-symbols.pl: Likewise.
44521 * conform/Makefile (linknamespace-symlists-base): New variable.
44522 (linknamespace-symlists-tests): Likewise.
44523 (linknamespace-header-base): Likewise.
44524 (linknamespace-header-tests): Likewise.
44525 (tests-special): Add new tests.
44526 ($(linknamespace-symlists-tests)): New rule.
44527 (linknamespace-libs): New variable.
44528 ($(objpfx)symlist-stdlibs): New rule.
44529 ($(linknamespace-header-tests)): Likewise.
44530 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44531 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44532 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44533 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44534 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44535 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44536 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44537 (test-xfail-ISO/math.h/linknamespace): Likewise.
44538 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44539 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44540 (test-xfail-ISO/time.h/linknamespace): Likewise.
44541 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44542 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44543 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44544 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44545 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44546 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44547 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44548 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44549 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44550 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44551 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44552 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44553 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44554 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44555 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44556 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44557 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44558 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44559 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44560 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44561 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44562 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44563 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44564 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44565 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44566 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44567 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44568 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44569 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44570 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44571 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44572 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44573 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44574 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44575 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44576 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44577 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44578 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44579 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44580 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44581 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44582 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44583 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44584 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44585 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44586 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44587 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44588 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44589 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44590 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44591 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44592 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44593 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44594 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44595 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44596 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44597 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44598 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44599 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44600 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44601 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44602 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44603 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44604 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44605 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44606 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44607 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44608 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44609 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44610 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44611 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44612 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44613 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44614 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44615 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44616 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44617 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44618 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44619 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44620 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44621 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44622 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44623 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44624 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44625 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44626 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44627 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44628 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44629 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44630 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44631 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44632 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44633 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44634 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44635 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44636 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44637 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44638 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44639 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44640 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44641 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44642 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44643 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44644 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44645 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44646 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44647 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44648 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44649 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44650 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44651 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44652 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44653 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44654 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44655 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44656 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44657 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44658 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44659 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44660 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44661 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44662 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44663 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44664 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44665 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44666 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44667 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44668 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44669 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44670 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44671 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44672 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44673 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44674 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44675 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44676 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44677 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44678 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44679 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44680 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44681 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44682 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44683 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44684 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44685 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44686 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44687 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44688 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44689 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44690 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44691
44692 [BZ #17589]
44693 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44694 of fgets_unlocked.
44695
44696 [BZ #17585]
44697 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44698 (memmem): Rename to __memmem and define as weak alias of
44699 __memmem. Use libc_hidden_weak.
44700 (__memmem): Use libc_hidden_def.
44701 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44702 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44703 memmem.
44704
44705 [BZ #17582]
44706 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44707 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44708 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44709 and define as weak alias of __fgets_unlocked. Use
44710 libc_hidden_weak.
44711 (__fgets_unlocked): Use libc_hidden_def.
44712 * include/stdio.h (__fgets_unlocked): Declare. Use
44713 libc_hidden_proto.
44714 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44715 __fgets_unlocked instead of fgets_unlocked.
44716 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44717 (GET_NPROCS_CONF_PARSER): Likewise.
44718 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44719 (GET_NPROCS_CONF_PARSER): Likewise.
44720
44721 [BZ #17574]
44722 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44723 weak alias of __wmemset. Use libc_hidden_weak.
44724 (__wmemset): Use libc_hidden_def.
44725 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44726 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44727 of wmemset.
44728
44729 [BZ #17573]
44730 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44731 with asm name __mempcpy.
44732 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44733
44734 [BZ #17572]
44735 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44736 and define as weak alias of __rawmemchr.
44737 (__rawmemchr): Do not define as strong alias of rawmemchr.
44738
44739 [BZ #17571]
44740 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44741 alias of __qsort_r.
44742 (qsort): Call __qsort_r instead of qsort_r.
44743 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44744 (__qsort_r): Declare. Call libc_hidden_proto.
44745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44746 instead of qsort_r.
44747 * nscd/gai.c (__qsort_r): Define to qsort_r.
44748 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44749 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44750 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44751
44752 [BZ #17570]
44753 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44754 define as weak alias of __malloc_info.
44755
44756 [BZ #17584]
44757 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44758 as weak alias of __rewinddir. Don't use libc_hidden_def.
44759 (__rewinddir): Use libc_hidden_def.
44760 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44761 as weak alias of __rewinddir. Don't use libc_hidden_def.
44762 (__rewinddir): Use libc_hidden_def.
44763 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44764 weak alias of __rewinddir. Don't use libc_hidden_def.
44765 (__rewinddir): Use libc_hidden_def.
44766 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44767 (__rewinddir): Use libc_hidden_proto.
44768 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44769 rewinddir.
44770 (__getcwd): Use __rewinddir instead of rewinddir.
44771
44772 [BZ #17583]
44773 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44774 alias of __fileno. Use libc_hidden_weak.
44775 (__fileno): Use libc_hidden_def.
44776 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44777 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44778 alias of __ftello.
44779 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44780 __ftello.
44781 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44782 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44783 libc_hidden_def.
44784 (fread_unlocked): Don't use libc_hidden_ver.
44785 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44786 and define as weak alias of __fread_unlocked. Don't use
44787 libc_hidden_def.
44788 (__fread_unlocked): Use libc_hidden_def.
44789 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44790 (ftello): Don't use libc_hidden_proto.
44791 (__ftello): Declare. Use libc_hidden_proto.
44792 (fread_unlocked): Don't use libc_hidden_proto.
44793 (__fread_unlocked): Declare. Use libc_hidden_proto.
44794 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44795 and __ftello instead of fileno, fread_unlocked and ftello.
44796
44797 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44798
44799 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44800 GOT12.
44801 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44802 Likewise.
44803 (_dl_start_user): Likewise.
44804 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44805
44806 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44807 Siddhesh Poyarekar <siddhesh@redhat.com>
44808
44809 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44810 Move argv and envp down instead of moving argc up.
44811 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44812
44813 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44814
44815 [BZ #17506]
44816 * test-skeleton.c (main): Return successful if one of
44817 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44818 * string/tst-strcoll-overflow.c: Define expected status.
44819
44820 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44821
44822 [BZ #17475]
44823 * locale/iso-639.def: Define Bhili and Tulu language codes.
44824
44825 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44826
44827 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44828
44829 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44830
44831 [BZ #17555]
44832 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44833
44834 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44835
44836 * configure.ac: Updated check of minimal required version to
44837 2.22.
44838 * manual/install.texi (Tools for Compilation): Updated version
44839 number.
44840 * configure: Regenerated.
44841 * INSTALL: Likewise.
44842
44843 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44844
44845 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44846 __tls_get_addr.
44847
44848 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44849
44850 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44851 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44852 (__waitpid): Don't define as alias. Use libc_hidden_def not
44853 libc_hidden_weak.
44854 (waitpid): Define as alias of __waitpid.
44855 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44856 __waitpid.
44857 (__waitpid): Don't define as alias. Use libc_hidden_def not
44858 libc_hidden_weak.
44859 (waitpid): Define as alias of __waitpid.
44860 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44861 __libc_waitpid alias.
44862 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44863 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44864 Likewise.
44865 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44866 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44867 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44868 alias.
44869 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44870 __waitpid.
44871 (__waitpid): Don't define as alias. Use libc_hidden_def not
44872 libc_hidden_weak.
44873 (waitpid): Define as alias of __waitpid.
44874
44875 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44876
44877 * manual/llio.texi: Add comment that write safety has been
44878 fixed in Linux.
44879
44880 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44881 (localplt-build-dso): Add elf/ld.so.
44882 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44883 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44884 and free for ld.so.
44885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44886 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44888 Likewise.
44889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44890 Likewise.
44891 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44892 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44893 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44894 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44895 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44896 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44897 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44898 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44899 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44900 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44901 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44902
44903 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44904
44905 [BZ #14132]
44906 * include/libc-symbols.h (INTUSE): Remove macro.
44907 (INTDEF): Likewise.
44908 (INTVARDEF): Likewise.
44909 (_INTVARDEF): Likewise.
44910 (INTDEF2): Likewise.
44911 (INTVARDEF2): Likewise.
44912 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44913 rtld_hidden_def instead of INTVARDEF.
44914 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44915 (_dl_starting_up_internal): Remove declaration.
44916 (_dl_starting_up): Use rtld_hidden_proto.
44917 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44918 declaration.
44919 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44920 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44921 _dl_starting_up.
44922 * elf/dl-writev.h (_dl_writev): Likewise.
44923 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44924 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44925 _dl_starting_up_internal.
44926
44927 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44928
44929 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44930 test-skeleton.c.
44931
44932 2014-11-05 Will Newton <will.newton@linaro.org>
44933
44934 * benchtests/Makefile: (bench-malloc): Add malloc thread
44935 scalability benchmark.
44936 * benchtests/bench-malloc-threads.c: New file.
44937
44938 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44939
44940 * sysdeps/aarch64/strchrnul.S: New file.
44941
44942 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44943
44944 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44945 definition.
44946 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44947 Likewise.
44948 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44949 Likewise.
44950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44951 Likewise.
44952 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44953 Likewise.
44954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44955 Likewise.
44956
44957 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44958
44959 * catgets/test-gencat.c: Use test-skeleton.c.
44960 * catgets/tst-catgets.c: Likewise.
44961 * csu/tst-empty.c: Likewise.
44962 * elf/tst-audit2.c: Likewise.
44963 * elf/tst-global1.c: Likewise.
44964 * elf/tst-pathopt.c: Likewise.
44965 * elf/tst-piemod1.c: Likewise.
44966 * elf/tst-tls10.c: Likewise.
44967 * elf/tst-tls11.c: Likewise.
44968 * elf/tst-tls12.c: Likewise.
44969 * gnulib/tst-gcc.c: Likewise.
44970 * iconvdata/tst-e2big.c: Likewise.
44971 * iconvdata/tst-loading.c: Likewise.
44972 * iconv/tst-iconv1.c: Likewise.
44973 * iconv/tst-iconv2.c: Likewise.
44974 * inet/test-inet6_opt.c: Likewise.
44975 * inet/tst-gethnm.c: Likewise.
44976 * inet/tst-network.c: Likewise.
44977 * inet/tst-ntoa.c: Likewise.
44978 * intl/tst-codeset.c: Likewise.
44979 * intl/tst-gettext2.c: Likewise.
44980 * intl/tst-gettext3.c: Likewise.
44981 * intl/tst-ngettext.c: Likewise.
44982 * intl/tst-translit.c: Likewise.
44983 * io/test-stat.c: Likewise.
44984 * libio/test-fmemopen.c: Likewise.
44985 * libio/tst-freopen.c: Likewise.
44986 * libio/tst-sscanf.c: Likewise.
44987 * libio/tst-ungetwc1.c: Likewise.
44988 * libio/tst-ungetwc2.c: Likewise.
44989 * libio/tst-widetext.c: Likewise.
44990 * localedata/tst-ctype.c: Likewise.
44991 * localedata/tst-digits.c: Likewise.
44992 * localedata/tst-leaks.c: Likewise.
44993 * localedata/tst-mbswcs1.c: Likewise.
44994 * localedata/tst-mbswcs2.c: Likewise.
44995 * localedata/tst-mbswcs3.c: Likewise.
44996 * localedata/tst-mbswcs4.c: Likewise.
44997 * localedata/tst-mbswcs5.c: Likewise.
44998 * localedata/tst-setlocale.c: Likewise.
44999 * localedata/tst-trans.c: Likewise.
45000 * localedata/tst-wctype.c: Likewise.
45001 * localedata/tst-xlocale1.c: Likewise.
45002 * login/tst-grantpt.c: Likewise.
45003 * malloc/tst-calloc.c: Likewise.
45004 * malloc/tst-malloc.c: Likewise.
45005 * malloc/tst-mallocstate.c: Likewise.
45006 * malloc/tst-mcheck.c: Likewise.
45007 * malloc/tst-mtrace.c: Likewise.
45008 * malloc/tst-obstack.c: Likewise.
45009 * math/atest-exp2.c: Likewise.
45010 * math/atest-exp.c: Likewise.
45011 * math/atest-sincos.c: Likewise.
45012 * math/test-matherr.c: Likewise.
45013 * math/test-misc.c: Likewise.
45014 * math/test-powl.c: Likewise.
45015 * math/tst-definitions.c: Likewise.
45016 * misc/tst-dirname.c: Likewise.
45017 * misc/tst-efgcvt.c: Likewise.
45018 * misc/tst-fdset.c: Likewise.
45019 * misc/tst-hsearch.c: Likewise.
45020 * misc/tst-mntent2.c: Likewise.
45021 * nptl/tst-sem7.c: Likewise.
45022 * nptl/tst-sem8.c: Likewise.
45023 * nptl/tst-sem9.c: Likewise.
45024 * nss/test-netdb.c: Likewise.
45025 * posix/tst-fnmatch.c: Likewise.
45026 * posix/tst-getlogin.c: Likewise.
45027 * posix/tst-gnuglob.c: Likewise.
45028 * posix/tst-mmap.c: Likewise.
45029 * pwd/tst-getpw.c: Likewise.
45030 * resolv/tst-inet_ntop.c: Likewise.
45031 * rt/tst-timer.c: Likewise.
45032 * stdio-common/test-fseek.c: Likewise.
45033 * stdio-common/test-popen.c: Likewise.
45034 * stdio-common/test-vfprintf.c: Likewise.
45035 * stdio-common/tst-cookie.c: Likewise.
45036 * stdio-common/tst-fileno.c: Likewise.
45037 * stdio-common/tst-gets.c: Likewise.
45038 * stdio-common/tst-obprintf.c: Likewise.
45039 * stdio-common/tst-perror.c: Likewise.
45040 * stdio-common/tst-sprintf2.c: Likewise.
45041 * stdio-common/tst-sprintf3.c: Likewise.
45042 * stdio-common/tst-sprintf.c: Likewise.
45043 * stdio-common/tst-swprintf.c: Likewise.
45044 * stdio-common/tst-tmpnam.c: Likewise.
45045 * stdio-common/tst-unbputc.c: Likewise.
45046 * stdio-common/tst-wc-printf.c: Likewise.
45047 * stdlib/tst-environ.c: Likewise.
45048 * stdlib/tst-fmtmsg.c: Likewise.
45049 * stdlib/tst-limits.c: Likewise.
45050 * stdlib/tst-rand48-2.c: Likewise.
45051 * stdlib/tst-rand48.c: Likewise.
45052 * stdlib/tst-random2.c: Likewise.
45053 * stdlib/tst-random.c: Likewise.
45054 * stdlib/tst-strtol.c: Likewise.
45055 * stdlib/tst-strtoll.c: Likewise.
45056 * stdlib/tst-tls-atexit.c: Likewise.
45057 * stdlib/tst-xpg-basename.c: Likewise.
45058 * string/test-ffs.c: Likewise.
45059 * string/tst-bswap.c: Likewise.
45060 * string/tst-inlcall.c: Likewise.
45061 * string/tst-strtok.c: Likewise.
45062 * string/tst-strxfrm.c: Likewise.
45063 * sysdeps/x86_64/tst-audit10.c: Likewise.
45064 * sysdeps/x86_64/tst-audit3.c: Likewise.
45065 * sysdeps/x86_64/tst-audit4.c: Likewise.
45066 * sysdeps/x86_64/tst-audit5.c: Likewise.
45067 * time/tst-ftime_l.c: Likewise.
45068 * time/tst-getdate.c: Likewise.
45069 * time/tst-mktime3.c: Likewise.
45070 * time/tst-mktime.c: Likewise.
45071 * time/tst-posixtz.c: Likewise.
45072 * time/tst-strptime2.c: Likewise.
45073 * time/tst-strptime3.c: Likewise.
45074 * wcsmbs/tst-btowc.c: Likewise.
45075 * wcsmbs/tst-mbrtowc.c: Likewise.
45076 * wcsmbs/tst-mbsrtowcs.c: Likewise.
45077 * wcsmbs/tst-wchar-h.c: Likewise.
45078 * wcsmbs/tst-wcpncpy.c: Likewise.
45079 * wcsmbs/tst-wcrtomb.c: Likewise.
45080 * wcsmbs/tst-wcsnlen.c: Likewise.
45081 * wcsmbs/tst-wcstof.c: Likewise.
45082
45083 2014-11-04 Joseph Myers <joseph@codesourcery.com>
45084
45085 [BZ #14132]
45086 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
45087 INTDEF.
45088 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
45089 declaration.
45090 (_dl_mcount): Use rtld_hidden_proto.
45091 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
45092 _dl_mcount.
45093 * elf/rtld.c (_rtld_global_ro): Likewise.
45094
45095 [BZ #14132]
45096 * elf/dl-init.c (_dl_init): Don't use INTDEF.
45097 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
45098 of _dl_init_internal.
45099 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
45100 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
45101 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
45102 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
45103 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
45104 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
45105 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
45106 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
45107 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
45108 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
45109 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
45110 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
45111 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45112 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45113 * sysdeps/tile/dl-start.S (_start): Likewise.
45114 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
45115 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
45116
45117 [BZ #14132]
45118 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
45119 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
45120 (rtld_progname): Make macro definition unconditional.
45121 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
45122 INTDEF.
45123 (dlmopen_doit): Do not use INTUSE with _dl_argv.
45124 (dl_main): Likewise.
45125 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45126 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45127 instead of _dl_argv_internal.
45128 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45129 __GI__dl_argv instead of INTUSE(_dl_argv).
45130 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
45131 __GI__dl_argv instead of _dl_argv_internal.
45132
45133 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
45134 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
45135 macro.
45136 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
45137 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
45138 New macro.
45139 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
45140 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
45141 macro.
45142 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
45143 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
45144
45145 2014-11-04 Andreas Schwab <schwab@suse.de>
45146
45147 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
45148
45149 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45150
45151 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45152 mtvsrd instruction in binary form.
45153
45154 2014-11-03 Andreas Schwab <schwab@suse.de>
45155
45156 [BZ #17522]
45157 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45158 for less than MB_LEN_MAX use a local buffer of that size.
45159 * libio/tst-fputws.c: New file.
45160 * libio/Makefile (tests): Add tst-fputws.
45161
45162 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
45163
45164 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45165 the size of the fpu_fr.fpu_dregs[] array.
45166
45167 2014-11-01 Joseph Myers <joseph@codesourcery.com>
45168
45169 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45170 (__nanosleep): Do not define as alias.
45171 (nanosleep): Define as alias of __nanosleep.
45172 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45173 __libc_nanosleep name.
45174
45175 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45176
45177 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45178 install.texi in comment.
45179
45180 2014-10-31 Torvald Riegel <triegel@redhat.com>
45181
45182 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45183 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45184 ... add here and use lwsync or sync ...
45185 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45186 ... and add here using lwsync.
45187
45188 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
45189
45190 * elf/dl-machine-reject-phdr.h: New file.
45191 * elf/dl-load.c: #include that.
45192 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45193 if that returned true.
45194
45195 2014-10-31 Roland McGrath <roland@hack.frob.com>
45196
45197 [BZ #17496]
45198 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45199 gen-as-const-headers chunk. Add a big scare comment after the last
45200 safe place to touch before-compile.
45201
45202 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45203
45204 * manual/install.texi (Tools for Compilation): Update autoconf
45205 version requirements.
45206 * INSTALL: Regenerated.
45207
45208 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45209 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45210 (__libc_pselect): Likewise.
45211
45212 [BZ #14138]
45213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45217
45218 2014-10-31 Torvald Riegel <triegel@redhat.com>
45219
45220 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45221 correct barrier instruction.
45222 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45223 Likewise.
45224 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45225 Likewise.
45226
45227 2014-10-30 Roland McGrath <roland@hack.frob.com>
45228
45229 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45230 after defining inlines. Instead, just use parens to defeat macro
45231 expansion of __isctype in its declaration.
45232
45233 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45234
45235 * include/sys/uio.h (__libc_readv): Remove declaration.
45236 (__libc_writev): Likewise.
45237 * misc/readv.c (__libc_readv): Rename to __readv.
45238 (__readv): Do not define as alias.
45239 (readv): Define as alias of __readv.
45240 * misc/writev.c (__libc_writev): Rename to __writev.
45241 (__writev): Do not define as alias.
45242 (writev): Define as alias of __writev.
45243 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45244 (__readv): Do not define as alias.
45245 (readv): Define unconditionally as alias of __readv.
45246 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45247 (__writev): Do not define as alias.
45248 (writev): Define unconditionally as alias of __writev.
45249 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45250 name.
45251 (writev): Do not define __libc_writev name.
45252
45253 2014-10-30 Roland McGrath <roland@hack.frob.com>
45254
45255 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45256 (convert_charseq): New function, broken out of ...
45257 (use_from_charmap): ... here. Call it.
45258 (use_to_charmap): Use convert_charseq and free instead of duplicating
45259 its code with a variable-length stack struct.
45260
45261 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45262
45263 * include/fcntl.h (__libc_creat): Remove declaration.
45264 * io/creat.c (__libc_creat): Rename to creat.
45265 (creat): Do not define as alias.
45266 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45267 of creat instead of __libc_creat.
45268 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45269 to creat.
45270 (creat): Do not define as alias.
45271 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45272 __libc_creat.
45273 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45274 __libc_creat name.
45275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45276 Likewise.
45277
45278 2014-10-29 Carlos O'Donell <carlos@redhat.com>
45279
45280 * manual/llio.texi: Add comments discussing why write() may be
45281 considered MT-unsafe on Linux.
45282
45283 2014-10-28 Carlos O'Donell <carlos@redhat.com>
45284
45285 * dl-load.c (local_strdup): Remove.
45286 (expand_dynamic_string_token): Use __strdup.
45287 (decompose_rpath): Likewise.
45288 (_dl_map_object): Likewise.
45289
45290 2014-10-28 Joseph Myers <joseph@codesourcery.com>
45291
45292 [BZ #14132]
45293 * sysdeps/generic/unwind-dw2-fde.c
45294 (__register_frame_info_bases_internal): Do not declare.
45295 (__register_frame_info_table_bases_internal): Likewise.
45296 (__deregister_frame_info_bases_internal): Likewise.
45297 (__register_frame_info_bases): Declare and use hidden_proto before
45298 definition. Use hidden_def instead of INTDEF.
45299 (__register_frame_info_table_bases): Likewise.
45300 (__deregister_frame_info_bases): Likewise.
45301 (__register_frame_info): Do not use INTUSE.
45302 (__register_frame): Likewise.
45303 (__register_frame_info_table): Likewise.
45304 (__register_frame_table): Likewise.
45305 (__deregister_frame_info): Likewise.
45306 (__deregister_frame): Likewise.
45307
45308 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
45309
45310 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45311 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45312 not undefine.
45313 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45314 Likewise.
45315 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45316 Likewise.
45317
45318 2014-10-27 Joseph Myers <joseph@codesourcery.com>
45319
45320 [BZ #14138]
45321 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45322 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45323 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45324 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45325 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45326 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45327 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45328 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45329 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45330 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45331 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45332 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45333 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45334 syscall.
45335 (setfsuid): Likewise.
45336 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45337 (setfsuid): Likewise.
45338 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45339 (setfsuid): Likewise.
45340 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45341 Likewise.
45342 (setfsuid): Likewise.
45343 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45344 (setfsuid): Likewise.
45345 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45346 Likewise.
45347 (setfsuid): Likewise.
45348
45349 2014-10-27 Andreas Schwab <schwab@suse.de>
45350
45351 [BZ #17501]
45352 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45353 check for Slow_SSE4_2 feature bit.
45354 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45355 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45356 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45357 Likewise. Fix check for Fast_Unaligned_Load feature bit.
45358
45359 2014-10-24 Roland McGrath <roland@hack.frob.com>
45360
45361 * configure.ac: Validate compiler version with a empirical test of
45362 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45363 $CC -v output.
45364 * configure: Regenerated.
45365
45366 * inet/htons.c (htons): Prototypify.
45367 * inet/htonl.c (htonl): Likewise.
45368
45369 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45370
45371 * string/strncat.c (strncat): Improve performance by using strlen.
45372
45373 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45374
45375 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45376
45377 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45378
45379 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45380 Call libc_fetestexcept_aarch64.
45381
45382 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45383
45384 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45385 Call libc_feholdexcept_aarch64.
45386
45387 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45388
45389 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45390 Call get_rounding_mode.
45391
45392 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45393
45394 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45395 Simplify logic.
45396
45397 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45398
45399 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45400 Simplify logic.
45401
45402 2014-10-24 Joseph Myers <joseph@codesourcery.com>
45403
45404 [BZ #14138]
45405 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45406 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45407 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45408 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45409 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45410 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45411 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45412 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45413 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45414 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45415 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45416 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45417 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45418 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45419 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45420 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45421 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45422 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45423 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45424 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45425 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45426 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45427 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45428 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45429 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45430 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45431 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45432 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45433 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45434 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45435 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45436 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45437 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45438 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45439 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45440 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45441 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45442 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45443 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45444 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45445 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45446 syscall.
45447 (geteuid): Likewise.
45448 (getgid): Likewise.
45449 (getuid): Likewise.
45450 (getresgid): Likewise.
45451 (getresuid): Likewise.
45452 (getgroups): Likewise.
45453 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45454 (geteuid): Likewise.
45455 (getgid): Likewise.
45456 (getuid): Likewise.
45457 (getresgid): Likewise.
45458 (getresuid): Likewise.
45459 (getgroups): Likewise.
45460 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45461 (geteuid): Likewise.
45462 (getgid): Likewise.
45463 (getuid): Likewise.
45464 (getresgid): Likewise.
45465 (getresuid): Likewise.
45466 (getgroups): Likewise.
45467 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45468 Likewise.
45469 (geteuid): Likewise.
45470 (getgid): Likewise.
45471 (getuid): Likewise.
45472 (getresgid): Likewise.
45473 (getresuid): Likewise.
45474 (getgroups): Likewise.
45475 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45476 (geteuid): Likewise.
45477 (getgid): Likewise.
45478 (getuid): Likewise.
45479 (getresgid): Likewise.
45480 (getresuid): Likewise.
45481 (getgroups): Likewise.
45482 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45483 Likewise.
45484 (geteuid): Likewise.
45485 (getgid): Likewise.
45486 (getuid): Likewise.
45487 (getgroups): Likewise.
45488
45489 [BZ #14138]
45490 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45491 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45492 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45493 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45494 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45495 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45496 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45497 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45498 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45499 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45500 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45501 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45502 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45503 __chown.
45504 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45505 (lchown): Likewise.
45506 (fchown): Likewise.
45507 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45508 Likewise.
45509 (lchown): Likewise.
45510 (fchown): Likewise.
45511 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45512 (lchown): Likewise.
45513 (fchown): Likewise.
45514 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45515 Likewise.
45516 (lchown): Likewise.
45517 (fchown): Likewise.
45518
45519 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45520
45521 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45522 Simplify logic.
45523
45524 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45525
45526 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45527 Cleanup logic.
45528
45529 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45530
45531 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45532 Remove unused include.
45533
45534 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45535
45536 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45537 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45538 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45539 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45540
45541 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45542 Helge Deller <deller@gmx.de>
45543
45544 [BZ #17508]
45545 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45546 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45547 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45548
45549 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45550
45551 [BZ #14132]
45552 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45553 Remove macro definition.
45554 (__ashrdi3_v_glibc20): Likewise.
45555 (__lshrdi3_v_glibc20): Likewise.
45556 (__cmpdi2_v_glibc20): Likewise.
45557 (__ucmpdi2_v_glibc20): Likewise.
45558 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45559 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45560 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45561 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45562 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45563 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45564
45565 2014-10-22 Roland McGrath <roland@hack.frob.com>
45566
45567 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45568 old GNU extension [0] syntax.
45569 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45570 alloca rather than an array member with variable length.
45571 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45572 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45573 (parse_opt): ... here. Likewise use alloca there.
45574 Validate the -i argument before checking for rootness.
45575 (send_shutdown): New function, broken out of ...
45576 (parse_opt): ... here.
45577
45578 2014-10-22 Roland McGrath <roland@hack.frob.com>
45579
45580 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45581 macro to get at the _rt_local_ro field.
45582 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45583 ([PIC] case) or _dl_hwcap ([!PIC] case).
45584 * sysdeps/arm/setjmp.S: Likewise.
45585
45586 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45587 * sysdeps/arm/configure.ac: New check to define it.
45588 * sysdeps/arm/configure: Regenerated.
45589 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45590 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45591 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45592 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45593 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45594 Use move/movt pair instead of a load.
45595 (LDST_GLOBAL): Macro removed.
45596 (LDR_GLOBAL): New macro replaces it.
45597 (LDR_HIDDEN): New macro.
45598 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45599 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45600
45601 * setjmp/tst-setjmp-static.c: New file.
45602 * setjmp/Makefile (tests): Add it.
45603 (tests-static): New variable.
45604
45605 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45606
45607 [BZ #17485]
45608 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45609
45610 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45611
45612 [BZ #14132]
45613 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45614
45615 2014-10-21 Roland McGrath <roland@hack.frob.com>
45616
45617 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45618
45619 2014-10-20 Roland McGrath <roland@hack.frob.com>
45620
45621 * io/fts.c (dirent_not_directory): New function.
45622 (fts_build): Call it.
45623
45624 2014-10-20 Roland McGrath <roland@hack.frob.com>
45625
45626 * nptl/version.c (__nptl_main): Use normal __write rather than
45627 INTERNAL_SYSCALL.
45628 (banner): Update copyright years.
45629
45630 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45631 gettimeofday.
45632 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45633 * nptl/pthread_cond_timedwait.c: Likewise.
45634 * nptl/pthread_mutex_timedlock.c: Likewise.
45635 * nptl/sem_timedwait.c: Likewise.
45636
45637 * sysdeps/nptl/bits/libc-lock.h
45638 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45639 (__libc_lock_init_recursive): Return void, not 0.
45640 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45641 (__libc_rwlock_init): Likewise.
45642 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45643
45644 2014-10-20 Torvald Riegel <triegel@redhat.com>
45645
45646 [BZ #15215]
45647 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45648 (__pthread_once_slow): ... here.
45649 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45650 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45651
45652 2014-10-20 Torvald Riegel <triegel@redhat.com>
45653
45654 [BZ #15215]
45655 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45656 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45657 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45658 * nptl/pthread_once.c (__pthread_once): Likewise.
45659 Update comments.
45660
45661 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45662
45663 [BZ #14138]
45664 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45665 name.
45666 (writev): Use __libc_writev as strong name.
45667 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45668 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45669
45670 2014-10-17 Roland McGrath <roland@hack.frob.com>
45671
45672 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45673
45674 * sysdeps/i386/nptl/tls.h
45675 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45676 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45677 New macros.
45678 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45679 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45680 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45681 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45682 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45683 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45684
45685 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45686 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45687 on [__NR_futex].
45688 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45689 broken out of ...
45690 (__pthread_mutex_init): ... here. Call it.
45691 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45692 Conditionalize PI cases on [__NR_futex].
45693 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45694 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45695 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45696
45697 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45698 conditional on [SIGSETXID].
45699 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45700 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45701 is defined. Likewise for SIGSETXID.
45702 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45703 Conditionalize definitions on [SIGSETXID].
45704 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45705 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45706 unblocking on [SIGCANCEL].
45707
45708 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45709 [__NR_set_robust_list].
45710
45711 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45712
45713 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45714 (do_compare): Likewise.
45715
45716 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45717
45718 [BZ #15884]
45719 * string/strcoll_l.c: Don't include stdio.h.
45720 (coll_seq): Remove members idxarr and rulearr.
45721 (get_next_seq_cached): Remove function.
45722 (get_next_seq): Likewise.
45723 (get_next_seq_nocache): Rename to get_next_seq.
45724 (do_compare): Remove function.
45725 (do_compare_nocache): Rename to do_compare.
45726 (STRCOLL): Remove weight and rules cache.
45727
45728 2014-10-16 Roland McGrath <roland@hack.frob.com>
45729
45730 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45731 * sysdeps/arm/sfp-machine.h: ... to here.
45732 * sysdeps/arm/Implies: Remove arm/soft-fp.
45733
45734 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45735
45736 * conform/data/sys/utsname.h-data (*_t): Allow.
45737 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45738 [POSIX] (WEXITED): Do not expect constant.
45739 [POSIX] (WSTOPPED): Likewise.
45740 [POSIX] (WNOHANG): Likewise.
45741 [POSIX] (WNOWAIT): Likewise.
45742 [POSIX] (siginfo_t): Do not expect type or elements.
45743 [POSIX] (pid_t): Do not expect type.
45744 [POSIX] (signal.h): Do not allow header.
45745 [POSIX] (sys/resource.h): Likewise.
45746 [POSIX] (si_*): Do not allow pattern.
45747 [POSIX] (W*): Likewise.
45748 [POSIX] (P_*): Likewise.
45749 [POSIX] (BUS_*): Likewise.
45750 [POSIX] (CLD_*): Likewise.
45751 [POSIX] (FPE_*): Likewise.
45752 [POSIX] (ILL_*): Likewise.
45753 [POSIX] (POLL_*): Likewise.
45754 [POSIX] (SEGV_*): Likewise.
45755 [POSIX] (SI_*): Likewise.
45756 [POSIX] (TRAP_*): Likewise.
45757 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45758 variable.
45759
45760 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45761
45762 [BZ #12926]
45763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45764 infinite loop when __recvmsg returns 0.
45765
45766 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45767
45768 * CANCEL-FCT-WAIVE: Remove file.
45769 * CANCEL-FILE-WAIVE: Likewise.
45770
45771 [BZ #14132]
45772 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45773 instead of INTVARDEF.
45774 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45775 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45776 rtld_hidden_data_def instead of INTVARDEF.
45777 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45778 * elf/dl-deps.c (expand_dst): Likewise.
45779 * elf/dl-load.c (_dl_dst_count): Likewise.
45780 (_dl_dst_substitute): Likewise.
45781 (decompose_rpath): Likewise.
45782 (_dl_init_paths): Likewise.
45783 (open_path): Likewise.
45784 (_dl_map_object): Likewise.
45785 * elf/rtld.c (dl_main): Likewise.
45786 (process_dl_audit): Likewise.
45787 (process_envvars): Likewise.
45788 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45789 Remove declaration.
45790 (__libc_enable_secure): Use rtld_hidden_proto.
45791
45792 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45793
45794 * elf/dl-load.c
45795 (add_path): New function broken out of _dl_rtld_di_serinfo.
45796 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45797
45798 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45799
45800 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45801 parentheses around macro arguments.
45802 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45804 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45805 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45806 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45809 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45812 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45813 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45814 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45815 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45816 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45817 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45818 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45823 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45824 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45827 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45828 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45830 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45831 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45832 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45833 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45834 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45835 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45836 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45837 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45838 Likewise.
45839 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45840 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45842 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45843 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45844 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45845 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45846 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45847 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45848 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45849 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45850 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45851 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45852 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45853 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45854 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45855 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45856 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45857 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45858 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45859 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45860 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45861 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45862 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45863 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45864 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45865 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45866 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45867 (_FP_FRAC_SRS_1): Likewise.
45868 (_FP_FRAC_CLZ_1): Likewise.
45869 (_FP_MUL_MEAT_1_imm): Likewise.
45870 (_FP_MUL_MEAT_1_wide): Likewise.
45871 (_FP_MUL_MEAT_1_hard): Likewise.
45872 (_FP_SQRT_MEAT_1): Likewise.
45873 (_FP_FRAC_ASSEMBLE_1): Likewise.
45874 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45875 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45876 (__FP_CLZ_2): Likewise.
45877 (_FP_MUL_MEAT_2_wide): Likewise.
45878 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45879 (_FP_MUL_MEAT_2_gmp): Likewise.
45880 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45881 (_FP_SQRT_MEAT_2): Likewise.
45882 (_FP_FRAC_ASSEMBLE_2): Likewise.
45883 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45884 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45885 (_FP_FRAC_CLZ_4): Likewise.
45886 (_FP_MUL_MEAT_4_wide): Likewise.
45887 (_FP_MUL_MEAT_4_gmp): Likewise.
45888 (_FP_SQRT_MEAT_4): Likewise.
45889 (_FP_FRAC_ASSEMBLE_4): Likewise.
45890 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45891 * soft-fp/op-common.h (_FP_CMP): Likewise.
45892 (_FP_CMP_EQ): Likewise.
45893 (_FP_CMP_UNORD): Likewise.
45894 (_FP_TO_INT): Likewise.
45895 (_FP_FROM_INT): Likewise.
45896 [!__FP_CLZ] (__FP_CLZ): Likewise.
45897 (_FP_DIV_HELP_imm): Likewise.
45898 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45899 Likewise.
45900 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45903 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45904 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45905 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45906 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45907 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45908 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45909 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45910 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45911 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45912 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45913 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45914 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45915 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45916 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45921 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45922 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45923 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45924 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45925 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45926 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45927 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45928 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45929 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45930 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45931 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45932 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45933 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45934 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45935 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45936 (FP_UNPACK_RAW_SP): Likewise.
45937 (FP_PACK_RAW_S): Likewise.
45938 (FP_PACK_RAW_SP): Likewise.
45939 (FP_UNPACK_S): Likewise.
45940 (FP_UNPACK_SP): Likewise.
45941 (FP_UNPACK_SEMIRAW_S): Likewise.
45942 (FP_UNPACK_SEMIRAW_SP): Likewise.
45943 (FP_PACK_S): Likewise.
45944 (FP_PACK_SP): Likewise.
45945 (FP_PACK_SEMIRAW_S): Likewise.
45946 (FP_PACK_SEMIRAW_SP): Likewise.
45947 (_FP_SQRT_MEAT_S): Likewise.
45948 (FP_CMP_S): Likewise.
45949 (FP_CMP_EQ_S): Likewise.
45950 (FP_CMP_UNORD_S): Likewise.
45951 (FP_TO_INT_S): Likewise.
45952 (FP_FROM_INT_S): Likewise.
45953
45954 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45955
45956 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45957 (FP_EX_INVALID_IMZ): Likewise.
45958 (FP_EX_INVALID_IMZ_FMA): Likewise.
45959 (FP_EX_INVALID_ISI): Likewise.
45960 (FP_EX_INVALID_ZDZ): Likewise.
45961 (FP_EX_INVALID_IDI): Likewise.
45962 (FP_EX_INVALID_SQRT): Likewise.
45963 (FP_EX_INVALID_CVI): Likewise.
45964 (FP_EX_INVALID_VC): Likewise.
45965 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45966 "invalid" exceptions.
45967 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45968 (_FP_ADD_INTERNAL): Likewise.
45969 (_FP_MUL): Likewise.
45970 (_FP_FMA): Likewise.
45971 (_FP_DIV): Likewise.
45972 (_FP_CMP_CHECK_NAN): Likewise.
45973 (_FP_SQRT): Likewise.
45974 (_FP_TO_INT): Likewise.
45975 (FP_EXTEND): Likewise.
45976
45977 2014-10-09 Allan McRae <allan@archlinux.org>
45978
45979 * po/fr.po: Update French translation from translation project.
45980
45981 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45982
45983 [BZ #14132]
45984 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45985 of INTDEF.
45986 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45987 (__cxa_atexit): Use libc_hidden_proto.
45988 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45989
45990 [BZ #14132]
45991 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45992 declaration.
45993 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45994 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45995 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45996 [!_ISOMAC] (__iswctype_internal): Likewise.
45997 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45998 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45999 alias.
46000 (fcntl): Remove __fcntl_internal alias.
46001 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
46002 __connect_internal alias.
46003 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
46004 Likewise.
46005
46006 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
46007 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
46008 FP_DENORM_ZERO.
46009 (_FP_CHECK_FLUSH_ZERO): New macro.
46010 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
46011 (_FP_CMP): Likewise.
46012 (_FP_CMP_EQ): Likewise.
46013 (_FP_TO_INT): Do not set inexact for subnormal arguments if
46014 FP_DENORM_ZERO.
46015 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
46016 (FP_TRUNC): Likewise.
46017
46018 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
46019 treated as invalid conversion, not as normal exponent.
46020
46021 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
46022 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
46023 (_FP_CMP_EQ): Likewise.
46024 (_FP_CMP_UNORD): Likewise.
46025 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
46026 (FP_CMP_EQ_D): Likewise.
46027 (FP_CMP_UNORD_D): Likewise.
46028 * soft-fp/extended.h (FP_CMP_E): Likewise.
46029 (FP_CMP_EQ_E): Likewise.
46030 (FP_CMP_UNORD_E): Likewise.
46031 * soft-fp/quad.h (FP_CMP_Q): Likewise.
46032 (FP_CMP_EQ_Q): Likewise.
46033 (FP_CMP_UNORD_Q): Likewise.
46034 * soft-fp/single.h (FP_CMP_S): Likewise.
46035 (FP_CMP_EQ_S): Likewise.
46036 (FP_CMP_UNORD_S): Likewise.
46037 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
46038 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
46039 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
46040 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
46041 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
46042 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
46043 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
46044 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
46045 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
46046 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
46047 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
46048 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
46049 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
46050 to FP_CMP_Q.
46051 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
46052 FP_CMP_Q.
46053 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
46054 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
46055 FP_CMP_EQ_Q.
46056 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
46057 FP_CMP_Q.
46058 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
46059 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
46060 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
46061 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
46062 FP_CMP_EQ_Q.
46063 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
46064 FP_CMP_Q.
46065 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
46066 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
46067 FP_CMP_EQ_Q.
46068 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
46069 FP_CMP_Q.
46070 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
46071 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
46072 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
46073 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
46074 FP_CMP_EQ_Q.
46075
46076 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
46077 a subnormal result, set the underflow exception if trapping on
46078 underflow is enabled.
46079 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
46080 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
46081 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
46082 redefine to 0.
46083 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
46084 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46085 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46086 * soft-fp/extendxftf2.c (__extendxftf2): Use
46087 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
46088
46089 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
46090 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
46091 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46092 FP_HANDLE_EXCEPTIONS.
46093 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
46094 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46095 FP_HANDLE_EXCEPTIONS.
46096 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
46097 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46098 FP_HANDLE_EXCEPTIONS.
46099 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
46100 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46101 FP_HANDLE_EXCEPTIONS.
46102
46103 2014-10-08 Joseph Myers <joseph@codesourcery.com>
46104
46105 [BZ #14132]
46106 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
46107 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
46108 use INTUSE.
46109 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
46110 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
46111 Remove alias.
46112 (__adjtimex): Define using libc_hidden_ver.
46113 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
46114 Remove declaration.
46115 (ntp_gettime): Call __adjtimex directly.
46116 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
46117 Remove declaration.
46118 (ntp_gettimex): Call __adjtimex directly.
46119 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
46120 __adjtimex_internal alias.
46121
46122 2014-10-08 Roland McGrath <roland@hack.frob.com>
46123
46124 [BZ #17460]
46125 * nscd/nscd.c (more_help): Rewrite list of tables collection
46126 using xstrdup and asprintf.
46127
46128 * nscd/nscd_conf.c: Remove local xstrdup declaration.
46129
46130 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46131 Roland McGrath <roland@hack.frob.com>
46132
46133 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
46134 (do_lookup_unique): ... local function 'enter' here; update callers.
46135
46136 2014-10-06 Joseph Myers <joseph@codesourcery.com>
46137
46138 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
46139 compat_symbol calls on [SHARED].
46140 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
46141 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
46142 Remove.
46143 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46144 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
46145 (oldsetrlimit): Remove.
46146 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46148 (lchown): New syscall entry.
46149 (oldsetrlimit): Remove.
46150 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46152 (oldsetrlimit): Remove.
46153 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46154
46155 [BZ #14138]
46156 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46157 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46158 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46159 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46160 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46161 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46162 (fchown): Likewise.
46163 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46164 (fchown): Likewise.
46165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46166 Likewise.
46167
46168 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46169
46170 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46171 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46172 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46173 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46174 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46175 Likewise.
46176 (__old_sem_post): Likewise.
46177
46178 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
46179
46180 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46181 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46182 HAVE_CLOCK_GETTIME_VSYSCALL macros.
46183 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46184 Use INLINE_VSYSCALL macro.
46185 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46186 __vdso_clock_gettime.
46187 * sysdeps/unix/sysv/linux/tile/init-first.c
46188 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46189 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46190 __vdso_clock_gettime.
46191
46192 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46193 to set up frame more cleanly.
46194
46195 * sysdeps/tile/memcmp.c: New file.
46196
46197 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46198
46199 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46200 * sysdeps/tile/tilegx/strcasestr.c: New file.
46201 * sysdeps/tile/tilegx/strnlen.c: New file.
46202 * sysdeps/tile/tilegx/strstr.c: New file.
46203
46204 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46205
46206 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
46207
46208 * nptl/tst-setuid3.c: Write errors to stdout.
46209
46210 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46211
46212 * elf/dl-deps.c
46213 (preload): New functions broken out of _dl_map_object_deps.
46214 (_dl_map_object_deps): Remove a nested function. Update call sites.
46215
46216 2014-10-01 Joseph Myers <joseph@codesourcery.com>
46217
46218 [BZ #14138]
46219 * sysdeps/unix/sysv/linux/execve.c: Remove file.
46220 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46221
46222 2014-10-01 Steve Ellcey <sellcey@mips.com>
46223
46224 * sysdeps/mips/strcmp.S: New.
46225
46226 2014-09-30 Joseph Myers <joseph@codesourcery.com>
46227
46228 [BZ #14138]
46229 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46230 (linkat): Likewise.
46231 (mkdirat): Likewise.
46232 (readlinkat): Likewise.
46233 (renameat): Likewise.
46234 (symlinkat): Likewise.
46235 (unlinkat): Likewise.
46236 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46237 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46238 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46239 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46240 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46241 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46242 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46243
46244 2014-09-30 Will Newton <will.newton@linaro.org>
46245
46246 * math/math.h: Define long double math functions if
46247 _LIBC_TEST is defined.
46248 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46249
46250 * localedata/Makefile: Move assignment to tests-special
46251 into an ifdef testing run-built-tests.
46252 * timezone/Makefile: Likewise.
46253
46254 2014-09-29 Joseph Myers <joseph@codesourcery.com>
46255
46256 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46257 with $(BASH) not $(SHELL).
46258
46259 2014-09-29 Carlos O'Donell <carlos@redhat.com>
46260 Matthew LeGendre <legendre1@llnl.gov>
46261
46262 [BZ #17411]
46263 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46264 l_reloc_result.
46265
46266 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46267
46268 * stdio-common/printf_fp.c
46269 (hack_digit): New function, broken out of ...
46270 (__printf_fp): ... local function here. Update call sites.
46271 hack_digit now takes an additional parameter that is a pointer
46272 to a struct of the referenced locals. Those locals moved inside
46273 the struct and references updated.
46274
46275 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
46276
46277 * aclocal.m4: Require autoconf 2.69.
46278 * configure: Regenerated.
46279 * sysdeps/aarch64/configure: Likewise.
46280 * sysdeps/alpha/configure: Likewise.
46281 * sysdeps/arm/armv7/configure: Likewise.
46282 * sysdeps/arm/configure: Likewise.
46283 * sysdeps/ia64/configure: Likewise.
46284 * sysdeps/mach/configure: Likewise.
46285 * sysdeps/mips/configure: Likewise.
46286 * sysdeps/s390/configure: Likewise.
46287 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46289
46290 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46291 file.
46292 * sysdeps/ia64/configure.ac: Likewise.
46293
46294 2014-09-26 Joseph Myers <joseph@codesourcery.com>
46295
46296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46297 specify symbol version for ld.so. Do not include entry for
46298 libpthread.
46299 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46300 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46301 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46302
46303 [BZ #14171]
46304 * Makeconfig [$(build-shared) = yes]
46305 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46306 makefiles.
46307 [$(build-shared) = yes && $(soversions.mk-done) = t]
46308 ($(common-objpfx)gnu/lib-names.h): Remove rule.
46309 [$(build-shared) = yes && $(soversions.mk-done) = t]
46310 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
46311 to Makerules.
46312 [$(build-shared) = yes && $(soversions.mk-done) = t]
46313 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46314 here.
46315 [$(build-shared) = yes && $(soversions.mk-done) = t]
46316 (common-generated): Don't append gnu/lib-names.h and
46317 gnu/lib-names.stmp here.
46318 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46319 (lib-names-h-abi): New variable.
46320 [$(build-shared) = yes && $(soversions.mk-done) = t]
46321 (lib-names-stmp-abi): Likewise.
46322 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46323 abi-variants] (before-compile): Append
46324 $(common-objpfx)$(lib-names-h-abi).
46325 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46326 abi-variants] (common-generated): Append gnu/lib-names.h.
46327 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46328 abi-variants] (install-others-nosubdir): Depend on
46329 $(inst_includedir)/$(lib-names-h-abi).
46330 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46331 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46332 [$(build-shared) = yes && $(soversions.mk-done) = t]
46333 ($(common-objpfx)$(lib-names-h-abi)): New rule.
46334 [$(build-shared) = yes && $(soversions.mk-done) = t]
46335 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46336 [$(build-shared) = yes && $(soversions.mk-done) = t]
46337 (common-generated): Append $(lib-names-h-abi) and
46338 $(lib-names-stmp-abi).
46339 * scripts/lib-names.awk: Do not handle multi being set.
46340 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46341 Remove variable.
46342 (abi-lp64_be-ld-soname): Likewise.
46343 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46344 Likewise.
46345 (abi-hard-ld-soname): Likewise.
46346 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46347 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46348 Remove variable.
46349 (abi-o32_hard-ld-soname): Likewise.
46350 (abi-o32_soft_2008-ld-soname): Likewise.
46351 (abi-o32_hard_2008-ld-soname): Likewise.
46352 (abi-n32_soft-ld-soname): Likewise.
46353 (abi-n32_hard-ld-soname): Likewise.
46354 (abi-n32_soft_2008-ld-soname): Likewise.
46355 (abi-n32_hard_2008-ld-soname): Likewise.
46356 (abi-n64_soft-ld-soname): Likewise.
46357 (abi-n64_hard-ld-soname): Likewise.
46358 (abi-n64_soft_2008-ld-soname): Likewise.
46359 (abi-n64_hard_2008-ld-soname): Likewise.
46360 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46361 Likewise.
46362 (abi-64-v2-ld-soname): Likewise.
46363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46364 ld.so entries.
46365 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46366 variable.
46367 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46368 entry.
46369 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46370 variable.
46371 (abi-64-ld-soname): Likewise.
46372 (abi-x32-ld-soname): Likewise.
46373 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46374 entry.
46375 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46376
46377 2014-09-23 Joseph Myers <joseph@codesourcery.com>
46378
46379 [BZ #14138]
46380 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46381 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46382 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46383 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46384 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46385 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46386 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46387 syscall entry for GLIBC_2.2 symbol version.
46388 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46389 Likewise.
46390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46391 (setrlimit): Likewise.
46392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46393 Likewise.
46394
46395 2014-09-23 Will Newton <will.newton@linaro.org>
46396
46397 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46398 _LINUX_ARM_SYSDEP_H include guard too.
46399 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46400 define.
46401
46402 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46403
46404 * sysdeps/unix/sysv/linux/eventfd.c:
46405 Make first argument unsigned.
46406 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46407 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46408
46409 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
46410
46411 [BZ #16852]
46412 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46413 * socket/sys/socket.h: Likewise.
46414 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46415
46416 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46417
46418 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46419
46420 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46421
46422 * time/tst-ftime.c: New test.
46423 * time/Makefile (tests): Add tst-ftime.
46424
46425 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46426
46427 * soft-fp/extended.h: Fix comment formatting.
46428 * soft-fp/op-1.h: Likewise.
46429 * soft-fp/op-2.h: Likewise.
46430 * soft-fp/op-4.h: Likewise.
46431 * soft-fp/op-8.h: Likewise.
46432 * soft-fp/op-common.h: Likewise.
46433 * soft-fp/soft-fp.h: Likewise.
46434
46435 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46436
46437 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46438
46439 [BZ #6652]
46440 * Makeconfig (soversions-default-setname): Remove variable.
46441 ($(common-objpfx)soversions.i): Don't pass default_setname to
46442 soversions.awk.
46443 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46444 oldest_abi to abi-versions.awk.
46445 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46446 * config.make.in (oldest-abi): Remove variable.
46447 * configure.ac (--enable-oldest-abi): Remove configure option.
46448 * configure: Regenerated.
46449 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46450 text.
46451 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46452 * scripts/soversions.awk: Do not handle default_setname variable.
46453 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46454 variable.
46455 * sysdeps/mach/hurd/configure: Regenerated.
46456 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46457 variable.
46458 * sysdeps/unix/sysv/linux/configure: Regenerated.
46459
46460 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46461
46462 * elf/Makefile (CFLAGS-interp.c): Remove.
46463 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46464 path string.
46465 * elf/interp.c: Include generated runtime-linker.h
46466
46467 * Makerules (lib%.so): Don't include $(+interp) in
46468 prerequisites.
46469 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46470 * dlfcn/eval.c: Remove file.
46471
46472 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46473 macros.
46474
46475 [BZ #17266]
46476 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46477 4.2 and newer.
46478
46479 [BZ #17370]
46480 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46481
46482 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46483 Jakub Jelinek <jakub@redhat.com>
46484
46485 [BZ #17266]
46486 * libio/stdio.h: Check definition of __fortify_function
46487 instead of __extern_always_inline to include bits/stdio2.h.
46488 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46489 check if __extern_always_inline is defined.
46490 [__USE_MISC || __USE_XOPEN]: Likewise.
46491 [__USE_ISOC99] Likewise.
46492 * misc/sys/cdefs.h (__fortify_function): Define only if
46493 __extern_always_inline is defined.
46494 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46495 __extern_always_inline and __extern_inline only for g++-4.3
46496 and newer or a compatible gcc.
46497
46498 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46499
46500 [BZ #17371]
46501 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46502 last change to handle zero prefix length.
46503
46504 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46505
46506 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46507 _SC_REGEX_VERSION.
46508
46509 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46510 _POSIX_RAW_SOCKETS.
46511
46512 2014-09-13 Allan McRae <allan@archlinux.org>
46513
46514 * po/ru.po: Update Russian translation from translation project.
46515
46516 2014-09-12 Roland McGrath <roland@hack.frob.com>
46517
46518 * locale/programs/locale.c (show_locale_vars): Inline local function
46519 into its sole call site. Clean up some style nits.
46520 (print_item): New function, broken out of ...
46521 (show_info): ... local function here. Clean up style nits.
46522
46523 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46524 out of ...
46525 (set_class_defaults): ... local function set_default here.
46526 Define set_default as a macro locally to pass constant parameters.
46527 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46528 rather than a shared local.
46529
46530 * stdlib/rpmatch.c (try): New function, broken out of ...
46531 (rpmatch): ... local function here. Also, prototypify definition.
46532
46533 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46534
46535 * scripts/soversions.awk: Do not handle configuration names.
46536 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46537 vendor and os variables to soversions.awk.
46538 * configure.ac: Do not modify gnu-* host_os.
46539 * configure: Regenerated
46540 * shlib-versions: Remove first column with configuration names.
46541 * nptl/shlib-versions: Likewise.
46542 * nptl_db/shlib-versions: Likewise.
46543 * sysdeps/hppa/shlib-versions: Likewise.
46544 * sysdeps/m68k/shlib-versions: Likewise.
46545 * sysdeps/mach/hurd/shlib-versions: Likewise.
46546 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46547 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46548 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46549 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46550 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46551 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46552 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46553 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46555 Likewise.
46556 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46557 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46558 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46559 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46560 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46561 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46562 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46563 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46564
46565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46566 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46568 Regenerated.
46569 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46571 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46572
46573 * shlib-versions: Remove OS-specific entries. Moved to files in
46574 sysdeps.
46575 * sysdeps/mach/hurd/shlib-versions: New file.
46576 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46577
46578 * nptl/shlib-versions: Remove architecture-specific entries.
46579 Moved to files in sysdeps.
46580 * shlib-versions: Likewise.
46581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46582 file.
46583 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46584 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46585 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46586 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46587
46588 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46589 (UDP_NO_CHECK6_RX): Likewise.
46590
46591 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46592
46593 * sysdeps/posix/sysconf.c (__sysconf): Spell
46594 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46595
46596 2014-08-12 Florian Weimer <fweimer@redhat.com>
46597
46598 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46599 loading.
46600 * iconv/Versions (__gconv_transliterate): Export for use from
46601 gconv modules.
46602 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46603 (struct __gconv_trans_data, __gconv_trans_fct,
46604 __gconv_trans_context_fct, __gconv_trans_query_fct,
46605 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46606 definitions.
46607 (struct __gconv_step_data): Remove __trans member.
46608 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46609 longer hidden. Remove unused trans_data argument.
46610 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46611 (__gconv_translit_find): Remove declaration.
46612 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46613 prototype.
46614 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46615 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46616 trans_data argument. Add hidden definition.
46617 (__gconv_translit_find): Remove.
46618 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46619 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46620 * iconv/skeleton.c: Remove transliteration initialization.
46621 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46622 __gconv_step_data initialization.
46623 * libio/iofwide.c (__libio_translit_): Remove.
46624 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46625 * wcsmbs/btowc.c (__btowc): Likewise.
46626 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46627 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46628 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46629 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46630 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46631 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46632 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46633 * wcsmbs/wctob.c (wctob): Likewise.
46634
46635 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46636
46637 [BZ #16194]
46638 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46639 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46640 register usage.
46641 * sysdeps/x86/Makefile: Adjust.
46642
46643 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46644 Roland McGrath <roland@hack.frob.com>
46645
46646 * locale/weight.h: Add include guard.
46647 (findidx): Make static rather than auto; take new parameters
46648 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46649 * locale/weightwc.h: Likewise.
46650 * posix/fnmatch_loop.c
46651 (FCT): Change type of EXTRA from int32_t to wint_t.
46652 Don't include either header inside the function.
46653 Call FINDIDX rather than findidx, and pass new arguments.
46654 #undef FINDIDX at the end of the file.
46655 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46656 FINDIDX before including fnmatch_loop.c for the non-wide version.
46657 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46658 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46659 for the wide version.
46660 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46661 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46662 Pass new arguments to findidx.
46663 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46664 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46665 Don't #include it inside the function. Pass new arguments to findidx.
46666 * posix/regex_internal.h
46667 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46668 (re_string_elem_size_at): Don't #include it inside the function.
46669 Pass new arguments to findidx.
46670 * string/strcoll_l.c: #include WEIGHT_H at top level.
46671 (get_next_seq): Don't #include it inside the function.
46672 Pass new arguments to findidx.
46673 (get_next_seq_nocache): Likewise.
46674 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46675 (STRXFRM): Don't #include it inside the function.
46676 Pass new arguments to findidx.
46677
46678 2014-09-11 Florian Weimer <fweimer@redhat.com>
46679
46680 [BZ #17344]
46681 * malloc/malloc.c (unlink): Turn asserts into a call to
46682 malloc_printerr.
46683
46684 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46685
46686 [BZ #17370]
46687 * libio/wfileops (do_ftell_wide): Free OUT.
46688
46689 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46690
46691 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46692
46693 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46694
46695 [BZ #17363]
46696 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46697 group if the current group is empty.
46698
46699 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46700
46701 * benchtests/bench-memset.c (test_main): Add more test from size
46702 from 32 to 512 bytes.
46703 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46704 Add POWER8 memset object.
46705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46706 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46707 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46708 implementation.
46709 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46710 Likewise.
46711 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46712 multiarch POWER8 memset optimization.
46713 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46714 POWER8 memset optimization.
46715
46716 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46717 Remove bzero multiarch objects.
46718 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46719 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46720 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46721 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46722 Remove define.
46723 [__bzero]: Redefine to specific name.
46724 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46725 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46726 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46727 define.
46728 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46729 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46730
46731 2014-09-10 Florian Weimer <fweimer@redhat.com>
46732
46733 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46734 warnings into errors.
46735
46736 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46737 __cxa_thread_atexit_impl prototype.
46738
46739 2014-09-09 Steve Ellcey <sellcey@mips.com>
46740
46741 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46742 Fix capitalization of error message.
46743
46744 2014-09-09 Steve Ellcey <sellcey@mips.com>
46745
46746 * sysdeps/mips/preconfigure: Modify ABI tests.
46747
46748 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46749
46750 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46751
46752 2014-09-07 Roland McGrath <roland@hack.frob.com>
46753 Carlos O'Donell <carlos@systemhalted.org>
46754
46755 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46756 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46757 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46758 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46759 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46761 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46762 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46763 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46766 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46767 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46768 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46769 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46770 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46771 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46772 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46773 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46774 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46775 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46776 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46777 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46778 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46779 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46780 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46781 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46782 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46783 Deconditionalize the code that was previously under [RESET_PID].
46784 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46785 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46786 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46787 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46788 include sysdep.h.
46789
46790 2014-09-08 Allan McRae <allan@archlinux.org>
46791
46792 * version.h (RELEASE): Set to "development".
46793 (VERSION): Set to "2.20.90"
46794
46795 2014-09-07 Allan McRae <allan@archlinux.org
46796
46797 * version.h (RELEASE): Set to "stable".
46798 (VERSION): Set to "2.20"
46799 * include/features.h (__GLIBC_MINOR__): Set to 20.
46800
46801 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46802 Liebler.
46803
46804 * po/ko.po: Update Korean translation from translation project.
46805
46806 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46807
46808 [BZ #17354]
46809 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46810 macro for handling signed relocations.
46811
46812 2014-09-03 Florian Weimer <fweimer@redhat.com>
46813
46814 [BZ #17325]
46815 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46816 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46817 assert.
46818 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46819 * iconvdata/ibm935.c (BODY): Likewise.
46820 * iconvdata/ibm937.c (BODY): Likewise.
46821 * iconvdata/ibm939.c (BODY): Likewise.
46822 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46823 assert.
46824 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46825 script.
46826 * iconvdata/run-iconv-test.sh: New test loop for checking for
46827 decoder crashers.
46828
46829 2014-09-02 Khem Raj <raj.khem@gmail.com>
46830
46831 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46832 libm_hidden_ver.
46833
46834 2014-09-01 Allan McRae <allan@archlinux.org>
46835
46836 * po/eo.po: Update Esperanto translation from translation project.
46837
46838 * po/ca.po: Update Catalan translation from translation project.
46839
46840 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46841
46842 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46843 __proc_dostop call.
46844
46845 2014-08-27 Mark Wielaard <mjw@redhat.com>
46846
46847 [BZ #17319]
46848 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46849 to call set_thread_area instead of hand written asm.
46850 (__NR_set_thread_area): Removed define.
46851 (TLS_FLAG_WRITABLE): Likewise.
46852 (__ASSUME_SET_THREAD_AREA): Remove check.
46853 (TLS_EBX_ARG): Remove define.
46854 (TLS_LOAD_EBX): Likewise.
46855
46856 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46857
46858 Simplify atomicity of socket creation in bind.
46859
46860 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46861 looking up the name after linking the file.
46862
46863 2014-08-27 Allan McRae <allan@archlinux.org>
46864
46865 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46866
46867 2014-08-26 Florian Weimer <fweimer@redhat.com>
46868
46869 [BZ #17187]
46870 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46871 trans_compare, open_translit, __gconv_translit_find):
46872 Remove module loading code.
46873
46874 2014-08-26 Allan McRae <allan@archlinux.org>
46875
46876 * po/vi.po: Update Vietnamese translation from translation project.
46877
46878 * po/uk.po: Update Ukrainian translation from translation project.
46879
46880 * po/fr.po: Update French translation from translation project.
46881
46882 * po/ru.po: Update Russian translation from translation project.
46883
46884 * po/pl.po: Update Polish translation from translation project.
46885
46886 * po/cs.po: Update Czech translation from translation project.
46887
46888 * po/de.po: Update German translation from translation project.
46889
46890 * po/bg.po: Update Bulgarian translation from translation project.
46891
46892 * po/sv.po: Update Sweedish translation from translation project.
46893
46894 * po/nl.po: Update Dutch translation from translation project.
46895
46896 * po/es.po: Update Spanish translation from translation project.
46897
46898 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46899
46900 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46901
46902 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46903 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46904 (CPPFLAGS-iconvconfig): Likewise.
46905 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46906
46907 * include/libc-symbols.h: Remove unnecessary check for
46908 NOT_IN_libc.
46909 * nptl/pthreadP.h: Likewise.
46910 * sysdeps/aarch64/setjmp.S: Likewise.
46911 * sysdeps/alpha/setjmp.S: Likewise.
46912 * sysdeps/arm/sysdep.h: Likewise.
46913 * sysdeps/i386/setjmp.S: Likewise.
46914 * sysdeps/m68k/setjmp.c: Likewise.
46915 * sysdeps/posix/getcwd.c: Likewise.
46916 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46917 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46918 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46919 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46920 * sysdeps/sh/sh3/setjmp.S: Likewise.
46921 * sysdeps/sh/sh4/setjmp.S: Likewise.
46922 * sysdeps/unix/alpha/sysdep.h: Likewise.
46923 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46924 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46925 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46926 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46929 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46931 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46934 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46936 * sysdeps/x86_64/setjmp.S: Likewise.
46937
46938 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46939
46940 [BZ #17263]
46941 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46942 <stdint.h>.
46943 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46944 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46945
46946 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46947
46948 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46949
46950 [BZ #17262]
46951 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46952 and __x86_64__ when disabling x87 inline functions.
46953
46954 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46955
46956 [BZ #17259]
46957 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46958 asm statement with __cpuid_count.
46959
46960 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46961
46962 * configure.ac: Change __ehdr_start code to dereference the struct.
46963 Run readelf on the output to look for relocations.
46964 * configure: Regenerated.
46965
46966 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46967
46968 [BZ #17261]
46969 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46970 value to 0.
46971 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46972
46973 2014-08-12 Roland McGrath <roland@hack.frob.com>
46974
46975 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46976
46977 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46978
46979 [BZ #16892]
46980 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46981 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46982
46983 2014-08-12 Sean Anderson <seanga2@gmail.com>
46984
46985 * malloc/malloc.c: Fix typo in comment.
46986
46987 2014-08-09 Allan McRae <allan@archlinux.org>
46988
46989 * Regenerate libc.po.
46990
46991 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46992
46993 * intl/tst-gettext2.sh: Check every lang file for creation.
46994
46995 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46996
46997 * sysdeps/aarch64/fpu/math_private.h
46998 (libc_feholdsetround_noex_aarch64_ctx): New function.
46999
47000 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
47001
47002 * sysdeps/arm/armv6/strcpy.S (strcpy):
47003 Fix performance issue in misaligned cases.
47004
47005 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47006
47007 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
47008 Move definition from termios.h.
47009 (struct termio): Likewise.
47010 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47011 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47012 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47013 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47014 Likewise.
47015 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
47016 Move definition to ioctl-types.h
47017 (struct termio): Likewise.
47018 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47019 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47020 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47021 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47022 Likewise.
47023
47024 2014-08-05 Richard Henderson <rth@redhat.com>
47025
47026 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
47027 exceptions.
47028 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
47029 Add fraiseexcpt.
47030 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
47031 Use __feraiseexcept.
47032 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
47033 Protect libm symbols with IS_IN_libm.
47034
47035 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
47036
47037 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
47038
47039 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
47040
47041 2014-08-04 Will Newton <will.newton@linaro.org>
47042
47043 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
47044 file.
47045
47046 2014-08-04 Mike Frysinger <vapier@gentoo.org>
47047
47048 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
47049 variants for each function.
47050
47051 2014-08-04 Roland McGrath <roland@hack.frob.com>
47052
47053 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
47054 appended ...
47055 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
47056 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
47057 appended ...
47058 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
47059 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
47060 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
47061 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
47062 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
47063 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
47064 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
47065 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
47066 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
47067 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
47068 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
47069 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
47070 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
47071 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
47072 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
47073 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
47074 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
47075 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
47076 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
47077 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
47078 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
47079 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
47080 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
47081 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
47082 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
47083 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
47084 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
47085 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
47086 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
47087 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
47088 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
47089 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
47090 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
47091 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
47092 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
47093 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
47094 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
47095 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
47096 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
47097 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
47098 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
47099 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
47100 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
47101 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
47102 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
47103 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
47104 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
47105 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
47106 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
47107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
47108 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
47109 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
47110 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
47111 Update #include.
47112 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
47113 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
47114
47115 2014-08-04 Roland McGrath <roland@hack.frob.com>
47116
47117 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
47118 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
47119 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
47120 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
47121 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
47122 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
47123
47124 2014-08-04 Roland McGrath <roland@hack.frob.com>
47125
47126 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
47127 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
47128 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47129 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
47130
47131 2014-08-04 Roland McGrath <roland@hack.frob.com>
47132
47133 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
47134 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
47135 (__libc_vfork): Define function under this name.
47136 (__vfork): Define as an alias.
47137 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
47138 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
47139
47140 2014-08-04 Roland McGrath <roland@hack.frob.com>
47141
47142 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
47143 that was previously under [RESET_PID].
47144 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
47145
47146 2014-08-04 Andreas Schwab <schwab@suse.de>
47147
47148 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
47149
47150 2014-08-03 Mike Frysinger <vapier@gentoo.org>
47151
47152 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47153 (main): Likewise.
47154
47155 2014-08-01 Roland McGrath <roland@hack.frob.com>
47156
47157 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47158
47159 2014-08-01 Richard Henderon <rth@redhat.com>
47160
47161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47162 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47163 typo in exact zero test.
47164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47165 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47167
47168 2014-08-01 Roland McGrath <roland@hack.frob.com>
47169
47170 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47171 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47172 * sysdeps/arm/sysdep.h: ... here.
47173 [!__ASSEMBLER__]: Include <stdint.h>.
47174
47175 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47176
47177 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47178 (HAVE_WCTYPE_H): Likewise.
47179 (HAVE_ISWCTYPE): Likewise.
47180 (ENABLE_NLS): Likewise.
47181 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47182 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47183
47184 * posix/regex_internal.c: Check if DEBUG is defined and is
47185 set.
47186
47187 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47188 (HAVE_MBSRTOWCS): Likewise.
47189 * posix/fnmatch.c: Include string.h unconditionally.
47190
47191 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47192
47193 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47194 reversal.
47195
47196 2014-07-31 Roland McGrath <roland@hack.frob.com>
47197
47198 * sysdeps/generic/safe-fatal.h: New file.
47199 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47200 * nptl/forward.c: Include it.
47201 (__pthread_unwind): Use __safe_fatal as default action, rather
47202 than a bogus use of INTERNAL_SYSCALL that could never work.
47203
47204 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47205 * configure.ac (libc_cv_builtin_trap): New test.
47206 * configure: Regenerated.
47207 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47208 (ABORT_INSTRUCTION): Define using __builtin_trap.
47209
47210 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47211 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47212 * sysdeps/nptl/nptl-signals.h: New file.
47213 * nptl/pthreadP.h: Include <nptl-signals.h>.
47214
47215 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47216
47217 * sysdeps/s390/s390-64/utf16-utf32-z9.c
47218 (ONE_DIRECTION): Define.
47219 * sysdeps/s390/s390-64/utf8-utf16-z9.c
47220 (ONE_DIRECTION): Define.
47221 * sysdeps/s390/s390-64/utf8-utf32-z9.c
47222 (ONE_DIRECTION): Define.
47223
47224 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47225
47226 * sysdeps/s390/Makefile: Delete file.
47227 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47228 * sysdeps/s390/__longjmp.c: Delete file.
47229 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47230 Remove fields __flags and __reserved.
47231 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47232 and add versioning.
47233 * sysdeps/s390/rtld-__longjmp.c: Delete file.
47234 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47235 * sysdeps/s390/rtld-setjmp.S: Likewise.
47236 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47237 * sysdeps/s390/s390-32/__longjmp.c: ... here.
47238 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47239 * sysdeps/s390/s390-32/setjmp.S: ... here.
47240 Add versioning.
47241 (__sigsetjmp): Remove setting __flags field.
47242 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47243 * sysdeps/s390/s390-64/__longjmp.c: ... here.
47244 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47245 * sysdeps/s390/s390-64/setjmp.S: ... here.
47246 Add versioning.
47247 (__sigsetjmp): Remove setting __flags field.
47248 * sysdeps/s390/setjmp.S: Delete file.
47249 * sysdeps/s390/sigjmp.c: Likewise.
47250 * sysdeps/s390/v1-longjmp.c: Likewise.
47251 * sysdeps/s390/v1-setjmp.h: Likewise.
47252 * sysdeps/s390/v1-sigjmp.c: Likewise.
47253 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47254 Remove v1-longjmp_chk.
47255 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47256 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47257 Include debug/longjmp_chk.c and add versioning.
47258 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47259 Include nptl/pt-longjmp.c and add versioning.
47260 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47261 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47262 Include __longjmp.c.
47263 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47264 Move to ...
47265 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47266 (__getcontext): Remove setting __flags field.
47267 Add versioning.
47268 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47269 Don't restore upper high grps.
47270 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47271 Likewise.
47272 (__swapcontext): Remove setting uc_flags field.
47273 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47274 Delete file.
47275 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47276 Include __longjmp.c.
47277 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47278 Move to ...
47279 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47280 (__getcontext): Remove setting __flags field.
47281 Add versioning.
47282 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47283 (__swapcontext): Remove setting uc_flags field.
47284 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47285 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47286 Remove fields uc_high_gprs and __reserved.
47287 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47288 New file with reverted content.
47289 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47290 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47291 Regenerated.
47292 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47293 Regenerated.
47294
47295 2014-07-31 Andreas Schwab <schwab@suse.de>
47296
47297 * config.h.in (HAVE_IFUNC): Define to 0.
47298 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47299 definedness.
47300
47301 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
47302
47303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47304 memmove-avx-unaligned, memcpy-avx-unaligned and
47305 mempcpy-avx-unaligned.
47306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47307 Add tests for AVX memcpy functions.
47308 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47309 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47310 memcpy_chk.
47311 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47312 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47313 memmove_chk.
47314 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47315 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47316 mempcpy_chk.
47317 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47318 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47319 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47320
47321 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47322
47323 [BZ #17213]
47324 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47325 powerpc64le.
47326
47327 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
47328
47329 [BZ #16839]
47330 * manual/llio.texi: Add section about open file description locks.
47331 * manual/examples/ofdlocks.c: Example of open file description
47332 lock usage.
47333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47334 F_OFD_SETLK, and F_OFD_SETLKW.
47335
47336 2014-07-23 Allan McRae <allan@archlinux.org>
47337
47338 * po/es.po: Update Spanish translation from translation project.
47339
47340 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
47341
47342 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47343
47344 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
47345
47346 [BZ #17078]
47347 * sysdeps/arm/dl-machine.h (elf_machine_rela)
47348 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47349 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47350
47351 2014-07-17 Joseph Myers <joseph@codesourcery.com>
47352
47353 [BZ #17088]
47354 * math/fesetenv.c (__fesetenv)
47355 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47356 * math/feupdateenv.c (__feupdateenv)
47357 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47358
47359 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47360 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47361 (__ASSUME_SOCKETCALL): Do not define.
47362
47363 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47364 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47365 (__ASSUME_SOCKETCALL): Do not define.
47366 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47367 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47368 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47369 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47370 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47371 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47372 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47373 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47374
47375 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47376 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47377 (__ASSUME_SOCKETCALL): Do not define.
47378 (__ASSUME_IPC64): Define unconditionally.
47379 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47380 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47381 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47382 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47383 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47384 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47385 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47386 Likewise.
47387
47388 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47389 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47390 (__ASSUME_SOCKETCALL): Do not define.
47391 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47392 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47393 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47394 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47395 (__ASSUME_REQUEUE_PI): Define unconditionally.
47396 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47397 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47398 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47399 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47401 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47402
47403 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47404 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47405 (__ASSUME_SOCKETCALL): Do not define.
47406 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47407 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47408 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47409 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47410 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47411 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47412
47413 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47414 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47415 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47416 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47417 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47418 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47419 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47420 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47421 (__ASSUME_GETCPU_SYSCALL): Likewise.
47422
47423 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47424 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47425 cases for individual architectures.
47426 * sysdeps/gnu/configure: Regenerated.
47427 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47428 LIBC_SLIBDIR_RTLDDIR.
47429 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47430 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47431 LIBC_SLIBDIR_RTLDDIR.
47432 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47434 LIBC_SLIBDIR_RTLDDIR.
47435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47436 Regenerated.
47437 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47438 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47439 file.
47440 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47441 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47442 file.
47443 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47444 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47445 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47446 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47447
47448 * sysdeps/aarch64/shlib-versions: Move to ...
47449 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47450 * sysdeps/alpha/shlib-versions: Move to ...
47451 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47452 * sysdeps/arm/shlib-versions: Move to ...
47453 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47454 * sysdeps/hppa/shlib-versions: Move all contents except for
47455 libgcc_s entry to ...
47456 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47457 entry from ...
47458 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47459 * sysdeps/ia64/shlib-versions: Move to ...
47460 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47461 entry from ...
47462 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47463 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47464 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47465 * sysdeps/microblaze/shlib-versions: Move to ...
47466 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47467 * sysdeps/mips/shlib-versions: Move to ...
47468 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47469 entry from ...
47470 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47471 * sysdeps/tile/shlib-versions: Move to ...
47472 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47473 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47474 from ...
47475 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47476 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47477 entry from ...
47478 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47479
47480 2014-07-17 Will Newton <will.newton@linaro.org>
47481
47482 * sysdeps/arm/bits/atomic.h
47483 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47484 (__arch_compare_and_exchange_bool_16_int): Likewise.
47485 (__arch_compare_and_exchange_bool_64_int): Likewise.
47486
47487 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47488 into an #else block.
47489
47490 2014-07-16 Roland McGrath <roland@hack.frob.com>
47491
47492 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47493 just Linux configurations. Test empirically that the compiler sets
47494 __ARM_EABI__, rather than using the tuple to decide.
47495 * sysdeps/arm/preconfigure: Regenerated.
47496 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47497 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47498 contents appended ...
47499 * sysdeps/arm/configure.ac: ... here.
47500 * sysdeps/arm/configure: Regenerated.
47501
47502 2014-07-15 Roland McGrath <roland@hack.frob.com>
47503
47504 * nptl/pthread_kill.c: New file.
47505 * nptl/pthread_sigmask.c: New file.
47506 * nptl/pthread_sigqueue.c: New file.
47507
47508 * sysdeps/nptl/lowlevellock.h: New file.
47509 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47510 * sysdeps/nptl/lowlevellock-futex.h: New file.
47511
47512 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47513 Remove dead declarations.
47514
47515 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47516
47517 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47518 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47519 config-cflags-avx2.
47520 * sysdeps/x86_64/configure.ac: Likewise.
47521 * sysdeps/i386/configure: Regenerated.
47522 * sysdeps/x86_64/configure: Likewise.
47523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47524 memset-avx2 only if config-cflags-avx2 is yes.
47525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47526 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47527 defined.
47528 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47529 only if HAVE_AVX2_SUPPORT is defined.
47530 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47531
47532 2014-07-14 Alan Modra <amodra@gmail.com>
47533
47534 [BZ #17153]
47535 * elf/elf.h (DT_PPC64_NUM): Correct value.
47536 * NEWS: Add to fixed bug list.
47537
47538 2014-07-13 Jim Meyering <meyering@fb.com>
47539
47540 [BZ 17150]
47541 regex: don't deref NULL upon heap allocation failure
47542 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47543 failure in one more place.
47544 To trigger the segfault, configure grep -with-included-regex,
47545 build it, and run these commands:
47546 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47547
47548 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47549
47550 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47551
47552 2014-07-11 Richard Henderson <rth@redhat.com>
47553
47554 * sysdeps/aarch64/libm-test-ulps: Update.
47555
47556 2014-07-10 Florian Weimer <fweimer@redhat.com>
47557
47558 [BZ #17135]
47559 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47560 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47561 (__nptl_setxid): Initialize error member. Call
47562 __nptl_setxid_error.
47563 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47564 * nptl/descr.h (struct xid_command): Add error member.
47565 * nptl/tst-setuid3.c: New file.
47566 * nptl/Makefile (tests): Add it.
47567
47568 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47569
47570 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47571 New define.
47572 (__lll_trylock): Use __lll_base_trylock.
47573 (__lll_cond_trylock): Likewise.
47574
47575 2014-07-10 Roland McGrath <roland@hack.frob.com>
47576
47577 * nptl/pthread_create.c (start_thread): Use atomic_or and
47578 lll_futex_wake directly rather than lll_robust_dead.
47579 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47580 (lll_robust_dead): Macro removed.
47581 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47582 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47583 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47584 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47585 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47586 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47587 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47588 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47589 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47590 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47591 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47592 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47593 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47594 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47595 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47596
47597 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47598 Use atomic_compare_and_exchange_val_acq directly rather than
47599 lll_robust_trylock.
47600 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47601 (__lll_robust_trylock, lll_robust_trylock): Removed.
47602 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47603 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47604 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47605 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47606 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47607 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47608 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47609 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47610 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47611 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47612 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47613 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47614 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47615 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47616
47617 2014-07-02 Florian Weimer <fweimer@redhat.com>
47618
47619 * manual/locale.texi (Locale Names): New section documenting
47620 locale name syntax. Adjust menu and node chaining accordingly.
47621 (Choosing Locale): Reference Locale Names, Locale Categories.
47622 Mention setting LC_ALL=C. Reflect that name syntax is now
47623 documented.
47624 (Locale Categories): New section title. Reference Locale Names.
47625 LC_ALL is an environment variable, but not a category.
47626 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47627 description, now in Locale Name. Reference that section. Locale
47628 name syntax is now documented.
47629
47630 2014-07-02 Florian Weimer <fweimer@redhat.com>
47631
47632 [BZ #17137]
47633 * locale/findlocale.c (name_present, valid_locale_name): New
47634 functions.
47635 (_nl_find_locale): Use the loc_name variable to store name
47636 candidates. Call name_present and valid_locale_name to check and
47637 validate locale names. Return an error if the locale is invalid.
47638
47639 2014-07-02 Florian Weimer <fweimer@redhat.com>
47640
47641 * locale/setlocale.c (setlocale): Use strdup for allocating
47642 composite name copy.
47643
47644 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47645
47646 Sync up with gnulib.
47647 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47648 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47649 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47650 and _GL_ARG_NONNULL.
47651 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47652 [!_LIBC]: Include code for Windows and Cygwin.
47653 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47654 Include prototype for int strerror_r.
47655 [!_LIBC] (is_open): New function.
47656 (flush_stdout): New function.
47657 (print_errno_message): Use it.
47658 (error): Likewise.
47659 (error_at_line): Likewise.
47660 (error_tail) Add function attribute macros. Use
47661 __builtin_expect.
47662
47663 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47664
47665 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47666
47667 * io/ftw.c: Include sys/param.h unconditionally.
47668
47669 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47670
47671 [BZ #17125]
47672 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47673 libc_freeres_ptr.
47674 (freecache): New function to free CACHE on exit.
47675
47676 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47677 initialization.
47678
47679 2014-07-09 David S. Miller <davem@davemloft.net>
47680
47681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47682
47683 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47684 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47685 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47686 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47687 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47688 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47689 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47690 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47691 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47692 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47693 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47694 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47695 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47696
47697 2014-07-09 Andreas Schwab <schwab@suse.de>
47698
47699 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47700 output.
47701 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47702 (do_test): Likewise.
47703
47704 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47705
47706 2014-07-09 Will Newton <will.newton@linaro.org>
47707
47708 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47709 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47710 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47711 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47712 * sysdeps/hppa/start.S (_start): Likewise.
47713
47714 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47715
47716 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47717
47718 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47719 defined.
47720
47721 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47722
47723 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47724 after checking that it is non-NULL.
47725
47726 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47727
47728 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47729
47730 * sysdeps/powerpc/memmove.c: Remove file.
47731 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47732 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47733 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47734 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47735 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47736 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47737 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47738 string memmove instead of removed powerpc one.
47739
47740 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47741 [weak_alias]: Fix compiler warning due trailing data.
47742 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47743 [weak_alias]: Likewise.
47744 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47745 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47746
47747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47748 (__libc_ifunc_impl_list): Add memmove functions.
47749
47750 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47751
47752 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47753 Remove code.
47754 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47755 Likewise.
47756 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47757 Likewise.
47758 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47759 Likewise.
47760 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47761 Likewise.
47762 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47763 Likewise.
47764 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47765 Likewise.
47766 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47767 Likewise.
47768 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47769 Likewise.
47770 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47771 Likewise.
47772 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47773 Likewise.
47774 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47775 Likewise.
47776 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47777 Likewise.
47778 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47779 Likewise.
47780 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47781 Likewise.
47782 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47783 Likewise.
47784 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47785 Likewise.
47786
47787 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47788
47789 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47790 to avoid alignment traps in non-cacheable memory.
47791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47792
47793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47794 multiarch objects.
47795 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47796 file: multiarch power7 memmove.
47797 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47798 multiarch default memmove.
47799 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47800 multiarch memove for powerpc32/power4.
47801
47802 * string/bcopy.c: Use full path to include memmove.c.
47803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47804 multiarch objects.
47805 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47806 bcopy for powerpc64.
47807 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47808 bcopy for powerpc64.
47809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47810 and memmove implementations.
47811 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47812 optimized multiarch memmove for POWER7/powerpc64.
47813 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47814 default multiarch memmove for powerpc64.
47815 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47816 multiarch for powerpc64.
47817 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47818 for POWER7/powerpc64.
47819 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47820 memmove for POWER7/powerpc64.
47821
47822 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47823 glibc default one.
47824
47825 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47826 __ELF_NATIVE_CLASS equal to 64.
47827
47828 2014-07-07 Roland McGrath <roland@hack.frob.com>
47829
47830 * sysdeps/nptl/lowlevellock.h: File removed.
47831
47832 * NEWS: NPTL is no longer an add-on!
47833 * nptl/internaltypes.h: Moved ...
47834 * sysdeps/nptl/internaltypes.h: ... here.
47835 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47836 * sysdeps/nptl/fork.c: Likewise.
47837 * sysdeps/nptl/gai_misc.h: Likewise.
47838 * sysdeps/nptl/librt-cancellation.c: Likewise.
47839 * sysdeps/nptl/jmp-unwind.c: Likewise.
47840 * sysdeps/nptl/setxid.h: Likewise.
47841 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47842 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47843 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47844 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47845 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47846 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47847 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47848 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47849 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47850 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47851 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47852 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47853 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47854 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47855 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47856 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47857 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47858 * nptl/Makeconfig: Moved ...
47859 * sysdeps/nptl/Makeconfig: ... here.
47860 * nptl/configure: File removed.
47861 * nptl/ANNOUNCE: File removed.
47862 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47863 * sysdeps/unix/sysv/linux/configure: Regenerated.
47864
47865 * nptl/Makefile (routines): Add libc_pthread_init,
47866 libc_multiple_threads, register-atfork and unregister-atfork.
47867 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47868 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47869 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47870 pthread-pi-defines.sym, structsem.sym.
47871 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47872 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47873 [$(subdir) = nptl] (tests): Add tst-setgetname.
47874 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47875 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47876 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47877 [!LIBC_SIGACTION]: Remove aliases.
47878 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47879 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47880 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47881 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47882 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47883 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47885 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47886 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47887 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47888 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47889 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47890 __libc_allocate_rtsig_private.
47891 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47892 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47893 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47894 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47895 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47896 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47897 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47898 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47899 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47900 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47901 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47902 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47903 * nptl/internaltypes.h: ... here.
47904 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47905 * sysdeps/nptl/jmp-unwind.c: ... here.
47906 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47907 * nptl/libc-lowlevellock.c: ... here.
47908 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47909 * nptl/libc_multiple_threads.c: ... here.
47910 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47911 * nptl/libc_pthread_init.c: ... here.
47912 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47913 * nptl/lowlevelbarrier.sym: ... here.
47914 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47915 * nptl/lowlevelcond.sym: ... here.
47916 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47917 * nptl/lowlevellock.c: ... here.
47918 * nptl/lowlevellock.h: Moved ...
47919 * sysdeps/nptl/lowlevellock.h: ... here.
47920 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47921 * nptl/lowlevelrobustlock.c: ... here.
47922 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47923 * nptl/lowlevelrobustlock.sym: ... here.
47924 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47925 * nptl/lowlevelrwlock.sym: ... here.
47926 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47927 * nptl/pt-fork.c: ... here.
47928 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47929 * nptl/pthread-pi-defines.sym: ... here.
47930 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47931 * nptl/pthread_attr_getaffinity.c: ... here.
47932 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47933 * nptl/pthread_attr_setaffinity.c: ... here.
47934 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47935 * nptl/pthread_mutex_cond_lock.c: ... here.
47936 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47937 Update #include.
47938 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47939 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47940 * nptl/pthread_once.c: ... here, replacing old file.
47941 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47942 * nptl/pthread_yield.c: ... here.
47943 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47944 * nptl/register-atfork.c: ... here.
47945 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47946 * nptl/sem_post.c: ... here.
47947 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47948 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47949 * nptl/sem_timedwait.c: ... here.
47950 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47951 * nptl/sem_trywait.c: ... here.
47952 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47953 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47954 * nptl/sem_wait.c: ... here.
47955 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47956 * nptl/structsem.sym: ... here.
47957 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47958 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47959 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47960 * nptl/unregister-atfork.c: ... here.
47961 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47962 * nptl/unwindbuf.sym: ... here.
47963 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47964 * sysdeps/nptl/fork.c: ... here.
47965 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47966 * sysdeps/nptl/fork.h: ... here.
47967 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47968 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47969 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47970 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47971 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47972 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47973 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47974 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47975 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47976 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47977 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47978 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47979 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47980 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47981 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47982 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47983 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47984 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47985 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47986 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47987 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47988 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47989 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47990 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47991 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47992 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47993 * sysdeps/unix/sysv/linux/raise.c: ... here.
47994 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47995 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47996 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47997 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47998 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47999 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
48000 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
48001 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
48002 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
48003 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
48004 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
48005 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
48006 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
48007 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
48008 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
48009
48010 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48011
48012 * sysdeps/generic/memcopy.h: Add comment for
48013 MEMCPY_OK_FOR_FWD_MEMMOVE.
48014
48015 2014-07-04 Will Newton <will.newton@linaro.org>
48016
48017 * string/memchr.c: Merge from gnulib.
48018 [_LIBC]: Remove conditionals.
48019 (__ptr_t): Remove define.
48020 (LONG_MAX_32_BITS): Likewise.
48021 (LONG_MAX): Likewise.
48022 (MEMCHR): Use ANSI prototype and optimize algorithm.
48023
48024 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
48025
48026 2014-07-03 Roland McGrath <roland@hack.frob.com>
48027
48028 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
48029 (lll_futex_timed_wait_bitset): Fix syscall argument count.
48030
48031 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
48032 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
48033 in a bare environment with no <stdlib.h> installed.
48034 * sysdeps/nptl/configure: Regenerated.
48035
48036 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
48037
48038 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
48039 AC_EGREP_CPP for kernel header checks, so they only succeed if
48040 including <linux/version.h> actually works right.
48041 * sysdeps/unix/sysv/linux/configure: Regenerated.
48042
48043 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
48044 value so it's not diagnosed as unused.
48045
48046 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
48047 thing) with "ifeq ($(subdir),rt)".
48048
48049 2014-07-03 Richard Henderson <rth@redhat.com>
48050
48051 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
48052 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
48053 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
48054
48055 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
48056 (math_force_eval): New.
48057
48058 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
48059 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
48060
48061 * sysdeps/alpha/fpu/s_round.c: Remove file.
48062 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
48063
48064 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
48065 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
48066 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
48067 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
48068 (_dl_start, print_statistics): Likewise.
48069 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
48070 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
48071
48072 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48073 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48074 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48075 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48076 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48077 (HP_SMALL_TIMING_AVAIL): Define.
48078 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48080 (HP_SMALL_TIMING_AVAIL): Define.
48081 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48082 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48083
48084 * sysdeps/aarch64/hp-timing.h: New file.
48085
48086 * sysdeps/generic/hp-timing.h: Remove dead comment.
48087 * sysdeps/generic/hp-timing-common.h: New file.
48088 * sysdeps/alpha/hp-timing.h: Include it.
48089 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
48090 * sysdeps/i386/i686/hp-timing.h: Likewise.
48091 * sysdeps/ia64/hp-timing.h: Likewise.
48092 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48093 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48095 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48096 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
48097 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
48098 (hp_timing_t): New.
48099
48100 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
48101 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
48102 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
48103 * elf/rtld.c (_dl_start_final): Likewise.
48104 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
48105 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48106 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48107 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48108 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48109 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48110 (HP_TIMING_DIFF_INIT): Remove.
48111 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48112 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48113 (HP_TIMING_DIFF_INIT): Remove.
48114 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48115 * sysdeps/i386/i686/hp-timing.c: Remove file.
48116 * sysdeps/x86_64/hp-timing.c: Remove file.
48117 * sysdeps/ia64/hp-timing.c: Remove file.
48118 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
48119 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
48120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
48121 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
48122
48123 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
48124 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
48125 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
48126 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48128 (HP_TIMING_ACCUM): Remove.
48129 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
48131 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48132
48133 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
48134 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
48135 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
48136 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
48137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
48138 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48139 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
48140 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48141
48142 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
48143
48144 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
48145
48146 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
48147
48148 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48149
48150 Sync up with gettext.
48151 * intl/loadmsgcat.c: Define O_BINARY if not defined.
48152 [_MSC_VER]: Include malloc.h
48153 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48154 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48155 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
48156 TEMP_FAILURE_RETRY. Cast return of alloca.
48157 [!_LIBC] Call gl_rwlock_init.
48158 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48159
48160 2014-07-02 Roland McGrath <roland@hack.frob.com>
48161
48162 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48163 before checking its value.
48164
48165 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48166
48167 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48168
48169 * debug/memcpy_chk.c: Don't include pagecopy.h.
48170 * debug/mempcpy_chk.c: Likewise.
48171 * string/memcpy.c: Likewise.
48172 * string/memmove.c: Likewise.
48173 * sysdeps/powerpc/memmove.c: Likewise.
48174 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
48175 definition of PAGE_COPY_FWD_MAYBE here...
48176 * sysdeps/generic/pagecopy.h: ... from here.
48177 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48178
48179 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
48180 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48181
48182 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48184 optimizations.
48185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48186 (__libc_ifunc_impl_list): Likewise.
48187 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48188 multiarch strcat for PPC64.
48189 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48190 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48191
48192 2014-07-02 Roland McGrath <roland@hack.frob.com>
48193
48194 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48195
48196 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48197
48198 * intl/loadmsgcat.c: Remove declaration of
48199 get_sysdep_segment_value.
48200 (get_sysdep_segment_value): Use ISO C style.
48201 (_nl_load_domain): Use ISO C style. Get rid of redundant
48202 semicolon. Fix typo and formatting in comment.
48203 (_nl_unload_domain): Use ISO C style.
48204
48205 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48206
48207 2014-07-02 Will Newton <will.newton@linaro.org>
48208
48209 * malloc/obstack.c: Merge from gnulib master.
48210 [HAVE_CONFIG_H]: Remove conditional code.
48211 [!_LIBC]: Include config.h.
48212 [!ELIDE_CODE]: Don't include inttypes.h, include
48213 stdint.h unconditionally.
48214 (print_and_abort): Mark as _Noreturn.
48215 (_obstack_allocated_p): Mark as __attribute_pure__.
48216 (obstack_free): Rename to __obstack_free.
48217 [!__attribute__]: Remove conditional code.
48218 * malloc/obstack.h: Merge from gnulib master.
48219 [__cplusplus]: Move conditional down.
48220 [!__attribute_pure__]: Define __attribute_pure__ here
48221 if it is not already defined.
48222 (_obstack_memory_used): Mark as __attribute_pure__.
48223 [!__obstack_free]: Define as obstack_free.
48224 [__GNUC__]: Remove check for ancient NeXT gcc.
48225
48226 2014-07-02 Will Newton <will.newton@linaro.org>
48227 Paul Eggert <eggert@cs.ucla.edu>
48228
48229 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48230
48231 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48232
48233 * resolv/gethnamaddr.c: Add comment warning that the file is
48234 not maintained.
48235
48236 2014-07-01 Carlos O'Donell <carlos@redhat.com>
48237
48238 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48239 entries.
48240
48241 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48242 entry for aio_cancel and aio_cancel64.
48243 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48244 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48245 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48246 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48247 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48248 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48249 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48250 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48251 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48252 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48253 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48254 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48255 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48256
48257 2014-07-01 Roland McGrath <roland@hack.frob.com>
48258
48259 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48260 * nptl/pthread_mutex_lock.c: Likewise.
48261 * nptl/pthread_mutex_timedlock.c: Likewise.
48262 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48263
48264 2014-07-01 Richard henderson <rth@redhat.com>
48265
48266 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48267 (__isnan, __isnanl): Remove.
48268 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48269
48270 * sysdeps/alpha/fpu/libm-test-ulps: Update.
48271
48272 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
48273
48274 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48275
48276 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
48277
48278 * resolv/nss_dns/dns-host.c (getanswer_r)
48279 [MULTI_PTRS_ARE_ALIASES]: Remove code.
48280
48281 2014-07-01 Joseph Myers <joseph@codesourcery.com>
48282
48283 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48284 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48285 undefine.
48286 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48287 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48288
48289 2014-07-01 Roland McGrath <roland@hack.frob.com>
48290
48291 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48292 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48293
48294 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48295 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48296
48297 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48298 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48299 ... here.
48300 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48301 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48302
48303 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48304 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48305 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48306 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48307
48308 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48309 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48310 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48311 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48312 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48313 Moved ...
48314 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48315 ... here.
48316 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48317 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48318 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48319 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48320 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48321 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48322 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48323 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48324 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48325 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48326 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48327 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48328 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48329 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48330 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48331 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48332 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48333 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48334 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48335 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48336 ... here.
48337 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48338 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48339 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48340 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48341 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48342 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48343 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48344 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48345
48346 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
48347
48348 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48349 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48350 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48351 Add sysdep.
48352
48353 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48354
48355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48356
48357 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48358
48359 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48360 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48361
48362 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48363
48364 * sysdeps/arm/libm-test-ulps: Regenerated.
48365
48366 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48367 Roland McGrath <roland@hack.frob.com>
48368
48369 * test-skeleton.c (signal_handler): Kill the whole process group
48370 before killing the child individually.
48371 (main): Report any failure on `setpgid'.
48372
48373 2014-06-30 Roland McGrath <roland@hack.frob.com>
48374
48375 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48376 from _TLS_H to _ARM_NPTL_TLS_H.
48377 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48378 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48379
48380 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48381
48382 [BZ #16539]
48383 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48384 (__expm1l): Return argument unchanged when small but not
48385 subnormal.
48386
48387 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48388 include macro name.
48389 (_FP_UNPACK_RAW_1_P): Likewise.
48390 (_FP_PACK_RAW_1): Likewise.
48391 (_FP_PACK_RAW_1_P): Likewise.
48392 (_FP_MUL_MEAT_1_wide): Likewise.
48393 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48394 (_FP_MUL_MEAT_1_hard): Likewise.
48395 (_FP_DIV_MEAT_1_imm): Likewise.
48396 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48397 (_FP_DIV_MEAT_1_udiv): Likewise.
48398 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48399 (_FP_UNPACK_RAW_2): Likewise.
48400 (_FP_UNPACK_RAW_2_P): Likewise.
48401 (_FP_PACK_RAW_2): Likewise.
48402 (_FP_PACK_RAW_2_P): Likewise.
48403 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48404 (_FP_MUL_MEAT_2_wide): Likewise.
48405 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48406 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48407 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48408 (_FP_MUL_MEAT_2_gmp): Likewise.
48409 (_FP_DIV_MEAT_2_udiv): Likewise.
48410 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48411 (_FP_FRAC_SRL_4): Likewise.
48412 (_FP_FRAC_SRST_4): Likewise.
48413 (_FP_FRAC_SRS_4): Likewise.
48414 (_FP_UNPACK_RAW_4): Likewise.
48415 (_FP_UNPACK_RAW_4_P): Likewise.
48416 (_FP_PACK_RAW_4): Likewise.
48417 (_FP_PACK_RAW_4_P): Likewise.
48418 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48419 (_FP_MUL_MEAT_4_wide): Likewise.
48420 (_FP_MUL_MEAT_4_gmp): Likewise.
48421 (umul_ppppmnnn): Likewise.
48422 (_FP_DIV_MEAT_4_udiv): Likewise.
48423 (__FP_FRAC_ADD_4): Likewise.
48424 (__FP_FRAC_SUB_3): Likewise.
48425 (__FP_FRAC_SUB_4): Likewise.
48426 (__FP_FRAC_DEC_3): Likewise.
48427 (__FP_FRAC_DEC_4): Likewise.
48428 (__FP_FRAC_ADDI_4): Likewise.
48429 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48430 (_FP_FRAC_SRL_8): Likewise.
48431 (_FP_FRAC_SRS_8): Likewise.
48432
48433 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48434 include macro name.
48435 (FP_UNPACK_RAW_EP): Likewise.
48436 (FP_PACK_RAW_E): Likewise.
48437 (FP_PACK_RAW_EP): Likewise.
48438 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48439 (_FP_ISSIGNAN): Likewise.
48440 (_FP_ADD_INTERNAL): Likewise.
48441 (_FP_FMA): Likewise.
48442 (_FP_CMP): Likewise.
48443 (_FP_SQRT): Likewise.
48444 (_FP_TO_INT): Likewise.
48445 (_FP_FROM_INT): Likewise.
48446 (FP_EXTEND): Likewise.
48447 (_FP_DIV_MEAT_N_loop): Likewise.
48448
48449 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48450
48451 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48452 throughout.
48453
48454 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48455
48456 [BZ #17097]
48457 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48458 result with correct sign in case of exponents that produce
48459 overflow except for X very close to 1.
48460
48461 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48462
48463 mktime: merge #if/#ifdef usage from glibc
48464 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48465 as that works with both Glibc's and Gnulib's style.
48466 See thread starting at Siddhesh Poyarekar's bug report at:
48467 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48468
48469 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48470
48471 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48472 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48473 * sysdeps/tile/tilegx/memmove.c: Remove file.
48474
48475 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48476
48477 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48478 abi-name definition.
48479 * scripts/soversions.awk: Do not handle or generate ABI lines.
48480 * shlib-versions: Remove ABI entries.
48481 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48482 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48483
48484 2014-06-27 Roland McGrath <roland@hack.frob.com>
48485
48486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48487 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48488 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48489 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48491 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48493 Moved ...
48494 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48495 ... here.
48496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48497 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48499 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48501 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48503 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48505 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48507 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48509 Moved ...
48510 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48511 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48514 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48515 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48516 Moved ...
48517 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48519 Moved ...
48520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48522 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48523 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48524 Moved ...
48525 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48527 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48529 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48531 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48533 Moved ...
48534 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48535 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48536 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48537 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48538 Moved ...
48539 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48541 Moved ...
48542 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48544 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48546 Moved ...
48547 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48548 ... here.
48549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48550 Identical file removed.
48551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48552 Moved ...
48553 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48554 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48555 Identical file removed.
48556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48557 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48559 Moved ...
48560 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48561 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48562 Identical file removed.
48563 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48564 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48565 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48566 Identical file removed.
48567 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48568 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48569 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48570 Identical file removed.
48571 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48572 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48573 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48574 Identical file removed.
48575 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48576 Moved ...
48577 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48578 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48579 Identical file removed.
48580 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48581 Moved ...
48582 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48584 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48585 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48586 Identical file removed.
48587 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48588 Moved ...
48589 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48590 ... here.
48591 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48592 Identical file removed.
48593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48594 Moved ...
48595 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48596 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48597 Identical file removed.
48598 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48599 Moved ...
48600 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48601 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48602 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48603 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48604 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48605 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48606 Moved ...
48607 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48608 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48609 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48610
48611 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48612 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48613 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48614 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48615 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48616
48617 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48618
48619 [BZ #17092]
48620 * nscd/nscd.c (monitor_child): Return exit status of child
48621 instead of return value from wait syscall.
48622
48623 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48624
48625 * configure.ac (libc_commonpagesize): Remove variable.
48626 (libc_relro_required): Likewise.
48627 (libc_cv_z_relro): Remove configure test.
48628 * configure: Regenerated.
48629 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48630 variable.
48631 (libc_relro_required): Likewise.
48632 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48633 (libc_relro_required): Likewise.
48634 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48635 (libc_relro_required): Likewise.
48636 * sysdeps/arm/preconfigure: Regenerated.
48637 * sysdeps/ia64/preconfigure: Remove file.
48638 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48639 variable.
48640 (libc_relro_required): Likewise.
48641
48642 [BZ #16561]
48643 [BZ #16562]
48644 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48645 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48646 recompute overflowing results in original rounding mode.
48647 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48648 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48649 recompute overflowing results in original rounding mode.
48650 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48651 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48652 recompute overflowing results in original rounding mode.
48653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48654 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48655 recompute overflowing results in original rounding mode.
48656 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48657 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48658 recompute overflowing results in original rounding mode.
48659 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48660 (libc_feholdsetround_ctx): New macro.
48661 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48662 * sysdeps/i386/fpu/libm-test-ulps: Update.
48663 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48664
48665 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48666
48667 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48668 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48669 corresponding .cpsetup call.
48670
48671 2014-06-26 Roland McGrath <roland@hack.frob.com>
48672
48673 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48674 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48675 * sysdeps/arm/Makefile [$(subdir) = csu]
48676 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48677 (static-only-routines): Add aeabi_read_tp here.
48678 (shared-only-routines): Add libc-aeabi_read_tp here.
48679 (CFLAGS-libc-start.c): Add -fexceptions here.
48680 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48681 (sysdep_routines, static-only-routines, shared-only-routines):
48682 Don't add to these here.
48683 (CFLAGS-libc-start.c): Likewise.
48684
48685 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48686 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48687 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48688 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48689 * sysdeps/arm/Makefile [$(subdir) = rt]
48690 (librt-sysdep_routines, librt-shared-only-routines):
48691 Append rt-aeabi_unwind_cpp_pr1 here.
48692 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48693 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48694 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48695 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48696 Append nptl-aeabi_unwind_cpp_pr1 here.
48697 (tests): Filter out tst-cleanupx4 here.
48698 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48699 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48700 Don't do those here.
48701
48702 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48703
48704 * scripts/list-sources.sh: Do not handle ports specially.
48705
48706 2014-06-26 Roland McGrath <roland@hack.frob.com>
48707
48708 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48709 * sysdeps/arm/feupdateenv.c: Likewise.
48710
48711 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48712
48713 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48714
48715 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48716 trailing whitespace removed.
48717 * scripts/config.guess: Update to version 2014-03-23.
48718 * scripts/config.sub: Update to version 2014-05-01
48719 * scripts/install-sh: Update to version 2013-12-25.23.
48720 * scripts/move-if-change: Update from gnulib.
48721
48722 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48723
48724 * debug/memmove_chk.c: Remove pagecopy.h include.
48725
48726 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48727
48728 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48729 identical to gnulib mktime.
48730
48731 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48732
48733 * configure.ac: Do not test for machine being rs6000. Do not test
48734 for powerpc*-*soft.
48735 * configure: Regenerated.
48736
48737 [BZ #11505]
48738 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48739 test.
48740 * configure: Regenerated.
48741 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48742 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48743 Remove configure test.
48744 * sysdeps/arm/configure: Regenerated.
48745 * sysdeps/nptl/configure.ac: Do not check
48746 libc_cv_asm_cfi_directives.
48747 * sysdeps/nptl/configure: Regenerated.
48748 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48749 * sysdeps/x86_64/nptl/configure: Remove generated file.
48750 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48751 unconditional.
48752 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48753
48754 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48755
48756 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48757 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48758 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48759 it is defined.
48760
48761 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48762 instead of whether it is defined.
48763 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48764 * sysdeps/hppa/dl-machine.h: Likewise.
48765 * sysdeps/ia64/dl-machine.h: Likewise.
48766 * sysdeps/m68k/dl-machine.h: Likewise.
48767 * sysdeps/microblaze/dl-machine.h: Likewise.
48768 * sysdeps/mips/dl-machine.: Likewise.
48769 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48770 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48771 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48772 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48773 * sysdeps/sh/dl-machine.h: Likewise.
48774 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48775 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48776 * sysdeps/tile/dl-machine.h: Likewise.
48777 * sysdeps/x86_64/dl-machine.h: Likewise.
48778
48779 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48780 code.
48781 (verify_persistent_db): Likewise.
48782
48783 2014-06-26 Roland McGrath <roland@hack.frob.com>
48784
48785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48786 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48788 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48790 Moved ...
48791 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48792 ... here.
48793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48794 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48796 Identical file removed.
48797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48798 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48800 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48802 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48804 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48806 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48808 Moved ...
48809 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48811 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48813 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48815 Moved ...
48816 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48818 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48820 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48822 Identical file removed.
48823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48824 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48826 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48828 Moved ...
48829 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48830 ... here.
48831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48834 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48836 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48838 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48840 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48842 Moved ...
48843 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48845 Moved ...
48846 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48848 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48850 Moved ...
48851 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48853 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48854
48855 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48856 folded into ...
48857 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48858 * sysdeps/unix/sysv/linux/s390/Versions
48859 (libpthread: GLIBC_2.19): New version set.
48860 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48861 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48862 (librt: GLIBC_2.3.3): New version set.
48863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48864 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48865 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48866 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48867 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48868 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48869 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48870 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48871 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48872 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48873 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48874 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48875 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48876 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48877 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48878 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48879 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48880 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48881 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48882 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48883 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48884 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48885 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48886 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48887 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48888 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48889 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48890 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48891 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48892 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48893 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48896 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48898 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48899 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48900 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48901 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48902 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48903 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48905 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48906 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48907 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48908
48909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48910 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48911 (__libc_vfork): Define the function under this name.
48912 [!NOT_IN_libc] (__vfork): Make this an alias.
48913 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48915 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48916 (__libc_vfork): Define the function under this name.
48917 [!NOT_IN_libc] (__vfork): Make this an alias.
48918 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48919 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48920 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48922 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48923 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48924
48925 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48926 code that was previously under [RESET_PID].
48927 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48928 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48930
48931 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48932 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48933 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48934 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48935 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48936 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48937 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48938 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48939 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48940 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48941 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48942 Moved ...
48943 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48944 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48945 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48946 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48947 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48948 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48949 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48950 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48951 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48952 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48954 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48955 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48956 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48957 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48958 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48959 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48960 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48961 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48962 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48963 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48964 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48965 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48966 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48967 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48968 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48969 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48971 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48972
48973 2014-06-25 Roland McGrath <roland@hack.frob.com>
48974
48975 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48976 that was previously under [RESET_PID].
48977 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48978
48979 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48980
48981 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48982 not undefine and redefine.
48983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48984 [O_CLOEXEC]: Make code unconditional.
48985 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48986 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48987 <kernel-features.h>.
48988 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48989 conditional variable definition.
48990 (shm_open) [O_CLOEXEC]: Make code unconditional.
48991 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48992 code.
48993
48994 * configure.ac (USE_REGPARMS): Don't define here.
48995 * configure: Regenerated.
48996 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48997 * sysdeps/i386/configure: Regenerated.
48998
48999 * nptl/createthread.c: Don't include kernel-features.h.
49000 * nptl/pthread_cancel.c: Likewise.
49001 * nptl/pthread_condattr_setclock.c: Likewise.
49002 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
49003 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
49004 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
49005 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
49006 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
49007 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
49008 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
49009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
49010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
49011 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
49012 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
49013 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
49014 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
49015 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
49016 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
49017 * nscd/gai.c: Likewise.
49018 * nss/nss_db/db-open.c: Likewise.
49019 * sysdeps/generic/ldsodefs.h: Likewise.
49020 * sysdeps/sh/nptl/tls.h: Likewise.
49021 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
49022 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
49023 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
49024 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
49025 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
49026 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
49027 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
49028 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49030 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
49031 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
49032 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49033 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
49034 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
49035 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
49036 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
49037 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
49038 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
49039 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
49040 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
49041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
49042 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
49043 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
49044 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
49045 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
49046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
49047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
49048 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
49049 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
49050 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
49051 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
49052 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
49053 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
49054 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49055 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49056 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
49057 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49058 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
49059 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
49060 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
49061 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49062 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
49063 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
49064 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49065 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
49066 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
49067 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
49068 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
49069 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
49070 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
49071 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
49072 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
49073 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
49074 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
49075 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
49076 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49077 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
49078 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
49079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
49081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
49082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
49083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
49084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
49085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
49086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
49087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
49090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
49091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
49092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
49093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
49099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
49100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
49101 * sysdeps/unix/sysv/linux/pread.c: Likewise.
49102 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
49103 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
49104 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
49105 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
49106 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
49107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
49108 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
49109 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
49110 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
49111 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
49112 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
49113 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
49114 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
49115 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
49116 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
49117 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49118 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
49119 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
49120 * sysdeps/unix/sysv/linux/system.c: Likewise.
49121 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
49122 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
49123 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49124 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49125 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49126 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
49127 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49128
49129 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
49130 * configure: Regenerated.
49131 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
49132
49133 * configure.ac (base_machine): Do not set specially for particular
49134 machines here.
49135 * configure: Regenerated.
49136 * sysdeps/powerpc/preconfigure: Move machine and base_machine
49137 settings from configure.ac.
49138 * sysdeps/i386/preconfigure: New file.
49139 * sysdeps/s390/preconfigure: Likewise.
49140 * sysdeps/sh/preconfigure: Likewise.
49141 * sysdeps/sparc/preconfigure: Likewise.
49142
49143 2014-06-25 Roland McGrath <roland@hack.frob.com>
49144
49145 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
49146 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
49147 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
49148 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
49149 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49150 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49151 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49152 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49153 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49154 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49155 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49156 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49157 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49159 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49162 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49163 * sysdeps/sparc/sparc64/Makefile: ... appended here.
49164
49165 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49166 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49167 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49168 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49169 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49170 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49171 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49172 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49173 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49174 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49175 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49176 * sysdeps/sparc/sparc32/sem_post.c: ... here.
49177 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49178 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49179 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49180 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49181 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49182 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49183 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49184 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49185 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49186 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49187 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49188 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49189 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49190 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49191 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49192 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49193 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49194 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49195 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49196 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49197 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49198 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49199 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49200 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49201 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49202 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49203
49204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49205 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49207 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49209 Moved ...
49210 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49211 ... here.
49212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49213 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49217 Moved ...
49218 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49220 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49222 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49224 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49226 Moved ...
49227 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49229 Moved ...
49230 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49232 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49234 Moved ...
49235 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49237 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49239 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49241 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49243 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49245 Moved ...
49246 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49247 ... here.
49248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49249 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49251 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49253 Moved ...
49254 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49256 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49258 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49260 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49262 Moved ...
49263 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49265 Moved ...
49266 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49268 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49270 Moved ...
49271 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49273 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49275 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49276
49277 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49278
49279 * timezone/checktab.awk: Update from tzcode 2014e.
49280 * timezone/private.h: Likewise.
49281 * timezone/tzfile.h: Likewise.
49282 * timezone/zdump.c: Likewise.
49283 * timezone/zic.c: Likewise.
49284
49285 * sysdeps/unix/sysv/linux/kernel-features.h
49286 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49288 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49289 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49290 Remove conditional code.
49291
49292 2014-06-25 Will Newton <will.newton@linaro.org>
49293
49294 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49295 (_dl_arm_cap_flags): Add HWCAP2 values.
49296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49297 (_DL_HWCAP_COUNT): Increase to 37.
49298 (_DL_HWCAP_LAST): New define.
49299 (_DL_HWCAP2_LAST): New define.
49300 (_dl_procinfo): Add support for printing
49301 AT_HWCAP2 entries.
49302 (_dl_string_hwcap): Use _dl_hwcap_string.
49303
49304 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49305
49306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49307
49308 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49309
49310 * README: Do not mention ports directory.
49311
49312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49313 Remove macro.
49314 * sysdeps/unix/sysv/linux/futimes.c: Do not include
49315 <kernel-features.h>.
49316 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49317 conditional variable definition.
49318 (__futimes): Update comment.
49319 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49320 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49321
49322 [BZ #16560]
49323 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49324 arguments close to 0.
49325 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49326 Likewise.
49327 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49328 Likewise.
49329 * math/auto-libm-test-in: Add more tests of exp10.
49330 * math/auto-libm-test-out: Regenerated.
49331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49332
49333 * sysdeps/unix/sysv/linux/kernel-features.h
49334 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49335 * sysdeps/unix/sysv/linux/readv.c: Do not include
49336 <kernel-features.h>.
49337 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49338 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49339 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49340 unconditional.
49341 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49342 conditional code.
49343 * sysdeps/unix/sysv/linux/writev.c: Do not include
49344 <kernel-features.h>.
49345 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49346 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49347 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49348 unconditional.
49349 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49350 conditional code.
49351
49352 2014-06-25 Will Newton <will.newton@linaro.org>
49353
49354 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49355 comment changes throughout the file. Remove checks
49356 for HAVE_*_H definitions that are not required.
49357 (__gen_tempname): Call abort if an unknown kind value is
49358 passed.
49359
49360 2014-06-25 Andreas Schwab <schwab@suse.de>
49361
49362 [BZ #17086]
49363 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49364 scalbln, scalblnf, scalblnl in libc.
49365
49366 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49367
49368 [BZ #17086]
49369 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49370 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49371 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49372
49373 2014-06-24 Roland McGrath <roland@hack.frob.com>
49374
49375 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49376 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49377 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49378 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49379 Update #include.
49380 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49381 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49382 Update #include.
49383 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49384 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49385 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49386 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49387 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49388 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49389 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49390 * sysdeps/x86/bits/semaphore.h: ... here.
49391 * sysdeps/x86/nptl/elide.h: Moved ...
49392 * sysdeps/x86/elide.h: ... here.
49393 * sysdeps/x86_64/nptl/Implies: File removed.
49394 * sysdeps/i386/nptl/Implies: File removed.
49395
49396 2014-06-24 Joseph Myers <joseph@codesourcery.com>
49397
49398 [BZ #16539]
49399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49400 return the argument for normal arguments with exponent below -64.
49401 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49402 Likewise.
49403 * math/auto-libm-test-in: Add another test of expm1.
49404 * math/auto-libm-test-out: Regenerated.
49405
49406 [BZ #16287]
49407 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49408 calling __erfcl for arguments at least 16.
49409 * math/auto-libm-test-in: Add more tests of erf.
49410 * math/auto-libm-test-out: Regenerated.
49411
49412 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49413 individual architectures.
49414 * sysdeps/unix/sysv/linux/configure: Regenerated.
49415 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49416 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49417 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49418 (ldd_rewrite_script): Define variable.
49419 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49421 file.
49422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49423 generated file.
49424 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49425 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49426 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49427 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49428 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49429 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49430 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49431 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49432
49433 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49434
49435 [BZ #17084]
49436 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49437 Rename member __data.d to __data.__elision_data.
49438
49439 2014-06-24 Wilco <wdijkstr@arm.com>
49440
49441 * NEWS: Add 16918 to fixed bug list.
49442
49443 2014-06-24 Wilco <wdijkstr@arm.com>
49444
49445 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49446
49447 2014-06-24 Wilco <wdijkstr@arm.com>
49448
49449 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49450 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49451 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49452 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49453 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49454 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49455 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49456 Use _FPU_MASK_RM.
49457
49458 2014-06-24 Wilco <wdijkstr@arm.com>
49459
49460 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49461
49462 2014-06-24 Wilco <wdijkstr@arm.com>
49463
49464 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49465 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49466 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49467 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49468
49469 2014-06-24 Wilco <wdijkstr@arm.com>
49470
49471 [BZ #16918]
49472 * sysdeps/arm/feupdateenv.c (feupdateenv):
49473 Rewrite to reduce FPSCR accesses and fix return value.
49474
49475 2014-06-24 Wilco <wdijkstr@arm.com>
49476
49477 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49478 Optimize to avoid unnecessary FPSCR writes.
49479 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49480 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49481 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49482 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49483
49484 2014-06-24 Wilco <wdijkstr@arm.com>
49485
49486 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49487 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49488 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49489 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49490 Call libc_fetestexcept_vfp.
49491 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49492 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49493 __SOFTFP__ ifdef so that they can be built for softfp.
49494
49495 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49496
49497 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49498 argument type signed char.
49499
49500 * Makerules (check-abi): Dump diff of symlist if the test
49501 fails.
49502
49503 2014-06-23 Roland McGrath <roland@hack.frob.com>
49504
49505 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49506 using abort.
49507
49508 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49509 Remove unused variable ST.
49510
49511 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49512
49513 [BZ #16354]
49514 [BZ #17061]
49515 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49516 small arguments before calling __expm1.
49517 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49518 small arguments before calling __expm1f.
49519 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49520 small arguments before calling __expm1l.
49521 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49522 Likewise.
49523 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49524 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49525 spurious underflow for some cosh tests.
49526 * math/auto-libm-test-out: Regenerated.
49527 * sysdeps/i386/fpu/libm-test-ulps: Update.
49528
49529 [BZ #17050]
49530 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49531 (__ieee754_y1): Set errno if return value overflows.
49532 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49533 (__ieee754_y1f): Set errno if return value overflows.
49534 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49535 (__ieee754_y1l): Set errno if return value overflows.
49536 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49537 (__ieee754_y1l): Set errno if return value overflows.
49538 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49539 * math/auto-libm-test-out: Regenerated.
49540
49541 * math/gen-auto-libm-tests.c: Document use of
49542 ignore-zero-inf-sign.
49543 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49544 (input_flags): Add ignore-zero-inf-sign.
49545 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49546 * math/gen-libm-test.pl (generate_testfile): Handle
49547 ignore-zero-inf-sign.
49548 * math/auto-libm-test-in: Mark some cpow tests with
49549 ignore-zero-inf-sign and some with xfail-rounding.
49550 * math/auto-libm-test-out: Regenerated.
49551 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49552 * sysdeps/i386/fpu/libm-test-ulps: Update.
49553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49554
49555 [BZ #16315]
49556 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49557 overflowing or underflowing operations take place with sign of
49558 result.
49559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49560 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49561 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49562 (__ieee754_pow): Recompute overflowing and underflowing results in
49563 original rounding mode.
49564 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49565 (__powl_helper): Allow negative argument X and scale negated value
49566 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49568 overflowing or underflowing operations take place with sign of
49569 result.
49570 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49571 Include <math.h>.
49572 * math/auto-libm-test-in: Add more tests of pow.
49573 * math/auto-libm-test-out: Regenerated.
49574 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49575 (pow_tonearest_test_data): Remove.
49576 (pow_test_tonearest): Likewise.
49577 (pow_towardzero_test_data): Likewise.
49578 (pow_test_towardzero): Likewise.
49579 (pow_downward_test_data): Likewise.
49580 (pow_test_downward): Likewise.
49581 (pow_upward_test_data): Likewise.
49582 (pow_test_upward): Likewise.
49583 (main): Don't call removed functions.
49584 * sysdeps/i386/fpu/libm-test-ulps: Update.
49585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49586
49587 2014-06-23 Roland McGrath <roland@hack.frob.com>
49588
49589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49590 Moved ...
49591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49593 Moved ...
49594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49596 Moved ...
49597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49599 Moved ...
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49602 File removed.
49603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49604 File removed.
49605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49606 File removed.
49607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49608 File removed.
49609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49610 File removed.
49611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49612 File removed.
49613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49614 File removed.
49615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49616 File removed.
49617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49618 File removed.
49619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49620 File removed.
49621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49622 File removed.
49623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49624 File removed.
49625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49626 Moved ...
49627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49629 Moved ...
49630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49631 ... here.
49632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49633 Moved ...
49634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49636 Moved ...
49637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49639 Moved ...
49640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49642 Moved ...
49643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49645 Moved ...
49646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49648 Moved ...
49649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49651 Moved ...
49652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49655 ... here.
49656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49657 Moved ...
49658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49660 Moved ...
49661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49662 ... here.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49664 Moved ...
49665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49666 ... here.
49667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49668 Moved ...
49669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49670 ... here.
49671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49672 Moved ...
49673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49675 Moved ...
49676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49680 Moved ...
49681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49682 ... here.
49683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49684 Moved ...
49685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49686 ... here.
49687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49688 Moved ...
49689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49691 Moved ...
49692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49694 Moved ...
49695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49697 Moved ...
49698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49700 Moved ...
49701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49702 ... here.
49703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49704 Moved ...
49705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49707 Moved ...
49708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49710 Moved ...
49711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49713 Moved ...
49714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49718 Moved ...
49719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49721 Moved ...
49722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49724 Moved ...
49725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49726 ... here.
49727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49728 Moved ...
49729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49730 ... here.
49731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49732 Moved ...
49733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49734 ... here.
49735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49736 Moved ...
49737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49739 Moved ...
49740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49742 Moved ...
49743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49745 Moved ...
49746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49747 ... here.
49748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49749 Moved ...
49750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49751 ... here.
49752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49753 Moved ...
49754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49755 ... here.
49756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49757 Moved ...
49758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49760 Moved ...
49761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49762
49763 2014-06-23 Will Newton <will.newton@linaro.org>
49764 Wilco <wdijkstr@arm.com>
49765
49766 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49767 implementation. Include get-rounding-mode.h.
49768 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49769 [!libc_feholdsetround_noex_ctx]: Define
49770 libc_feholdsetround_noex_ctx.
49771 [!libc_feholdsetround_noexf_ctx]: Define
49772 libc_feholdsetround_noexf_ctx.
49773 [!libc_feholdsetround_noexl_ctx]: Define
49774 libc_feholdsetround_noexl_ctx.
49775 (libc_feholdsetround_ctx): New function.
49776 (libc_feresetround_ctx): New function.
49777 (libc_feholdsetround_noex_ctx): New function.
49778 (libc_feresetround_noex_ctx): New function.
49779
49780 2014-06-23 Roland McGrath <roland@hack.frob.com>
49781
49782 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49783 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49784 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49785 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49786 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49787 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49788
49789 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49790 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49791 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49792 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49793 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49794 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49795 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49796 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49797 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49798 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49800 Moved ...
49801 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49802 ... here.
49803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49804 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49806 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49807 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49808 Moved ...
49809 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49810 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49811 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49813 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49815 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49817 Moved ...
49818 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49820 Moved ...
49821 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49823 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49825 Moved ...
49826 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49828 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49829 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49830 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49831 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49832 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49833 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49834 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49836 Moved ...
49837 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49838 ... here.
49839 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49840 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49841 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49842 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49844 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49846 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49848 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49849 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49850 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49852 Moved ...
49853 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49855 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49857 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49859 Moved ...
49860 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49862 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49863 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49864 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49865
49866 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49867 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49868 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49869 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49870 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49871 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49872 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49873 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49875 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49876 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49877 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49878 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49879 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49880 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49881 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49882 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49883 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49884 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49885 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49886 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49887 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49888 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49889 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49890 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49891 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49892 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49893 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49894
49895 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49896
49897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49898 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49899 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49900 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49901 (IPV6_PMTUDISC_INTERFACE): Likewise.
49902 (IPV6_PMTUDISC_OMIT): Likewise.
49903
49904 2014-06-23 Andreas Schwab <schwab@suse.de>
49905
49906 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49907 Remove unused errout label.
49908
49909 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49910
49911 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49912 macro: hardware supports Vector Crypto instructions.
49913
49914 2014-06-23 Will Newton <will.newton@linaro.org>
49915
49916 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49917 rather than __builtin_expect.
49918
49919 * elf/dl-lookup.c (undefined_msg): Remove variable.
49920 (_dl_lookup_symbol_x): Replace undefined_msg with string
49921 literal.
49922
49923 * elf/dl-lookup.c (do_lookup_unique): New function.
49924 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49925 to a separate function.
49926
49927 2014-06-23 Andreas Schwab <schwab@suse.de>
49928
49929 [BZ #17079]
49930 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49931 before reading the next line.
49932
49933 2014-06-23 Will Newton <will.newton@linaro.org>
49934
49935 * test-skeleton.c (signal_handler): Use printf and %m
49936 rather than perror. Use printf rather than fprintf to
49937 stderr. Use puts rather than fputs to stderr.
49938 (main): Likewise.
49939
49940 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49941
49942 * nscd/nscd.c (thread_info_t): Remove typedef.
49943 (thread_info): Remove variable.
49944
49945 2014-06-21 Allan McRae <allan@archlinux.org>
49946
49947 * NEWS: Mention CVE-2014-4043.
49948
49949 2014-06-20 Roland McGrath <roland@hack.frob.com>
49950
49951 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49952 * nptl/smp.h: ... here.
49953
49954 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49955
49956 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49957 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49958 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49959 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49960
49961 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49962 * nptl/stack-aliasing.h: New file.
49963 * sysdeps/i386/i686/stack-aliasing.h: New file.
49964 * sysdeps/i386/i686/nptl/Makefile: File removed.
49965 * sysdeps/x86_64/stack-aliasing.h: New file.
49966 * sysdeps/x86_64/nptl/Makefile
49967 (CFLAGS-pthread_create.c): Variable removed.
49968
49969 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49970 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49971 old file.
49972 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49973 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49974 old file.
49975
49976 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49977
49978 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49979 (__ASSUME_SIGFRAME_V2): Remove macro.
49980 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49981 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49982 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49983 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49984 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49985 Declare as function. Remove conditional macro definitions.
49986 (__default_rt_sa_restorer): Likewise.
49987 (__default_sa_restorer_v1): Remove declaration.
49988 (__default_sa_restorer_v2): Likewise.
49989 (__default_rt_sa_restorer_v1): Likewise.
49990 (__default_rt_sa_restorer_v2): Likewise.
49991 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49992 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49993 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49994
49995 2014-06-20 Roland McGrath <roland@hack.frob.com>
49996
49997 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49998 (libpthread-routines): Add sysdep.
49999 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
50000 * sysdeps/unix/sysv/linux/sparc/Versions
50001 (libpthread: GLIBC_2.3.3): New version set.
50002 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
50003 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
50004 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
50005 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
50006 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
50007 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
50008 Moved ...
50009 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
50010 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
50011 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
50012 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
50013 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
50014 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
50015 * sysdeps/sparc/nptl/sem_init.c: ... here.
50016 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
50017 * sysdeps/sparc/nptl/sem_post.c: ... here.
50018 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
50019 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
50020 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
50021 * sysdeps/sparc/nptl/sem_wait.c: ... here.
50022 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
50023 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
50024 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
50025 (libpthread-routines): Add cpu_relax.
50026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
50027 File removed.
50028 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
50029 (librt: GLIBC_2.3.3): New version set.
50030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
50031 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
50032 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
50033 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
50034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
50035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
50036 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
50037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
50038 Moved ...
50039 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
50040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
50041 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
50042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
50043 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
50044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
50045 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
50046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
50047 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
50048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
50049 Moved ...
50050 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
50051 Update #include.
50052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
50053 Moved ...
50054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
50055 Update #include.
50056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
50057 Moved ...
50058 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
50059 Update #include.
50060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
50061 Moved ...
50062 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
50063 Update #include.
50064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
50065 Moved ...
50066 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
50067 Update #include.
50068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
50069 Moved ...
50070 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
50071 Update #include.
50072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
50073 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
50074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
50075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
50076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
50077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
50078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
50079 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
50080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
50081 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
50082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50083 Moved ...
50084 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
50085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
50086 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
50087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
50088 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
50089
50090 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50091
50092 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
50093 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
50094 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
50095 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
50096 * nscd/nscd.c: Likewise.
50097 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
50098 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
50099 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
50100 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
50101
50102 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
50103 <kernel-features.h>.
50104 (init_mq_netlink): Remove conditional have_sock_cloexec
50105 definitions. Remove code conditional on have_sock_cloexec < 0.
50106 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
50107 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
50108 * sysdeps/unix/sysv/linux/opensock.c: Do not include
50109 <kernel-features.h>.
50110 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
50111 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
50112
50113 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50114
50115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50116 Add tests for memset_chk and memset.
50117
50118 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
50119 with AVX2_Usable.
50120
50121 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50122
50123 [BZ #16046]
50124 * elf/tst-dl-iter-static.c: New file.
50125 * elf/Makefile (tests-static): Add tst-dl-iter-static.
50126
50127 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
50128 error.
50129
50130 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50131
50132 * sysdeps/unix/sysv/linux/kernel-features.h
50133 (__ASSUME_F_GETOWN_EX): Remove macro.
50134 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
50135 <kernel-features.h>.
50136 (miss_F_GETOWN_EX): Remove variable or macro.
50137 (do_fcntl): Do not check miss_F_GETOWN_EX.
50138 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
50139
50140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
50141 Remove macro.
50142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
50143 [!__ASSUME_AT_RANDOM]: Remove conditional code.
50144 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
50145
50146 * sysdeps/unix/sysv/linux/kernel-features.h
50147 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
50148 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
50149 [ADJ_OFFSET_SS_READ]: Make code unconditional.
50150 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50151
50152 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50153
50154 [BZ #17075]
50155 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50156 Fix calculation of the symbol's value.
50157 * sysdeps/arm/tst-armtlsdescloc.c: New file.
50158 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50159 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50160 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50161 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50162 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50163 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50164 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50165 (modules-names): Add `tst-armtlsdescmod',
50166 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50167 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50168 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50169 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50170 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50171 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50172 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50173 ($(objpfx)tst-armtlsdescloc): New dependency.
50174 ($(objpfx)tst-armtlsdescextnow): Likewise.
50175 ($(objpfx)tst-armtlsdescextlazy): Likewise.
50176 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50177 TLS scheme support.
50178 * sysdeps/arm/configure: Regenerate.
50179
50180 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50181
50182 * include/fcntl.h (__atfct_seterrno): Remove prototype.
50183 (__atfct_seterrno_2): Likewise.
50184 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50185 <kernel-features.h>.
50186 (__ASSUME_ATFCTS): Do not undefine and redefine.
50187 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50188 (__have_atfcts): Remove conditional definition.
50189 (__fxstatat([__NR_fstatat64]: Make code unconditional.
50190 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50191 unreachable if [__ASSUME_ATFCTS].
50192 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50193 not undefine and redefine.
50194 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50195 <kernel-features.h>.
50196 (faccessat) [__NR_faccessat]: Make code unconditional.
50197 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50198 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50199 <kernel-features.h>.
50200 (fchmodat) [__NR_fchmodat]: Make code unconditional.
50201 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50202 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50203 <kernel-features.h>.
50204 (fchownat) [__NR_fchownat]: Make code unconditional.
50205 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50206 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50207 <kernel-features.h>.
50208 (futimesat) [__NR_futimesat]: Make code unconditional.
50209 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50210 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50211 <kernel-features.h>.
50212 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50213 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50214 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50215 <kernel-features.h>.
50216 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50217 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50218 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50219 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50220 <kernel-features.h>.
50221 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50223 * sysdeps/unix/sysv/linux/linkat.c: Do not include
50224 <kernel-features.h>.
50225 (linkat) [__NR_linkat]: Make code unconditional.
50226 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50227 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50228 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50229 <kernel-features.h>.
50230 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50231 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50232 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50233 <kernel-features.h>.
50234 (mkdirat) [__NR_mkdirat]: Make code unconditional.
50235 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50236 * sysdeps/unix/sysv/linux/openat.c: Do not include
50237 <kernel-features.h>.
50238 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50239 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50240 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50241 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50242 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50243 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50244 <kernel-features.h>.
50245 (readlinkat) [__NR_readlinkat]: Make code unconditional.
50246 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
50247 result of INLINE_SYSCALL directly, not via int variable.
50248 * sysdeps/unix/sysv/linux/renameat.c: Do not include
50249 <kernel-features.h>.
50250 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50251 (renameat) [__NR_renameat]: Make code unconditional.
50252 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50253 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50254 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50255 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50256 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50257 (__ASSUME_ATFCTS): Do not undefine and redefine.
50258 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50259 <kernel-features.h>.
50260 (symlinkat) [__NR_symlinkat]: Make code unconditional.
50261 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50262 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50263 <kernel-features.h>.
50264 (unlinkat) [__NR_unlinkat]: Make code unconditional.
50265 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50266 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50267 (__ASSUME_ATFCTS): Do not undefine and redefine.
50268 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50269 <kernel-features.h>.
50270 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50271 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50272 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50273 <kernel-features.h>.
50274 (__xmknodat) [__NR_mknodat]: Make code unconditional.
50275 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50276
50277 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50278
50279 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50280
50281 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
50282
50283 [BZ #17069]
50284 * posix/regcomp.c (parse_reg_exp): Deallocate partially
50285 constructed tree before returning error.
50286 * posix/bug-regexp36.c: Expand test case.
50287
50288 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
50289
50290 [BZ #6803]
50291 * math/libm-test.inc (scalbln_test_date):
50292 Add errno expectations.
50293 * math/w_scalblnf.c: New File.
50294 Add wrapper which checks for setting errno to ERANGE.
50295 Add weak_alias for corresponding scalbln function.
50296 * math/w_scalbln.c: Likewise.
50297 * math/w_scalblnl.c: Likewise.
50298 * math/Makefile (libm-calls): Add w_scalbln.
50299 * sysdeps/ieee754/flt-32/s_scalblnf.c:
50300 Remove weak_alias for corresponding scalbln function.
50301 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50305 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50306 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50307 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50308 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50309 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50310 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50311 Remove long_double_symbol for scalblnl function in libm, libc.
50312 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50313 Add wrapper which checks for setting errno to ERANGE.
50314 Add long_double_symbol for scalblnl function in libm, libc.
50315 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50316 Remove long_double_symbol for scalblnl in libm.
50317 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50318 Add wrapper which checks for setting errno to ERANGE.
50319 Add long_double_symbol for scalblnl function in libm.
50320 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50321 Do not use wrapper because of own implementation.
50322
50323 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
50324
50325 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50326 3 bytes for __pad1 for x32.
50327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50328
50329 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
50330 H.J. Lu <hongjiu.lu@intel.com>
50331
50332 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50333 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50334 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50335 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50336 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50337
50338 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
50339
50340 [BZ #17069]
50341 * posix/regcomp.c (parse_expression): Deallocate partially
50342 constructed tree before returning error.
50343 * posix/Makefile.c (tests): Add bug-regex36.
50344 (generated): Add bug-regex36.mtrace.
50345 (tests-special): Add $(objpfx)bug-regex36-mem.out
50346 (bug-regex36-ENV): New variable.
50347 ($(objpfx)bug-regex36-mem.out): New rule.
50348 * posix/bug-regex36.c: New file.
50349
50350 2014-06-19 Will Newton <will.newton@linaro.org>
50351
50352 * malloc/malloc.c (systrim): If extra is zero then return
50353 early.
50354
50355 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50356
50357 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50358
50359 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
50360
50361 * sysdeps/aarch64/strchr.S: New file.
50362
50363 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50364
50365 [BZ #17022]
50366 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50367 from arguments -2 or below.
50368 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50369 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50370
50371 2014-06-18 Andreas Schwab <schwab@suse.de>
50372
50373 [BZ #17062]
50374 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50375 of a bracket expr not to run off the end of the string.
50376 * posix/Makefile (tests): Add tst-fnmatch3.
50377 * posix/tst-fnmatch3.c: New file.
50378
50379 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50380
50381 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50382 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50383 [$(cross-compiling) = no]: Likewise.
50384 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50385 [$(cross-compiling) = no]: Likewise.
50386
50387 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50388
50389 [BZ #17031]
50390 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50391 double, adjusted for any remainder from the high double.
50392 * math/libm-test.inc (nearbyint): Add tests.
50393 (rint): Likewise.
50394
50395 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50396
50397 * nptl/sysdeps/powerpc/Makefile: Moved ...
50398 * sysdeps/powerpc/nptl/Makefile: ... here.
50399 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50400 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50401 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50402 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50403 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50404 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50405 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50406 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50407 * nptl/sysdeps/powerpc/tls.h: Moved ...
50408 * sysdeps/powerpc/nptl/tls.h: ... here.
50409
50410 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50411
50412 [BZ #16681]
50413 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50414 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50415 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50416 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50417 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50418 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50419 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50420 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50421 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50422
50423 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50424
50425 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50426
50427 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50428
50429 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50430 defined operator.
50431
50432 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50433 $TIMEOUTFACTOR.
50434
50435 2014-06-16 Florian Weimer <fweimer@redhat.com>
50436
50437 [BZ #17058]
50438 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50439 non-executed part of the test.
50440
50441 2014-06-16 Andreas Schwab <schwab@suse.de>
50442
50443 * string/bits/string2.h (strdup, strndup): Update feature guard.
50444
50445 2014-06-14 David S. Miller <davem@davemloft.net>
50446
50447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50448
50449 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50450
50451 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50452 that was previously under [RESET_PID].
50453 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50454
50455 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50456 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50457 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50458 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50459 (__libc_vfork): New strong alias.
50460 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50461
50462 2014-06-14 Andi Kleen <ak@linux.intel.com>
50463
50464 * sysdeps/generic/elide.h: New file.
50465
50466 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50467
50468 * Makefile (installed-headers): Adjust path of pthread.h header.
50469
50470 2014-06-13 Roland McGrath <roland@hack.frob.com>
50471
50472 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50473 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50474 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50475 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50476
50477 * nptl/sysdeps/s390/Makefile: Moved ...
50478 * sysdeps/s390/nptl/Makefile: ... here.
50479 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50480 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50481 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50482 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50483 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50484 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50485 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50486 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50487 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50488 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50489 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50490 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50491 * nptl/sysdeps/s390/tls.h: Moved ...
50492 * sysdeps/s390/nptl/tls.h: ... here.
50493
50494 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50495 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50496
50497 2014-06-13 David S. Miller <davem@davemloft.net>
50498
50499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50502 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50506 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50507 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50508 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50509 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50510 Remove RESET_PID cpp guards.
50511 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50512 Remove RESET_PID cpp guards.
50513 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50514
50515 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50516
50517 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50518 __sp to uintptr_t.
50519
50520 2014-06-13 Andi Kleen <ak@linux.intel.com>
50521
50522 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50523 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50524 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50525 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50526 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50527 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50529 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50531 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50532 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50533 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50534 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50535 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50536 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50537 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50538 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50539 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50540 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50542
50543 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50544 (pthread_rwlock_rdlock): Add elision.
50545 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50546 (pthread_rwlock_wrlock): Add elision.
50547 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50548 (pthread_rwlock_trywrlock): Add elision.
50549 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50550 (pthread_rwlock_tryrdlock): Add elision.
50551 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50552 (pthread_rwlock_tryrdlock): Add elision unlock.
50553 * nptl/sysdeps/pthread/pthread.h:
50554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50555 (PTHREAD_RWLOCK_INITIALIZER,
50556 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50557 Handle new elision field.
50558 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50559 * sysdeps/arm/nptl/bits/pthreadtypes.h
50560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50561 * sysdeps/sh/nptl/bits/pthreadtypes.h
50562 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50563 * sysdeps/tile/nptl/bits/pthreadtypes.h
50564 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50565 * sysdeps/a/nptl/bits/pthreadtypes.h
50566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50567 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50569 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50570 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50571 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50573 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50574 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50575 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50577 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50579 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50581 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50583 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50584 (elision_init): Set try_xbegin to zero when no RTM.
50585 * sysdeps/x86/nptl/bits/pthreadtypes.h
50586 (pthread_rwlock_t): Change __pad1 to __rwelision.
50587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50588
50589 2014-06-13 Andi Kleen <ak@linux.intel.com>
50590
50591 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50592 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50593 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50594 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50595
50596 2014-06-13 Meador Inge <meadori@codesourcery.com>
50597
50598 [BZ #16996]
50599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50600 that the cached result has been set before returning it.
50601
50602 2014-06-12 Roland McGrath <roland@hack.frob.com>
50603
50604 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50605 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50606 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50607 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50608 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50609 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50610
50611 * nptl/sysdeps/sparc/Makefile: Moved ...
50612 * sysdeps/sparc/nptl/Makefile: ... here.
50613 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50614 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50615 * nptl/sysdeps/sparc/tls.h: Moved ...
50616 * sysdeps/sparc/nptl/tls.h: ... here.
50617 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50618 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50619 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50620 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50621 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50622 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50623 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50624 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50625 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50626 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50627 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50628 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50629 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50630 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50631 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50632 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50633 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50634 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50635 Update #include.
50636 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50637 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50638 Update #include.
50639 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50641 Update #include.
50642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50644 Update #include.
50645
50646 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50647
50648 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50649 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50650
50651 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50652 (struct list_links): Type removed.
50653 (struct thread_node, struct timer_node): Replace struct list_links
50654 with struct list_head.
50655 (list_unlink_ip): Likewise.
50656 * sysdeps/pthread/timer_routines.c
50657 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50658 (list_append, list_insbefore): Likewise.
50659 (list_init): Function removed.
50660 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50661 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50662 * sysdeps/pthread/Makefile: ... here, new file.
50663
50664 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50665 * sysdeps/nptl/Implies: ... here.
50666 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50667 * nptl/sysdeps/pthread/list.h: Moved ...
50668 * include/list.h: ... here.
50669 * nptl/sysdeps/pthread/createthread.c: Moved ...
50670 * nptl/createthread.c: ... here.
50671 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50672 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50673 * nptl/pt-longjmp.c: ... here.
50674 * nptl/sysdeps/pthread/Makefile: Moved ...
50675 * sysdeps/nptl/Makefile: ... here.
50676 * nptl/sysdeps/pthread/Subdirs: Moved ...
50677 * sysdeps/nptl/Subdirs: ... here.
50678 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50679 * sysdeps/nptl/aio_misc.h: ... here.
50680 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50681 * sysdeps/nptl/bits/libc-lock.h: ... here.
50682 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50683 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50684 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50685 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50686 * nptl/sysdeps/pthread/configure: Moved ...
50687 * sysdeps/nptl/configure: ... here.
50688 * nptl/sysdeps/pthread/configure.ac: Moved ...
50689 * sysdeps/nptl/configure.ac: ... here.
50690 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50691 * sysdeps/nptl/gai_misc.h: ... here.
50692 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50693 * sysdeps/nptl/librt-cancellation.c: ... here.
50694 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50695 * sysdeps/nptl/malloc-machine.h: ... here.
50696 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50697 * sysdeps/nptl/pthread-functions.h: ... here.
50698 * nptl/sysdeps/pthread/pthread.h: Moved ...
50699 * sysdeps/nptl/pthread.h: ... here.
50700 * nptl/sysdeps/pthread/setxid.h: Moved ...
50701 * sysdeps/nptl/setxid.h: ... here.
50702 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50703 * sysdeps/nptl/sigfillset.c: ... here.
50704 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50705 * sysdeps/nptl/tcb-offsets.h: ... here.
50706 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50707 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50708 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50709 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50710 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50711 * sysdeps/pthread/allocalim.h: ... here.
50712 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50713 * sysdeps/pthread/bits/sigthread.h: ... here.
50714 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50715 * sysdeps/pthread/flockfile.c: ... here.
50716 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50717 * sysdeps/pthread/ftrylockfile.c: ... here.
50718 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50719 * sysdeps/pthread/funlockfile.c: ... here.
50720 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50721 * sysdeps/pthread/posix-timer.h: ... here.
50722 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50723 * sysdeps/pthread/timer_create.c: ... here.
50724 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50725 * sysdeps/pthread/timer_delete.c: ... here.
50726 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50727 * sysdeps/pthread/timer_getoverr.c: ... here.
50728 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50729 * sysdeps/pthread/timer_gettime.c: ... here.
50730 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50731 * sysdeps/pthread/timer_routines.c: ... here.
50732 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50733 * sysdeps/pthread/timer_settime.c: ... here.
50734 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50735 * sysdeps/pthread/tst-timer.c: ... here.
50736 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50737 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50738
50739 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50740 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50741
50742 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50743 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50744 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50745 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50746 Update #include target.
50747 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50748 * sysdeps/i386/i686/nptl/Makefile: ... here.
50749 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50750 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50751 Update #include target.
50752 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50753 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50754 * nptl/sysdeps/i386/Makefile: Moved ...
50755 * sysdeps/i386/nptl/Makefile: ... here.
50756 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50757 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50758 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50759 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50760 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50761 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50762 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50763 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50764 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50765 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50766 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50767 * nptl/sysdeps/i386/tls.h: Moved ...
50768 * sysdeps/i386/nptl/tls.h: ... here.
50769
50770 * sysdeps/sh/Makefile [$(subdir) = csu]
50771 (gen-as-const-headers): Add tcb-offsets.sym.
50772 * nptl/sysdeps/sh/Makefile: File removed.
50773 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50774 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50775 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50776 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50777 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50778 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50779 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50780 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50781 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50782 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50783 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50784 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50785 * nptl/sysdeps/sh/tls.h: Moved ...
50786 * sysdeps/sh/nptl/tls.h: ... here.
50787 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50788 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50789 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50790 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50791 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50792 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50793 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50794 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50795 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50796 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50797 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50798 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50799 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50800 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50801 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50802 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50804 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50805 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50806 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50808 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50810 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50811 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50812 Moved ...
50813 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50815 Moved ...
50816 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50817 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50820 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50821 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50822 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50823 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50824 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50825 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50826 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50827 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50828 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50829 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50830 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50831 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50832 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50833 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50834 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50835
50836 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50837
50838 * posix/spawn_faction_addopen.c: Include string.h.
50839
50840 2014-06-11 Roland McGrath <roland@hack.frob.com>
50841
50842 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50843 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50844 * nptl/sysdeps/x86_64/Makefile: Moved ...
50845 * sysdeps/x86_64/nptl/Makefile: ... here.
50846 * nptl/sysdeps/x86_64/configure: Moved ...
50847 * sysdeps/x86_64/nptl/configure: ... here.
50848 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50849 * sysdeps/x86_64/nptl/configure.ac: ... here.
50850 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50851 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50852 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50853 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50854 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50855 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50856 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50857 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50858 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50859 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50860 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50861 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50862 * nptl/sysdeps/x86_64/tls.h: Moved ...
50863 * sysdeps/x86_64/nptl/tls.h: ... here.
50864 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50865 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50866 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50867 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50868
50869 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50870
50871 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50872
50873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50874
50875 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50876
50877 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50878 type.
50879 [POSIX] (off_t): Likewise.
50880 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50881 [POSIX] (S_ISBLK): Require macro.
50882 [POSIX] (S_ISCHR): Likewise.
50883 [POSIX] (S_ISDIR): Likewise.
50884 [POSIX] (S_ISFIFO): Likewise.
50885 [POSIX] (S_ISREG): Likewise.
50886 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50887 optional-macro.
50888 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50889 type.
50890 [POSIX] (time_t): Likewise.
50891 [POSIX] (timer_t): Likewise.
50892
50893 2014-06-11 Florian Weimer <fweimer@redhat.com>
50894
50895 [BZ #17048]
50896 * posix/spawn_int.h (struct __spawn_action): Make the path string
50897 non-const to support deallocation.
50898 * posix/spawn_faction_addopen.c
50899 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50900 * posix/spawn_faction_destroy.c
50901 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50902 path in all spawn_do_open actions.
50903 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50904 posix_spawn_file_actions_addopen.
50905
50906 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50907
50908 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50909 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50910 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50911 conditional code always true.
50912 (__libc_vfork): New alias.
50913
50914 2014-06-11 Roland McGrath <roland@hack.frob.com>
50915
50916 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50917 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50918
50919 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50920
50921 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50922 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50923
50924 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50925 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50926
50927 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50928 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50929
50930 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50931
50932 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50933 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50934 multiarch strcmp for PPC64.
50935 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50936 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50938 multiarch optimizations.
50939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50940 (__libc_ifunc_impl_list): Likewise.
50941
50942 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50943
50944 * benchtests/scripts/validate_benchout.py: New script.
50945 * benchtests/Makefile (bench-func): Call it.
50946 * benchtests/scripts/benchout.schema.json: New file.
50947
50948 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50949
50950 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50951 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50952 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50953 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50954 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50955 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50956 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50957 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50958 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50959 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50960 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50961 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50962 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50963 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50964 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50965 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50967 Moved ...
50968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50969 ... here.
50970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50971 Moved ...
50972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50974 Moved ...
50975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50976 ... here.
50977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50978 Moved ...
50979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50980 ... here.
50981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50982 Moved ...
50983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50985 Moved ...
50986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50987 ... here.
50988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50989 Moved ...
50990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50991 ... here.
50992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50993 Moved ...
50994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50996 Moved ...
50997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50998 ... here.
50999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
51000 Moved ...
51001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
51002 ... here.
51003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
51004 Moved ...
51005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
51006 ... here.
51007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
51008 Moved ...
51009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
51010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
51011 Moved ...
51012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
51013 ... here.
51014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
51015 Moved ...
51016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
51017 ... here.
51018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
51019 Moved ...
51020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
51021 ... here.
51022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
51023 Moved ...
51024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
51025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
51026 Moved ...
51027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
51028 ... here.
51029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
51030 Moved ...
51031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
51032 ... here.
51033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
51034 Moved ...
51035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
51036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
51037 Moved ...
51038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
51039 ... here.
51040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
51041 Moved ...
51042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
51043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
51044 Moved ...
51045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
51046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
51047 Moved ...
51048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
51049 ... here.
51050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
51051 Moved ...
51052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
51053 ... here.
51054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
51055 Moved ...
51056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
51057 ... here.
51058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
51059 Moved ...
51060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
51061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
51062 Moved ...
51063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
51064 ... here.
51065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
51066 Moved ...
51067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
51068 ... here.
51069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
51070 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
51071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
51072 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
51073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
51074 Moved ...
51075 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
51076 ... here.
51077 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
51078 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
51079 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
51080 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
51081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
51082 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
51083 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
51084 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
51085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
51086 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
51087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
51088 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
51089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
51090 Moved ...
51091 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
51092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
51093 Moved ...
51094 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
51095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
51096 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
51097 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
51098 Moved ...
51099 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
51100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
51101 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
51102 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
51103 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
51104 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
51105 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
51106
51107 2014-06-10 Wilco <wdijkstr@arm.com>
51108
51109 * math/test-fenv-return.c: New file.
51110 * math/Makefile: Add new test test-fenv-return.
51111
51112 2014-06-10 Joseph Myers <joseph@codesourcery.com>
51113
51114 [BZ #17042]
51115 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
51116 when x - 1 is zero.
51117 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
51118 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
51119 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
51120 0.0L for an argument of 1.0L.
51121 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
51122 Likewise.
51123 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
51124 value when x - 1 is zero.
51125 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
51126 * sysdeps/i386/fpu/libm-test-ulps: Update.
51127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51128
51129 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
51130
51131 [BZ #15119]
51132 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
51133
51134 2014-06-09 Roland McGrath <roland@hack.frob.com>
51135
51136 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
51137 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
51138
51139 2014-06-09 Roland McGrath <roland@hack.frob.com>
51140
51141 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51142 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
51143
51144 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51145 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
51146
51147 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51148 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
51149
51150 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51151 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51152
51153 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51154 if not already defined.
51155 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51156 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51157 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51158 (TLS_INIT_TP): Use it.
51159 (TLS_DEFINE_INIT_TP): New macro.
51160 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51161
51162 2014-06-09 Joseph Myers <joseph@codesourcery.com>
51163
51164 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51165 constant.
51166 [POSIX] (IXANY): Likewise.
51167 [POSIX] (OLCUC): Likewise.
51168 [POSIX || POSIX2008] (CBAUD): Do not allow.
51169 [POSIX || POSIX2008] (DEFECHO): Likewise.
51170 [POSIX || POSIX2008] (ECHOCTL): Likewise.
51171 [POSIX || POSIX2008] (ECHOKE): Likewise.
51172 [POSIX || POSIX2008] (ECHOPRT): Likewise.
51173 [POSIX || POSIX2008] (EXTA): Likewise.
51174 [POSIX || POSIX2008] (EXTB): Likewise.
51175 [POSIX || POSIX2008] (FLUSHO): Likewise.
51176 [POSIX || POSIX2008] (LOBLK): Likewise.
51177 [POSIX || POSIX2008] (PENDIN): Likewise.
51178 [POSIX || POSIX2008] (SWTCH): Likewise.
51179 [POSIX || POSIX2008] (VDISCARD): Likewise.
51180 [POSIX || POSIX2008] (VDSUSP): Likewise.
51181 [POSIX || POSIX2008] (VLNEXT): Likewise.
51182 [POSIX || POSIX2008] (VREPRINT): Likewise.
51183 [POSIX || POSIX2008] (VSTATUS): Likewise.
51184 [POSIX || POSIX2008] (VWERASE): Likewise.
51185 (B*): Change to B[0123456789]*.
51186 * conform/data/time.h-data [POSIX || UNIX98]
51187 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51188 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51189 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51190 [POSIX] (tm_*): Do not allow.
51191
51192 2014-06-07 Joseph Myers <joseph@codesourcery.com>
51193
51194 * Makefile (install): Don't set LANGUAGE.
51195 * Makefile.in (install): Likewise.
51196 * assert/Makefile (test-assert-ENV): Remove variable.
51197 (test-assert-perr-ENV): Likewise.
51198 * elf/Makefile (neededtest4-ENV): Likewise.
51199 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51200 [$(cross-compiling) = no]: Don't set LANGUAGE.
51201 * io/ftwtest-sh (LANG): Remove variable.
51202 * libio/Makefile (tst-widetext-ENV): Likewise.
51203 * manual/install.texi (Running make install): Don't refer to
51204 environment settings for make install.
51205 * INSTALL: Regenerated.
51206 * nptl/tst-tls6.sh: Don't set LANG.
51207 * posix/globtest.sh (LANG): Remove variable.
51208 * string/Makefile (tester-ENV): Likewise.
51209 (inl-tester-ENV): Likewise.
51210 (noinl-tester-ENV): Likewise.
51211 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51212 [$(cross-compiling) = no]: Don't set LANGUAGE.
51213 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51214 without explicit environment settings.
51215
51216 2014-06-06 Roland McGrath <roland@hack.frob.com>
51217
51218 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51219 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51220 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51221 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51222
51223 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
51224
51225 * crypt/crypt-private.h [DOS]: Add some includes taken from the
51226 other files in the crypt directory.
51227 * crypt/crypt.c: Remove duplicate includes.
51228 * crypt/crypt-entry.c: Likewise.
51229 * crypt/crypt_util.c: Likewise.
51230
51231 2014-06-06 Joseph Myers <joseph@codesourcery.com>
51232
51233 * Makeconfig (run-program-env): New variable.
51234 (run-program-prefix-before-env): Likewise.
51235 (run-program-prefix-after-env): Likewise.
51236 (run-program-prefix): Define in terms of new variables.
51237 (built-program-cmd-before-env): New variable.
51238 (built-program-cmd-after-env): Likewise.
51239 (built-program-cmd): Define in terms of new variables.
51240 (test-program-prefix-before-env): New variable.
51241 (test-program-prefix-after-env): Likewise.
51242 (test-program-prefix): Define in terms of new variables.
51243 (test-program-cmd-before-env): New variable.
51244 (test-program-cmd-after-env): Likewise.
51245 (test-program-cmd): Define in terms of new variables.
51246 * Rules (make-test-out): Use $(run-program-env).
51247 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51248 (help): Do not mention environment variables. Mention
51249 --timeoutfactor option.
51250 (timeoutfactor): New variable.
51251 (blacklist_exports): Remove function.
51252 (exports): Remove variable.
51253 (command): Do not include ${exports}.
51254 * manual/install.texi (Configuring and compiling): Do not mention
51255 test wrappers preserving environment variables. Mention that last
51256 assignment to a variable must take precedence.
51257 * INSTALL: Regenerated.
51258 * benchtests/Makefile (run-bench): Use $(run-program-env).
51259 * catgets/Makefile ($(objpfx)test1.cat): Use
51260 $(built-program-cmd-before-env), $(run-program-env) and
51261 $(built-program-cmd-after-env).
51262 ($(objpfx)test2.cat): Do not specify environment variables
51263 explicitly.
51264 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51265 $(run-program-env) and $(built-program-cmd-after-env).
51266 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51267 $(run-program-env) and $(test-program-cmd-after-env).
51268 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51269 explicitly.
51270 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51271 run_program_env and test_program_cmd_after_env arguments.
51272 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51273 * elf/tst-pathopt.sh: Use run_program_env argument.
51274 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51275 $(test-wrapper-env) and $(run-program-env).
51276 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51277 run_program_env arguments.
51278 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51279 * intl/Makefile ($(objpfx)tst-gettext.out): Use
51280 $(test-program-prefix-before-env), $(run-program-env) and
51281 $(test-program-prefix-after-env).
51282 ($(objpfx)tst-gettext2.out): Likewise.
51283 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51284 run_program_env and test_program_prefix_after_env arguments.
51285 * intl/tst-gettext2.sh: Likewise.
51286 * intl/tst-gettext4.sh: Do not set environment variables
51287 explicitly.
51288 * intl/tst-gettext6.sh: Likewise.
51289 * intl/tst-translit.sh: Likewise.
51290 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51291 $(test-program-prefix-before-env), $(run-program-env) and
51292 $(test-program-prefix-after-env).
51293 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51294 run_program_env and test_program_prefix_after_env arguments.
51295 * math/Makefile (run-regen-ulps): Use $(run-program-env).
51296 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51297 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
51298 explicitly with each use of ${test_wrapper_env}.
51299 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51300 $(test-program-prefix-before-env), $(run-program-env) and
51301 $(test-program-prefix-after-env).
51302 * posix/tst-getconf.sh: Do not set environment variables
51303 explicitly.
51304 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51305 run_program_env and test_program_prefix_after_env arguments.
51306 * stdio-common/tst-printf.sh: Do not set environment variables
51307 explicitly.
51308 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51309 $(test-program-prefix-before-env), $(run-program-env) and
51310 $(test-program-prefix-after-env).
51311 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51312 run_program_env and test_program_prefix_after_env arguments.
51313 Split $test calls into $test_pre and $test.
51314 * timezone/Makefile (build-testdata): Use
51315 $(built-program-cmd-before-env), $(run-program-env) and
51316 $(built-program-cmd-after-env).
51317
51318 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51319
51320 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51321 strlen for non SHARED builds.
51322
51323 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51324
51325 * nptl/allocatestack.c (check_list): Inlined function...
51326 (__reclaim_stacks): ... here.
51327
51328 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
51329
51330 [BZ #15698]
51331 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51332 memory overrun.
51333
51334 2014-06-05 Joseph Myers <joseph@codesourcery.com>
51335
51336 * Rules (make-test-out): Include
51337 LOCPATH=$(common-objpfx)localedata in default environment.
51338 * debug/Makefile (tst-chk1-ENV): Remove variable.
51339 (tst-chk2-ENV): Likewise.
51340 (tst-chk3-ENV): Likewise.
51341 (tst-chk4-ENV): Likewise.
51342 (tst-chk5-ENV): Likewise.
51343 (tst-chk6-ENV): Likewise.
51344 (tst-lfschk1-ENV): Likewise.
51345 (tst-lfschk2-ENV): Likewise.
51346 (tst-lfschk3-ENV): Likewise.
51347 (tst-lfschk4-ENV): Likewise.
51348 (tst-lfschk5-ENV): Likewise.
51349 (tst-lfschk6-ENV): Likewise.
51350 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51351 (tst-iconv7-ENV): Likewise.
51352 * intl/Makefile (LOCPATH-ENV): Likewise.
51353 (tst-codeset-ENV): Likewise.
51354 (tst-gettext3-ENV): Likewise.
51355 (tst-gettext5-ENV): Likewise.
51356 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51357 (tst-fopenloc-ENV): Likewise.
51358 (tst-fgetws-ENV): Remove variable.
51359 (tst-ungetwc1-ENV): Likewise.
51360 (tst-ungetwc2-ENV): Likewise.
51361 (bug-ungetwc2-ENV): Likewise.
51362 (tst-swscanf-ENV): Likewise.
51363 (bug-ftell-ENV): Likewise.
51364 (tst-fgetwc-ENV): Likewise.
51365 (tst-fseek-ENV): Likewise.
51366 (tst-ftell-partial-wide-ENV): Likewise.
51367 (tst-ftell-active-handler-ENV): Likewise.
51368 (tst-ftell-append-ENV): Likewise.
51369 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51370 (tst-regexloc-ENV): Likewise.
51371 (bug-regex1-ENV): Likewise.
51372 (tst-regex-ENV): Likewise.
51373 (tst-regex2-ENV): Likewise.
51374 (bug-regex5-ENV): Likewise.
51375 (bug-regex6-ENV): Likewise.
51376 (bug-regex17-ENV): Likewise.
51377 (bug-regex18-ENV): Likewise.
51378 (bug-regex19-ENV): Likewise.
51379 (bug-regex20-ENV): Likewise.
51380 (bug-regex22-ENV): Likewise.
51381 (bug-regex23-ENV): Likewise.
51382 (bug-regex25-ENV): Likewise.
51383 (bug-regex26-ENV): Likewise.
51384 (bug-regex30-ENV): Likewise.
51385 (bug-regex32-ENV): Likewise.
51386 (bug-regex33-ENV): Likewise.
51387 (bug-regex34-ENV): Likewise.
51388 (bug-regex35-ENV): Likewise.
51389 (tst-rxspencer-ENV): Likewise.
51390 (tst-rxspencer-no-utf8-ENV): Likewise.
51391 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51392 (tst-sscanf-ENV): Likewise.
51393 (tst-swprintf-ENV): Likewise.
51394 (tst-swscanf-ENV): Likewise.
51395 (test-vfprintf-ENV): Likewise.
51396 (scanf13-ENV): Likewise.
51397 (bug14-ENV): Likewise.
51398 (tst-grouping-ENV): Likewise.
51399 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51400 (tst-strtod3-ENV): Likewise.
51401 (tst-strtod4-ENV): Likewise.
51402 (tst-strtod5-ENV): Likewise.
51403 (testmb2-ENV): Likewise./
51404 * string/Makefile (tst-strxfrm-ENV): Likewise.
51405 (tst-strxfrm2-ENV): Likewise.
51406 (bug-strcoll1-ENV): Likewise.
51407 (test-strcasecmp-ENV): Likewise.
51408 (test-strncasecmp-ENV): Likewise.
51409 * time/Makefile (tst-strptime-ENV): Likewise.
51410 (tst-ftime_l-ENV): Likewise.
51411 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51412 (tst-mbrtowc-ENV): Likewise.
51413 (tst-wcrtomb-ENV): Likewise.
51414 (tst-mbrtowc2-ENV): Likewise.
51415 (tst-c16c32-1-ENV): Likewise.
51416 (tst-mbsnrtowcs-ENV): Likewise.
51417
51418 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
51419
51420 * manual/resource.texi (How to get information about the memory
51421 subsystem?): Fix typo.
51422 Reported by Peon de la Parra Ivan <peon@keba.com>
51423
51424 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51425
51426 [BZ #16882]
51427 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51428 (pthread_spin_lock): Branch out of spin loop to proper location.
51429 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51430 (pthread_spin_lock): Likewise.
51431
51432 * nptl/tst-spin4.c: New test.
51433 * nptl/Makefile (tests): Add tst-spin4.
51434
51435 2014-06-03 Andreas Schwab <schwab@suse.de>
51436
51437 [BZ #15946]
51438 * resolv/res_send.c (send_dg): Reload file descriptor after
51439 calling reopen.
51440
51441 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51442
51443 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51444
51445 2014-06-03 Richard Henderson <rth@redhat.com>
51446
51447 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51448 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51449 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51450 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51451 in the SAVE_PID block.
51452 (__libc_vfork): New alias.
51453 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51454
51455 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51456 child in registers, not on the stack. Remove RESET_PID conditionals.
51457 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51458
51459 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51460
51461 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51462
51463 2014-06-03 Wilco <wdijkstr@arm.com>
51464
51465 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51466 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51468 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51469 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51470 Likewise.
51471
51472 2014-06-03 Wilco <wdijkstr@arm.com>
51473
51474 * sysdeps/aarch64/fpu/math_private.h
51475 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51476 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51477 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51478 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51479 Fix declarations.
51480
51481 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51482
51483 * crypt/crypt-private.h: Include ufc-crypt.h.
51484 (__b64_from_24bit): Declare extern.
51485 * crypt/crypt_util.c(__b64_from_24bit): New function.
51486 (b64t): New static const variable.
51487 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51488 (b64t): Remove variable.
51489 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51490 * crypt/sha256-crypt.c: Include crypt-private.h.
51491 (b64t): Remove variable.
51492 (__sha256_crypt_r): Remove b64_from_24bit and replace
51493 with __b64_from_24bit.
51494 * crypt/sha512-crypt.c: Likewise.
51495
51496 2014-06-02 Roland McGrath <roland@hack.frob.com>
51497
51498 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51499 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51500 Label the code __libc_vfork rather than __vfork.
51501 [!NOT_IN_libc] (vfork): Define as weak alias.
51502 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51503 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51504 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51505
51506 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51507
51508 * malloc/malloc.c (malloc_info): Fix format specifier for
51509 n_mmaps.
51510
51511 2014-06-02 Wilco <wdijkstr@arm.com>
51512
51513 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51514 FPCR write.
51515
51516 2014-06-02 Wilco <wdijkstr@arm.com>
51517
51518 [BZ #17009]
51519 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51520 Rewrite to reduce FPCR/FPSR accesses.
51521
51522 2014-06-01 David S. Miller <davem@davemloft.net>
51523
51524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51525
51526 2014-05-31 David S. Miller <davem@davemloft.net>
51527
51528 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51529 to occur in round to nearest mode when |x| >= 2.0
51530
51531 2014-05-30 Richard Henderson <rth@twiddle.net>
51532
51533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51534 (PSEUDO_RET_NOERRNO): Remove.
51535 (ret): Don't redefine.
51536 (ret_NOERRNO): Define in terms of ret.
51537 (ret_ERRVAL): Likewise.
51538
51539 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51540 use of PSEUDO_RET; perform the error check directly.
51541
51542 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51543
51544 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51545 with __int128_t.
51546
51547 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51548
51549 * malloc/malloc (malloc_info): Fix formatting.
51550
51551 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51552 Roland McGrath <roland@hack.frob.com>
51553
51554 * malloc/malloc (malloc_info): Also print mmapped statistics.
51555
51556 2014-05-30 Roland McGrath <roland@hack.frob.com>
51557
51558 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51559 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51560
51561 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
51562
51563 * malloc/malloc.c (malloc_info): Inline mi_arena.
51564
51565 2014-05-29 Richard Henderson <rth@twiddle.net>
51566
51567 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51568 Remove comma before expanding ASM_ARGS_##nr.
51569 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51570 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51571 of ASM_ARGS_##nr.
51572 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51573 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51574 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51575 (ASM_ARGS_1): Add leading comma.
51576
51577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51578 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51579 to __errno_location.
51580 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51581 Remove the expected plt for __errno_location.
51582
51583 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51584 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51585 call to __read_tp.
51586
51587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51588 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51589 it and break it down.
51590 (DOCARGS_0, DOCARGS_1): Do nothing.
51591 (DOCARGS_2): Update to store into the new stack frame.
51592 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51593 (UNDOCARGS_1): Update to restore from the new stack frame.
51594 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51595 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51596
51597 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51598 (SINGLE_THREAD_P): New parameter for result regno.
51599 (PSEUDO): Update to match; use cbz instead of beq.
51600
51601 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51602 Use ENTRY to define the _nocancel entry point. Share the syscall
51603 and syscall error check paths with the cancel path.
51604 (PSEUDO_END): New.
51605
51606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51607 whitespace; tabs before and after asm mnemonics.
51608
51609 2014-05-29 Eric Wong <normalperson@yhbt.net>
51610
51611 [BZ #15132]
51612 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51613 Call fstat64 or stat64 internally, depending on arguments passed.
51614 Replace stat buffer argument with file descriptor argument.
51615 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51616 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51617 Pass fd to __internal_statvfs instead of calling fstat64.
51618 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51619 Pass fd to __internal_statvfs64 instead of calling fstat64.
51620 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51621 Pass -1 to __internal_statvfs instead of calling stat64.
51622 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51623 Pass -1 to __internal_statvfs64 instead of calling stat64.
51624
51625 2014-05-28 Roland McGrath <roland@hack.frob.com>
51626
51627 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51628 that was previously under [RESET_PID].
51629 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51630
51631 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51632 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51633
51634 2014-05-27 Roland McGrath <roland@hack.frob.com>
51635
51636 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51637
51638 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51639 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51640
51641 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
51642
51643 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51644
51645 2014-05-27 Andreas Schwab <schwab@suse.de>
51646
51647 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51648 TLS_INIT_TP macro.
51649 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51650 * elf/rtld.c (init_tls, dl_main): Likewise.
51651 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51652 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51653 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51654 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51655 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51656 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51657 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51658 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51659 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51660 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51661 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51662 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51663 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51664 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51665 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51666 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51667 * sysdeps/generic/tls.h: Update description.
51668
51669 2014-05-27 Will Newton <will.newton@linaro.org>
51670
51671 [BZ #16990]
51672 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51673 and restore r2 rather than just restoring.
51674
51675 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51676
51677 [BZ #16724]
51678 * libio/tst-ftell-append.c: New test case.
51679 * libio/Makefile (tests): Add test case.
51680 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51681 append mode.
51682 * libio/wfileops.c (do_ftell_wide): Likewise.
51683
51684 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51685
51686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51687
51688 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51689 ...
51690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51692 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51693 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51695 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51696 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51697 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51699 Moved ...
51700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51702 Moved ...
51703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51704 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51705 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51706 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51707 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51708 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51709 ...
51710 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51711 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51712 Moved ...
51713 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51714 here.
51715 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51716 ...
51717 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51718 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51719 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51720
51721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51722 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51723 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51724 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51725
51726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51727 merge into ...
51728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51730 ...
51731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51733 ...
51734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51736 Moved ...
51737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51738 here.
51739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51740 Moved ...
51741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51743 Moved ...
51744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51745
51746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51747 conditional [RESET_PID].
51748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51750 removed.
51751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51752 removed.
51753
51754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51755 <tcb-offsets.h>.
51756 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51757 (__libc_vfork): New strong alias.
51758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51759 removed.
51760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51761 Removed.
51762
51763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51764 <tcb-offsets.h>.
51765 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51766 (__libc_vfork): New strong alias.
51767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51768 removed.
51769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51770 removed.
51771
51772 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51773
51774 * malloc/malloc.c (mi_arena): New function.
51775 (malloc_info): Remove nested function mi_arena. Call non-nosted
51776 function mi_arena.
51777
51778 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51779
51780 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51781 by insrwi.
51782 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51783 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51784 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51785 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51786 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51787 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51788 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51789
51790 2014-05-26 Andreas Schwab <schwab@suse.de>
51791
51792 [BZ #16984]
51793 * locale/programs/repertoire.c (repertoire_read): Add slash
51794 between I18NPATH element and file name.
51795 * locale/programs/locfile.c (locfile_read): Likewise.
51796
51797 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51798
51799 * nptl/pthread_mutexattr_settype.c
51800 (__pthread_mutexattr_settype):
51801 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51802
51803 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51804
51805 * nptl/tst-mutex5 (do_test):
51806 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51807
51808 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51809
51810 * benchtests/README: Document 'init' directive.
51811 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51812 BENCH_INIT.
51813 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51814 (parse_file): Recognize 'init' directive.
51815
51816 2014-05-26 Kyle McMartin <kyle@redhat.com>
51817
51818 [BZ #16796]
51819 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51820 alignment of struct pthread.
51821
51822 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51823
51824 [BZ #16878]
51825 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51826 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51827 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51828 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51829
51830 2014-05-25 Richard Henderson <rth@twiddle.net>
51831
51832 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51833 (SINGLE_THREAD_P_PIC): Remove.
51834 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51835 (SINGLE_THREAD_P_PIC): Remove.
51836
51837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51838 branch to syscall error ...
51839 (PSEUDO): ... here.
51840 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51841 from __local_syscall_error to .Lsyscall_error.
51842 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51843 (SYSCALL_ERROR): Update label name.
51844
51845 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51846 Do not use DOARGS/UNDOARGS.
51847 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51848 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51849 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51850 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51851 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51852
51853 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51854 block comment.
51855
51856 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51857 define if !NOT_IN_libc.
51858 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51859 define with non-default symbol versions.
51860
51861 2014-05-23 Richard Henderson <rth@twiddle.net>
51862
51863 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51864 (vfork, __vfork): Define via compat_symbol.
51865
51866 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51867 [!HAVE_IFUNC] (vfork_compat): Remove.
51868 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51869
51870 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51871
51872 [BZ #16978]
51873 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51874 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51875 variable.
51876
51877 2014-05-23 Richard Henderson <rth@twiddle.net>
51878
51879 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51880 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51881 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51882 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51883
51884 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51885 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51886 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51887 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51888 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51889 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51890 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51891 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51892 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51893 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51894 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51895 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51896 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51897 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51898 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51899 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51900 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51901 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51902 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51904 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51905 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51906 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51907 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51908 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51909 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51910 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51911 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51912 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51913 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51914 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51915 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51916 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51917 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51918 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51919 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51920 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51921 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51922 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51923 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51924 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51925 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51926 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51927 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51928 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51929 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51930 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51931 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51932 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51933 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51934 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51935 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51937 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51938 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51939 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51940
51941 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51942 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51943 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51944 before exiting on error.
51945 (__libc_vfork): New strong alias.
51946 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51947 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51948
51949 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51950 that was previously under [RESET_PID].
51951 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51952
51953 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51954
51955 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51956
51957 [BZ #16977]
51958 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51959 value when x - 1 is zero.
51960 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51961 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51962 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51963 0.0L for an argument of 1.0L.
51964 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51965 Likewise.
51966 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51967 value when x - 1 is zero.
51968 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51969 * sysdeps/i386/fpu/libm-test-ulps: Update.
51970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51971
51972 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51973
51974 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51975 alphasort and versionsort.
51976
51977 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51978
51979 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51980 macro.
51981 [copysignf]: Likewise.
51982
51983 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51984
51985 * crypt/md5-crypt.c: Fix formatting.
51986
51987 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51988
51989 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51990 (b64_from_24bit): New function.
51991
51992 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51993
51994 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51995 libc_hidden_builtin_def to ifunc.
51996 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51997 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51998
51999 2014-05-21 Roland McGrath <roland@hack.frob.com>
52000
52001 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
52002 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
52003
52004 2014-05-21 Joseph Myers <joseph@codesourcery.com>
52005
52006 * nscd/Depend (linuxthreads): Remove.
52007 (nptl): Add.
52008 * resolv/Depend (linuxthreads): Remove.
52009 * rt/Depend (linuxthreads): Remove.
52010
52011 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
52012 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
52013 $(common-objpfx)elf/.
52014 (link-libc-before-gnulib): Likewise.
52015 (elfobjdir): Remove variable.
52016 * Makefile (install): Use $(elf-objpfx) instead of
52017 $(common-objpfx)elf/.
52018 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
52019 $(elfobjdir)/.
52020 (link-libc-deps): Likewise.
52021 ($(common-objpfx)libc.so): Likewise.
52022 ($(common-objpfx)linkobj/libc.so): Likewise.
52023 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
52024 instead of $(common-objpfx)elf/.
52025 (symbolic-link-list): Likewise.
52026 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
52027 [$(cross-compiling) = no]: Likewise.
52028 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
52029 $(elfobjdir)/.
52030 (static-gnulib-arch): Likewise.
52031 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
52032 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
52033 $(common-objpfx)elf/.
52034
52035 2014-05-21 Richard Henderson <rth@redhat.com>
52036
52037 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
52038 (SINGLE_THREAD_P): Use the correct width load. Fold
52039 into the ldr offset.
52040
52041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
52042 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
52043
52044 2014-05-20 Joseph Myers <joseph@codesourcery.com>
52045
52046 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
52047 (libgcc_s_resume): Use __attribute_used__.
52048 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
52049 Likewise.
52050
52051 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52052
52053 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
52054 optimization when used with float constants.
52055
52056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52057
52058 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
52059
52060 [BZ #16915]
52061 * locale/nl_langinfo_l.c: Make direct reference to every
52062 _nl_current_CATEGORY symbol.
52063 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
52064 (tests-static): Add tst-langinfo-static.
52065 (tests-special): Add tst-langinfo-static.out.
52066 ($(objpfx)tst-langinfo.out): Redirect output.
52067 ($(objpfx)tst-langinfo-static.out): New.
52068 * localedata/tst-langinfo.sh: Send output to stdout.
52069 * localedata/tst-langinfo-static.c: New file.
52070
52071 [BZ #16965]
52072 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
52073 when the shift amount is modulo the limb size.
52074
52075 2014-05-20 Richard Henderson <rth@redhat.com>
52076
52077 [BZ #16967]
52078 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
52079 Change type of sa_flags from unsigned int to int.
52080
52081 [BZ #16966]
52082 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
52083
52084 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
52085
52086 2014-05-20 Will Newton <will.newton@linaro.org>
52087
52088 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
52089 Test the return value of the system call in the nocancel case.
52090
52091 2014-05-20 Will Newton <will.newton@linaro.org>
52092 Yvan Roux <yvan.roux@linaro.org>
52093
52094 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
52095 #include of asm/ptrace.h.
52096 (PTRACE_GET_THREAD_AREA): Remove #undef.
52097 (PTRACE_GETHBPREGS): Likewise.
52098 (PTRACE_SETHBPREGS): Likewise.
52099 (struct user_regs_struct): New structure.
52100 (struct user_fpsimd_struct): New structure.
52101 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
52102 #include of asm/ptrace.h and second #include of sys/user.h.
52103 (PTRACE_GET_THREAD_AREA): Remove #undef.
52104 (PTRACE_GETHBPREGS): Likewise.
52105 (PTRACE_SETHBPREGS): Likewise.
52106 (ELF_NGREG): Use new struct user_regs_struct.
52107 (elf_fpregset_t): Use new struct user_fpsimd_struct.
52108
52109 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52110
52111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
52112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
52113
52114 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
52115
52116 [BZ #16958]
52117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
52118 membar to avoid block loads/stores to overlap previous stores.
52119
52120 2014-05-17 Richard Henderson <rth@redhat.com>
52121
52122 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
52123 Create the __##syscall_name##_nocancel entry point.
52124 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
52125 Remove; let the sysdep-cancel.h code create it.
52126
52127 2014-05-17 David S. Miller <davem@davemloft.net>
52128
52129 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
52130 Protect with __USE_GNU.
52131 (TIOCSET_TEMPT): Likewise.
52132 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
52133 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
52134 these are already provided in bits/ioctl-types.h
52135
52136 2014-05-16 Roland McGrath <roland@hack.frob.com>
52137
52138 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
52139 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
52140
52141 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
52142 Use wait4 regardless of [__NR_waitpid].
52143
52144 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
52145
52146 PR libgcc/60166
52147 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52148 (_FP_NANSIGN_Q): Set the quiet bit.
52149
52150 2014-05-16 Joseph Myers <joseph@codesourcery.com>
52151
52152 * benchtests/Makefile
52153 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52154 not $(common-objpfx)math/libm.so.
52155 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52156 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52157 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52158 $(common-objpfx)dlfcn/libdl.so.
52159 ($(objpfx)tst-audit8): Depend on $(libm), not
52160 $(common-objpfx)math/libm.so.
52161 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52162 not $(common-objpfx)dlfcn/libdl.so.
52163 * math/Makefile
52164 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52165 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
52166 [$(build-shared) = yes].
52167 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52168 $(common-objpfx)nptl/libpthread.so.
52169 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52170 $(common-objpfx)math/libm.so$(libm.so-version) or
52171 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52172 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52173 $(common-objpfx)dlfcn/libdl.so.
52174 * setjmp/Makefile (link-libm): Remove variable.
52175 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52176 * stdio-common/Makefile (link-libm): Remove variable.
52177 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52178 * stdlib/Makefile (link-libm): Remove variable.
52179 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52180 ($(objpfx)tst-strtod-round): Likewise.
52181 ($(objpfx)tst-tininess): Likewise.
52182 ($(objpfx)tst-strtod-underflow): Likewise.
52183 ($(objpfx)tst-strtod6): Likewise.
52184 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52185 $(libdl), not $(common-objpfx)nptl/libpthread.so and
52186 $(common-objpfx)dlfcn/libdl.so.
52187
52188 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52189
52190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52191 BSD terminal modes definitions.
52192
52193 2014-05-16 Roland McGrath <roland@hack.frob.com>
52194
52195 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52196 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52197
52198 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52199 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52200 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52201 Don't do #include_next.
52202 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52203 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52204 Don't do #include_next.
52205 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52206 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52207 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52208 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52209
52210 2014-05-16 Allan McRae <allan@archlinux.org>
52211
52212 * po/sv.po: Update Swedish translation from translation project.
52213
52214 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52215 in sed expression.
52216
52217 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
52218
52219 [BZ #16917]
52220 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52221 errno if the TIOCGPTN ioctl fails with an error different than
52222 EINVAL.
52223 * login/tst-ptsname.c: New file.
52224 * login/Makefile (tests): Add tst-ptsname.
52225
52226 [BZ #16943]
52227 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52228 and prlimit64.
52229
52230 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52231
52232 [BZ #16849]
52233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52234 herrno to return EAI_AGAIN.
52235
52236 2014-05-14 Roland McGrath <roland@hack.frob.com>
52237
52238 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52239 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52240 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52241 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52242 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52243 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52244 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52245 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52247 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52248 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52249 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52250 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52251 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52252 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52253 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52254 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52255 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52256 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52257 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52258 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52259 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52260 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52261 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52262 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52263 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52264 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52265 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52266 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52267 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52269 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52271 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52273 Moved ...
52274 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52276 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52278 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52280 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52282 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52284 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52286 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52288 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52290 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52292 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52294 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52296 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52298 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52300 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52302 Moved ...
52303 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52305 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52307 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52309 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52311 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52315 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52317 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52319 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52321 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52323 Moved ...
52324 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52326 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52327
52328 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52329 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52330 (libpthread-sysdep_routines): Add elision-related stuff here instead.
52331 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52332 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52333 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52334 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52335 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52336 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52337 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52338 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52339 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52340 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52341 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52342 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52343 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52344 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52345 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52346 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52347 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52348 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52349 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52350 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52351 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52352 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52353 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52354 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52355 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52356 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52357 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52358 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52359
52360 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52361 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52362
52363 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52364 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52365 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52367 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52369 Moved ...
52370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52372 Moved ...
52373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52374 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52375 Moved ...
52376 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52378 Moved ...
52379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52380 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52381 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52383 Moved ...
52384 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52385 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52386 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52388 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52389 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52390 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52392 Moved ...
52393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52394 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52395 Moved ...
52396 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52397 ... here.
52398 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52399 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52400 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52401 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52402 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52403 Moved ...
52404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52405 ... here.
52406 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52407 Moved ...
52408 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52409 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52410 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52412 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52414 Moved ...
52415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52417 Moved ...
52418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52419 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52420 Moved ...
52421 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52423 Moved ...
52424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52425 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52426 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52428 Moved ...
52429 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52430 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52431 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52433 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52434 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52435 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52437 Moved ...
52438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52439 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52440 Moved ...
52441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52442 ... here.
52443 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52444 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52445 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52446 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52447 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52448 Moved ...
52449 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52450 ... here.
52451 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52452 Moved ...
52453 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52454 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52455 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52456 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52457 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52458 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52459 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52461 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52462 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52463 Moved ...
52464 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52465 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52466 Moved ...
52467 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52469 Moved ...
52470 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52472 Moved ...
52473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52474 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52475 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52476 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52477 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52478 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52479 Moved ...
52480 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52481 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52482 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52484 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52485 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52486 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52488 Moved ...
52489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52490 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52491 Moved ...
52492 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52493 ... here.
52494 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52495 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52496 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52497 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52498 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52499 Moved ...
52500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52501 ... here.
52502 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52503 Moved ...
52504 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52505 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52506 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52507 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52508 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52509 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52510 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52511 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52512 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52513 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52514 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52515
52516 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52517 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52518
52519 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52520 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52521
52522 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52523 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52524 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52525 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52526 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52527 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52528 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52529 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52530 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52531 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52532 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52533 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52534 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52535 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52536 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52538 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52540 Moved ...
52541 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52543 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52545 Moved ...
52546 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52548 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52550 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52552 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52554 Moved ...
52555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52557 Moved ...
52558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52562 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52563 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52564 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52565 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52566 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52567 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52568 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52569 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52570 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52571 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52572 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52573 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52574 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52575
52576 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52577 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52578 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52579 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52580 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52581
52582 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52583 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52584 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52585 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52586 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52587 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52588 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52589 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52590 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52591 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52592
52593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52594 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52595
52596 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52597 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52598 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52599 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52600 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52601 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52602 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52603 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52604 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52605 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52606 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52607 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52608 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52609 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52611 Update #include.
52612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52613 Likewise.
52614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52615 Likewise.
52616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52617 Likewise.
52618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52619 Likewise.
52620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52621 Likewise.
52622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52623 Likewise.
52624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52625 Likewise.
52626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52627 Likewise.
52628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52629 Likewise.
52630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52631 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52636 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52637 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52638 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52639 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52640 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52641 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52642 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52643 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52644 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52645
52646 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52647 that was previously under [RESET_PID].
52648 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52649 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52650 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52651
52652 * sysdeps/i386/nptl/Implies: New file.
52653 * sysdeps/x86_64/nptl/Implies: New file.
52654 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52655 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52656 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52657 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52658
52659 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52660 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52661 (__libc_vfork): New strong alias.
52662 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52663 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52664
52665 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52666 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52667 (__libc_vfork): New strong alias.
52668 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52669 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52670
52671 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52673 (__libc_vfork): New strong alias.
52674 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52675 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52676 * nptl/pt-vfork.c: New file.
52677 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52678 (libpthread: GLIBC_2.20): New version set (empty).
52679
52680 2014-05-14 Will Newton <will.newton@linaro.org>
52681
52682 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52683 rather than #if.
52684
52685 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52686
52687 [BZ #16564]
52688 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52689 arguments with exponent 65 or above.
52690 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52691 arguments 0x1p113L or above.
52692 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52693 to arguments 0x1p107L or above.
52694 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52695 positive arguments with exponent 65 or above.
52696 * math/auto-libm-test-in: Add more tests of log1p.
52697 * math/auto-libm-test-out: Regenerated.
52698
52699 [BZ #16928]
52700 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52701 non-finite arguments is +0.
52702 * math/s_cacosf.c (__cacosf): Likewise.
52703 * math/s_cacosl.c (__cacosl): Likewise.
52704 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52705 * sysdeps/i386/fpu/libm-test-ulps: Update.
52706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52707
52708 [BZ #16927]
52709 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52710 value.
52711 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52712 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52713 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52714 for explicit high bit of mantissa when testing for argument equal
52715 to 1.
52716 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52717 * sysdeps/i386/fpu/libm-test-ulps: Update.
52718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52719
52720 [BZ #16516]
52721 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52722 (__erf): Scale by 16 instead of 8 in potentially underflowing
52723 case. Ensure exception if result actually underflows.
52724 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52725 (__erff): Scale by 16 instead of 8 in potentially underflowing
52726 case. Ensure exception if result actually underflows.
52727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52728 (efx8): Remove variable.
52729 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52730 case. Ensure exception if result actually underflows.
52731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52732 (efx8): Remove variable.
52733 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52734 case. Ensure exception if result actually underflows.
52735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52736 (efx8): Remove variable.
52737 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52738 case. Ensure exception if result actually underflows.
52739 * math/auto-libm-test-in: Add more tests of erf.
52740 * math/auto-libm-test-out: Regenerated.
52741
52742 2014-05-14 Andreas Schwab <schwab@suse.de>
52743
52744 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52745 Remove code conditionalized on USE___THREAD.
52746
52747 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52748 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52749 not definedness.
52750
52751 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52752
52753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52754 Define unconditionally.
52755 (__ASSUME_O_CLOEXEC): Likewise.
52756 (__ASSUME_SOCK_CLOEXEC): Likewise.
52757 (__ASSUME_IN_NONBLOCK): Likewise.
52758 (__ASSUME_PIPE2): Likewise.
52759 (__ASSUME_EVENTFD2): Likewise.
52760 (__ASSUME_SIGNALFD4): Likewise.
52761 (__ASSUME_DUP3): Likewise.
52762 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52763 (__ASSUME_DUP3): Do not define.
52764 (__ASSUME_EVENTFD2): Likewise.
52765 (__ASSUME_IN_NONBLOCK): Likewise.
52766 (__ASSUME_O_CLOEXEC): Likewise.
52767 (__ASSUME_PIPE2): Likewise.
52768 (__ASSUME_SIGNALFD4): Likewise.
52769 (__ASSUME_SOCK_CLOEXEC): Likewise.
52770 (__ASSUME_UTIMES): Undefine.
52771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52772 (__ASSUME_UTIMES): Do not define.
52773 (__ASSUME_O_CLOEXEC): Likewise.
52774 (__ASSUME_SOCK_CLOEXEC): Likewise.
52775 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52776 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52777 0x020621].
52778 (__ASSUME_PIPE2): Likewise.
52779 (__ASSUME_EVENTFD2): Likewise.
52780 (__ASSUME_SIGNALFD4): Likewise.
52781 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52782 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52783 Do not define.
52784 (__ASSUME_EVENTFD2): Likewise.
52785 (__ASSUME_SIGNALFD4): Likewise.
52786 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52787 (__ASSUME_32BITUIDS): Likewise.
52788 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52789 (__ASSUME_IPC64): Likewise.
52790 (__ASSUME_ST_INO_64_BIT): Likewise.
52791 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52792 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52793 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52794 (__ASSUME_UTIMES): Do not define.
52795 (__ASSUME_PSELECT): Likewise.
52796 (__ASSUME_PPOLL): Likewise.
52797 (__ASSUME_O_CLOEXEC): Likewise.
52798 (__ASSUME_SOCK_CLOEXEC): Likewise.
52799 (__ASSUME_IN_NONBLOCK): Likewise.
52800 (__ASSUME_PIPE2): Likewise.
52801 (__ASSUME_EVENTFD2): Likewise.
52802 (__ASSUME_SIGNALFD4): Likewise.
52803 (__ASSUME_DUP3): Likewise.
52804 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52805 (__ASSUME_UTIMES): Likewise.
52806 (__ASSUME_O_CLOEXEC): Likewise.
52807 (__ASSUME_SOCK_CLOEXEC): Likewise.
52808 (__ASSUME_IN_NONBLOCK): Likewise.
52809 (__ASSUME_PIPE2): Likewise.
52810 (__ASSUME_EVENTFD2): Likewise.
52811 (__ASSUME_SIGNALFD4): Likewise.
52812 (__ASSUME_DUP3): Likewise.
52813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52814 (__ASSUME_UTIMES): Likewise.
52815 (__ASSUME_O_CLOEXEC): Likewise.
52816 (__ASSUME_SOCK_CLOEXEC): Likewise.
52817 (__ASSUME_IN_NONBLOCK): Likewise.
52818 (__ASSUME_PIPE2): Likewise.
52819 (__ASSUME_EVENTFD2): Likewise.
52820 (__ASSUME_SIGNALFD4): Likewise.
52821 (__ASSUME_DUP3): Likewise.
52822 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52823 Likewise.
52824 (__ASSUME_UTIMES): Likewise.
52825 (__ASSUME_EVENTFD2): Likewise.
52826 (__ASSUME_SIGNALFD4): Likewise.
52827 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52828 (__ASSUME_O_CLOEXEC): Likewise.
52829 (__ASSUME_SOCK_CLOEXEC): Likewise.
52830 (__ASSUME_IN_NONBLOCK): Likewise.
52831 (__ASSUME_PIPE2): Likewise.
52832 (__ASSUME_EVENTFD2): Likewise.
52833 (__ASSUME_SIGNALFD4): Likewise.
52834 (__ASSUME_DUP3): Likewise.
52835 (__ASSUME_UTIMES): Undefine.
52836
52837 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52838 feclearexcept. Remove symbol versioning code.
52839 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52840 symbol versioning code.
52841 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52842 symbol versioning code.
52843 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52844 feupdateenv. Remove symbol versioning code.
52845 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52846 fegetexceptflag. Remove symbol versioning code.
52847 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52848 fesetexceptflag. Remove symbol versioning code.
52849 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52850 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52851 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52852 (__posix_fadvise64_l32): Remove prototype.
52853 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52854 code.
52855
52856 2014-05-13 Roland McGrath <roland@hack.frob.com>
52857
52858 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52859 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52860 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52861 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52862
52863 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52864
52865 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52866 current working directory
52867
52868 2014-05-13 Roland McGrath <roland@hack.frob.com>
52869
52870 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52871 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52872 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52873 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52874 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52875 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52876 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52877 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52878 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52879 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52880 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52881 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52882 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52883 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52884 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52885 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52886 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52887 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52888 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52889 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52890 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52891 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52892 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52893 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52894 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52895 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52896 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52897 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52898 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52899 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52900 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52901 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52902 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52903 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52904 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52905 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52906 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52907 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52908 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52909 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52910 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52911 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52912
52913 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52914 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52915
52916 * sysdeps/unix/sysv/linux/arm/Makefile
52917 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52918 Add rt-aeabi_unwind_cpp_pr1.
52919 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52920 Add nptl-aeabi_unwind_cpp_pr1.
52921 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52922 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52923 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52924 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52925 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52926 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52927
52928 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52929 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52930 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52931 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52932
52933 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52934 Deconditionalize the code that was previously under [RESET_PID].
52935 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52936
52937 * sysdeps/generic/exit-thread.h: New file.
52938 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52939 * include/unistd.h (__exit_thread): Remove declaration.
52940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52941 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52942 * csu/libc-start.c: Include <exit-thread.h>.
52943 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52944 * nptl/pthread_create.c: Include <exit-thread.h>.
52945 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52946 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52947 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52948 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52949 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52950 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52951 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52952 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52953 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52954 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52955 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52956 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52957 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52958 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52959 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52960 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52961 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52962
52963 2014-05-13 Andreas Schwab <schwab@suse.de>
52964
52965 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52966
52967 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52968
52969 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52970 (__ASSUME_UTIMES): Do not condition on kernel version.
52971 (__ASSUME_PSELECT): Define unconditionally.
52972 (__ASSUME_PPOLL): Likewise.
52973 (__ASSUME_ATFCTS): Likewise.
52974 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52975 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52976 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52977 (__ASSUME_UTIMENSAT): Define unconditionally.
52978 (__ASSUME_PRIVATE_FUTEX): Likewise.
52979 (__ASSUME_FALLOCATE): Likewise.
52980 (__ASSUME_O_CLOEXEC): Likewise.
52981 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52982 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52983 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52984 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52985 (__ASSUME_IN_NONBLOCK): Likewise.
52986 (__ASSUME_PIPE2): Likewise.
52987 (__ASSUME_EVENTFD2): Likewise.
52988 (__ASSUME_SIGNALFD4): Likewise.
52989 (__ASSUME_DUP3): Likewise.
52990 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52991 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52992 (__ASSUME_AT_RANDOM): Likewise.
52993 (__ASSUME_PREADV): Likewise.
52994 (__ASSUME_PWRITEV): Likewise.
52995 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52996 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52997 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52998 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52999 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
53000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53001 (__ASSUME_O_CLOEXEC): Define unconditionally.
53002 (__ASSUME_PSELECT): Do not undefine conditionally.
53003 (__ASSUME_PPOLL): Likewise.
53004 (__ASSUME_ATFCTS): Likewise.
53005 (__ASSUME_SET_ROBUST_LIST): Likewise.
53006 (__ASSUME_UTIMENSAT): Likewise.
53007 (__ASSUME_FDATASYNC): Define unconditionally.
53008 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53009 (__ASSUME_SIGFRAME_V2): Likewise.
53010 )__ASSUME_EVENTFD2): Likewise.
53011 (__ASSUME_SIGNALFD4): Likewise.
53012 (__ASSUME_PSELECT): Do not undefine conditionally.
53013 (__ASSUME_PPOLL): Likewise.
53014 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53015 (__ASSUME_PSELECT): Define unconditionally.
53016 (__ASSUME_PPOLL): Likewise.
53017 (__ASSUME_O_CLOEXEC): Likewise.
53018 (__ASSUME_SOCK_CLOEXEC): Likewise.
53019 (__ASSUME_IN_NONBLOCK): Likewise.
53020 (__ASSUME_PIPE2): Likewise.
53021 (__ASSUME_EVENTFD2): Likewise.
53022 (__ASSUME_SIGNALFD4): Likewise.
53023 (__ASSUME_DUP3): Likewise.
53024 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53025 (__ASSUME_O_CLOEXEC): Likewise.
53026 (__ASSUME_SOCK_CLOEXEC): Likewise.
53027 (__ASSUME_IN_NONBLOCK): Likewise.
53028 (__ASSUME_PIPE2): Likewise.
53029 (__ASSUME_EVENTFD2): Likewise.
53030 (__ASSUME_SIGNALFD4): Likewise.
53031 (__ASSUME_DUP3): Likewise.
53032 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53033 (__ASSUME_EVENTFD2): Likewise.
53034 (__ASSUME_SIGNALFD4): Likewise.
53035 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53036
53037 2014-05-12 Andreas Schwab <schwab@suse.de>
53038
53039 [BZ #16932]
53040 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
53041 (_nss_nis_gethostbyname4_r): Return error if item length is larger
53042 than maximum RPC packet size.
53043 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
53044 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
53045 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
53046 (_nss_nis_getservbyport_r): Likewise.
53047
53048 2014-05-12 Will Newton <will.newton@linaro.org>
53049
53050 * malloc/Makefile (tests): Add tst-mallopt.
53051 * malloc/tst-mallopt.c: New file.
53052
53053 2014-05-09 Roland McGrath <roland@hack.frob.com>
53054
53055 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
53056 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
53057
53058 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53059
53060 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
53061 (tst-tlsmod6.so): Likewise.
53062
53063 2014-05-09 Roland McGrath <roland@hack.frob.com>
53064
53065 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
53066
53067 2014-05-09 Joseph Myers <joseph@codesourcery.com>
53068
53069 [BZ #16064]
53070 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
53071 and <dl-procinfo.h>.
53072 (__fegetenv): Save SSE state in envp->__eip if supported.
53073 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
53074 envp->__eip if supported.
53075 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
53076 and <dl-procinfo.h>.
53077 (__fesetenv): Always set __eip, __cs_selector, __opcode,
53078 __data_offset and __data_selector in environment to 0. Set SSE
53079 state if supported.
53080 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
53081 test-fenv-sse.
53082 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
53083 -mfpmath=sse.
53084 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
53085
53086 2014-05-09 Will Newton <will.newton@linaro.org>
53087
53088 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53089 and libc_relro_required for ARM.
53090 * sysdeps/arm/preconfigure: Regenerate.
53091
53092 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
53093 Stefan Liebler <stli@linux.vnet.ibm.com>
53094
53095 * config.make.in (enable-lock-elision): New Makefile variable.
53096 * configure.ac: Likewise.
53097 * configure: Regenerate.
53098 * sysdeps/s390/configure.ac:
53099 Add check for gcc transactions support.
53100 * sysdeps/s390/configure: Regenerate.
53101 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
53102 Build elision files if enabled.
53103 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
53104 Add lock elision support for s390.
53105 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
53106 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
53107 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
53108 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
53109 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
53110 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
53111 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
53112 Likewise.
53113 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
53114 Likewise.
53115 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
53116 Likewise.
53117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
53118 Likewise.
53119 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
53120 (__lll_timedlock_elision, __lll_lock_elision)
53121 (__lll_unlock_elision, __lll_trylock_elision)
53122 (lll_timedlock_elision, lll_lock_elision)
53123 (lll_unlock_elision, lll_trylock_elision): Add.
53124 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53125 (pthread_mutex_t): Add lock elision support for s390.
53126
53127 2014-05-14 Wilco <wdijkstr@arm.com>
53128
53129 * sysdeps/arm/fclrexcpt.c: Cleanup.
53130 * sysdeps/arm/fedisblxcpt.c: Cleanup.
53131 * sysdeps/arm/feenablxcpt.c: Cleanup.
53132 * sysdeps/arm/fegetenv.c: Cleanup.
53133 * sysdeps/arm/fegetexcept.c: Cleanup.
53134 * sysdeps/arm/fegetround.c: Cleanup.
53135 * sysdeps/arm/feholdexcpt.c: Cleanup.
53136 * sysdeps/arm/fesetenv.c: Cleanup.
53137 * sysdeps/arm/fesetround.c: Cleanup.
53138 * sysdeps/arm/feupdateenv.c: Cleanup.
53139 * sysdeps/arm/fgetexcptflg.c: Cleanup.
53140 * sysdeps/arm/fraiseexcpt.c: Cleanup.
53141 * sysdeps/arm/fsetexcptflg.c: Cleanup.
53142 * sysdeps/arm/ftestexcept.c: Cleanup.
53143 * sysdeps/arm/get-rounding-mode.h: Cleanup.
53144 * sysdeps/arm/setfpucw.c: Cleanup.
53145
53146 2014-05-09 Will Newton <will.newton@linaro.org>
53147
53148 * sysdeps/arm/armv7/strcmp.S: New file.
53149 * NEWS: Mention addition of ARMv7 optimized strcmp.
53150
53151 2014-05-08 Roland McGrath <roland@hack.frob.com>
53152
53153 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53154 look for %.ac rather than %.in.
53155
53156 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53157 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53158 * sysdeps/mach/hurd/configure: Regenerated.
53159 * sysdeps/unix/sysv/linux/configure: Regenerated.
53160
53161 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53162
53163 2014-05-07 Steve Ellcey <sellcey@mips.com>
53164
53165 [BZ #16922]
53166 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53167 (LONG_SUB): Ditto.
53168 (PTR_SUB): Ditto.
53169
53170 2014-05-07 Andreas Schwab <schwab@suse.de>
53171
53172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53173 when skipping over non-matching result from nscd.
53174
53175 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
53176
53177 [BZ #16876]
53178 * nptl/sockperf.c (client): Check socket return value.
53179
53180 [BZ #16877]
53181 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53182 nscd security class.
53183
53184 2014-05-06 Roland McGrath <roland@hack.frob.com>
53185
53186 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53187 * sysdeps/arm/unwind.h: ... here.
53188
53189 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
53190
53191 [BZ #16916]
53192 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53193 Define.
53194
53195 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53196
53197 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53198 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53199 multiarch strncpy for PPC64.
53200 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53201 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53203 multiarch optimizations.
53204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53205 (__libc_ifunc_impl_list): Likewise.
53206 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53207 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53208 multiarch stpncpy for PPC64.
53209 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53210 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53211
53212 2014-05-06 Andreas Schwab <schwab@suse.de>
53213
53214 [BZ #16912]
53215 * gmon/mcount.c (_MCOUNT_DECL): Use
53216 atomic_compare_and_exchange_bool_acq instead of
53217 catomic_compare_and_exchange_bool_acq.
53218
53219 2014-05-05 Roland McGrath <roland@hack.frob.com>
53220
53221 * elf/Makefile (others, install-bin): Remove pldd.
53222 (pldd-modules): Variable removed.
53223 ($(objpfx)pldd): Target removed.
53224 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53225 (others, install-bin): Append pldd here.
53226 ($(objpfx)pldd): New target.
53227
53228 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53229 to 0, so the first #if test emitted later doesn't see it undefined.
53230 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53231 * sysdeps/gnu/errlist.c: Regenerated.
53232
53233 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53234
53235 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53236 [libc_hidden_builtin_def]: Define to empty value.
53237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53238 [libc_hidden_builtin_def]: Likewise.
53239 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53240 [libc_hidden_builtin_def]: Likewise.
53241 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53242 [libc_hidden_builtin_def]: Likewise.
53243 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53244 __redirect_memcpy and define ifunc as default hidden symbol.
53245 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53246 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53247
53248 2014-05-04 Adam Conrad <adconrad@0c3.net>
53249
53250 * locale/iso-4217.def: Reintroduce XDR currency.
53251
53252 2014-05-04 Allan McRae <allan@archlinux.org>
53253
53254 * po/eo.po: Update Esperanto translation from translation project.
53255
53256 2014-05-02 Carlos O'Donell <carlos@redhat.com>
53257
53258 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53259 and FEATURE_INDEX_MAX to 1.
53260 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53261
53262 2014-05-01 Steve Ellcey <sellcey@mips.com>
53263
53264 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53265 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53266 * iconvdata/big5.c (ONE_DIRECTION): Define.
53267 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53268 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53269 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53270 * iconvdata/cp932.c (ONE_DIRECTION): Define.
53271 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53272 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53273 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53274 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53275 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53276 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53277 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53278 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53279 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53280 * iconvdata/gbk.c (ONE_DIRECTION): Define.
53281 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53282 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53283 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53284 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53285 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53286 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53287 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53288 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53289 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53290 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53291 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53292 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53293 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53294 * iconvdata/iso646.c (ONE_DIRECTION): Define.
53295 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53296 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53297 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53298 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53299 * iconvdata/johab.c (ONE_DIRECTION): Define.
53300 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53301 * iconvdata/sjis.c (ONE_DIRECTION): Define.
53302 * iconvdata/t.61.c (ONE_DIRECTION): Define.
53303 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53304 * iconvdata/tscii.c (ONE_DIRECTION): Define.
53305 * iconvdata/uhc.c (ONE_DIRECTION): Define.
53306 * iconvdata/unicode.c (ONE_DIRECTION): Define.
53307 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53308 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53309 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53310
53311 2014-05-01 Roland McGrath <roland@hack.frob.com>
53312
53313 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53314 (_IO_JUMPS_OFFSET): Define to 0.
53315
53316 * nptl/sysdeps/pthread/bits/libc-lock.h
53317 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53318 (__libc_lock_define_initialized_recursive): Always define using
53319 initializer. Modern compilers treat uninitialized (implicit zero) and
53320 explicit zero initializers the same (i.e. put the datum in bss).
53321
53322 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53323
53324 * nscd/nscd-client.h: Include <string.h>.
53325
53326 2014-05-01 David S. Miller <davem@davemloft.net>
53327
53328 [BZ #16885]
53329 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53330 multiple zero bytes exist at the end of a string.
53331 Reported by Aurelien Jarno <aurelien@aurel32.net>
53332
53333 * string/test-strcmp.c (check): Add explicit test for situations where
53334 there are multiple zero bytes after the first.
53335
53336 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53337
53338 [BZ #16890]
53339 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53340 when compiling wprintf.
53341 * stdio-common/tstdiomisc.c (t3): New function.
53342 (main): Call it.
53343
53344 2014-05-01 Steve Ellcey <sellcey@mips.com>
53345
53346 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53347 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53348 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53349 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53350
53351 2014-05-01 Steve Ellcey <sellcey@mips.com>
53352
53353 * stdlib/longlong.h: Updated from GCC.
53354
53355 2014-05-01 Will Newton <will.newton@linaro.org>
53356 Bernard Ogden <bernie.ogden@linaro.org>
53357
53358 * NEWS: Update fixed bug list.
53359
53360 [BZ #15119]
53361 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53362
53363 2014-04-30 David S. Miller <davem@davemloft.net>
53364
53365 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53366 (libc_feholdexcept_setround_sparc_ctx): New function.
53367 (libc_fesetenv_sparc_ctx): Likewise.
53368 (libc_feupdateenv_sparc_ctx): Likewise.
53369 (libc_feholdsetround_sparc_ctx): Likewise.
53370 (libc_feholdexcept_setround_ctx): Define.
53371 (libc_feholdexcept_setroundf_ctx): Likewise.
53372 (libc_feholdexcept_setroundl_ctx): Likewise.
53373 (libc_fesetenv_ctx): Likewise.
53374 (libc_fesetenvf_ctx): Likewise.
53375 (libc_fesetenvl_ctx): Likewise.
53376 (libc_feupdateenv_ctx): Likewise.
53377 (libc_feupdateenvf_ctx): Likewise.
53378 (libc_feupdateenvl_ctx): Likewise.
53379 (libc_feresetround_ctx): Likewise.
53380 (libc_feresetroundf_ctx): Likewise.
53381 (libc_feresetroundl_ctx): Likewise.
53382 (libc_feholdsetround_ctx): Likewise.
53383 (libc_feholdsetroundf_ctx): Likewise.
53384 (libc_feholdsetroundl_ctx): Likewise.
53385
53386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53387 with __USE_GNU instead of XOPEN cpp guards.
53388
53389 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53390 0.
53391
53392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53393 with XOPEN cpp guards.
53394
53395 2014-04-30 Julian Brown <julian@codesourcery.com>
53396
53397 [BZ #16888]
53398 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53399 handling.
53400
53401 2014-04-30 Joseph Myers <joseph@codesourcery.com>
53402
53403 [BZ #9894]
53404 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53405 Change to 2.6.32.
53406 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53407 * sysdeps/unix/sysv/linux/configure: Regenerated.
53408 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53409 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53410 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53411 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53412 * README: Update reference to required Linux kernel version.
53413 * manual/install.texi (Linux): Update reference to required Linux
53414 kernel headers version.
53415 * INSTALL: Regenerated.
53416
53417 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53418 header inclusion.
53419 [POSIX] (limits.h): Likewise.
53420 [POSIX] (math.h): Likewise.
53421 [POSIX] (sys/wait.h): Likewise.
53422 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53423 function.
53424 [POSIX] (stddef.h): Do not allow header inclusion.
53425
53426 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53427
53428 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53429
53430 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53431
53432 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53433 Return immediately after lll_futex_wake.
53434
53435 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53436
53437 [BZ #16791]
53438 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53439 structure.
53440 (datahead_init_pos): Call datahead_init_common early.
53441 (datahead_init_neg): Likewise.
53442
53443 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53444 datahead_init_neg): New functions.
53445 * nscd/aicache.c (addhstaiX): Use them.
53446 * nscd/grpcache.c (cache_addgr): Likewise.
53447 * nscd/hstcache.c (cache_addhst): Likewise.
53448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53449 * nscd/netgroupcache.c (do_notfound): Likewise.
53450 (addgetnetgrentX): Likewise.
53451 (addinnetgrX): Likewise.
53452 * nscd/pwdcache.c (cache_addpw): Likewise.
53453 * nscd/servicescache.c (cache_addserv): Likewise.
53454
53455 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53456 Atsushi Onoe <atsushi@onoe.org>
53457
53458 [BZ #14308]
53459 [BZ #12994]
53460 [BZ #13651]
53461 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53462 one response is valid.
53463 * resolv/res_send.c (send_dg): Check for validity of other
53464 response if the current response is a referral.
53465
53466 2014-04-29 Steve Ellcey <sellcey@mips.com>
53467
53468 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53469
53470 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53471
53472 [BZ #16823]
53473 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53474 Always divide by positive zero when computing -Inf result.
53475 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53476 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53477
53478 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53479
53480 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53481 FPSCR if value do not change.
53482 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53483 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53484 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53485 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53486 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53487 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53488 function.
53489
53490 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53491
53492 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53493 * sysdeps/unix/sysv/linux/hppa: Move directory from
53494 ports/systeps/unix/sysv/linux/hppa.
53495 * README: Update listing for hppa-*-linux-gnu.
53496
53497 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
53498
53499 [BZ #16754]
53500 * manual/stdio.texi (Hook functions): Fix types of stream hook
53501 functions.
53502 [BZ #16854]
53503 * socket/sys/socket.h: Fix typo in comment.
53504
53505 2014-04-28 Wilco <wdijkstr@arm.com>
53506
53507 * sysdeps/arm/fenv_private.h: New file.
53508 * sysdeps/arm/math_private.h: New file.
53509 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53510
53511 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53512
53513 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53514 with __int128_t.
53515 (La_x86_64_retval): Likewise.
53516
53517 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53518
53519 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53520 fpsr if value didn't change.
53521 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53522 to fpcr if value didn't change.
53523 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53524 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53525 fpsr or fpcr if value didn't change.
53526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53527 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53528 fpcr if value didn't change.
53529 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53530 to fpsr if value didn't change.
53531
53532 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53533
53534 * nptl/tst-sem3.c: Use test-skeleton.c
53535 (main): Rename to do_test. Use return instead of
53536 exit.
53537 * nptl/tst-sem4.c: Use test-skeleton.c
53538 (main): Rename to do_test.
53539
53540 2014-04-22 David S. Miller <davem@davemloft.net>
53541
53542 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53543 (struct sigaction): New struct member __glibc_reserved0, change
53544 type of sa_flags to int.
53545
53546 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53547
53548 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53549 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53550
53551 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53552
53553 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53554 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53555
53556 2014-04-22 Will Newton <will.newton@linaro.org>
53557 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53558
53559 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53560 (__longjmp): Add longjmp and longjmp_target SystemTap
53561 probes.
53562 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53563 (__sigsetjmp): Add setjmp SystemTap probe.
53564
53565 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53566
53567 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53568 match manual order.
53569
53570 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53571
53572 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53573
53574 * sysdeps/powerpc/fpu/fenv_private.h
53575 (libc_feholdexcept_setroundl_ctx): Define to
53576 libc_feholdexcept_setround_ppc_ctx.
53577 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53578 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53579 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53580 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53581
53582 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53583
53584 * sysdeps/aarch64/math-tests.h: New file.
53585
53586 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53587
53588 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53589 New.
53590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53591 Check and set bit_AVX2_Usable.
53592 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53593 macro.
53594 (bit_AVX2): Likewise.
53595 (index_AVX2_Usable): Likewise.
53596 (CPUID_AVX2): Likewise.
53597 (HAS_AVX2): Likewise.
53598
53599 2014-04-17 Will Newton <will.newton@linaro.org>
53600
53601 * manual/setjmp.texi (System V contexts): Add note that
53602 calling setcontext on a context created by a call to a
53603 signal handler is undefined. Update text to note that
53604 setcontext from a signal handler is possible but not
53605 recommended.
53606
53607 [BZ #16629]
53608 * stdlib/tst-setcontext.c: Include signal.h.
53609 (main): Check that the signal stack before and
53610 after swapcontext is the same.
53611
53612 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53613 Re-implement to restore registers in user code and avoid
53614 rt_sigreturn system call.
53615
53616 2014-04-17 Wilco <wdijkstr@arm.com>
53617
53618 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53619 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53620 * math/test-fenv.c: Skip exception trap tests on targets which only
53621 support non-stop mode.
53622
53623 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53624 Wilco Dijkstra <wilco.dijkstra@arm.com>
53625
53626 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53627 (libc_feholdsetround_aarch64_ctx)
53628 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53629 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53630 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53631 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53632 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53633 (libc_feresetround_noexl_ctx): Define.
53634
53635 2014-04-16 Richard Henderson <rth@redhat.com>
53636
53637 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53638
53639 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53640 unwind tables.
53641
53642 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53643 const from the non-libc, non-ldso copy.
53644
53645 * sysdeps/alpha/libm-test-ulps: Regenerate.
53646
53647 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53648 Wilco Dijkstra <wilco.dijkstra@arm.com>
53649
53650 * sysdeps/aarch64/fpu/math_private.h: New file.
53651
53652 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53653
53654 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53655
53656 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53657
53658 [BZ #16275]
53659 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53660 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53662 Intel MPX bound registers before _dl_profile_fixup.
53663 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53664 registers after _dl_profile_fixup. Save and restore bound
53665 registers bnd0/bnd1 when calling _dl_call_pltexit.
53666 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53667 (LR_BND_OFFSET): Likewise.
53668 (LRV_BND0_OFFSET): Likewise.
53669 (LRV_BND1_OFFSET): Likewise.
53670
53671 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53672
53673 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53674 to...
53675 * sysdeps/mach/hurd/i386/tls.h: ... here.
53676 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53677 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53678 fields.
53679
53680 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53681
53682 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53683
53684 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53685
53686 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53687
53688 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53689
53690 [BZ #14770]
53691 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53692 * sysdeps/s390/configure: Regenerate.
53693
53694 [BZ #16824]
53695 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53696 Set round-to-nearest internally to reduce error accumulation.
53697
53698 2014-04-16 Alan Modra <amodra@gmail.com>
53699
53700 [BZ #16740]
53701 [BZ #16619]
53702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53703 * math/libm-test.inc (frexp_test_data): Add tests.
53704 * NEWS: Update fixed bug list.
53705
53706 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53707
53708 * benchtests/Makefile: Depend on libraries in build directory.
53709 (bench-math): Separate out math tests.
53710 (bench-pthread): Separate out pthread tests.
53711 (bench): Include math and pthread tests.
53712
53713 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53714
53715 [BZ #16831]
53716 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53717 _dl_debug_initialize.
53718
53719 * configure.ac: Remove SELinux header check.
53720 * configure: Regenerate.
53721 * nscd/selinux.c (perms): Array of const char* to permission names.
53722 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53723 default policy. Call string_to_security_class and string_to_av_perm to
53724 translate strings. Enforce default policy and call avs_has_perm with
53725 results of translated strings.
53726
53727 2014-04-13 David S. Miller <davem@davemloft.net>
53728
53729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53730
53731 2014-04-12 Allan McRae <allan@archlinux.org>
53732
53733 [BZ #16838]
53734 * manual/string.texi (Collation Functions): Fix qsort argument
53735 order in example.
53736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53737
53738 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53739
53740 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53741 Make the test a no-op if there are no exceptions defined.
53742
53743 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53744
53745 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53746 enable-hardcoded-path-in-tests
53747
53748 2014-04-11 Will Newton <will.newton@linaro.org>
53749
53750 * benchtests/Makefile (extra-objs): Add json-lib.o.
53751 (bench-func): Tidy up JSON output.
53752 * benchtests/bench-skeleton.c: Include json-lib.h.
53753 (main): Use JSON library functions to do output of
53754 benchmark results.
53755 * benchtests/bench-timing-type.c (main): Output the
53756 timing type simply, leaving formatting to the user.
53757 * benchtests/json-lib.c: New file.
53758 * benchtests/json-lib.h: Likewise.
53759
53760 2014-04-11 Torvald Riegel <triegel@redhat.com>
53761
53762 [BZ #15215]
53763 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53764 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53765 memory barriers. Add comments.
53766 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53767 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53768 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53769 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53770 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53771 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53772
53773 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53774
53775 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53776 * sysdeps/s390/s390-64/configure.ac: ... this ...
53777 * sysdeps/s390/configure.ac: ... to here.
53778 * sysdeps/s390/s390-32/configure: Delete file.
53779 * sysdeps/s390/s390-64/configure: Delete file.
53780 * sysdeps/s390/configure: Regenerate.
53781
53782 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53783
53784 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53785
53786 2014-04-11 Will Newton <will.newton@linaro.org>
53787
53788 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53789 to zero if it is not defined elsewhere. (mtrim): Test
53790 the value of MALLOC_DEBUG with #if rather than #ifdef.
53791
53792 2014-04-10 Torvald Riegel <triegel@redhat.com>
53793
53794 * benchtests/pthread_once-inputs: New file.
53795 * benchtests/pthread_once-source.c: New file.
53796 * benchtests/README: Update documentation.
53797
53798 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53799 H.J. Lu <hongjiu.lu@intel.com>
53800
53801 [BZ #16275]
53802 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53803 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53804 * sysdeps/x86_64/configure: Regenerated.
53805 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53806 macro.
53807 (REGISTER_SAVE_RAX): Likewise.
53808 (REGISTER_SAVE_RCX): Likewise.
53809 (REGISTER_SAVE_RDX): Likewise.
53810 (REGISTER_SAVE_RSI): Likewise.
53811 (REGISTER_SAVE_RDI): Likewise.
53812 (REGISTER_SAVE_R8): Likewise.
53813 (REGISTER_SAVE_R9): Likewise.
53814 (REGISTER_SAVE_BND0): Likewise.
53815 (REGISTER_SAVE_BND1): Likewise.
53816 (REGISTER_SAVE_BND2): Likewise.
53817 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53818 bound registers when calling _dl_fixup.
53819
53820 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53821
53822 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53823 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53824 of its definition.
53825 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53826 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53827 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53828 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53829 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53830 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53831 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53832
53833 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53834
53835 [BZ #15514]
53836 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53837 pathconf(_PC_NAME_MAX).
53838
53839 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53840
53841 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53842 Remove macro usage.
53843 (__PTHREAD_SPINS): Move definition to ...
53844 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53845 (__PTHREAD_SPINS): ... here.
53846 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53847 (__PTHREAD_SPIN): Likewise.
53848 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53849 (__PTHREAD_SPIN): Likewise.
53850 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53851 (__PTHREAD_SPIN): Likewise.
53852 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53853 (__PTHREAD_SPIN): Likewise.
53854 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53855 (__PTHREAD_SPIN): Likewise.
53856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53857 (__PTHREAD_SPIN): Likewise.
53858 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53859 (__PTHREAD_SPIN): Likewise.
53860 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53861 (__PTHREAD_SPIN): Likewise.
53862 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53863 (__PTHREAD_SPIN): Likewise.
53864 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53865 (__PTHREAD_SPIN): Likewise.
53866 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53867 (__PTHREAD_SPIN): Likewise.
53868 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53869 (__PTHREAD_SPIN): Likewise.
53870
53871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53872 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53873 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53875 imply folder.
53876 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53877 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53878 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53879 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53880 correct imply path.
53881 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53882 strlen symbol for non multi-arch builds.
53883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53884 missing hidden_def and weak_alias.
53885
53886 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53887
53888 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53889
53890 2014-04-07 Will Newton <will.newton@linaro.org>
53891
53892 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53893 and contents. [!_LIBC] Remove #ifndef and contents.
53894 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53895 * string/memccpy.c (__memccpy): Use ANSI prototype.
53896 * string/memfrob.c (memfrob): Likewise.
53897 * string/strcoll.c (STRCOLL): Likewise.
53898 * string/strlen.c (strlen): Likewise.
53899 * string/strtok.c (STRTOK): Likewise.
53900 * string/strcat.c: Remove unused #include of memcopy.h.
53901 (strcat): Use ANSI prototype.
53902 * string/strchr.c: Remove unused #include of memcopy.h.
53903 (strchr): Use ANSI prototype.
53904 * string/strcmp.c: Remove unused #include of memcopy.h.
53905 (strcmp): Use ANSI prototype.
53906 * string/strcpy.c: Remove unused #include of memcopy.h.
53907 (strcpy): Use ANSI prototype.
53908
53909 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53910
53911 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53912 * config.make.in (config-extra-cppflags): Set it from
53913 libc_extra_cppflags.
53914 * configure.ac (libc_extra_cflags): Make it accumulate over
53915 configure fragments.
53916 (libc_extra_cppflags): New flag.
53917 * configure. Regenerate.
53918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53919 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53920 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53922
53923 [BZ #16815]
53924 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53925 result for FE_DOWNWARD rounding mode.
53926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53927 Likewise.
53928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53929
53930 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53931
53932 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53933 in function argument name.
53934
53935 2014-04-03 David Svoboda <svoboda@cert.org>
53936
53937 [BZ #5666]
53938 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53939 explicitly.
53940
53941 2014-04-03 Roland McGrath <roland@hack.frob.com>
53942
53943 * elf/dl-unmap-segments.h: New file.
53944 * sysdeps/generic/ldsodefs.h
53945 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53946 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53947 * elf/dl-fptr.c: Likewise.
53948 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53949 * sysdeps/aarch64/tlsdesc.c: Likewise.
53950 * sysdeps/arm/tlsdesc.c: Likewise.
53951 * sysdeps/i386/tlsdesc.c: Likewise.
53952 * sysdeps/tile/dl-runtime.c: Likewise.
53953 * sysdeps/x86_64/tlsdesc.c: Likewise.
53954 * elf/dl-load.h: New file.
53955 * elf/dl-load.c: Include it.
53956 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53957 Macros moved to dl-load.h.
53958 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53959 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53960 Use _dl_unmap_segments in place of __munmap.
53961 Break out segment-mapping loop into ...
53962 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53963
53964 2014-04-03 Will Newton <will.newton@linaro.org>
53965
53966 * elf/dl-lookup.c (do_lookup_x): Remove comment
53967 referring to nested function and move variable
53968 declarations down to before first use.
53969
53970 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53971
53972 [BZ #16799]
53973 [BZ #16800]
53974 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53975 with 0 numerator.
53976 * math/s_catanf.c (__catanf): Likewise.
53977 * math/s_catanh.c (__catanh): Likewise.
53978 * math/s_catanhf.c (__catanhf): Likewise.
53979 * math/s_catanhl.c (__catanhl): Likewise.
53980 * math/s_catanl.c (__catanl): Likewise.
53981 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53982 by positive zero when computing -Inf result.
53983 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53984 (catanh_test): Likewise.
53985 * sysdeps/i386/fpu/libm-test-ulps: Update.
53986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53987
53988 [BZ #16789]
53989 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53990 instead of using underflowing value in computing result.
53991 * math/s_clog10.c (__clog10): Likewise.
53992 * math/s_clog10f.c (__clog10f): Likewise.
53993 * math/s_clog10l.c (__clog10l): Likewise.
53994 * math/s_clogf.c (__clogf): Likewise.
53995 * math/s_clogl.c (__clogl): Likewise.
53996 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53997 (clog10_test): Likewise.
53998 * sysdeps/i386/fpu/libm-test-ulps: Update.
53999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54000
54001 2014-04-02 Alan Modra <amodra@gmail.com>
54002
54003 [BZ #16739]
54004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
54005 output when value is near a power of two. Use int64_t for lx and
54006 remove casts. Use decimal rather than hex exponent constants.
54007 Don't use long double multiplication when double will suffice.
54008 * math/libm-test.inc (nextafter_test_data): Add tests.
54009 * NEWS: Add 16739 and 16786 to bug list.
54010
54011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
54012
54013 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
54014
54015 2014-04-01 Will Newton <will.newton@linaro.org>
54016
54017 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
54018 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
54019
54020 2014-04-01 Florian Weimer <fweimer@redhat.com>
54021
54022 [BZ #13347]
54023 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
54024 * nptl/tst-setuid2.c: New file.
54025 * nptl/Makefile (xtests): Add tst-setuid2.
54026
54027 2014-04-01 Alan Modra <amodra@gmail.com>
54028
54029 [BZ #16786]
54030 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
54031
54032 2014-03-31 Joseph Myers <joseph@codesourcery.com>
54033
54034 [BZ #6803]
54035 [BZ #6804]
54036 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
54037 set errno as appropriate.
54038 * math/w_scalbf.c (__scalbf): Likewise.
54039 * math/w_scalbl.c (__scalbl): Likewise.
54040 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
54041 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
54042 * math/libm-test.inc (scalb_test_data): Add errno expectations.
54043 Add more NaN tests.
54044
54045 [BZ #16349]
54046 * math/w_atan2.c: Include <errno.h>.
54047 (__atan2): Set errno for result underflowing to zero.
54048 * math/w_atan2f.c: Include <errno.h>.
54049 (__atan2f): Set errno for result underflowing to zero.
54050 * math/w_atan2l.c: Include <errno.h>.
54051 (__atan2l): Set errno for result underflowing to zero.
54052 * math/auto-libm-test-in: Don't allow missing errno for some atan2
54053 tests.
54054 * math/auto-libm-test-out: Regenerated.
54055
54056 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54057
54058 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
54059 Encode instruction correctly in little endian.
54060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
54061 Likewise.
54062 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
54063 Likewise.
54064 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
54065 Likewise.
54066 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
54067 Likewise.
54068
54069 2014-03-31 Joseph Myers <joseph@codesourcery.com>
54070
54071 [BZ #9894]
54072 * sysdeps/unix/sysv/linux/kernel-features.h
54073 [__sparc__ && !__arch64__ && !__sparc_v9__]
54074 (__ASSUME_SET_ROBUST_LIST): Do not define.
54075 [__sparc__ && !__arch64__ && !__sparc_v9__]
54076 (__ASSUME_FUTEX_LOCK_PI): Likewise.
54077 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
54078 Likewise.
54079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54080 (__ASSUME_FUTEX_LOCK_PI): Undefine.
54081 (__ASSUME_REQUEUE_PI): Likewise.
54082 (__ASSUME_SET_ROBUST_LIST): Likewise.
54083 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54084 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
54085 Undefine.
54086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54087 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
54088 Likewise.
54089 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
54090 Likewise.
54091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
54092 Likewise.
54093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54094 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
54095 Undefine.
54096 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
54097 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
54098 Likewise.
54099
54100 [BZ #16648]
54101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54102 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
54103 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
54104
54105 2014-03-31 Will Newton <will.newton@linaro.org>
54106
54107 * benchtests/Makefile (bench): Add ffs and ffsll to list
54108 of tests.
54109 * benchtests/ffs-inputs: New file.
54110 * benchtests/ffsll-inputs: Likewise.
54111
54112 2014-03-29 Joseph Myers <joseph@codesourcery.com>
54113
54114 [BZ #16770]
54115 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
54116 too large before casting to int.
54117 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
54118 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
54119 * math/libm-test.inc (scalb_test_data): Add more tests.
54120
54121 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54122
54123 * benchtests/Makefile (DETAILED_OPT): New make option.
54124 (bench-func): Run benchmark program with -d if DETAILED_OPT is
54125 set.
54126 * benchtests/bench-skeleton.c: Include stdbool.h.
54127 (main): Store and print timings per input.
54128 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
54129 member to each argument value.
54130 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
54131 (_print_arg_data): Initialize per-input timing to 0.
54132
54133 * benchtests/Makefile (timing-type): New binary.
54134 (bench-clean): Also remove bench-timing-type.
54135 (bench): New target for timing-type.
54136 (bench-func): Print output in JSON format.
54137 * benchtests/bench-skeleton.c (main): Print output in JSON
54138 format.
54139 * benchtests/bench-timing-type.c: New file.
54140 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
54141 (TIMING_PRINT_STATS): Remove.
54142 * benchtests/scripts/bench.py (_print_arg_data): Store variant
54143 name separately.
54144
54145 * benchtests/bench-modf.c: Remove.
54146 * benchtests/modf-inputs: New inputs file.
54147
54148 2014-03-28 Joseph Myers <joseph@codesourcery.com>
54149
54150 [BZ #16362]
54151 * math/s_clog10.c (M_PI_LOG10E): New macro.
54152 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54153 imaginary parts are 0.
54154 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54155 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54156 imaginary parts are 0.
54157 * math/s_clog10l.c (M_PI_LOG10El): New macro.
54158 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54159 imaginary parts are 0.
54160 * math/libm-test.inc (clog10_test_data): Update expected results
54161 for when real and imaginary parts are 0.
54162
54163 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
54164
54165 * elf/dl-load.c: Finish conversion of __builtin_expect into
54166 __glibc_{un}likely.
54167
54168 2014-03-27 Joseph Myers <joseph@codesourcery.com>
54169
54170 [BZ #16348]
54171 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54172 1+x for argument with exponent below -67.
54173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54174 Likewise.
54175 * math/auto-libm-test-in: Add more tests of exp.
54176 * math/auto-libm-test-out: Regenerated.
54177
54178 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54179
54180 [BZ #16759]
54181 * inet/getnetgrent_r.c (get_nonempty_val): New function.
54182 (nscd_getnetgrent): Use it.
54183
54184 [BZ #16760]
54185 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54186 of stpcpy.
54187
54188 2014-03-27 Andi Kleen <ak@linux.intel.com>
54189
54190 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54191 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54192 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54193 (lll_robust_unlock): Remove out of line section. Use cfi
54194 intrinsics.
54195 (LLL_STUB_UNWIND_INFO*): Remove.
54196 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54197 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54198 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54199 (lll_robust_unlock): Remove out of line section. Use cfi
54200 intrinsics.
54201 (LLL_STUB_UNWIND_INFO*): Remove.
54202
54203 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54204
54205 [BZ #16758]
54206 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54207 blank values.
54208
54209 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
54210
54211 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54212
54213 2014-03-26 Joseph Myers <joseph@codesourcery.com>
54214
54215 [BZ #16198]
54216 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54217 fnstenv.
54218 * math/test-fenv-preserve.c: New file.
54219 * math/Makefile (tests): Add test-fenv-preserve.
54220
54221 2014-03-26 Will Newton <will.newton@linaro.org>
54222
54223 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54224
54225 2014-03-25 Roland McGrath <roland@hack.frob.com>
54226
54227 * scripts/versionlist.awk: Partition the version sets and emit all
54228 GLIBC_* (sorted) before all others (sorted).
54229
54230 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54231
54232 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54233 GLIBC_2.2.5 version.
54234
54235 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54236
54237 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54238 calls.
54239
54240 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54241 previous change.
54242
54243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54244
54245 2014-03-25 Andreas Schwab <schwab@suse.de>
54246
54247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54248 label to be used after in6ailist is initialized.
54249
54250 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54251
54252 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54253 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54254
54255 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54256
54257 [BZ #16357]
54258 [BZ #16599]
54259 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54260 min_plus_half.
54261 (fp_formats): Update initializers.
54262 (init_fp_formats): Initialize new field.
54263 (output_for_one_input_case): Allow underflow for results up to
54264 min_plus_half.
54265 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54266 * math/auto-libm-test-in: Don't mark some underflows from asin and
54267 atanh as spurious.
54268 * math/auto-libm-test-out: Regenerated.
54269 * sysdeps/i386/fpu/libm-test-ulps: Update.
54270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54271
54272 2014-03-25 Andreas Schwab <schwab@suse.de>
54273
54274 * libio/Makefile (tst-ftell-partial-wide-ENV)
54275 (tst-ftell-active-handler-ENV): Define.
54276
54277 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
54278
54279 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54280
54281 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54282
54283 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54284
54285 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54286
54287 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54288 * sysdeps/x86_64/fpu/multiarch/e_exp.c
54289 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54290
54291 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54292
54293 [BZ #16634]
54294 * elf/dl-load.c (open_verify): Add mode parameter.
54295 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54296 (open_path): Change from boolean 'secure' to complete flag 'mode'
54297 (_dl_map_object): Adjust.
54298 * elf/Makefile (tests): Add tst-dlopen-aout.
54299 * elf/tst-dlopen-aout.c: New test.
54300
54301 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54302
54303 [BZ #16714]
54304 * sysdeps/unix/sysv/linux/s390/bits/stat.h
54305 (struct stat): Rename member pad0 to __glibc_reserved0.
54306
54307 [BZ #16712]
54308 * sysdeps/s390/s390-32/bits/wordsize.h
54309 (__WORDSIZE32_SIZE_ULONG): New define.
54310 * sysdeps/s390/s390-64/bits/wordsize.h
54311 (__WORDSIZE32_SIZE_ULONG): Likewise.
54312 * sysdeps/generic/stdint.h (SIZE_MAX):
54313 Define as UL if __WORDSIZE32_SIZE_ULONG.
54314
54315 [BZ #16713]
54316 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54317 (__glibc_reserved0): New variable.
54318 (sa_flags): Change type to int.
54319
54320 * posix/Makefile (before-compile): Use += before-compile instead
54321 of a :=.
54322
54323 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54324 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54325
54326 2014-03-20 Andreas Schwab <schwab@suse.de>
54327
54328 [BZ #16743]
54329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54330 non-matching result from nscd.
54331
54332 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54333
54334 * scripts/bench.py: Moved to ...
54335 * benchtests/scripts/bench.py: ... here.
54336 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54337
54338 2014-03-24 Andreas Schwab <schwab@suse.de>
54339
54340 [BZ #16002]
54341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54342 alloca_account and account alloca use for struct in6ailist.
54343
54344 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54345
54346 [BZ #16284]
54347 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54348 rounding mode to recompute results that overflow to infinity or
54349 underflow to zero.
54350 * math/auto-libm-test-in: Don't mark tests as expected to fail for
54351 bug 16284.
54352 * math/auto-libm-test-out: Regenerated.
54353 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54354 (ccosh_test): Likewise.
54355 (csin_test_data): Use plus_oflow.
54356 (csin_test): Use ALL_RM_TEST.
54357 (csinh_test_data): Use plus_oflow.
54358 (csinh_test): Use ALL_RM_TEST.
54359 * sysdeps/i386/fpu/libm-test-ulps: Update.
54360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54361
54362 2014-03-21 Joseph Myers <joseph@codesourcery.com>
54363
54364 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54365 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54366 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54367
54368 [BZ #16731]
54369 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54370 when x - 1 is zero.
54371 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54372 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54373 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54374 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54375 argument is 1.
54376 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54377 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54378 zero.
54379 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54380 * sysdeps/i386/fpu/libm-test-ulps: Update.
54381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54382
54383 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54384
54385 * scripts/bench.pl: Remove file.
54386 * scripts/bench.py: New benchmark script.
54387 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54388 * benchtests/README: Mention python dependency.
54389 * scripts/pylintrc: New file.
54390 * scripts/pylint: New file.
54391
54392 * bits/mathdef.h: Use #ifdef instead of #if.
54393 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54394 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54395 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54396 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54397 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54398 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54399
54400 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54401 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54402
54403 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54405 and strpbrk-ppc64 objects.
54406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54407 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54408 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54409 multiarch strpbrk for POWER7.
54410 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54411 multiarch strpbrk for PPC64.
54412 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54413 ifunc selector.
54414 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54415 strpbrk for POWER7.
54416
54417 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54418
54419 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54420 (atan_test): Likewise.
54421 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54422 (atanh_test): Use ALL_RM_TEST.
54423 (atan2_test_data): Likewise.
54424 (cabs_test): Likewise.
54425 (cacosh_test): Likewise.
54426 (carg_test): Likewise.
54427 (casin_test): Likewise.
54428 (casinh_test): Likewise.
54429 (cbrt_test): Likewise.
54430 (csqrt_test): Likewise.
54431 (erf_test): Likewise.
54432 (erfc_test): Likewise.
54433 (pow10_test): Likewise.
54434 (exp2_test): Likewise.
54435 (hypot_test): Likewise.
54436 (j0_test): Likewise.
54437 (j1_test): Likewise.
54438 (lgamma_test): Likewise.
54439 (gamma_test): Likewise.
54440 (sincos_test): Likewise.
54441 (tanh_test): Likewise.
54442 (y0_test): Likewise.
54443 (y1_test): Likewise.
54444 * sysdeps/i386/fpu/libm-test-ulps: Update.
54445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54446
54447 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54448
54449 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54451 and strcspn-ppc64 objects.
54452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54453 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54454 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54455 multiarch strcspn for POWER7.
54456 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54457 multiarch strcspn for PPC64.
54458 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54459 ifunc selector.
54460 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54461 strcspn for POWER7.
54462
54463 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54464
54465 * math/gen-libm-test.pl (generate_testfile): Expect only function
54466 name as argument to AUTO_TESTS_* and pass results for all rounding
54467 modes to parse_args.
54468 (parse_auto_input): Separate inputs of automatic tests from
54469 outputs before storing in %auto_tests.
54470 * math/libm-test.inc (acos_test_data): Update call to
54471 AUTO_TESTS_f_f.
54472 (acos_test): Use ALL_RM_TEST.
54473 (acos_tonearest_test_data): Remove.
54474 (acos_test_tonearest): Likewise.
54475 (acos_towardzero_test_data): Likewise.
54476 (acos_test_towardzero): Likewise.
54477 (acos_downward_test_data): Likewise.
54478 (acos_test_downward): Likewise.
54479 (acos_upward_test_data): Likewise.
54480 (acos_test_upward): Likewise.
54481 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54482 (asin_test_data): Likewise.
54483 (asin_test): Use ALL_RM_TEST.
54484 (asin_tonearest_test_data): Remove.
54485 (asin_test_tonearest): Likewise.
54486 (asin_towardzero_test_data): Likewise.
54487 (asin_test_towardzero): Likewise.
54488 (asin_downward_test_data): Likewise.
54489 (asin_test_downward): Likewise.
54490 (asin_upward_test_data): Likewise.
54491 (asin_test_upward): Likewise.
54492 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54493 (atan_test_data): Likewise.
54494 (atanh_test_data): Likewise.
54495 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54496 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54497 (carg_test_data): Likewise.
54498 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54499 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54500 (ccosh_test_data): Likewise.
54501 (cexp_test_data): Likewise.
54502 (clog_test_data): Likewise.
54503 (clog10_test_data): Likewise.
54504 (cos_test_data): Update call to AUTO_TESTS_f_f.
54505 (cos_test): Use ALL_RM_TEST.
54506 (cos_tonearest_test_data): Remove.
54507 (cos_test_tonearest): Likewise.
54508 (cos_towardzero_test_data): Likewise.
54509 (cos_test_towardzero): Likewise.
54510 (cos_downward_test_data): Likewise.
54511 (cos_test_downward): Likewise.
54512 (cos_upward_test_data): Likewise.
54513 (cos_test_upward): Likewise.
54514 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54515 (cosh_test): Use ALL_RM_TEST.
54516 (cosh_tonearest_test_data): Remove.
54517 (cosh_test_tonearest): Likewise.
54518 (cosh_towardzero_test_data): Likewise.
54519 (cosh_test_towardzero): Likewise.
54520 (cosh_downward_test_data): Likewise.
54521 (cosh_test_downward): Likewise.
54522 (cosh_upward_test_data): Likewise.
54523 (cosh_test_upward): Likewise.
54524 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54525 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54526 (ctan_test_data): Likewise.
54527 (ctan_test): Use ALL_RM_TEST.
54528 (ctan_tonearest_test_data): Remove.
54529 (ctan_test_tonearest): Likewise.
54530 (ctan_towardzero_test_data): Likewise.
54531 (ctan_test_towardzero): Likewise.
54532 (ctan_downward_test_data): Likewise.
54533 (ctan_test_downward): Likewise.
54534 (ctan_upward_test_data): Likewise.
54535 (ctan_test_upward): Likewise.
54536 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54537 (ctanh_test): Use ALL_RM_TEST.
54538 (ctanh_tonearest_test_data): Remove.
54539 (ctanh_test_tonearest): Likewise.
54540 (ctanh_towardzero_test_data): Likewise.
54541 (ctanh_test_towardzero): Likewise.
54542 (ctanh_downward_test_data): Likewise.
54543 (ctanh_test_downward): Likewise.
54544 (ctanh_upward_test_data): Likewise.
54545 (ctanh_test_upward): Likewise.
54546 (erf_test_data): Update call to AUTO_TESTS_f_f.
54547 (erfc_test_data): Likewise.
54548 (exp_test_data): Likewise.
54549 (exp_test): Use ALL_RM_TEST.
54550 (exp_tonearest_test_data): Remove.
54551 (exp_test_tonearest): Likewise.
54552 (exp_towardzero_test_data): Likewise.
54553 (exp_test_towardzero): Likewise.
54554 (exp_downward_test_data): Likewise.
54555 (exp_test_downward): Likewise.
54556 (exp_upward_test_data): Likewise.
54557 (exp_test_upward): Likewise.
54558 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54559 (exp10_test): Use ALL_RM_TEST.
54560 (exp10_tonearest_test_data): Remove.
54561 (exp10_test_tonearest): Likewise.
54562 (exp10_towardzero_test_data): Likewise.
54563 (exp10_test_towardzero): Likewise.
54564 (exp10_downward_test_data): Likewise.
54565 (exp10_test_downward): Likewise.
54566 (exp10_upward_test_data): Likewise.
54567 (exp10_test_upward): Likewise.
54568 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54569 (expm1_test_data): Likewise.
54570 (expm1_test): Use ALL_RM_TEST.
54571 (expm1_tonearest_test_data): Remove.
54572 (expm1_test_tonearest): Likewise.
54573 (expm1_towardzero_test_data): Likewise.
54574 (expm1_test_towardzero): Likewise.
54575 (expm1_downward_test_data): Likewise.
54576 (expm1_test_downward): Likewise.
54577 (expm1_upward_test_data): Likewise.
54578 (expm1_test_upward): Likewise.
54579 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54580 (fma_test): Use ALL_RM_TEST.
54581 (fma_towardzero_test_data): Remove.
54582 (fma_test_towardzero): Likewise.
54583 (fma_downward_test_data): Likewise.
54584 (fma_test_downward): Likewise.
54585 (fma_upward_test_data): Likewise.
54586 (fma_test_upward): Likewise.
54587 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54588 (j0_test_data): Update call to AUTO_TESTS_f_f.
54589 (j1_test_data): Likewise.
54590 (jn_test_data): Update call to AUTO_TESTS_if_f.
54591 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54592 (log_test_data): Update call to AUTO_TESTS_f_f.
54593 (log10_test_data): Likewise.
54594 (log1p_test_data): Likewise.
54595 (log2_test_data): Likewise.
54596 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54597 (pow_tonearest_test_data): Likewise.
54598 (sin_test_data): Update call to AUTO_TESTS_f_f.
54599 (sin_test): Use ALL_RM_TEST.
54600 (sin_tonearest_test_data): Remove.
54601 (sin_test_tonearest): Likewise.
54602 (sin_towardzero_test_data): Likewise.
54603 (sin_test_towardzero): Likewise.
54604 (sin_downward_test_data): Likewise.
54605 (sin_test_downward): Likewise.
54606 (sin_upward_test_data): Likewise.
54607 (sin_test_upward): Likewise.
54608 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54609 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54610 (sinh_test): Use ALL_RM_TEST.
54611 (sinh_tonearest_test_data): Remove.
54612 (sinh_test_tonearest): Likewise.
54613 (sinh_towardzero_test_data): Likewise.
54614 (sinh_test_towardzero): Likewise.
54615 (sinh_downward_test_data): Likewise.
54616 (sinh_test_downward): Likewise.
54617 (sinh_upward_test_data): Likewise.
54618 (sinh_test_upward): Likewise.
54619 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54620 (sqrt_test): Use ALL_RM_TEST.
54621 (sqrt_tonearest_test_data): Remove.
54622 (sqrt_test_tonearest): Likewise.
54623 (sqrt_towardzero_test_data): Likewise.
54624 (sqrt_test_towardzero): Likewise.
54625 (sqrt_downward_test_data): Likewise.
54626 (sqrt_test_downward): Likewise.
54627 (sqrt_upward_test_data): Likewise.
54628 (sqrt_test_upward): Likewise.
54629 (tan_test_data): Update call to AUTO_TESTS_f_f.
54630 (tan_test): Use ALL_RM_TEST.
54631 (tan_tonearest_test_data): Remove.
54632 (tan_test_tonearest): Likewise.
54633 (tan_towardzero_test_data): Likewise.
54634 (tan_test_towardzero): Likewise.
54635 (tan_downward_test_data): Likewise.
54636 (tan_test_downward): Likewise.
54637 (tan_upward_test_data): Likewise.
54638 (tan_test_upward): Likewise.
54639 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54640 (tgamma_test_data): Likewise.
54641 (y0_test_data): Likewise.
54642 (y1_test_data): Likewise.
54643 (yn_test_data): Update call to AUTO_TESTS_if_f.
54644 (main): Do not call removed functions.
54645
54646 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54647
54648 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54649 (ldexp_test_data): Remove.
54650 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54651 scalbn_test_data.
54652 (scalb_test): Use ALL_RM_TEST.
54653
54654 2014-03-19 Andreas Schwab <schwab@suse.de>
54655
54656 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54657
54658 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54659
54660 [BZ #16649]
54661 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54662 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54663 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54665 (__ASSUME_PREADV): Undefine.
54666 (__ASSUME_PWRITEV): Likewise.
54667
54668 2014-03-18 Roland McGrath <roland@hack.frob.com>
54669
54670 * bits/mman-linux.h: Add comment about non-Linux use.
54671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54672 bits/mman-linux.h resting place.
54673
54674 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54675 * bits/mman-linux.h: ... here.
54676
54677 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54678
54679 * conform/conformtest.pl: Add standard definition when calling C
54680 preprocessor on data files.
54681 (checknamespace): Remove unused variable.
54682
54683 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54684
54685 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54686 minus_oflow, plus_uflow and minus_uflow in expected results.
54687 * math/libm-test.inc (scalbn_test_data): Add more tests of
54688 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54689 minus_uflow.
54690 (scalbn_test): Use ALL_RM_TEST.
54691 (scalbln_test_data): Add more tests of negative arguments. Use
54692 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54693 (scalbln_test): Use ALL_RM_TEST.
54694
54695 2014-03-18 Roland McGrath <roland@hack.frob.com>
54696
54697 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54698
54699 2014-03-18 Will Newton <will.newton@linaro.org>
54700
54701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54702 inaccurate comment.
54703
54704 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54705
54706 * Makerules [!subdir] (check-abi): Exit with error status if a
54707 test failed.
54708
54709 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54710
54711 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54712 for rint. Include results for all rounding modes.
54713 (nearbyint_test): Use ALL_RM_TEST.
54714 (rint_test_data): Include all tests used for nearbyint.
54715
54716 2014-03-17 Will Newton <will.newton@linaro.org>
54717
54718 * nptl/sysdeps/pthread/pthread.h: Revert previous
54719 change.
54720
54721 * sysdeps/generic/ldsodefs.h: Revert previous
54722 change.
54723
54724 * libio/genops.c: Revert previous change.
54725 * libio/libioP.h: Likewise.
54726 * stdio-common/vfprintf.c: Likewise.
54727
54728 * sysdeps/generic/math_private.h: Revert previous
54729 change.
54730
54731 * sysdeps/generic/math_private.h: Check whether
54732 HAVE_RM_CTX is defined with #ifdef rather
54733 than #if.
54734
54735 * argp/argp-fmtstream.h: Check whether
54736 __STRICT_ANSI__ is defined with #ifdef rather
54737 than #if.
54738 * argp/argp.h: Likewise.
54739
54740 * libio/genops.c: Check whether
54741 _IO_JUMPS_OFFSET is defined with #ifdef rather
54742 than #if.
54743 * libio/libioP.h: Likewise.
54744 * stdio-common/vfprintf.c: Likewise.
54745
54746 * sysdeps/generic/ldsodefs.h: Check whether
54747 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54748 than #if.
54749
54750 * nptl/sysdeps/pthread/pthread.h: Check
54751 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54752 its value.
54753
54754 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54755
54756 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54757 setting O_APPEND.
54758 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54759 test case.
54760
54761 [BZ #16680]
54762 * libio/fileops.c (_IO_file_open): Seek to end of file but
54763 don't cache the offset.
54764 (get_file_offset): Remove function.
54765 (do_ftell): Use cached offset when available.
54766 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54767 don't cache the offset.
54768 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54769 case.
54770 (do_one_test): Call it.
54771 (do_ftell_test): Fix up expected old offset for a+ mode.
54772 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54773 available.
54774
54775 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54776 up test status with function return status.
54777 (do_write_test): Likewise.
54778 (do_append_test): Likewise.
54779
54780 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54781 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54782 Remove.
54783
54784 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54785
54786 * math/gen-libm-test.pl (parse_args): Handle results specified for
54787 each rounding mode separately.
54788 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54789 tests and results from lrint_tonearest_test_data,
54790 lrint_towardzero_test_data, lrint_downward_test_data and
54791 lrint_upward_test_data.
54792 (lrint_test): Use ALL_RM_TEST.
54793 (lrint_tonearest_test_data): Remove.
54794 (lrint_test_tonearest): Likewise.
54795 (lrint_towardzero_test_data): Likewise.
54796 (lrint_test_towardzero): Likewise.
54797 (lrint_downward_test_data): Likewise.
54798 (lrint_test_downward): Likewise.
54799 (lrint_upward_test_data): Likewise.
54800 (lrint_test_upward): Likewise.
54801 (llrint_test_data): Merge in per-rounding-mode tests and results
54802 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54803 llrint_downward_test_data and llrint_upward_test_data.
54804 (llrint_test): Use ALL_RM_TEST.
54805 (llrint_tonearest_test_data): Remove.
54806 (llrint_test_tonearest): Likewise.
54807 (llrint_towardzero_test_data): Likewise.
54808 (llrint_test_towardzero): Likewise.
54809 (llrint_downward_test_data): Likewise.
54810 (llrint_test_downward): Likewise.
54811 (llrint_upward_test_data): Likewise.
54812 (llrint_test_upward): Likewise.
54813 (rint_test_data): Merge in per-rounding-mode tests and results
54814 from rint_tonearest_test_data, rint_towardzero_test_data,
54815 rint_downward_test_data and rint_upward_test_data. Add
54816 per-rounding-mode results for tests not in those arrays.
54817 (rint_test): Use ALL_RM_TEST.
54818 (rint_tonearest_test_data): Remove.
54819 (rint_test_tonearest): Likewise.
54820 (rint_towardzero_test_data): Likewise.
54821 (rint_test_towardzero): Likewise.
54822 (rint_downward_test_data): Likewise.
54823 (rint_test_downward): Likewise.
54824 (rint_upward_test_data): Likewise.
54825 (rint_test_upward): Likewise.
54826 (main): Don't call removed functions.
54827
54828 2014-03-14 Roland McGrath <roland@hack.frob.com>
54829
54830 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54831 "Compiled on ..." crapola. It is anti-useful.
54832
54833 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54834
54835 * scripts/evaluate-test.sh: Handle fourth argument to determine
54836 whether test run should stop on failure.
54837 * Makeconfig (stop-on-test-failure): New variable.
54838 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54839 $(stop-on-test-failure).
54840 * Makefile (tests): Give a summary of results from testing and
54841 exit with failure status if they include an ERROR or FAIL.
54842 (xtests): Likewise.
54843 * manual/install.texi (Configuring and compiling): Mention
54844 stop-on-test-failure=y.
54845 * INSTALL: Regenerated.
54846
54847 2014-03-14 Roland McGrath <roland@hack.frob.com>
54848
54849 * scripts/versionlist.awk: New file.
54850 * Makerules [$(build-shared) = yes]
54851 (postclean-generated): Add Versions.def, not Versions.def.v and
54852 Versions.def.v.i.
54853 ($(common-objpfx)Versions.def.v.i): Target removed.
54854 ($(common-objpfx)Versions.def): New target.
54855 ($(common-objpfx)Versions.all): Depend on that rather that
54856 $(common-objpfx)Versions.def.v.
54857 * Versions.def: File removed.
54858
54859 * Makeconfig (+gccwarn): Add -Wundef.
54860 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54861 a dl-sysdep.h breaking its contract.
54862 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54863 * include/stackinfo.h: New file.
54864 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54865 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54866 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54867 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54868 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54869 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54870 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54871 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54872 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54873 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54874 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54875 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54876 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54877 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54878 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54879
54880 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54881
54882 [BZ #16707]
54883 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54884 implementation.
54885 * math/libm-test.inc (round_test_data): Add more tests.
54886
54887 [BZ #16706]
54888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54889 implementation.
54890 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54891
54892 [BZ #16701]
54893 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54894 implementation.
54895 * math/libm-test.inc (ceil_test_data): Add more tests.
54896
54897 * math/libm-test.inc (trunc_test_data): Add more tests related to
54898 BZ#16414.
54899
54900 2014-03-14 Roland McGrath <roland@hack.frob.com>
54901
54902 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54903 with #if rather than #ifdef.
54904 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54905
54906 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54907
54908 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54909 first. Disable AVX-512 GCC support if assembler doesn't support
54910 it.
54911 * sysdeps/x86_64/configure: Regenerated.
54912
54913 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54914
54915 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54916 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54917 (__old_pthread_attr_setstack): Likewise.
54918 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54919 [!_STACK_GROWS_DOWN]: Likewise.
54920
54921 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54922
54923 * config.make.in (have-bash2): Delete.
54924 * configure.ac (libc_cv_have_bash2): Delete.
54925 * configure: Regenerate.
54926 * elf/Makefile (common-ldd-rewrite): Rename to ...
54927 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54928 (sh-ldd-rewrite): Delete.
54929 (bash-ldd-rewrite): Delete.
54930 (have-bash2): Delete checks.
54931 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54932 ldd-rewrite.
54933
54934 * config.make.in (have-ksh): Delete.
54935 (KSH): Delete.
54936 * configure.ac (libc_cv_have_ksh): Delete.
54937 * configure: Regenerate.
54938
54939 * elf/Makefile: Delete $(have-ksh) check.
54940 ($(objpfx)sotruss): Change KSH to BASH.
54941 * elf/sotruss.ksh: Rename to ...
54942 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54943 function style to match POSIX. Drop ksh vim mode setting.
54944
54945 * manual/time.texi (Specifying the Time Zone with TZ): Change
54946 Tuesday to Thursday.
54947
54948 * debug/tst-longjmp_chk2.c: Update header comment.
54949 (stackoverflow_handler): Add comment. Call assert on pass value.
54950
54951 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54952
54953 [BZ #16194]
54954 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54955 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54956 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54957 (La_x86_64_vector): Add zmm.
54958 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54959 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54960 ($(objpfx)tst-audit10): New target.
54961 ($(objpfx)tst-audit10.out): Likewise.
54962 (tst-audit10-ENV): New.
54963 (AVX512-CFLAGS): Likewise.
54964 (CFLAGS-tst-audit10.c): Likewise.
54965 (CFLAGS-tst-auditmod10a.c): Likewise.
54966 (CFLAGS-tst-auditmod10b.c): Likewise.
54967 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54968 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54969 * sysdeps/x86_64/configure: Regenerated.
54970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54971 AVX-512 zmm register support.
54972 (_dl_x86_64_save_sse): Likewise.
54973 (_dl_x86_64_restore_sse): Likewise.
54974 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54975 size vector registers.
54976 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54977 (ZMM_SIZE): Likewise.
54978 * sysdeps/x86_64/tst-audit10.c: New file.
54979 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54980 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54981
54982 2014-03-13 Roland McGrath <roland@hack.frob.com>
54983
54984 * configure.ac (HAVE_EHDR_START): New check.
54985 * configure: Regenerated.
54986 * config.h.in (HAVE_EHDR_START): New #undef.
54987 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54988 assuming the lowest-addressed segment maps the start of the file.
54989
54990 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54991
54992 * INSTALL: Regenerated.
54993
54994 2014-03-13 Will Newton <will.newton@linaro.org>
54995
54996 * manual/setjmp.texi (System V contexts): Improve
54997 clarity and grammar of documentation.
54998
54999 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
55000
55001 [BZ #16381]
55002 * elf/Makefile (tests): Add tst-pie2.
55003 (tests-pie): Add tst-pie2.
55004 * elf/tst-pie2.c: New file.
55005 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
55006 for ET_EXEC.
55007 * elf/rtld.c (map_doit): Load executable as lt_executable.
55008 (dl_main): Likewise.
55009
55010 2014-03-12 Joseph Myers <joseph@codesourcery.com>
55011
55012 [BZ #16642]
55013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55014 (__ASSUME_PSELECT): Undefine.
55015
55016 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55017
55018 [BZ #16689]
55019 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
55020 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
55021 static build.
55022 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
55023 selector for static builds.
55024
55025 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
55026
55027 [BZ #16695]
55028 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
55029 key in the buffer.
55030
55031 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55032
55033 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
55034 IFUNC selector for static builds.
55035
55036 2014-03-11 Joseph Myers <joseph@codesourcery.com>
55037
55038 * sysdeps/mips/math_private.h [__mips_hard_float]
55039 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
55040 libc_feresetround_mips_ctx.
55041 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
55042 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
55043 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
55044
55045 [BZ #16677]
55046 * math/s_nextafter.c (__nextafter): Do not return value from
55047 overflowing computation.
55048 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
55049 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
55050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
55051 Likewise.
55052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
55053 Likewise.
55054 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
55055 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
55056
55057 2014-03-11 Roland McGrath <roland@hack.frob.com>
55058
55059 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
55060 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
55061 Move sfi_sp use from the load-multiple (that no longer sets sp) to
55062 the new mov targetting sp.
55063
55064 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55065
55066 [BZ #16683]
55067 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
55068 Define it for static builds as well.
55069 (NO_BZERO_IMPL): Likewise.
55070
55071 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
55072
55073 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
55074 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
55075 multiarch strspn for PPC64.
55076 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
55077 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
55078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55079 (__libc_ifunc_impl_list): Likewise.
55080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
55081 multiarch optimizations
55082 * string/strspn.c (strspn): Using macro to redefine symbol name.
55083
55084 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
55085 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55086
55087 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
55088 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
55089 multiarch strncat for PPC64.
55090 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
55091 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
55092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55093 (__libc_ifunc_impl_list): Likewise.
55094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
55095 multiarch optimizations
55096
55097 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55098
55099 [BZ #16639]
55100 * nscd/nscd.service: Make service type forking.
55101
55102 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55103
55104 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
55105 sign in non default rounding modes.
55106 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
55107
55108 2014-03-08 Joseph Myers <joseph@codesourcery.com>
55109
55110 * math/libm-test.inc (ALL_RM_TEST): New macro.
55111 (ceil_test): Use ALL_RM_TEST.
55112 (cimag_test): Likewise.
55113 (conj_test): Likewise.
55114 (copysign_test): Likewise.
55115 (cproj_test): Likewise.
55116 (creal_test): Likewise.
55117 (fabs_test): Likewise.
55118 (floor_test): Likewise.
55119 (fmax_test): Likewise.
55120 (fmin_test): Likewise.
55121 (fmod_test): Likewise.
55122 (fpclassify_test): Likewise.
55123 (frexp_test): Likewise.
55124 (ilogb_test): Likewise.
55125 (isfinite_test): Likewise.
55126 (finite_test): Likewise.
55127 (isgreater_test): Likewise.
55128 (isgreaterequal_test): Likewise.
55129 (isinf_test): Likewise.
55130 (isless_test): Likewise.
55131 (islessequal_test): Likewise.
55132 (islessgreater_test): Likewise.
55133 (isnan_test): Likewise.
55134 (isnormal_test): Likewise.
55135 (issignaling_test): Likewise.
55136 (isunordered_test): Likewise.
55137 (logb_test): Likewise.
55138 (logb_downward_test_data): Remove.
55139 (logb_test_downward): Likewise.
55140 (lround_test): Use ALL_RM_TEST.
55141 (llround_test): Likewise.
55142 (modf_test): Likewise.
55143 (nexttoward_test): Likewise.
55144 (remainder_test): Likewise.
55145 (drem_test): Likewise.
55146 (remainder_tonearest_test_data): Likewise.
55147 (remainder_test_tonearest): Likewise.
55148 (drem_test_tonearest): Likewise.
55149 (remainder_towardzero_test_data): Likewise.
55150 (remainder_test_towardzero): Likewise.
55151 (drem_test_towardzero): Likewise.
55152 (remainder_downward_test_data): Likewise.
55153 (remainder_test_downward): Likewise.
55154 (drem_test_downward): Likewise.
55155 (remainder_upward_test_data): Likewise.
55156 (remainder_test_upward): Likewise.
55157 (drem_test_upward): Likewise.
55158 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
55159 (round_test): Use ALL_RM_TEST.
55160 (signbit_test): Likewise.
55161 (trunc_test): Likewise.
55162 (significand_test): Likewise.
55163 (main): Don't call removed functions.
55164
55165 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55166
55167 [BZ #16674]
55168 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55169 || __USE_XOPEN2K8].
55170 (ILL_ILLOPN): Likewise.
55171 (ILL_ILLADR): Likewise.
55172 (ILL_ILLTRP): Likewise.
55173 (ILL_PRVOPC): Likewise.
55174 (ILL_PRVREG): Likewise.
55175 (ILL_COPROC): Likewise.
55176 (ILL_BADSTK): Likewise.
55177 (FPE_INTDIV): Likewise.
55178 (FPE_INTOVF): Likewise.
55179 (FPE_FLTDIV): Likewise.
55180 (FPE_FLTOVF): Likewise.
55181 (FPE_FLTUND): Likewise.
55182 (FPE_FLTRES): Likewise.
55183 (FPE_FLTINV): Likewise.
55184 (FPE_FLTSUB): Likewise.
55185 (SEGV_MAPERR): Likewise.
55186 (SEGV_ACCERR): Likewise.
55187 (BUS_ADRALN): Likewise.
55188 (BUS_ADRERR): Likewise.
55189 (BUS_OBJERR): Likewise.
55190 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55191 (TRAP_TRACE): Likewise.
55192 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55193 __USE_XOPEN2K8].
55194 (CLD_KILLED): Likewise.
55195 (CLD_DUMPED): Likewise.
55196 (CLD_TRAPPED): Likewise.
55197 (CLD_STOPPED): Likewise.
55198 (CLD_CONTINUED): Likewise.
55199 (POLL_IN): Likewise.
55200 (POLL_OUT): Likewise.
55201 (POLL_MSG): Likewise.
55202 (POLL_ERR): Likewise.
55203 (POLL_PRI): Likewise.
55204 (POLL_HUP): Likewise.
55205 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55206 Likewise.
55207 (ILL_ILLOPN): Likewise.
55208 (ILL_ILLADR): Likewise.
55209 (ILL_ILLTRP): Likewise.
55210 (ILL_PRVOPC): Likewise.
55211 (ILL_PRVREG): Likewise.
55212 (ILL_COPROC): Likewise.
55213 (ILL_BADSTK): Likewise.
55214 (FPE_INTDIV): Likewise.
55215 (FPE_INTOVF): Likewise.
55216 (FPE_FLTDIV): Likewise.
55217 (FPE_FLTOVF): Likewise.
55218 (FPE_FLTUND): Likewise.
55219 (FPE_FLTRES): Likewise.
55220 (FPE_FLTINV): Likewise.
55221 (FPE_FLTSUB): Likewise.
55222 (SEGV_MAPERR): Likewise.
55223 (SEGV_ACCERR): Likewise.
55224 (BUS_ADRALN): Likewise.
55225 (BUS_ADRERR): Likewise.
55226 (BUS_OBJERR): Likewise.
55227 (BUS_MCEERR_AR): Likewise.
55228 (BUS_MCEERR_AO): Likewise.
55229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55230 (TRAP_TRACE): Likewise.
55231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55232 __USE_XOPEN2K8].
55233 (CLD_KILLED): Likewise.
55234 (CLD_DUMPED): Likewise.
55235 (CLD_TRAPPED): Likewise.
55236 (CLD_STOPPED): Likewise.
55237 (CLD_CONTINUED): Likewise.
55238 (POLL_IN): Likewise.
55239 (POLL_OUT): Likewise.
55240 (POLL_MSG): Likewise.
55241 (POLL_ERR): Likewise.
55242 (POLL_PRI): Likewise.
55243 (POLL_HUP): Likewise.
55244 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55245 (ILL_ILLOPN): Likewise.
55246 (ILL_ILLADR): Likewise.
55247 (ILL_ILLTRP): Likewise.
55248 (ILL_PRVOPC): Likewise.
55249 (ILL_PRVREG): Likewise.
55250 (ILL_COPROC): Likewise.
55251 (ILL_BADSTK): Likewise.
55252 (FPE_INTDIV): Likewise.
55253 (FPE_INTOVF): Likewise.
55254 (FPE_FLTDIV): Likewise.
55255 (FPE_FLTOVF): Likewise.
55256 (FPE_FLTUND): Likewise.
55257 (FPE_FLTRES): Likewise.
55258 (FPE_FLTINV): Likewise.
55259 (FPE_FLTSUB): Likewise.
55260 (SEGV_MAPERR): Likewise.
55261 (SEGV_ACCERR): Likewise.
55262 (BUS_ADRALN): Likewise.
55263 (BUS_ADRERR): Likewise.
55264 (BUS_OBJERR): Likewise.
55265 (BUS_MCEERR_AR): Likewise.
55266 (BUS_MCEERR_AO): Likewise.
55267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55268 (TRAP_TRACE): Likewise.
55269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55270 __USE_XOPEN2K8].
55271 (CLD_KILLED): Likewise.
55272 (CLD_DUMPED): Likewise.
55273 (CLD_TRAPPED): Likewise.
55274 (CLD_STOPPED): Likewise.
55275 (CLD_CONTINUED): Likewise.
55276 (POLL_IN): Likewise.
55277 (POLL_OUT): Likewise.
55278 (POLL_MSG): Likewise.
55279 (POLL_ERR): Likewise.
55280 (POLL_PRI): Likewise.
55281 (POLL_HUP): Likewise.
55282 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55283 Likewise.
55284 (ILL_ILLOPN): Likewise.
55285 (ILL_ILLADR): Likewise.
55286 (ILL_ILLTRP): Likewise.
55287 (ILL_PRVOPC): Likewise.
55288 (ILL_PRVREG): Likewise.
55289 (ILL_COPROC): Likewise.
55290 (ILL_BADSTK): Likewise.
55291 (ILL_BADIADDR): Likewise.
55292 (ILL_BREAK): Likewise.
55293 (FPE_INTDIV): Likewise.
55294 (FPE_INTOVF): Likewise.
55295 (FPE_FLTDIV): Likewise.
55296 (FPE_FLTOVF): Likewise.
55297 (FPE_FLTUND): Likewise.
55298 (FPE_FLTRES): Likewise.
55299 (FPE_FLTINV): Likewise.
55300 (FPE_FLTSUB): Likewise.
55301 (FPE_DECOVF): Likewise.
55302 (FPE_DECDIV): Likewise.
55303 (FPE_DECERR): Likewise.
55304 (FPE_INVASC): Likewise.
55305 (FPE_INVDEC): Likewise.
55306 (SEGV_MAPERR): Likewise.
55307 (SEGV_ACCERR): Likewise.
55308 (SEGV_PSTKOVF): Likewise.
55309 (BUS_ADRALN): Likewise.
55310 (BUS_ADRERR): Likewise.
55311 (BUS_OBJERR): Likewise.
55312 (BUS_MCEERR_AR): Likewise.
55313 (BUS_MCEERR_AO): Likewise.
55314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55315 (TRAP_TRACE): Likewise.
55316 (TRAP_BRANCH): Likewise.
55317 (TRAP_HWBKPT): Likewise.
55318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55319 __USE_XOPEN2K8].
55320 (CLD_KILLED): Likewise.
55321 (CLD_DUMPED): Likewise.
55322 (CLD_TRAPPED): Likewise.
55323 (CLD_STOPPED): Likewise.
55324 (CLD_CONTINUED): Likewise.
55325 (POLL_IN): Likewise.
55326 (POLL_OUT): Likewise.
55327 (POLL_MSG): Likewise.
55328 (POLL_ERR): Likewise.
55329 (POLL_PRI): Likewise.
55330 (POLL_HUP): Likewise.
55331 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55332 (ILL_ILLOPN): Likewise.
55333 (ILL_ILLADR): Likewise.
55334 (ILL_ILLTRP): Likewise.
55335 (ILL_PRVOPC): Likewise.
55336 (ILL_PRVREG): Likewise.
55337 (ILL_COPROC): Likewise.
55338 (ILL_BADSTK): Likewise.
55339 (FPE_INTDIV): Likewise.
55340 (FPE_INTOVF): Likewise.
55341 (FPE_FLTDIV): Likewise.
55342 (FPE_FLTOVF): Likewise.
55343 (FPE_FLTUND): Likewise.
55344 (FPE_FLTRES): Likewise.
55345 (FPE_FLTINV): Likewise.
55346 (FPE_FLTSUB): Likewise.
55347 (SEGV_MAPERR): Likewise.
55348 (SEGV_ACCERR): Likewise.
55349 (BUS_ADRALN): Likewise.
55350 (BUS_ADRERR): Likewise.
55351 (BUS_OBJERR): Likewise.
55352 (BUS_MCEERR_AR): Likewise.
55353 (BUS_MCEERR_AO): Likewise.
55354 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55355 (TRAP_TRACE): Likewise.
55356 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55357 __USE_XOPEN2K8].
55358 (CLD_KILLED): Likewise.
55359 (CLD_DUMPED): Likewise.
55360 (CLD_TRAPPED): Likewise.
55361 (CLD_STOPPED): Likewise.
55362 (CLD_CONTINUED): Likewise.
55363 (POLL_IN): Likewise.
55364 (POLL_OUT): Likewise.
55365 (POLL_MSG): Likewise.
55366 (POLL_ERR): Likewise.
55367 (POLL_PRI): Likewise.
55368 (POLL_HUP): Likewise.
55369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55370 (ILL_ILLOPN): Likewise.
55371 (ILL_ILLADR): Likewise.
55372 (ILL_ILLTRP): Likewise.
55373 (ILL_PRVOPC): Likewise.
55374 (ILL_PRVREG): Likewise.
55375 (ILL_COPROC): Likewise.
55376 (ILL_BADSTK): Likewise.
55377 (FPE_INTDIV): Likewise.
55378 (FPE_INTOVF): Likewise.
55379 (FPE_FLTDIV): Likewise.
55380 (FPE_FLTOVF): Likewise.
55381 (FPE_FLTUND): Likewise.
55382 (FPE_FLTRES): Likewise.
55383 (FPE_FLTINV): Likewise.
55384 (FPE_FLTSUB): Likewise.
55385 (SEGV_MAPERR): Likewise.
55386 (SEGV_ACCERR): Likewise.
55387 (BUS_ADRALN): Likewise.
55388 (BUS_ADRERR): Likewise.
55389 (BUS_OBJERR): Likewise.
55390 (BUS_MCEERR_AR): Likewise.
55391 (BUS_MCEERR_AO): Likewise.
55392 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55393 (TRAP_TRACE): Likewise.
55394 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55395 __USE_XOPEN2K8].
55396 (CLD_KILLED): Likewise.
55397 (CLD_DUMPED): Likewise.
55398 (CLD_TRAPPED): Likewise.
55399 (CLD_STOPPED): Likewise.
55400 (CLD_CONTINUED): Likewise.
55401 (POLL_IN): Likewise.
55402 (POLL_OUT): Likewise.
55403 (POLL_MSG): Likewise.
55404 (POLL_ERR): Likewise.
55405 (POLL_PRI): Likewise.
55406 (POLL_HUP): Likewise.
55407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55408 (ILL_ILLOPN): Likewise.
55409 (ILL_ILLADR): Likewise.
55410 (ILL_ILLTRP): Likewise.
55411 (ILL_PRVOPC): Likewise.
55412 (ILL_PRVREG): Likewise.
55413 (ILL_COPROC): Likewise.
55414 (ILL_BADSTK): Likewise.
55415 (FPE_INTDIV): Likewise.
55416 (FPE_INTOVF): Likewise.
55417 (FPE_FLTDIV): Likewise.
55418 (FPE_FLTOVF): Likewise.
55419 (FPE_FLTUND): Likewise.
55420 (FPE_FLTRES): Likewise.
55421 (FPE_FLTINV): Likewise.
55422 (FPE_FLTSUB): Likewise.
55423 (SEGV_MAPERR): Likewise.
55424 (SEGV_ACCERR): Likewise.
55425 (BUS_ADRALN): Likewise.
55426 (BUS_ADRERR): Likewise.
55427 (BUS_OBJERR): Likewise.
55428 (BUS_MCEERR_AR): Likewise.
55429 (BUS_MCEERR_AO): Likewise.
55430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55431 (TRAP_TRACE): Likewise.
55432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55433 __USE_XOPEN2K8].
55434 (CLD_KILLED): Likewise.
55435 (CLD_DUMPED): Likewise.
55436 (CLD_TRAPPED): Likewise.
55437 (CLD_STOPPED): Likewise.
55438 (CLD_CONTINUED): Likewise.
55439 (POLL_IN): Likewise.
55440 (POLL_OUT): Likewise.
55441 (POLL_MSG): Likewise.
55442 (POLL_ERR): Likewise.
55443 (POLL_PRI): Likewise.
55444 (POLL_HUP): Likewise.
55445 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55446 (ILL_ILLOPN): Likewise.
55447 (ILL_ILLADR): Likewise.
55448 (ILL_ILLTRP): Likewise.
55449 (ILL_PRVOPC): Likewise.
55450 (ILL_PRVREG): Likewise.
55451 (ILL_COPROC): Likewise.
55452 (ILL_BADSTK): Likewise.
55453 (ILL_DBLFLT): Likewise.
55454 (ILL_HARDWALL): Likewise.
55455 (FPE_INTDIV): Likewise.
55456 (FPE_INTOVF): Likewise.
55457 (FPE_FLTDIV): Likewise.
55458 (FPE_FLTOVF): Likewise.
55459 (FPE_FLTUND): Likewise.
55460 (FPE_FLTRES): Likewise.
55461 (FPE_FLTINV): Likewise.
55462 (FPE_FLTSUB): Likewise.
55463 (SEGV_MAPERR): Likewise.
55464 (SEGV_ACCERR): Likewise.
55465 (BUS_ADRALN): Likewise.
55466 (BUS_ADRERR): Likewise.
55467 (BUS_OBJERR): Likewise.
55468 (BUS_MCEERR_AR): Likewise.
55469 (BUS_MCEERR_AO): Likewise.
55470 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55471 (TRAP_TRACE): Likewise.
55472 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55473 __USE_XOPEN2K8].
55474 (CLD_KILLED): Likewise.
55475 (CLD_DUMPED): Likewise.
55476 (CLD_TRAPPED): Likewise.
55477 (CLD_STOPPED): Likewise.
55478 (CLD_CONTINUED): Likewise.
55479 (POLL_IN): Likewise.
55480 (POLL_OUT): Likewise.
55481 (POLL_MSG): Likewise.
55482 (POLL_ERR): Likewise.
55483 (POLL_PRI): Likewise.
55484 (POLL_HUP): Likewise.
55485 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55486 (ILL_ILLOPN): Likewise.
55487 (ILL_ILLADR): Likewise.
55488 (ILL_ILLTRP): Likewise.
55489 (ILL_PRVOPC): Likewise.
55490 (ILL_PRVREG): Likewise.
55491 (ILL_COPROC): Likewise.
55492 (ILL_BADSTK): Likewise.
55493 (FPE_INTDIV): Likewise.
55494 (FPE_INTOVF): Likewise.
55495 (FPE_FLTDIV): Likewise.
55496 (FPE_FLTOVF): Likewise.
55497 (FPE_FLTUND): Likewise.
55498 (FPE_FLTRES): Likewise.
55499 (FPE_FLTINV): Likewise.
55500 (FPE_FLTSUB): Likewise.
55501 (SEGV_MAPERR): Likewise.
55502 (SEGV_ACCERR): Likewise.
55503 (BUS_ADRALN): Likewise.
55504 (BUS_ADRERR): Likewise.
55505 (BUS_OBJERR): Likewise.
55506 (BUS_MCEERR_AR): Likewise.
55507 (BUS_MCEERR_AO): Likewise.
55508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55509 (TRAP_TRACE): Likewise.
55510 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55511 __USE_XOPEN2K8].
55512 (CLD_KILLED): Likewise.
55513 (CLD_DUMPED): Likewise.
55514 (CLD_TRAPPED): Likewise.
55515 (CLD_STOPPED): Likewise.
55516 (CLD_CONTINUED): Likewise.
55517 (POLL_IN): Likewise.
55518 (POLL_OUT): Likewise.
55519 (POLL_MSG): Likewise.
55520 (POLL_ERR): Likewise.
55521 (POLL_PRI): Likewise.
55522 (POLL_HUP): Likewise.
55523 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55524 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55525
55526 [BZ #16670]
55527 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55528 before #include of <time.h>.
55529 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55530 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55531 (test-xfail-UNIX98/sched.h/conform): Likewise.
55532
55533 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55534
55535 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55536 error absence of trapping exception support.
55537 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55538
55539 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55540
55541 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55542 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55543 * timezone/Makefile (testdata): Move definition above include of
55544 Rules.
55545 (test-zones): New variable.
55546 (tests-special): Add zone files.
55547 (build-testdata): Use $(evaluate-test).
55548
55549 * elf/Makefile (tests-special): Rename tests to end with .out.
55550 ($(objpfx)noload-mem): Likewise.
55551 ($(objpfx)tst-leaks1-mem): Likewise.
55552 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55553 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55554 $(objpfx)test-iconvconfig.out.
55555 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55556 set -e inside subshell and redirect output to file.
55557 * iconvdata/Makefile (generated): Rename tests to end with .out.
55558 Correct type.
55559 (tests-special): Rename tests to end with .out.
55560 ($(objpfx)mtrace-tst-loading): Likewise.
55561 * intl/Makefile (generated): Likewise.
55562 (tests-special): Likewise.
55563 ($(objpfx)mtrace-tst-gettext): Likewise.
55564 * misc/Makefile (generated): Likewise.
55565 (tests-special): Likewise.
55566 ($(objpfx)tst-error1-mem): Likewise.
55567 * nptl/Makefile (tests-special): Likewise.
55568 ($(objpfx)tst-stack3-mem): Likewise.
55569 (generated): Likewise.
55570 * posix/Makefile (generated): Likewise.
55571 (tests-special): Likewise.
55572 (xtests-special): Likewise.
55573 ($(objpfx)tst-fnmatch-mem): Likewise.
55574 ($(objpfx)bug-regex2-mem): Likewise.
55575 ($(objpfx)bug-regex14-mem): Likewise.
55576 ($(objpfx)bug-regex21-mem): Likewise.
55577 ($(objpfx)bug-regex31-mem): Likewise.
55578 ($(objpfx)tst-vfork3-mem): Likewise.
55579 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55580 ($(objpfx)tst-pcre-mem): Likewise.
55581 ($(objpfx)tst-boost-mem): Likewise.
55582 ($(objpfx)bug-ga2-mem): Likewise.
55583 ($(objpfx)bug-glob2-mem): Likewise.
55584 * resolv/Makefile (generate): Likewise.
55585 (tests-special): Likewise.
55586 (xtests-special): Likewise.
55587 (generated): Likewise.
55588 ($(objpfx)mtrace-tst-leaks): Likewise.
55589 ($(objpfx)mtrace-tst-leaks2): Likewise.
55590
55591 * scripts/merge-test-results.sh: New file.
55592 * Makefile (tests-special-notdir): New variable.
55593 (tests): Run merge-test-results.sh.
55594 (xtests): Likewise.
55595 * Rules (tests-special-notdir): New variable.
55596 (xtests-special-notdir): Likewise.
55597 (tests): Run merge-test-results.sh
55598 (xtests): Likewise.
55599
55600 * Makeconfig (test-xfail-name): New variable.
55601 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55602 compute variable name for expected failures.
55603 * conform/Makefile (conformtest-headers-data): New variable.
55604 (conformtest-standards): Likewise.
55605 (conformtest-headers-ISO): Likewise.
55606 (conformtest-headers-ISO99): Likewise.
55607 (conformtest-headers-ISO11): Likewise.
55608 (conformtest-headers-POSIX): Likewise.
55609 (conformtest-headers-XPG3): Likewise.
55610 (conformtest-headers-XPG4): Likewise.
55611 (conformtest-headers-UNIX98): Likewise.
55612 (conformtest-headers-XOPEN2K): Likewise.
55613 (conformtest-headers-POSIX2008): Likewise.
55614 (conformtest-headers-XOPEN2K8): Likewise.
55615 (conformtest-header-list-base): Likewise.
55616 (conformtest-header-list-tests): Likewise.
55617 (conformtest-header-base): Likewise.
55618 (conformtest-header-tests): Likewise.
55619 (tests-special): Add $(conformtest-header-list-tests). If
55620 [$(fast-check) && !$(cross-compiling)], add
55621 $(conformtest-header-tests) instead of
55622 $(objpfx)run-conformtest.out.
55623 (generated): Add $(conformtest-header-list-base). If
55624 [$(fast-check) && !$(cross-compiling)], add
55625 $(conformtest-header-base). Remove previous setting.
55626 ($(conformtest-header-list-tests)): New target.
55627 (test-xfail-run-conformtest): Remove variable.
55628 ($(objpfx)run-conformtest.out): Remove target.
55629 (test-xfail-ISO11/complex.h/conform): New variable.
55630 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55631 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55632 (test-xfail-XPG3/varargs.h/conform): Likewise.
55633 (test-xfail-XPG4/varargs.h/conform): Likewise.
55634 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55635 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55636 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55637 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55638 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55639 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55640 (test-xfail-XPG3/ftw.h/conform): Likewise.
55641 (test-xfail-XPG3/grp.h/conform): Likewise.
55642 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55643 (test-xfail-XPG3/limits.h/conform): Likewise.
55644 (test-xfail-XPG3/pwd.h/conform): Likewise.
55645 (test-xfail-XPG3/search.h/conform): Likewise.
55646 (test-xfail-XPG3/signal.h/conform): Likewise.
55647 (test-xfail-XPG3/stdio.h/conform): Likewise.
55648 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55649 (test-xfail-XPG3/string.h/conform): Likewise.
55650 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55651 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55652 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55653 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55654 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55655 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55656 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55657 (test-xfail-XPG3/termios.h/conform): Likewise.
55658 (test-xfail-XPG3/time.h/conform): Likewise.
55659 (test-xfail-XPG3/unistd.h/conform): Likewise.
55660 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55661 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55662 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55663 (test-xfail-XPG4/netdb.h/conform): Likewise.
55664 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55665 (test-xfail-XPG4/signal.h/conform): Likewise.
55666 (test-xfail-XPG4/stdio.h/conform): Likewise.
55667 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55668 (test-xfail-XPG4/stropts.h/conform): Likewise.
55669 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55670 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55671 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55672 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55673 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55674 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55675 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55676 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55677 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55678 (test-xfail-XPG4/termios.h/conform): Likewise.
55679 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55680 (test-xfail-XPG4/unistd.h/conform): Likewise.
55681 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55682 (test-xfail-POSIX/sched.h/conform): Likewise.
55683 (test-xfail-POSIX/signal.h/conform): Likewise.
55684 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55685 (test-xfail-POSIX/tar.h/conform): Likewise.
55686 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55687 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55688 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55689 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55690 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55691 (test-xfail-UNIX98/sched.h/conform): Likewise.
55692 (test-xfail-UNIX98/signal.h/conform): Likewise.
55693 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55694 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55695 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55696 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55697 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55698 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55699 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55700 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55701 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55702 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55703 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55704 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55705 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55706 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55707 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55708 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55709 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55710 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55711 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55712 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55713 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55714 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55715 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55716 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55717 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55718 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55719 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55720 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55721 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55722 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55723 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55724 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55725 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55726 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55727 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55728 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55729 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55730 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55731 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55732 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55733 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55734 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55735 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55736 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55737 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55738 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55739 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55740 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55741 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55742 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55743 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55744 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55745 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55746 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55747 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55748 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55749 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55750 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55751 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55752 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55753 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55754 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55755 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55756 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55757 (conformtest-cc-flags): Likewise.
55758 ($(conformtest-header-tests): New target.
55759 * conform/check-header-lists.sh: New file.
55760 * conform/run-conformtest.sh: Remove.
55761
55762 * conform/conformtest.pl: Allow ' and \ in values given for
55763 constants.
55764 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55765 inclusion.
55766 [POSIX] (sys/types.h): Likewise.
55767 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55768 inclusion.
55769 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55770 inclusion.
55771 * conform/data/signal.h-data (SIGIO): Remove expectation.
55772 [XPG3] (SIGBUS): Do not expect.
55773 [POSIX || XPG3] (SIGPOLL): Likewise.
55774 [POSIX || XPG3] (SIGPROF): Likewise.
55775 [POSIX || XPG3] (SIGSYS): Likewise.
55776 [XPG3] (SIGTRAP): Likewise.
55777 [POSIX || XPG3] (SIGURG): Likewise.
55778 [POSIX || XPG3] (SIGVTALRM): Likewise.
55779 [POSIX || XPG3] (SIGXCPU): Likewise.
55780 [POSIX || XPG3] (SIGXFSZ): Likewise.
55781 [POSIX] (SA_SIGINFO): Expect.
55782 [XPG3] (siginfo_t): Do not expect type or contents.
55783 [POSIX] (si_pid): Do not expect element.
55784 [POSIX] (si_uid): Likewise.
55785 [POSIX] (si_addr): Likewise.
55786 [POSIX] (si_status): Likewise.
55787 [POSIX] (si_band): Likewise.
55788 [XPG4] (si_value): Likewise.
55789 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55790 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55791 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55792 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55793 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55794 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55795 [POSIX || XPG3] (ILL_COPROC): Likewise.
55796 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55797 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55798 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55799 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55800 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55801 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55802 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55803 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55804 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55805 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55806 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55807 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55808 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55809 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55810 [POSIX || XPG3] (CLD_EXITED): Likewise.
55811 [POSIX || XPG3] (CLD_KILLED): Likewise.
55812 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55813 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55814 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55815 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55816 [POSIX || XPG3] (POLL_IN): Likewise.
55817 [POSIX || XPG3] (POLL_OUT): Likewise.
55818 [POSIX || XPG3] (POLL_MSG): Likewise.
55819 [POSIX || XPG3] (POLL_ERR): Likewise.
55820 [POSIX || XPG3] (POLL_PRI): Likewise.
55821 [POSIX || XPG3] (POLL_HUP): Likewise.
55822 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55823 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55824 (SIG*): Do not allow.
55825 [XPG3] (si_*): Likewise.
55826 [XPG3] (SI_*): Likewise.
55827 [XPG3 || XPG4] (sigev_*): Likewise.
55828 [XPG3 || XPG4] (SIGEV_*): Likewise.
55829 [XPG3 || XPG4] (sival_*): Likewise.
55830 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55831 [POSIX || XPG3] (BUS_*): Likewise.
55832 [POSIX || XPG3] (CLD_*): Likewise.
55833 [POSIX || XPG3] (FPE_*): Likewise.
55834 [POSIX || XPG3] (ILL_*): Likewise.
55835 [POSIX || XPG3] (POLL_*): Likewise.
55836 [POSIX || XPG3] (SEGV_*): Likewise.
55837 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55838 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55839 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55840 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55841 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55842 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55843 Specify type and value.
55844 (TVERSLEN): Likewise.
55845 (REGTYPE): Likewise.
55846 (AREGTYPE): Likewise.
55847 (LNKTYPE): Likewise.
55848 (SYMTYPE): Likewise.
55849 (CHRTYPE): Likewise.
55850 (BLKTYPE): Likewise.
55851 (DIRTYPE): Likewise.
55852 (FIFOTYPE): Likewise.
55853 (CONTTYPE): Likewise.
55854 (TSUID): Likewise.
55855 (TSGID): Likewise.
55856 (TSVTX): Likewise.
55857 (TUREAD): Likewise.
55858 (TUWRITE): Likewise.
55859 (TUEXEC): Likewise.
55860 (TGREAD): Likewise.
55861 (TGWRITE): Likewise.
55862 (TGEXEC): Likewise.
55863 (TOREAD): Likewise.
55864 (TOWRITE): Likewise.
55865 (TOEXEC): Likewise.
55866 [POSIX] (TSVTX): Expect constant.
55867
55868 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55869
55870 * Makefile (tests): Change dependencies to ....
55871 (tests-special): ... additions to this variable.
55872 (tests): Depend on $(tests-special).
55873 * Makerules (check-abi-list): New variable.
55874 (check-abi): Depend on $(check-abi-list).
55875 [$(subdir) = elf] (tests-special): Add
55876 $(objpfx)check-abi-libc.out.
55877 [$(build-shared) = yes && subdir] (tests-special): Add
55878 $(check-abi-list).
55879 [$(build-shared) = yes && subdir] (tests): Do not depend on
55880 check-abi.
55881 * Rules (tests): Depend on $(tests-special).
55882 (xtests): Depend on $(xtests-special).
55883 * catgets/Makefile (tests): Change dependencies to ....
55884 (tests-special): ... additions to this variable.
55885 * conform/Makefile (tests): Change dependencies to ....
55886 (tests-special): ... additions to this variable.
55887 * elf/Makefile (tests): Change dependencies to ....
55888 (tests-special): ... additions to this variable.
55889 * grp/Makefile (tests): Change dependencies to ....
55890 (tests-special): ... additions to this variable.
55891 * iconv/Makefile (xtests): Change dependencies to ....
55892 (xtests-special): ... additions to this variable.
55893 * iconvdata/Makefile (tests): Change dependencies to ....
55894 (tests-special): ... additions to this variable.
55895 * intl/Makefile (tests): Change dependencies to ....
55896 (tests-special): ... additions to this variable. Also add
55897 $(objpfx)tst-gettext.out.
55898 * io/Makefile (tests): Change dependencies to ....
55899 (tests-special): ... additions to this variable.
55900 * libio/Makefile (tests): Change dependencies to ....
55901 (tests-special): ... additions to this variable.
55902 * malloc/Makefile (tests): Change dependencies to ....
55903 (tests-special): ... additions to this variable.
55904 * misc/Makefile (tests): Change dependencies to ....
55905 (tests-special): ... additions to this variable.
55906 * nptl/Makefile (tests): Change dependencies to ....
55907 (tests-special): ... additions to this variable.
55908 * nptl_db/Makefile (tests): Change dependencies to ....
55909 (tests-special): ... additions to this variable.
55910 * posix/Makefile (tests): Change dependencies to ....
55911 (tests-special): ... additions to this variable.
55912 (xtests): Change dependencies to ....
55913 (xtests-special): ... additions to this variable.
55914 * resolv/Makefile (tests): Change dependencies to ....
55915 (tests-special): ... additions to this variable.
55916 (xtests): Change dependencies to ....
55917 (xtests-special): ... additions to this variable.
55918 * stdio-common/Makefile (tests): Change dependencies to ....
55919 (tests-special): ... additions to this variable.
55920 (do-tst-unbputc): Remove target.
55921 (do-tst-printf): Likewise.
55922 * stdlib/Makefile (tests): Change dependencies to ....
55923 (tests-special): ... additions to this variable.
55924 * string/Makefile (tests): Change dependencies to ....
55925 (tests-special): ... additions to this variable.
55926 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55927 (tests-special): ... additions to this variable.
55928
55929 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55930 whole file.
55931 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55932 whole file.
55933 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55934 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55935
55936 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55937 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55938 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55939 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55940 * conform/data/libgen.h-data [XPG3]: Likewise.
55941 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55942 * conform/data/ndbm.h-data [XPG3]: Likewise.
55943 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55944 * conform/data/netdb.h-data [XPG3]: Likewise.
55945 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55946 * conform/data/poll.h-data [XPG3]: Likewise.
55947 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55948 * conform/data/strings.h-data [XPG3]: Likewise.
55949 * conform/data/stropts.h-data [XPG3]: Likewise.
55950 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55951 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55952 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55953 Likewise.
55954 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55955 * conform/data/sys/time.h-data [XPG3]: Likewise.
55956 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55957 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55958 * conform/data/sys/un.h-data [XPG3]: Likewise.
55959 * conform/data/syslog.h-data [XPG3]: Likewise.
55960 * conform/data/ucontext.h-data [XPG3]: Likewise.
55961 * conform/data/utmpx.h-data [XPG3]: Likewise.
55962 * conform/data/varargs.h-data [UNIX98]: Enable file.
55963
55964 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55965
55966 * math/libm-test.inc (struct test_f_f_data): Move expected results
55967 into structure for each rounding mode.
55968 (struct test_ff_f_data): Likewise.
55969 (struct test_ff_f_data_nexttoward): Likewise.
55970 (struct test_fi_f_data): Likewise.
55971 (struct test_fl_f_data): Likewise.
55972 (struct test_if_f_data): Likewise.
55973 (struct test_fff_f_data): Likewise.
55974 (struct test_c_f_data): Likewise.
55975 (struct test_f_f1_data): Likewise.
55976 (struct test_fF_f1_data): Likewise.
55977 (struct test_ffI_f1_data): Likewise.
55978 (struct test_c_c_data): Likewise.
55979 (struct test_cc_c_data): Likewise.
55980 (struct test_f_i_data): Likewise.
55981 (struct test_ff_i_data): Likewise.
55982 (struct test_f_l_data): Likewise.
55983 (struct test_f_L_data): Likewise.
55984 (struct test_fFF_11_data): Likewise.
55985 (RM_): New macro.
55986 (RM_FE_DOWNWARD): Likewise.
55987 (RM_FE_TONEAREST): Likewise.
55988 (RM_FE_TOWARDZERO): Likewise.
55989 (RM_FE_UPWARD): Likewise.
55990 (RUN_TEST_LOOP_f_f): Update references to expected results.
55991 (RUN_TEST_LOOP_2_f): Likewise.
55992 (RUN_TEST_LOOP_fff_f): Likewise.
55993 (RUN_TEST_LOOP_c_f): Likewise.
55994 (RUN_TEST_LOOP_f_f1): Likewise.
55995 (RUN_TEST_LOOP_fF_f1): Likewise.
55996 (RUN_TEST_LOOP_fI_f1): Likewise.
55997 (RUN_TEST_LOOP_ffI_f1): Likewise.
55998 (RUN_TEST_LOOP_c_c): Likewise.
55999 (RUN_TEST_LOOP_cc_c): Likewise.
56000 (RUN_TEST_LOOP_f_i): Likewise.
56001 (RUN_TEST_LOOP_f_i_tg): Likewise.
56002 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56003 (RUN_TEST_LOOP_f_b): Likewise.
56004 (RUN_TEST_LOOP_f_b_tg): Likewise.
56005 (RUN_TEST_LOOP_f_l): Likewise.
56006 (RUN_TEST_LOOP_f_L): Likewise.
56007 (RUN_TEST_LOOP_fFF_11): Likewise.
56008 * math/gen-libm-test.pl (parse_args): Output four copies of
56009 expected results for each test.
56010
56011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56012 (__ASSUME_UTIMES): Remove.
56013 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56014 (__ASSUME_UTIMES): Likewise.
56015
56016 * math/gen-auto-libm-tests.c: Update comment on output format.
56017 (output_for_one_input_case): Generate before-rounding and
56018 after-rounding information as conditions on output flags not
56019 floating-point format.
56020 * math/auto-libm-test-out: Regenerated.
56021 * math/gen-libm-test.pl (cond_value): New function.
56022 (or_cond_value): Use cond_value.
56023 (generate_testfile): Handle conditional exceptions.
56024
56025 2014-03-05 Joseph Myers <joseph@codesourcery.com>
56026
56027 * math/libm-test.inc (max_valid_error): New variable.
56028 (init_max_error): Take new argument specifying whether function
56029 results are exactly determined. Set max_valid_error and bound
56030 other variables for errors based on this argument.
56031 (set_max_error): Do not record results above max_valid_error.
56032 (check_float_internal): Only accept errors of up to 0.5ulps if
56033 also at most max_valid_error.
56034 (START): Take new argument EXACT and pass it to init_max_error.
56035 (acos_test): Update call to START.
56036 (acos_test_tonearest): Likewise.
56037 (acos_test_towardzero): Likewise.
56038 (acos_test_downward): Likewise.
56039 (acos_test_upward): Likewise.
56040 (acosh_test): Likewise.
56041 (asin_test): Likewise.
56042 (asin_test_tonearest): Likewise.
56043 (asin_test_towardzero): Likewise.
56044 (asin_test_downward): Likewise.
56045 (asin_test_upward): Likewise.
56046 (asinh_test): Likewise.
56047 (atan_test): Likewise.
56048 (atanh_test): Likewise.
56049 (atan2_test): Likewise.
56050 (cabs_test): Likewise.
56051 (cacos_test): Likewise.
56052 (cacosh_test): Likewise.
56053 (carg_test): Likewise.
56054 (casin_test): Likewise.
56055 (casinh_test): Likewise.
56056 (catan_test): Likewise.
56057 (catanh_test): Likewise.
56058 (cbrt_test): Likewise.
56059 (ccos_test): Likewise.
56060 (ccosh_test): Likewise.
56061 (ceil_test): Likewise.
56062 (cexp_test): Likewise.
56063 (cimag_test): Likewise.
56064 (clog_test): Likewise.
56065 (clog10_test): Likewise.
56066 (conj_test): Likewise.
56067 (copysign_test): Likewise.
56068 (cos_test): Likewise.
56069 (cos_test_tonearest): Likewise.
56070 (cos_test_towardzero): Likewise.
56071 (cos_test_downward): Likewise.
56072 (cos_test_upward): Likewise.
56073 (cosh_test): Likewise.
56074 (cosh_test_tonearest): Likewise.
56075 (cosh_test_towardzero): Likewise.
56076 (cosh_test_downward): Likewise.
56077 (cosh_test_upward): Likewise.
56078 (cpow_test): Likewise.
56079 (cproj_test): Likewise.
56080 (creal_test): Likewise.
56081 (csin_test): Likewise.
56082 (csinh_test): Likewise.
56083 (csqrt_test): Likewise.
56084 (ctan_test): Likewise.
56085 (ctan_test_tonearest): Likewise.
56086 (ctan_test_towardzero): Likewise.
56087 (ctan_test_downward): Likewise.
56088 (ctan_test_upward): Likewise.
56089 (ctanh_test): Likewise.
56090 (ctanh_test_tonearest): Likewise.
56091 (ctanh_test_towardzero): Likewise.
56092 (ctanh_test_downward): Likewise.
56093 (ctanh_test_upward): Likewise.
56094 (erf_test): Likewise.
56095 (erfc_test): Likewise.
56096 (exp_test): Likewise.
56097 (exp_test_tonearest): Likewise.
56098 (exp_test_towardzero): Likewise.
56099 (exp_test_downward): Likewise.
56100 (exp_test_upward): Likewise.
56101 (exp10_test): Likewise.
56102 (exp10_test_tonearest): Likewise.
56103 (exp10_test_towardzero): Likewise.
56104 (exp10_test_downward): Likewise.
56105 (exp10_test_upward): Likewise.
56106 (pow10_test): Likewise.
56107 (exp2_test): Likewise.
56108 (expm1_test): Likewise.
56109 (expm1_test_tonearest): Likewise.
56110 (expm1_test_towardzero): Likewise.
56111 (expm1_test_downward): Likewise.
56112 (expm1_test_upward): Likewise.
56113 (fabs_test): Likewise.
56114 (fdim_test): Likewise.
56115 (floor_test): Likewise.
56116 (fma_test): Likewise.
56117 (fma_test_towardzero): Likewise.
56118 (fma_test_downward): Likewise.
56119 (fma_test_upward): Likewise.
56120 (fmax_test): Likewise.
56121 (fmin_test): Likewise.
56122 (fmod_test): Likewise.
56123 (fpclassify_test): Likewise.
56124 (frexp_test): Likewise.
56125 (hypot_test): Likewise.
56126 (ilogb_test): Likewise.
56127 (isfinite_test): Likewise.
56128 (finite_test): Likewise.
56129 (isgreater_test): Likewise.
56130 (isgreaterequal_test): Likewise.
56131 (isinf_test): Likewise.
56132 (isless_test): Likewise.
56133 (islessequal_test): Likewise.
56134 (islessgreater_test): Likewise.
56135 (isnan_test): Likewise.
56136 (isnormal_test): Likewise.
56137 (issignaling_test): Likewise.
56138 (isunordered_test): Likewise.
56139 (j0_test): Likewise.
56140 (j1_test): Likewise.
56141 (jn_test): Likewise.
56142 (ldexp_test): Likewise.
56143 (lgamma_test): Likewise.
56144 (gamma_test): Likewise.
56145 (lrint_test): Likewise.
56146 (lrint_test_tonearest): Likewise.
56147 (lrint_test_towardzero): Likewise.
56148 (lrint_test_downward): Likewise.
56149 (lrint_test_upward): Likewise.
56150 (llrint_test): Likewise.
56151 (llrint_test_tonearest): Likewise.
56152 (llrint_test_towardzero): Likewise.
56153 (llrint_test_downward): Likewise.
56154 (llrint_test_upward): Likewise.
56155 (log_test): Likewise.
56156 (log10_test): Likewise.
56157 (log1p_test): Likewise.
56158 (log2_test): Likewise.
56159 (logb_test): Likewise.
56160 (logb_test_downward): Likewise.
56161 (lround_test): Likewise.
56162 (llround_test): Likewise.
56163 (modf_test): Likewise.
56164 (nearbyint_test): Likewise.
56165 (nextafter_test): Likewise.
56166 (nexttoward_test): Likewise.
56167 (pow_test): Likewise.
56168 (pow_test_tonearest): Likewise.
56169 (pow_test_towardzero): Likewise.
56170 (pow_test_downward): Likewise.
56171 (pow_test_upward): Likewise.
56172 (remainder_test): Likewise.
56173 (drem_test): Likewise.
56174 (remainder_test_tonearest): Likewise.
56175 (drem_test_tonearest): Likewise.
56176 (remainder_test_towardzero): Likewise.
56177 (drem_test_towardzero): Likewise.
56178 (remainder_test_downward): Likewise.
56179 (drem_test_downward): Likewise.
56180 (remainder_test_upward): Likewise.
56181 (drem_test_upward): Likewise.
56182 (remquo_test): Likewise.
56183 (rint_test): Likewise.
56184 (rint_test_tonearest): Likewise.
56185 (rint_test_towardzero): Likewise.
56186 (rint_test_downward): Likewise.
56187 (rint_test_upward): Likewise.
56188 (round_test): Likewise.
56189 (scalb_test): Likewise.
56190 (scalbn_test): Likewise.
56191 (scalbln_test): Likewise.
56192 (signbit_test): Likewise.
56193 (sin_test): Likewise.
56194 (sin_test_tonearest): Likewise.
56195 (sin_test_towardzero): Likewise.
56196 (sin_test_downward): Likewise.
56197 (sin_test_upward): Likewise.
56198 (sincos_test): Likewise.
56199 (sinh_test): Likewise.
56200 (sinh_test_tonearest): Likewise.
56201 (sinh_test_towardzero): Likewise.
56202 (sinh_test_downward): Likewise.
56203 (sinh_test_upward): Likewise.
56204 (sqrt_test): Likewise.
56205 (sqrt_test_tonearest): Likewise.
56206 (sqrt_test_towardzero): Likewise.
56207 (sqrt_test_downward): Likewise.
56208 (sqrt_test_upward): Likewise.
56209 (tan_test): Likewise.
56210 (tan_test_tonearest): Likewise.
56211 (tan_test_towardzero): Likewise.
56212 (tan_test_downward): Likewise.
56213 (tan_test_upward): Likewise.
56214 (tanh_test): Likewise.
56215 (tgamma_test): Likewise.
56216 (trunc_test): Likewise.
56217 (y0_test): Likewise.
56218 (y1_test): Likewise.
56219 (yn_test): Likewise.
56220 (significand_test): Likewise.
56221
56222 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56223 individual tests in comment.
56224 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56225 (prev_max_error): New variable.
56226 (prev_real_max_error): Likewise.
56227 (prev_imag_max_error): Likewise.
56228 (compare_ulp_data): Don't refer to test names in comment.
56229 (find_test_ulps): Remove function.
56230 (find_function_ulps): Likewise.
56231 (find_complex_function_ulps): Likewise.
56232 (init_max_error): Take function name as argument. Look up ulps
56233 for that function.
56234 (print_ulps): Remove function.
56235 (print_max_error): Use prev_max_error instead of calling
56236 find_function_ulps.
56237 (print_complex_max_error): Use prev_real_max_error and
56238 prev_imag_max_error instead of calling find_complex_function_ulps.
56239 (check_float_internal): Take max_ulp parameter instead of calling
56240 find_test_ulps. Don't call print_ulps.
56241 (check_float): Update call to check_float_internal.
56242 (check_complex): Update calls to check_float_internal.
56243 (START): Pass argument to init_max_error.
56244 * math/gen-libm-test.pl (%results): Don't include "kind"
56245 information.
56246 (parse_ulps): Don't handle ulps of individual tests.
56247 (print_ulps_file): Likewise.
56248 (output_ulps): Likewise.
56249 * math/README.libm-test: Update.
56250 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56251 individual tests.
56252 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56253 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56254 * sysdeps/arm/libm-test-ulps: Likewise.
56255 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56256 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56257 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56258 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56259 * sysdeps/microblaze/libm-test-ulps: Likewise.
56260 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56261 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56262 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56263 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56264 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56265 * sysdeps/sh/libm-test-ulps: Likewise.
56266 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56267 * sysdeps/tile/libm-test-ulps: Likewise.
56268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56269
56270 2014-03-04 Joseph Myers <joseph@codesourcery.com>
56271
56272 * math/libm-test.inc (print_complex_max_error): Check separately
56273 whether real and imaginary errors are within allowed range and
56274 pass 0 to print_complex_function_ulps instead of value within
56275 allowed range.
56276
56277 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56278
56279 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56280 formatting.
56281 (get_handles_fopen): Likewise.
56282 (do_write_test): Likewise.
56283
56284 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56285
56286 * libio/fileops.c (do_ftell): Use cached offset when
56287 available.
56288 * libio/iofwide.c (do_ftell_wide): Likewise.
56289 * libio/iofdopen.c (_IO_new_fdopen): Don't use
56290 _IO_file_attach.
56291 * libio/wfileops.c (_IO_fwide): Don't cache offset.
56292
56293 [BZ #16532]
56294 * libio/libioP.h (get_file_offset): New function.
56295 * libio/fileops.c (get_file_offset): Likewise.
56296 (do_ftell): Likewise.
56297 (_IO_new_file_seekoff): Split out ftell logic.
56298 * libio/wfileops.c (do_ftell_wide): Likewise.
56299 (_IO_wfile_seekoff): Split out ftell logic.
56300 * libio/tst-ftell-active-handler.c: New test case.
56301 * libio/Makefile (tests): Add it.
56302
56303 2014-03-03 Roland McGrath <roland@hack.frob.com>
56304
56305 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56306 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56307
56308 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56309
56310 [BZ #16639]
56311 * nscd/connections.c (nscd_init): Call do_exit.
56312 (start_threads): Call do_exit and notify_parent.
56313 (begin_drop_privileges): Call do_exit.
56314 (finish_drop_privileges): Likewise.
56315 * nscd/selinux.c (preserve_capabilities): Likewise.
56316 (install_real_capabilities): Likewise.
56317 (nscd_selinux_enabled): Likewise.
56318 (avc_create_thread): Likewise.
56319 (avc_alloc_lock): Likewise.
56320 (nscd_avc_init): Likewise.
56321 * nscd/nscd.c (parent_fd): New static variable.
56322 (main): Create a pipe between parent and child processes.
56323 Skip closing parent_fd.
56324 (monitor_child): New function.
56325 (do_exit): Likewise.
56326 (notify_parent): Likewise.
56327 * nscd/nscd.h (notify_parent): Likewise.
56328 (do_exit): Likewise.
56329
56330 2014-03-03 Carlos O'Donell <carlos@redhat.com>
56331
56332 * malloc/malloc.c (__libc_calloc): Revert last change.
56333
56334 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56335
56336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56337
56338 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56339
56340 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56342 implementation.
56343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56344 (__libc_ifunc_impl_list): Likewise.
56345 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56346 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56347 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56348 * string/strrchr.c: Define STRRCHR.
56349
56350 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
56351
56352 * benchtest/bench-strtok.c (simple_strtok): Delete.
56353 (strtok_string): Use as benchmark.
56354 * string/strtok (STRTOK): New macro.
56355
56356 2014-02-28 Carlos O'Donell <carlos@redhat.com>
56357
56358 * manual/threads.texi: Add header and standard comments to all
56359 functions.
56360
56361 * elf/dl-lookup.c (check_match): New function.
56362 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56363 (do_lookup_x): Remove nested function check_match. Use non-nested
56364 function check_match.
56365
56366 2014-02-28 Roland McGrath <roland@hack.frob.com>
56367
56368 * csu/Makefile (generated, before-compile): Use += rather than =.
56369 * catgets/Makefile (generated, generated-dirs): Likewise.
56370 * debug/Makefile (generated): Likewise.
56371 * dlfcn/Makefile (generated): Likewise.
56372 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56373 * iconvdata/Makefile (before-compile, generated): Likewise.
56374 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56375 * libio/Makefile (generated): Likewise.
56376 * malloc/Makefile (generated): Likewise.
56377 * manual/Makefile (generated, generated-dirs): Likewise.
56378 * misc/Makefile (generated): Likewise.
56379 * posix/Makefile (generated): Likewise.
56380 * resolv/Makefile (generated): Likewise.
56381 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56382 * timezone/Makefile (generated, generated-dirs): Likewise.
56383
56384 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56385
56386 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56387
56388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56389 power8 implementation.
56390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56391 file: POWER8 llround ifunc implementation.
56392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56393 (__lllround): Add POWER8 implementation.
56394 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56395 POWER8 llround implementation.
56396
56397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56398 power8 implementation.
56399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56400 file: POWER8 llrint ifunc implementation.
56401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56402 Add POWER8 implementation.
56403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56404 POWER8 llrint implementation.
56405
56406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56407 power8 implementation.
56408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56409 file: POWER8 finite ifunc implementation.
56410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56411 Add POWER8 implementation.
56412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56413 Likewise.
56414 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56415 POWER8 finite implementation.
56416 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56417
56418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56419 power8 implementation.
56420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56421 file: POWER8 isinf ifunc implementation.
56422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56423 POWER8 implementation.
56424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56425 Likewise.
56426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56427 isinf implementation.
56428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56429
56430 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56431 (INIT_ARCH): Add hwcap2 initialization.
56432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56433 power8 implementation.
56434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56435 file: POWER8 isnan ifunc implementation.
56436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56437 POWER8 implementation.
56438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56439 Likewise.
56440 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56441 isnan implementation.
56442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56443
56444 2014-02-27 Joey Ye <joey.ye@arm.com>
56445
56446 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56447 (_FP_NANFRAC_Q): Set to zero.
56448
56449 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56450
56451 [BZ #16623]
56452 * math/auto-libm-test-in: New test inputs.
56453 * math/auto-libm-test-out: Regenerate.
56454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56455 and DA.
56456 (__cos): Likewise.
56457 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56458
56459 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56460
56461 * scripts/evaluate-test.sh: Take new argument indicating whether
56462 failure is expected.
56463 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56464 indicating whether failure is expected.
56465 * conform/Makefile (test-xfail-run-conformtest): New variable.
56466 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56467 level.
56468 * posix/Makefile (test-xfail-annexc): New variable.
56469 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56470
56471 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56472
56473 * argp/Makefile: Include Makeconfig immediately after defining
56474 subdir.
56475 * assert/Makefile: Likewise.
56476 * benchtests/Makefile: Likewise.
56477 * catgets/Makefile: Likewise.
56478 * conform/Makefile: Likewise.
56479 * crypt/Makefile: Likewise.
56480 * csu/Makefile: Likewise.
56481 (all): Remove target.
56482 * ctype/Makefile: Include Makeconfig immediately after defining
56483 subdir.
56484 * debug/Makefile: Likewise.
56485 * dirent/Makefile: Likewise.
56486 * dlfcn/Makefile: Likewise.
56487 * gmon/Makefile: Likewise.
56488 * gnulib/Makefile: Likewise.
56489 * grp/Makefile: Likewise.
56490 * gshadow/Makefile: Likewise.
56491 * hesiod/Makefile: Likewise.
56492 * hurd/Makefile: Likewise.
56493 (all): Remove target.
56494 * iconvdata/Makefile: Include Makeconfig immediately after
56495 defining subdir.
56496 * inet/Makefile: Likewise.
56497 * intl/Makefile: Likewise.
56498 * io/Makefile: Likewise.
56499 * libio/Makefile: Likewise.
56500 (all): Remove target.
56501 * locale/Makefile: Include Makeconfig immediately after defining
56502 subdir.
56503 * login/Makefile: Likewise.
56504 * mach/Makefile: Likewise.
56505 (all): Remove target.
56506 * malloc/Makefile: Include Makeconfig immediately after defining
56507 subdir.
56508 (all): Remove target.
56509 * manual/Makefile: Include Makeconfig immediately after defining
56510 subdir.
56511 * math/Makefile: Likewise.
56512 * misc/Makefile: Likewise.
56513 * nis/Makefile: Likewise.
56514 * nss/Makefile: Likewise.
56515 * po/Makefile: Likewise.
56516 (all): Remove target.
56517 * posix/Makefile: Include Makeconfig immediately after defining
56518 subdir.
56519 * pwd/Makefile: Likewise.
56520 * resolv/Makefile: Likewise.
56521 * resource/Makefile: Likewise.
56522 * rt/Makefile: Likewise.
56523 * setjmp/Makefile: Likewise.
56524 * shadow/Makefile: Likewise.
56525 * signal/Makefile: Likewise.
56526 * socket/Makefile: Likewise.
56527 * soft-fp/Makefile: Likewise.
56528 * stdio-common/Makefile: Likewise.
56529 * stdlib/Makefile: Likewise.
56530 * streams/Makefile: Likewise.
56531 * string/Makefile: Likewise.
56532 * sunrpc/Makefile: Likewise.
56533 (all): Remove target.
56534 * sysvipc/Makefile: Include Makeconfig immediately after defining
56535 subdir.
56536 * termios/Makefile: Likewise.
56537 * time/Makefile: Likewise.
56538 * timezone/Makefile: Likewise.
56539 (all): Remove target.
56540 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56541 subdir.
56542 * wctype/Makefile: Likewise.
56543
56544 2014-02-26 Steve Ellcey <sellcey@mips.com>
56545
56546 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56547 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56548 (libc_feholdexcept_setround_mips): Ditto.
56549 (libc_feholdsetround): New.
56550 (libc_feholdsetroundf): New.
56551 (libc_feholdsetroundl): New.
56552 (libc_feupdateenv_test_mips): New.
56553 (libc_feupdateenv_test): New.
56554 (libc_feupdateenv_testf): New.
56555 (libc_feupdateenv_testl): New.
56556 (libc_feresetround): New.
56557 (libc_feresetroundf): New.
56558 (libc_feresetroundl): New.
56559 (libc_fetestexcept_mips): New.
56560 (libc_fetestexcept): New.
56561 (libc_fetestexceptf): New.
56562 (libc_fetestexceptl): New.
56563 (HAVE_RM_CTX): New.
56564 (libc_feholdexcept_setround_mips_ctx): New.
56565 (libc_feholdexcept_setround_ctx): New.
56566 (libc_feholdexcept_setroundf_ctx): New.
56567 (libc_feholdexcept_setroundl_ctx): New.
56568 (libc_fesetenv_mips_ctx): New.
56569 (libc_fesetenv_ctx): New.
56570 (libc_fesetenv_ctxf): New.
56571 (libc_fesetenv_ctxl): New.
56572 (libc_feupdateenv_mips_ctx): New.
56573 (libc_feupdateenv_ctx): New.
56574 (libc_feupdateenvf_ctx): New.
56575 (libc_feupdateenvl_ctx): New.
56576 (libc_feholdsetround_mips_ctx): New.
56577 (libc_feholdsetround_ctx): New.
56578 (libc_feholdsetroundf_ctx): New.
56579 (libc_feholdsetroundl_ctx): New.
56580 (libc_feresetround_mips_ctx): New.
56581 (libc_feresetround_ctx): New.
56582 (libc_feresetroundf_ctx): New.
56583 (libc_feresetroundl_ctx): New.
56584
56585 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56586
56587 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56588
56589 * manual/ipc.texi: New file.
56590 * manual/Makefile (chapters): Add ipc.
56591 * manual/job.texi: Add "Inter-Process Communication" to next.
56592 * manual/process.texi: Add "Inter-Process Communication" to prev.
56593
56594 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56595
56596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56597
56598 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
56599
56600 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56601
56602 * manual/arith.texi: Fix spaces after sentences.
56603 * manual/charset.texi: Likewise.
56604 * manual/errno.texi: Likewise.
56605 * manual/install.texi: Likewise.
56606 * manual/llio.texi: Likewise.
56607 * manual/locale.texi: Likewise.
56608 * manual/maint.texi: Likewise.
56609 * manual/math.texi: Likewise.
56610 * manual/memory.texi: Likewise.
56611 * manual/message.texi: Likewise.
56612 * manual/probes.texi: Likewise.
56613 * manual/resource.texi: Likewise.
56614 * manual/signal.texi: Likewise.
56615 * manual/socket.texi: Likewise.
56616 * manual/stdio.texi: Likewise.
56617 * manual/string.texi: Likewise.
56618 * manual/time.texi: Likewise.
56619 * manual/users.texi: Likewise.
56620
56621 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56622
56623 [BZ #16632]
56624 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56625 _DEFAULT_SOURCE is defined.
56626
56627 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56628 Carlos O'Donell <carlos@redhat.com>
56629
56630 [BZ #16613]
56631 * elf/dl-tls.c (_dl_count_modids): New function.
56632 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56633 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56634 audit library and increment generation counter.
56635 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56636 * elf/tst-audit9.c: New file.
56637 * elf/tst-auditmod9a.c: New file.
56638 * elf/tst-auditmod9b.c: New file.
56639 * elf/Makefile: Add rules to build and run tst-audit9.
56640
56641 2014-02-25 Florian Weimer <fweimer@redhat.com>
56642
56643 [BZ #15347]
56644 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56645
56646 2014-02-25 Will Newton <will.newton@linaro.org>
56647
56648 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56649 (__longjmp): Restore sp and lr before restoring callee
56650 saved registers. Add longjmp and longjmp_target
56651 SystemTap probe point.
56652 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56653 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56654 Define to zero to match jmpbuf layout.
56655 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56656 (__sigsetjmp): Save sp and lr before saving callee
56657 saved registers. Add setjmp SystemTap probe point.
56658
56659 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56660
56661 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56662
56663 2014-02-24 Andreas Schwab <schwab@suse.de>
56664
56665 [BZ #15804]
56666 * elf/pldd.c (wait_for_ptrace_stop): New function.
56667 (main): Call it after attaching.
56668
56669 2014-02-22 Roland McGrath <roland@hack.frob.com>
56670
56671 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56672 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56673 Versions files is now verboten.
56674 * hurd/Versions (libc: GLIBC_2.0):
56675 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56676 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56677 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56678 * mach/Versions: Likewise.
56679
56680 * csu/Versions: Remove unused %include.
56681 * resolv/Versions: Likewise.
56682
56683 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56684
56685 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56686 ($(objpfx)check-local-headers.out): Likewise.
56687 ($(objpfx)begin-end-check.out): Likewise.
56688 * Makerules (check-abi-%.out): Likewise.
56689 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56690 ($(objpfx)test2.cat): Likewise.
56691 ($(objpfx)de/libc.cat): Likewise.
56692 ($(objpfx)test-gencat.out): Likewise.
56693 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56694 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56695 ($(objpfx)noload-mem): Likewise.
56696 ($(objpfx)tst-pathopt.out): Likewise.
56697 ($(objpfx)tst-rtld-load-self.out): Likewise.
56698 ($(objpfx)tst-array1-cmp.out): Likewise.
56699 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56700 ($(objpfx)tst-array2-cmp.out): Likewise.
56701 ($(objpfx)tst-array3-cmp.out): Likewise.
56702 ($(objpfx)tst-array4-cmp.out): Likewise.
56703 ($(objpfx)tst-array5-cmp.out): Likewise.
56704 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56705 ($(objpfx)check-textrel.out): Likewise.
56706 ($(objpfx)check-execstack.out): Likewise.
56707 ($(objpfx)check-localplt.out): Likewise.
56708 ($(objpfx)order2-cmp.out): Likewise.
56709 ($(objpfx)tst-leaks1-mem): Likewise.
56710 ($(objpfx)tst-leaks1-static-mem): Likewise.
56711 ($(objpfx)tst-initorder-cmp.out): Likewise.
56712 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56713 ($(objpfx)tst-unused-dep.out): Likewise.
56714 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56715 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56716 * iconv/Makefile (test-iconvconfig): Likewise.
56717 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56718 ($(objpfx)iconv-test.out): Likewise.
56719 ($(objpfx)tst-tables.out): Likewise.
56720 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56721 ($(objpfx)tst-gettext.out): Likewise.
56722 ($(objpfx)tst-translit.out): Likewise.
56723 ($(objpfx)tst-gettext2.out): Likewise.
56724 ($(objpfx)tst-gettext4.out): Likewise.
56725 ($(objpfx)tst-gettext6.out): Likewise.
56726 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56727 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56728 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56729 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56730 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56731 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56732 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56733 ($(objpfx)wordexp-tst.out): Likewise.
56734 ($(objpfx)annexc.out): Likewise.
56735 ($(objpfx)tst-fnmatch-mem): Likewise.
56736 ($(objpfx)bug-regex2-mem): Likewise.
56737 ($(objpfx)bug-regex14-mem): Likewise.
56738 ($(objpfx)bug-regex21-mem): Likewise.
56739 ($(objpfx)bug-regex31-mem): Likewise.
56740 ($(objpfx)tst-vfork3-mem): Likewise.
56741 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56742 ($(objpfx)tst-pcre-mem): Likewise.
56743 ($(objpfx)tst-boost-mem): Likewise.
56744 ($(objpfx)tst-getconf.out): Likewise.
56745 ($(objpfx)bug-ga2-mem): Likewise.
56746 ($(objpfx)bug-glob2-mem): Likewise.
56747 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56748 ($(objpfx)mtrace-tst-leaks2): Likewise.
56749 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56750 ($(objpfx)tst-printf.out): Likewise.
56751 ($(objpfx)tst-setvbuf1.out): Likewise.
56752 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56753 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56754 ($(objpfx)tst-fmtmsg.out): Likewise.
56755 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56756 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56757
56758 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56759 * bits/sigaction.h [__USE_MISC]: Likewise.
56760 * bits/waitstatus.h: Update #endif comments.
56761 * ctype/ctype.h: Likewise.
56762 * dirent/dirent.h: Likewise.
56763 [__USE_MISC]: Remove redundant conditionals.
56764 * grp/grp.h: Update #endif comments.
56765 [__USE_GNU]: Remove redundant conditionals.
56766 [__USE_MISC]: Likewise.
56767 * inet/netinet/in.h [__USE_GNU]: Likewise.
56768 * io/sys/stat.h [__USE_MISC]: Likewise.
56769 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56770 * libio/bits/stdio.h: Update #endif comments.
56771 [__USE_MISC]: Remove redundant conditionals.
56772 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56773 * libio/stdio.h: Update #endif comments.
56774 [__USE_MISC]: Remove redundant conditionals.
56775 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56776 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56777 * math/math.h: Update #else and #endif comments.
56778 [__USE_MISC]: Remove redundant conditionals.
56779 * misc/sys/uio.h: Update #endif comments.
56780 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56781 * posix/glob.h [__USE_MISC]: Likewise.
56782 * posix/sys/types.h: Update #endif comments.
56783 [__USE_MISC]: Remove redundant conditionals.
56784 * posix/sys/wait.h: Update #endif comments.
56785 [__USE_MISC]: Remove redundant conditionals.
56786 * posix/unistd.h: Update #endif comments.
56787 [__USE_MISC]: Remove redundant conditionals.
56788 * pwd/pwd.h [__USE_GNU]: Likewise.
56789 [__USE_MISC]: Likewise.
56790 * resolv/netdb.h [__USE_GNU]: Likewise.
56791 * signal/signal.h: Update #endif comments.
56792 [__USE_MISC]: Remove redundant conditionals.
56793 * stdlib/stdlib.h: Update #else and #endif comments.
56794 [__USE_MISC]: Remove redundant conditionals.
56795 [__USE_GNU]: Likewise.
56796 * string/bits/string2.h [__USE_MISC]: Likewise.
56797 * string/string.h: Update #endif comments.
56798 [__USE_MISC]: Remove redundant conditionals.
56799 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56800 Likewise.
56801 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56802 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56803 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56804 Likewise.
56805 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56806 Likewise.
56807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56808 comments.
56809 [__USE_MISC]: Remove redundant conditionals.
56810 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56811 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56812 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56813 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56814 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56815 Likewise.
56816 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56817 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56818 Likewise.
56819 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56820 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56821 Likewise.
56822 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56823 Likewise.
56824 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56825 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56826 Likewise.
56827 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56828 Likewise.
56829 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56830 * sysdeps/x86/bits/string.h: Update #endif comments.
56831 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56832 conditionals.
56833 * time/sys/time.h: Update #endif comments.
56834 * time/time.h: Likewise.
56835 [__USE_MISC]: Remove redundant conditionals.
56836
56837 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56838
56839 [BZ #16600]
56840 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56841
56842 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56843
56844 * Versions.def (librt): Add GLIBC_2.17.
56845
56846 2014-02-21 Adam Conrad <adconrad@0c3.net>
56847
56848 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56849 synonym for _SYS_AUXV_H to allow direct inclusion.
56850 * sysdeps/sparc/bits/hwcap.h: Likewise.
56851 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56852 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56853 * sysdeps/sparc/sysdep.h: Likewise.
56854
56855 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56856
56857 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56858
56859 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56860
56861 * benchtests/bench-strrchr.c: Print length instead of position.
56862
56863 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56864
56865 [BZ #16611]
56866 * sysdeps/unix/sysv/linux/kernel-features.h
56867 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56868 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56869 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56870 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56871 Likewise.
56872 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56873 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56874 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56875 (__ASSUME_SENDMMSG): Define instead of using previous
56876 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56878 (__ASSUME_SENDMMSG_SYSCALL): Define.
56879 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56880 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56881 Likewise.
56882 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56883 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56884 Likewise.
56885 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56886 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56887 Likewise.
56888 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56889 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56891 [__ASSUME_SENDMMSG]: Change conditionals to
56892 [__ASSUME_SENDMMSG_SOCKETCALL].
56893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56894 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56895 Define.
56896 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56897 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56898 Likewise.
56899 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56900 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56901 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56902 [!__ASSUME_SENDMMSG]: Change conditional to
56903 [!__ASSUME_SENDMMSG_SOCKETCALL].
56904 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56905 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56906 Define.
56907
56908 [BZ #16610]
56909 * sysdeps/unix/sysv/linux/kernel-features.h
56910 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56911 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56912 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56913 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56914 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56915 [__i386__ || __sparc__]
56916 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56917 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56918 (__ASSUME_RECVMMSG): Define instead of using previous
56919 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56920 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56921 (__ASSUME_RECVMMSG_SYSCALL): Define.
56922 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56923 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56924 Likewise.
56925 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56927 Likewise.
56928 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56930 Likewise.
56931 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56932 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56933 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56934 [__ASSUME_RECVMMSG]: Change condition to
56935 [__ASSUME_RECVMMSG_SOCKETCALL].
56936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56937 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56938 Define.
56939 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56940 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56942 Likewise.
56943 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56944 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56945 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56946 [!__ASSUME_RECVMMSG]: Change condition to
56947 [!__ASSUME_RECVMMSG_SOCKETCALL].
56948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56949 (__ASSUME_RECVMMSG_SYSCALL): Define.
56950
56951 [BZ #16609]
56952 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56953 __powerpc__ || __s390__ || __sh__ || __sparc__]
56954 (__ASSUME_SOCKETCALL): Define.
56955 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56956 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56957 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56958 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56959 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56960 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56961 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56962 (__ASSUME_ACCEPT4): Define instead of using previous
56963 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56964 __powerpc__ || __sparc__ || __s390__)] condition.
56965 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56967 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56968 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56969 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56970 [!__ASSUME_ACCEPT4]: Change condition to
56971 [!__ASSUME_ACCEPT4_SOCKETCALL].
56972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56973 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56974 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56975 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56976 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56977 __ASSUME_ACCEPT4_SYSCALL.
56978 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56979 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56981 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56982 __ASSUME_ACCEPT4_SYSCALL.
56983 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56984 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56985 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56986 [__ASSUME_ACCEPT4]: Change condition to
56987 [__ASSUME_ACCEPT4_SOCKETCALL].
56988 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56989 (__ASSUME_SOCKETCALL): Define.
56990 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56992 (__ASSUME_SOCKETCALL): Define.
56993 (__ASSUME_ACCEPT4): Remove.
56994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56995 Define.
56996 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56997 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56998 Likewise.
56999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
57000 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
57001
57002 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
57003 macro.
57004 (HWCAP_ARM_LPAE): Likewise.
57005 (HWCAP_ARM_EVTSTRM): Likewise.
57006 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
57007 Add vpfd32, lpae and evtstrm.
57008 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
57009 Increase to 22.
57010
57011 2014-02-19 Joseph Myers <joseph@codesourcery.com>
57012
57013 * math/auto-libm-test-in: Add tests of clog10.
57014 * math/auto-libm-test-out: Regenerated.
57015 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
57016 * sysdeps/i386/fpu/libm-test-ulps: Update.
57017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57018
57019 2014-02-18 Andreas Schwab <schwab@suse.de>
57020
57021 [BZ #16574]
57022 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
57023 Store non-zero if the second buffer was newly allocated.
57024 (send_dg): Likewise.
57025 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
57026 to send_vc and send_dg.
57027 (res_nsend): Pass NULL for ansp2_malloced.
57028 * resolv/res_query.c (__libc_res_nquery): Add parameter
57029 answerp2_malloced and pass it down to __libc_res_nsend.
57030 (res_nquery): Pass additional NULL to __libc_res_nquery.
57031 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
57032 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
57033 second answer buffer if answerp2_malloced was set.
57034 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
57035 (__libc_res_nquerydomain): Add parameter
57036 answerp2_malloced and pass it down to __libc_res_nquery.
57037 (res_nquerydomain): Pass additional NULL to
57038 __libc_res_nquerydomain.
57039 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
57040 additional NULL to __libc_res_nsend and __libc_res_nquery.
57041 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
57042 additional NULL to __libc_res_nsearch.
57043 (_nss_dns_gethostbyname4_r): Revert last change. Use new
57044 parameter of __libc_res_nsearch to check for separately allocated
57045 second buffer.
57046 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
57047 __libc_res_nquery.
57048 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
57049 additional NULL to __libc_res_nquery.
57050 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
57051 __libc_res_nsearch.
57052 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
57053 * include/resolv.h: Update prototypes of __libc_res_nquery,
57054 __libc_res_nsearch, __libc_res_nsend.
57055
57056 2014-02-18 Joseph Myers <joseph@codesourcery.com>
57057
57058 * math/auto-libm-test-in: Add tests of fma.
57059 * math/auto-libm-test-out: Regenerated.
57060 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
57061 (fma_towardzero_test_data): Likewise.
57062 (fma_downward_test_data): Likewise.
57063 (fma_upward_test_data): Likewise.
57064 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
57065 mpc_mode.
57066 (rounding_modes): Add values for new field.
57067 (func_calc_method): Add value mpfr_fff_f.
57068 (func_calc_desc): Add mpfr_fff_f union field.
57069 (test_function): Add field exact_args.
57070 (FUNC): Add macro argument EXACT_ARGS.
57071 (FUNC_mpfr_f_f): Update call to FUNC.
57072 (FUNC_mpfr_f_f): Likewise.
57073 (FUNC_mpfr_ff_f): Likewise.
57074 (FUNC_mpfr_if_f): Likewise.
57075 (FUNC_mpc_c_f): Likewise.
57076 (FUNC_mpc_c_c): Likewise.
57077 (test_functions): Add fma. Update calls to FUNC.
57078 (handle_input_arg): Add argument exact_args.
57079 (add_test): Update call to handle_input_arg.
57080 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
57081 (output_for_one_input_case): Update call to calc_generic_results.
57082 Recalculate exact zero results in each rounding mode.
57083
57084 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
57085 non-negative before setting low bit.
57086 * math/auto-libm-test-in: Mark one asin test possibly having
57087 spurious underflow.
57088 * math/auto-libm-test-out: Regenerated.
57089 * sysdeps/i386/fpu/libm-test-ulps: Update.
57090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57091
57092 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
57093
57094 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
57095 * sysdeps/unix/sysv/linux/microblaze: Move directory from
57096 ports/sysdeps/unix/sysv/linux/microblaze.
57097 * README: Add missing listing for microblaze*-*-linux-gnu.
57098
57099 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
57100
57101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
57102 duplicate code
57103
57104 2014-02-16 Mike Frysinger <vapier@gentoo.org>
57105
57106 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
57107 * sysdeps/unix/sysv/linux/ia64: Move directory from
57108 ports/sysdeps/unix/sysv/linux/ia64.
57109 * README: Update listing for ia64-*-linux-gnu.
57110
57111 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
57112 Joseph Myers <joseph@codesourcery.com>
57113
57114 * Makeconfig (test-name): New variable.
57115 (evaluate-test): Likewise.
57116 * Makerules (do-test-clean): Remove .test-result files.
57117 (common-mostlyclean): Likewise.
57118 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
57119 * scripts/evaluate-test.sh: New file.
57120
57121 2014-02-14 Joseph Myers <joseph@codesourcery.com>
57122
57123 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
57124 separate $(objpfx)tst-fopenloc-cmp.out and
57125 $(objpfx)tst-fopenloc-mem.out targets.
57126 (tests): Update dependencies.
57127 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
57128 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
57129 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
57130 (tst-rxspencer-no-utf8-ARGS): New variable.
57131 (tst-rxspencer-no-utf8-ENV): Likewise.
57132 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
57133 instead of $(objpfx)tst-rxspencer-mem.
57134 ($(objpfx)tst-rxspencer-mem): Change target to
57135 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
57136 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
57137 * posix/tst-rxspencer-no-utf8.c: New file.
57138
57139 * elf/Makefile ($(objpfx)order.out): Remove rule.
57140 [$(run-built-tests) = yes] (tests): Depend on
57141 $(objpfx)order-cmp.out.
57142 ($(objpfx)order-cmp.out): New rule.
57143 [$(run-built-tests) = yes] (tests): Depend on
57144 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
57145 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
57146 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
57147 $(objpfx)tst-array5-static-cmp.out.
57148 ($(objpfx)tst-array1.out): Remove rule.
57149 ($(objpfx)tst-array1-cmp.out): New rule.
57150 ($(objpfx)tst-array1-static.out): Remove rule.
57151 ($(objpfx)tst-array1-static-cmp.out): New rule.
57152 ($(objpfx)tst-array2.out): Remove rule.
57153 ($(objpfx)tst-array2-cmp.out): New rule.
57154 ($(objpfx)tst-array3.out): Remove rule.
57155 ($(objpfx)tst-array3-cmp.out): New rule.
57156 ($(objpfx)tst-array4.out): Remove rule.
57157 ($(objpfx)tst-array4-cmp.out): New rule.
57158 ($(objpfx)tst-array5.out): Remove rule.
57159 ($(objpfx)tst-array5-cmp.out): New rule.
57160 ($(objpfx)tst-array5-static.out): Remove rule.
57161 ($(objpfx)tst-array5-static-cmp.out): New rule.
57162 [$(run-built-tests) = yes] (tests): Depend on
57163 $(objpfx)order2-cmp.out.
57164 ($(objpfx)order2.out): Remove rule.
57165 ($(objpfx)order2-cmp.out): New rule.
57166 ($(objpfx)tst-initorder.out): Remove rule.
57167 [$(run-built-tests) = yes] (tests): Depend on
57168 $(objpfx)tst-initorder-cmp.out.
57169 ($(objpfx)tst-initorder-cmp.out): New rule.
57170 ($(objpfx)tst-initorder2.out): Remove rule.
57171 [$(run-built-tests) = yes] (tests): Depend on
57172 $(objpfx)tst-initorder2-cmp.out.
57173 ($(objpfx)tst-initorder2-cmp.out): New rule.
57174 [$(run-built-tests) = yes] (tests): Depend on
57175 $(objpfx)tst-unused-dep-cmp.out.
57176 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57177 ($(objpfx)tst-unused-dep-cmp.out): New rule.
57178 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57179 on $(objpfx)tst-setvbuf1-cmp.out.
57180 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57181 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57182 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57183 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57184 ($(objpfx)tst-svc.out): Remove rule.
57185 ($(objpfx)tst-svc-cmp.out): New rule.
57186
57187 2014-02-13 Joseph Myers <joseph@codesourcery.com>
57188
57189 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57190 * ctype/ctype.h [__USE_MISC]: Likewise.
57191 * dirent/dirent.h [__USE_MISC]: Likewise.
57192 * grp/grp.h [__USE_MISC]: Likewise.
57193 * io/fcntl.h [__USE_MISC]: Likewise.
57194 * io/sys/stat.h [__USE_MISC]: Likewise.
57195 * libio/stdio.h [__USE_MISC]: Likewise.
57196 * posix/unistd.h [__USE_MISC]: Likewise.
57197 * pwd/pwd.h [__USE_MISC]: Likewise.
57198 * stdlib.h [__USE_MISC]: Likewise.
57199 * string/bits/string2.h [__USE_MISC]: Likewise.
57200 * string/string.h [__USE_MISC]: Likewise.
57201 * time/time.h [__USE_MISC]: Likewise.
57202
57203 2014-02-13 Andreas Schwab <schwab@suse.de>
57204
57205 [BZ #16574]
57206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57207 second answer buffer if it was separately allocated.
57208
57209 2014-02-12 Joseph Myers <joseph@codesourcery.com>
57210
57211 * sysdeps/mips/math-tests.h: Include <features.h>.
57212 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57213 (ROUNDING_TESTS_long_double): Do not define.
57214 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57215 (EXCEPTION_TESTS_long_double): Likewise.
57216 * sysdeps/mips/mips64/libm-test-ulps: Update.
57217
57218 * include/features.h (__USE_BSD): Remove macro definitions.
57219 (__USE_SVID): Likewise.
57220 (_BSD_SOURCE): Likewise.
57221 (_SVID_SOURCE): Likewise.
57222 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57223 from definition of _DEFAULT_SOURCE.
57224 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57225 [_DEFAULT_SOURCE].
57226 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57227 * bits/mman.h [__USE_BSD]: Likewise.
57228 * bits/termios.h [__USE_BSD]: Likewise.
57229 * bits/waitstatus.h [__USE_BSD]: Likewise.
57230 * ctype/ctype.h [__USE_SVID]: Likewise.
57231 * dirent/dirent.h [__USE_BSD]: Likewise.
57232 * grp/grp.h [__USE_SVID]: Likewise.
57233 [__USE_BSD]: Likewise.
57234 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57235 * io/fcntl.h [__USE_BSD]: Likewise.
57236 * io/ftw.h [__USE_BSD]: Likewise.
57237 * io/sys/stat.h [__USE_BSD]: Likewise.
57238 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57239 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57240 * libio/stdio.h [__USE_SVID]: Likewise.
57241 [__USE_BSD]: Likewise.
57242 * math/math.h [__USE_SVID]: Likewise.
57243 [__USE_BSD]: Likewise.
57244 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57245 * misc/bits/syslog.h [__USE_BSD]: Likewise.
57246 * misc/search.h [__USE_SVID]: Likewise.
57247 * misc/sys/mman.h [__USE_BSD]: Likewise.
57248 * misc/sys/syslog.h [__USE_BSD]: Likewise.
57249 * misc/sys/uio.h [__USE_BSD]: Likewise.
57250 * posix/bits/unistd.h [__USE_BSD]: Likewise.
57251 * posix/glob.h [__USE_BSD]: Likewise.
57252 * posix/regex.h [__USE_BSD]: Likewise.
57253 * posix/sys/types.h [__USE_BSD]: Likewise.
57254 [__USE_SVID]: Likewise.
57255 * posix/sys/utsname.h [__USE_SVID]: Likewise.
57256 * posix/sys/wait.h [__USE_BSD]: Likewise.
57257 [__USE_SVID]: Likewise.
57258 * posix/unistd.h [__USE_BSD]: Likewise.
57259 [__USE_SVID]: Likewise.
57260 * pwd/pwd.h [__USE_SVID]: Likewise.
57261 * resolv/netdb.h [__USE_BSD]: Likewise.
57262 * setjmp/setjmp.h [__USE_BSD]: Likewise.
57263 * signal/signal.h [__USE_BSD]: Likewise.
57264 [__USE_SVID]: Likewise.
57265 * socket/sys/socket.h [__USE_BSD]: Likewise.
57266 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57267 * stdlib/stdlib.h [__USE_BSD]: Likewise.
57268 [__USE_SVID]: Likewise.
57269 * string/bits/string2.h [__USE_BSD]: Likewise.
57270 [__USE_SVID]: Likewise.
57271 * string/bits/string3.h [__USE_BSD]: Likewise.
57272 * string/endian.h [__USE_BSD]: Likewise.
57273 * string/string.h [__USE_SVID]: Likewise.
57274 [__USE_BSD]: Likewise.
57275 * string/strings.h [__USE_BSD]: Likewise.
57276 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57277 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57278 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57279 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57280 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57282 Likewise.
57283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57284 Likewise.
57285 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57286 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57287 Likewise.
57288 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57289 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57290 Likewise.
57291 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57292 Likewise.
57293 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57294 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57295 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57296 Likewise.
57297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57298 Likewise.
57299 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57300 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57301 * termios/termios.h [__USE_BSD]: Likewise.
57302 * time/sys/time.h [__USE_BSD]: Likewise.
57303 * time/time.h [__USE_BSD]: Likewise.
57304 [__USE_SVID]: Likewise.
57305
57306 * Makefile (subdir_targets): Remove subdir_lint.out.
57307
57308 * stdio-common/Makefile (do-tst-unbputc): Remove target.
57309 (do-tst-printf): Likewise.
57310 (tests): Depend directly on $(objpfx)tst-unbputc.out and
57311 $(objpfx)tst-printf.out.
57312
57313 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57314
57315 * Makerules (check-abi-%): Change target to
57316 $(objpfx)check-abi-%.out.
57317 (check-abi target): Update dependencies.
57318 (check-abi-pattern variable): Redirect output of diff to $@.
57319 (check-abi variable): Likewise.
57320 * elf/Makefile (check-abi): Update dependencies.
57321
57322 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57323 unused.
57324 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57325 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57326 subnormal range.
57327 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57328 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57329 value has largest subnormal exponent.
57330 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57331 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57332 * sysdeps/aarch64/soft-fp/sfp-machine.h
57333 (_FP_TININESS_AFTER_ROUNDING): New macro.
57334 * sysdeps/alpha/soft-fp/sfp-machine.h
57335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57336 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57337 Likewise.
57338 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57340 * sysdeps/mips/soft-fp/sfp-machine.h
57341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57342 * sysdeps/powerpc/soft-fp/sfp-machine.h
57343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57344 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57345 Likewise.
57346 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57347 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57350 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57351 Likewise.
57352
57353 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
57354
57355 [BZ #16545]
57356 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57357 model 1.
57358
57359 2014-02-12 Richard Henderson <rth@redhat.com>
57360
57361 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57362 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57363 * sysdeps/unix/sysv/linux/alpha: Move directory from
57364 ports/sysdeps/unix/sysv/linux/alpha.
57365 * README: Update listing for alpha-*-linux-gnu.
57366
57367 2014-02-11 Joseph Myers <joseph@codesourcery.com>
57368
57369 * include/features.h: Update comment documenting feature test
57370 macros.
57371 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57372 _DEFAULT_SOURCE.
57373 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57374 (_SVID_SOURCE): Likewise.
57375 (_DEFAULT_SOURCE): Update description of default features.
57376 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57377 with _GNU_SOURCE.
57378 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57379 (S_ISVTX): Likewise.
57380 * manual/math.texi (Mathematical Constants): Likewise.
57381 * manual/signal.texi (Interrupted Primitives): Likewise.
57382 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57383 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57384 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57385 Don't refer to _SVID_SOURCE in warning text.
57386
57387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57388
57389 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57390 already defined.
57391 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57392 * sysdeps/mips/dl-lookup.c: Remove.
57393 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57394
57395 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57396
57397 [BZ #16447]
57398 * math/auto-libm-test-in: Add testcase for expl.
57399 * math/auto-libm-test-out: Regenerate.
57400 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57401 calculation of unsafe.
57402 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57403
57404 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57405
57406 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57407 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57408 ports/sysdeps/unix/sysv/linux/aarch64.
57409 * README: Update listing for aarch64*-*-linux-gnu.
57410
57411 2014-02-11 Will Newton <will.newton@linaro.org>
57412
57413 * manual/probes.texi (Mathematical Function Probes): Use
57414 "triggered" instead of "hit".
57415
57416 * manual/probes.texi (Internal Probes): Add documentation
57417 of setjmp, longjmp and longjmp_target probes.
57418
57419 * include/stap-probe.h: Add comment about probe argument
57420 format.
57421
57422 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57423 definition. (tr_where, tr_freehook, tr_mallochook,
57424 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57425
57426 2014-02-11 David S. Miller <davem@davemloft.net>
57427
57428 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57429 processing int_tests.
57430
57431 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57432
57433 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57434 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57435 * sysdeps/unix/sysv/linux/mips: Move directory from
57436 ports/sysdeps/unix/sysv/linux/mips.
57437 * README: Update listing for mips-*-linux-gnu and
57438 mips64-*-linux-gnu.
57439
57440 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57441
57442 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57443 * sysdeps/unix/sysv/linux/m68k: Move directory from
57444 ports/sysdeps/unix/sysv/linux/m68k.
57445 * README: Update listing for m68k-*-linux-gnu.
57446
57447 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57448
57449 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57450 * sysdeps/unix/sysv/linux/generic: Move directory from
57451 ports/sysdeps/unix/sysv/linux/generic.
57452 * sysdeps/unix/sysv/linux/tile: Move directory from
57453 ports/sysdeps/unix/sysv/linux/tile.
57454 * README: Update listing for tile*-*-linux-gnu.
57455
57456 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
57457
57458 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57459 __builtin_expect.
57460 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57461 * catgets/open_catalog.c (__open_catalog): Likewise.
57462 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57463 * debug/confstr_chk.c: Likewise.
57464 * debug/fread_chk.c (__fread_chk): Likewise.
57465 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57466 * debug/getgroups_chk.c: Likewise.
57467 * debug/mbsnrtowcs_chk.c: Likewise.
57468 * debug/mbsrtowcs_chk.c: Likewise.
57469 * debug/mbstowcs_chk.c: Likewise.
57470 * debug/memcpy_chk.c: Likewise.
57471 * debug/memmove_chk.c: Likewise.
57472 * debug/mempcpy_chk.c: Likewise.
57473 * debug/memset_chk.c: Likewise.
57474 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57475 * debug/strcat_chk.c (__strcat_chk): Likewise.
57476 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57477 * debug/strncat_chk.c (__strncat_chk): Likewise.
57478 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57479 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57480 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57481 * debug/wcpncpy_chk.c: Likewise.
57482 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57483 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57484 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57485 * debug/wcsncpy_chk.c: Likewise.
57486 * debug/wcsnrtombs_chk.c: Likewise.
57487 * debug/wcsrtombs_chk.c: Likewise.
57488 * debug/wcstombs_chk.c: Likewise.
57489 * debug/wmemcpy_chk.c: Likewise.
57490 * debug/wmemmove_chk.c: Likewise.
57491 * debug/wmempcpy_chk.c: Likewise.
57492 * debug/wmemset_chk.c: Likewise.
57493 * dirent/scandirat.c (SCANDIRAT): Likewise.
57494 * dlfcn/dladdr1.c (dladdr1): Likewise.
57495 * dlfcn/dladdr.c (dladdr): Likewise.
57496 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57497 * dlfcn/dlerror.c (__dlerror): Likewise.
57498 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57499 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57500 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57501 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57502 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57503 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57504 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57505 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57506 Likewise.
57507 * elf/dl-conflict.c: Likewise.
57508 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57509 * elf/dl-dst.h: Likewise.
57510 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57511 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57513 * elf/dl-init.c (call_init, _dl_init): Likewise.
57514 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57515 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57516 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57517 Likewise.
57518 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57519 Likewise.
57520 * elf/dl-minimal.c (__libc_memalign): Likewise.
57521 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57522 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57523 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57524 * elf/dl-sym.c (do_sym): Likewise.
57525 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57526 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57527 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57528 * elf/dl-writev.h (_dl_writev): Likewise.
57529 * elf/ldconfig.c (search_dir): Likewise.
57530 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57531 (dl_main): Likewise.
57532 * elf/setup-vdso.h (setup_vdso): Likewise.
57533 * grp/compat-initgroups.c (compat_call): Likewise.
57534 * grp/fgetgrent.c (fgetgrent): Likewise.
57535 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57536 * grp/putgrent.c (putgrent): Likewise.
57537 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57538 Likewise.
57539 * hurd/hurdinit.c: Likewise.
57540 * iconvdata/8bit-gap.c (struct): Likewise.
57541 * iconvdata/ansi_x3.110.c : Likewise.
57542 * iconvdata/big5.c : Likewise.
57543 * iconvdata/big5hkscs.c : Likewise.
57544 * iconvdata/cp1255.c: Likewise.
57545 * iconvdata/cp1258.c : Likewise.
57546 * iconvdata/cp932.c : Likewise.
57547 * iconvdata/euc-cn.c: Likewise.
57548 * iconvdata/euc-jisx0213.c : Likewise.
57549 * iconvdata/euc-jp.c: Likewise.
57550 * iconvdata/euc-jp-ms.c : Likewise.
57551 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57552 * iconvdata/gb18030.c : Likewise.
57553 * iconvdata/gbbig5.c (const): Likewise.
57554 * iconvdata/gbgbk.c: Likewise.
57555 * iconvdata/gbk.c : Likewise.
57556 * iconvdata/ibm1364.c : Likewise.
57557 * iconvdata/ibm930.c : Likewise.
57558 * iconvdata/ibm932.c: Likewise.
57559 * iconvdata/ibm933.c : Likewise.
57560 * iconvdata/ibm935.c : Likewise.
57561 * iconvdata/ibm937.c : Likewise.
57562 * iconvdata/ibm939.c : Likewise.
57563 * iconvdata/ibm943.c: Likewise.
57564 * iconvdata/iso_11548-1.c: Likewise.
57565 * iconvdata/iso-2022-cn.c : Likewise.
57566 * iconvdata/iso-2022-cn-ext.c : Likewise.
57567 * iconvdata/iso-2022-jp-3.c: Likewise.
57568 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57569 * iconvdata/iso-2022-kr.c : Likewise.
57570 * iconvdata/iso646.c (gconv_end): Likewise.
57571 * iconvdata/iso_6937-2.c : Likewise.
57572 * iconvdata/iso_6937.c : Likewise.
57573 * iconvdata/iso8859-1.c: Likewise.
57574 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57575 * iconvdata/shift_jisx0213.c : Likewise.
57576 * iconvdata/sjis.c : Likewise.
57577 * iconvdata/t.61.c : Likewise.
57578 * iconvdata/tcvn5712-1.c : Likewise.
57579 * iconvdata/tscii.c: Likewise.
57580 * iconvdata/uhc.c : Likewise.
57581 * iconvdata/unicode.c (gconv_end): Likewise.
57582 * iconvdata/utf-16.c (gconv_end): Likewise.
57583 * iconvdata/utf-32.c (gconv_end): Likewise.
57584 * iconvdata/utf-7.c (base64): Likewise.
57585 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57586 * iconv/gconv_close.c (__gconv_close): Likewise.
57587 * iconv/gconv_open.c (__gconv_open): Likewise.
57588 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57589 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57590 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57591 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57592 (ucs4le_internal_loop_single): Likewise.
57593 * iconv/iconv.c (iconv): Likewise.
57594 * iconv/iconv_close.c: Likewise.
57595 * iconv/loop.c (SINGLE): Likewise.
57596 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57597 * include/atomic.h: Likewise.
57598 * inet/inet6_option.c (option_alloc): Likewise.
57599 * intl/bindtextdom.c (set_binding_values): Likewise.
57600 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57601 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57602 * intl/localealias.c (read_alias_file): Likewise.
57603 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57604 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57605 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57606 * libio/fmemopen.c (fmemopen): Likewise.
57607 * libio/iofgets.c (_IO_fgets): Likewise.
57608 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57609 * libio/iofgetws.c (fgetws): Likewise.
57610 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57611 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57612 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57613 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57614 * locale/findlocale.c (_nl_find_locale): Likewise.
57615 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57616 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57617 Likewise.
57618 * locale/setlocale.c (setlocale): Likewise.
57619 * login/programs/pt_chown.c (main): Likewise.
57620 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57621 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57622 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57623 (mmap, mmap64, mremap, munmap): Likewise.
57624 * math/e_exp2l.c: Likewise.
57625 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57626 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57627 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57628 * math/s_catan.c (__catan): Likewise.
57629 * math/s_catanf.c (__catanf): Likewise.
57630 * math/s_catanh.c (__catanh): Likewise.
57631 * math/s_catanhf.c (__catanhf): Likewise.
57632 * math/s_catanhl.c (__catanhl): Likewise.
57633 * math/s_catanl.c (__catanl): Likewise.
57634 * math/s_ccosh.c (__ccosh): Likewise.
57635 * math/s_ccoshf.c (__ccoshf): Likewise.
57636 * math/s_ccoshl.c (__ccoshl): Likewise.
57637 * math/s_cexp.c (__cexp): Likewise.
57638 * math/s_cexpf.c (__cexpf): Likewise.
57639 * math/s_cexpl.c (__cexpl): Likewise.
57640 * math/s_clog10.c (__clog10): Likewise.
57641 * math/s_clog10f.c (__clog10f): Likewise.
57642 * math/s_clog10l.c (__clog10l): Likewise.
57643 * math/s_clog.c (__clog): Likewise.
57644 * math/s_clogf.c (__clogf): Likewise.
57645 * math/s_clogl.c (__clogl): Likewise.
57646 * math/s_csin.c (__csin): Likewise.
57647 * math/s_csinf.c (__csinf): Likewise.
57648 * math/s_csinh.c (__csinh): Likewise.
57649 * math/s_csinhf.c (__csinhf): Likewise.
57650 * math/s_csinhl.c (__csinhl): Likewise.
57651 * math/s_csinl.c (__csinl): Likewise.
57652 * math/s_csqrt.c (__csqrt): Likewise.
57653 * math/s_csqrtf.c (__csqrtf): Likewise.
57654 * math/s_csqrtl.c (__csqrtl): Likewise.
57655 * math/s_ctan.c (__ctan): Likewise.
57656 * math/s_ctanf.c (__ctanf): Likewise.
57657 * math/s_ctanh.c (__ctanh): Likewise.
57658 * math/s_ctanhf.c (__ctanhf): Likewise.
57659 * math/s_ctanhl.c (__ctanhl): Likewise.
57660 * math/s_ctanl.c (__ctanl): Likewise.
57661 * math/w_pow.c: Likewise.
57662 * math/w_powf.c: Likewise.
57663 * math/w_powl.c: Likewise.
57664 * math/w_scalb.c (sysv_scalb): Likewise.
57665 * math/w_scalbf.c (sysv_scalbf): Likewise.
57666 * math/w_scalbl.c (sysv_scalbl): Likewise.
57667 * misc/error.c (error_tail): Likewise.
57668 * misc/pselect.c (__pselect): Likewise.
57669 * nis/nis_callback.c (__nis_create_callback): Likewise.
57670 * nis/nis_call.c (__nisfind_server): Likewise.
57671 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57672 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57673 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57674 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57675 * nis/nis_lookup.c (nis_lookup): Likewise.
57676 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57677 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57678 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57679 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57680 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57681 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57682 * nis/nss_compat/compat-initgroups.c (add_group)
57683 (internal_getgrent_r): Likewise.
57684 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57685 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57686 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57687 (internal_getspnam_r): Likewise.
57688 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57689 (_nss_nis_getaliasbyname_r): Likewise.
57690 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57691 (_nss_nis_getntohost_r): Likewise.
57692 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57693 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57694 (_nss_nis_getgrgid_r): Likewise.
57695 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57696 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57697 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57698 (_nss_nis_gethostbyname4_r): Likewise.
57699 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57700 (initgroups_netid): Likewise.
57701 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57702 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57703 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57704 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57705 (_nss_nis_getprotobynumber_r): Likewise.
57706 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57707 (_nss_nis_getsecretkey): Likewise.
57708 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57709 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57710 (_nss_nis_getpwuid_r): Likewise.
57711 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57712 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57713 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57714 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57715 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57716 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57717 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57718 Likewise.
57719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57720 (_nss_nisplus_getntohost_r): Likewise.
57721 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57722 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57723 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57724 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57725 Likewise.
57726 * nis/nss_nisplus/nisplus-initgroups.c
57727 (_nss_nisplus_initgroups_dyn): Likewise.
57728 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57729 (_nss_nisplus_getnetbyaddr_r): Likewise.
57730 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57731 (_nss_nisplus_getprotobynumber_r): Likewise.
57732 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57733 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57734 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57735 Likewise.
57736 * nis/nss_nisplus/nisplus-service.c
57737 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57738 (_nss_nisplus_getservbyport_r): Likewise.
57739 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57740 (_nss_nisplus_getspnam_r): Likewise.
57741 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57742 Likewise.
57743 * nscd/aicache.c (addhstaiX): Likewise.
57744 * nscd/cache.c (cache_search, prune_cache): Likewise.
57745 * nscd/connections.c (register_traced_file, send_ro_fd)
57746 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57747 (main_loop_epoll): Likewise.
57748 * nscd/grpcache.c (addgrbyX): Likewise.
57749 * nscd/hstcache.c (addhstbyX): Likewise.
57750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57751 * nscd/mem.c (gc, mempool_alloc): Likewise.
57752 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57753 (addinnetgrX): Likewise.
57754 * nscd/nscd-client.h (__nscd_acquire_maplock)
57755 (__nscd_drop_map_ref): Likewise.
57756 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57757 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57758 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57759 Likewise.
57760 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57761 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57762 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57763 (__nscd_get_map_ref): Likewise.
57764 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57765 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57766 Likewise.
57767 * nscd/pwdcache.c (addpwbyX): Likewise.
57768 * nscd/selinux.c (preserve_capabilities): Likewise.
57769 * nscd/servicescache.c (addservbyX): Likewise.
57770 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57771 * posix/fnmatch.c (fnmatch): Likewise.
57772 * posix/getopt.c (_getopt_internal_r): Likewise.
57773 * posix/glob.c (glob, glob_in_dir): Likewise.
57774 * posix/wordexp.c (exec_comm_child): Likewise.
57775 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57776 (getanswer_r, gaih_getanswer_slice): Likewise.
57777 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57778 * resolv/res_init.c: Likewise.
57779 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57780 * resolv/res_query.c (__libc_res_nquery): Likewise.
57781 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57782 Likewise.
57783 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57784 * stdio-common/perror.c (perror): Likewise.
57785 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57786 * stdio-common/tmpnam.c (tmpnam): Likewise.
57787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57788 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57789 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57790 Likewise.
57791 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57792 * stdlib/putenv.c (putenv): Likewise.
57793 * stdlib/setenv.c (__add_to_environ): Likewise.
57794 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57795 * stdlib/strtol_l.c (INTERNAL): Likewise.
57796 * string/memmem.c (memmem): Likewise.
57797 * string/strerror.c (strerror): Likewise.
57798 * string/strnlen.c (__strnlen): Likewise.
57799 * string/test-memmem.c (simple_memmem): Likewise.
57800 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57801 * sunrpc/pm_getport.c (__get_socket): Likewise.
57802 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57803 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57804 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57805 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57806 Likewise.
57807 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57808 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57809 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57810 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57811 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57812 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57813 Likewise.
57814 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57815 Likewise.
57816 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57817 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57819 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57820 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57823 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57824 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57825 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57826 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57827 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57828 Likewise.
57829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57830 Likewise.
57831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57832 Likewise.
57833 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57835 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57836 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57837 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57838 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57839 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57842 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57843 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57845 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57846 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57848 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57849 Likewise.
57850 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57851 Likewise.
57852 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57853 Likewise.
57854 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57855 Likewise.
57856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57858 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57859 Likewise.
57860 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57861 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57862 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57863 * sysdeps/posix/sleep.c: Likewise.
57864 * sysdeps/posix/tempname.c: Likewise.
57865 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57866 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57867 Likewise.
57868 * sysdeps/powerpc/powerpc32/dl-machine.h
57869 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57870 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57872 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57873 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57874 Likewise.
57875 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57877 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57879 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57880 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57881 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57882 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57883 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57884 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57886 (elf_machine_lazy_rel): Likewise.
57887 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57889 (elf_machine_lazy_rel): Likewise.
57890 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57891 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57892 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57893 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57894 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57895 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57896 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57898 Likewise.
57899 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57900 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57901 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57902 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57903 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57904 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57905 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57906 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57907 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57909 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57910 Likewise.
57911 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57912 (__posix_fallocate64_l64): Likewise.
57913 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57914 (posix_fallocate): Likewise.
57915 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57916 Likewise.
57917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57918 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57919 (getifaddrs_internal): Likewise.
57920 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57922 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57923 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57924 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57925 (__posix_fallocate64_l64): Likewise.
57926 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57927 Likewise.
57928 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57929 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57930 (__get_clockfreq): Likewise.
57931 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57932 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57933 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57936 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57937 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57938 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57939 Likewise.
57940 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57941 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57942 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57944 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57945 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57946 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57947 Likewise.
57948 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57949 (posix_fallocate): Likewise.
57950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57951 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57952 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57953 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57954 (elf_machine_rela, elf_machine_rela_relative)
57955 (elf_machine_lazy_rel): Likewise.
57956 * time/asctime.c (asctime_internal): Likewise.
57957 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57958 * time/tzset.c (__tzset_parse_tz): Likewise.
57959 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57960 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57961 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57962 * wcsmbs/wcsmbsload.h: Likewise.
57963
57964 [BZ #15894]
57965 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57966
57967 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57968 (arena_get2): Remove THREAD_STATS conditionals.
57969 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57970 (__malloc_stats, int): Likewise.
57971
57972 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57973
57974 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57975 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57976
57977 * manual/setjmp.texi: Fix typos/grammar errors.
57978
57979 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57980 Only return early when n is <= 0. Delete unused return statement.
57981
57982 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57983 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57984 * debug/tst-longjmp_chk3.c: New file.
57985
57986 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57987 (test_main): Replace code with set_fortify_handler call.
57988 * debug/test-strcpy_chk.c: Likewise.
57989 * debug/tst-chk1.c: Likewise.
57990 * debug/tst-longjmp_chk.c: Likewise.
57991 * test-skeleton.c: Include fcntl.h & paths.h
57992 (set_fortify_handler): Define.
57993
57994 * debug/tst-longjmp_chk.c: Add header comment and include
57995 ../test-skeleton.c.
57996 (do_test): Mark static.
57997 (TEST_FUNCTION): Define.
57998
57999 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
58000 (IP_PMTUDISC_INTERFACE): Likewise.
58001 (IP_MULTICAST_IF): Likewise.
58002 (IP_MULTICAST_TTL): Likewise.
58003 (IP_MULTICAST_LOOP): Likewise.
58004 (IP_ADD_MEMBERSHIP): Likewise.
58005 (IP_DROP_MEMBERSHIP): Likewise.
58006 (IP_UNBLOCK_SOURCE): Likewise.
58007 (IP_BLOCK_SOURCE): Likewise.
58008 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
58009 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
58010 (IP_MSFILTER): Likewise.
58011 (MCAST_JOIN_GROUP): Likewise.
58012 (MCAST_BLOCK_SOURCE): Likewise.
58013 (MCAST_UNBLOCK_SOURCE): Likewise.
58014 (MCAST_LEAVE_GROUP): Likewise.
58015 (MCAST_JOIN_SOURCE_GROUP): Likewise.
58016 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
58017 (MCAST_MSFILTER): Likewise.
58018 (IP_MULTICAST_ALL): Likewise.
58019 (IP_UNICAST_IF): Likewise.
58020
58021 * timezone/Makefile: Delete $(have-ksh) check.
58022 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
58023 * timezone/tzselect.ksh: Add +x mode bits.
58024
58025 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
58026 (ANON_INODE_FS_MAGIC): Likewise.
58027 (BDEVFS_MAGIC): Likewise.
58028 (BINFMTFS_MAGIC): Likewise.
58029 (BTRFS_TEST_MAGIC): Likewise.
58030 (CRAMFS_MAGIC_WEND): Likewise.
58031 (DEBUGFS_MAGIC): Likewise.
58032 (ECRYPTFS_SUPER_MAGIC): Likewise.
58033 (EXT3_SUPER_MAGIC): Likewise.
58034 (EXT4_SUPER_MAGIC): Likewise.
58035 (FUTEXFS_SUPER_MAGIC): Likewise.
58036 (HOSTFS_SUPER_MAGIC): Likewise.
58037 (HUGETLBFS_MAGIC): Likewise.
58038 (MINIX3_SUPER_MAGIC): Likewise.
58039 (MTD_INODE_FS_MAGIC): Likewise.
58040 (NILFS_SUPER_MAGIC): Likewise.
58041 (OPENPROM_SUPER_MAGIC): Likewise.
58042 (PIPEFS_MAGIC): Likewise.
58043 (PSTOREFS_MAGIC): Likewise.
58044 (QNX6_SUPER_MAGIC): Likewise.
58045 (RAMFS_MAGIC): Likewise.
58046 (REISERFS_SUPER_MAGIC_STRING): Likewise.
58047 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
58048 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
58049 (SECURITYFS_MAGIC): Likewise.
58050 (SELINUX_MAGIC): Likewise.
58051 (SMACK_MAGIC): Likewise.
58052 (SOCKFS_MAGIC): Likewise.
58053 (SQUASHFS_MAGIC): Likewise.
58054 (STACK_END_MAGIC): Likewise.
58055 (TMPFS_MAGIC): Likewise.
58056 (USBDEVICE_SUPER_MAGIC): Likewise.
58057 (V9FS_MAGIC): Likewise.
58058 (XENFS_SUPER_MAGIC): Likewise.
58059 (CRAMFS_MAGIC): Fix typo in comment.
58060 (EXT2_SUPER_MAGIC): Update comment.
58061 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
58062
58063 2014-02-08 Joseph Myers <joseph@codesourcery.com>
58064
58065 * sysdeps/arm: Move directory from ports/sysdeps/arm.
58066 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
58067 * sysdeps/unix/sysv/linux/arm: Move directory from
58068 ports/sysdeps/unix/sysv/linux/arm.
58069 * README: Update listing for arm-*-linux-gnueabi.
58070
58071 * README: Remove mention of am33.
58072
58073 2014-02-07 Roland McGrath <roland@hack.frob.com>
58074
58075 * bits/sigset.h (__sigemptyset): Use a statement expression rather
58076 than the comma operator, to avoid "rhs of comma has no effect"
58077 compiler warnings.
58078 (__sigfillset, __sigandset, __sigorset): Likewise.
58079 * include/signal.h (__sigemptyset): Likewise.
58080 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
58081
58082 2014-02-07 Allan McRae <allan@archlinux.org>
58083
58084 * version.h (RELEASE): Set to "development".
58085 (VERSION): Set to "2.19.90"
58086 * NEWS: Add 2.20 section.
58087
58088 2014-02-06 Carlos O'Donell <carlos@redhat.com>
58089
58090 [BZ #16529]
58091 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
58092
58093 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
58094
58095 * manual/contrib.texi: Update entry for Carlos O'Donell,
58096 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
58097
58098 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
58099
58100 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
58101
58102 * sysdeps/unix/sysv/linux/kernel-features.h
58103 [__LINUX_KERNEL_VERSION >= 0x020621]
58104 (__ASSUME_PROC_PID_TASK_COMM): Define.
58105
58106 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58107
58108 [BZ #16398]
58109 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
58110 conversion when destination buffer does not have enough space.
58111 * libio/tst-ftell-partial-wide.c: New test case.
58112 * libio/Makefile (tests): Add tst-ftell-partial-wide.
58113
58114 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
58115 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
58116 Leonard and Allan McRae.
58117
58118 2014-02-04 David S. Miller <davem@davemloft.net>
58119
58120 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
58121 32-bit.
58122
58123 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58124
58125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
58126 New file
58127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
58128 New file
58129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
58130 New file.
58131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
58132 New file.
58133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
58134 New file.
58135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
58136 New file.
58137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
58138 New file.
58139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
58140 New file.
58141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
58142 New file.
58143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
58144 New file.
58145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
58146 New file.
58147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
58148 New file.
58149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58150 New file.
58151
58152 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58153
58154 * nptl/shlib-versions: Change powerpc*le start to 2.17.
58155 * shlib-versions: Likewise.
58156
58157 2014-02-04 Roland McGrath <roland@hack.frob.com>
58158 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58159
58160 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58161 (abilist-pattern): New variable, set to %-le.abilist.
58162
58163 * Makerules (abilist-pattern): New variable.
58164 (vpath): Use $(abilist-pattern) in place of %.abilist.
58165 (check-abi-% pattern rule): Likewise.
58166 (check-abi, update-abi): Likewise.
58167
58168 2014-02-04 Eric Wong <normalperson@yhbt.net>
58169
58170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58171
58172 2014-02-03 Carlos O'Donell <carlos@redhat.com>
58173
58174 * manual/startup.texi: Add next, previous, and top entries for
58175 the `Program Arguments' and `Environment Variables' nodes.
58176
58177 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
58178
58179 * manual/macros.texi: Add comments before MTASC-safety macros.
58180
58181 * manual/users.texi: Document MTASC-safety properties.
58182
58183 * manual/threads.texi (pthread_key_create, pthread_key_delete)
58184 (pthread_getspecific, pthread_setspecific): Format with
58185 @deftypefun, and add @safety note.
58186 * manual/signal.texi: Move comments that analyze the above
58187 functions to their home place.
58188
58189 2014-02-03 Allan McRae <allan@archlinux.org>
58190
58191 * po/sl.po: Update Slovenian translation from translation project.
58192
58193 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
58194
58195 * manual/time.texi (timegm): Add missing blank after @c.
58196 Reported by Joseph Myers <joseph@codesourcery.com>.
58197
58198 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
58199
58200 * manual/check-safety.sh: New.
58201 * manual/Makefile ($(objpfx)stamp-summary): Run it.
58202
58203 * manual/terminal.texi: Document MTASC-safety properties.
58204
58205 * manual/filesys.texi: Document MTASC-safety properties.
58206
58207 * manual/errno.texi: Document MTASC-safety properties.
58208
58209 * manual/intro.texi: Document safety identifiers and
58210 conditionals.
58211
58212 * manual/string.texi (wcstok): Fix prototype.
58213 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58214
58215 * manual/time.texi: Document MTASC-safety properties.
58216
58217 * manual/string.texi: Document MTASC-safety properties.
58218
58219 * manual/threads.texi: Document MTASC-safety properties.
58220
58221 * manual/stdio.texi: Document MTASC-safety properties.
58222
58223 * manual/syslog.texi: Document MTASC-safety properties.
58224
58225 * manual/sysinfo.texi: Document MTASC-safety properties.
58226
58227 * manual/startup.texi: Document MTASC-safety properties.
58228
58229 * manual/socket.texi: Document MTASC-safety properties.
58230
58231 * manual/signal.texi: Document MTASC-safety properties.
58232
58233 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
58234
58235 * manual/setjmp.texi: Document MTASC-safety properties.
58236
58237 * manual/search.texi: Document MTASC-safety properties.
58238
58239 * manual/resource.texi: Document MTASC-safety properties.
58240
58241 * manual/process.texi: Document MTASC-safety properties.
58242
58243 * manual/platform.texi: Document MTASC-safety properties.
58244
58245 * manual/pipe.texi: Document MTASC-safety properties.
58246
58247 * manual/pattern.texi: Document MTASC-safety properties.
58248
58249 * manual/message.texi: Document MTASC-safety properties.
58250
58251 [BZ #12751]
58252 * manual/memory.texi: Document MTASC-safety properties.
58253
58254 * manual/math.texi: Document MTASC-safety properties.
58255
58256 * manual/locale.texi: Document MTASC-safety properties.
58257
58258 * manual/llio.texi: Document MTASC-safety properties.
58259
58260 * manual/libdl.texi: New.
58261
58262 * manual/lang.texi: Document MTASC-safety properties.
58263
58264 * manual/job.texi: Document MTASC-safety properties.
58265
58266 * manual/getopt.texi: Document MTASC-safety properties.
58267
58268 * manual/ctype.texi: Document MTASC-safety properties.
58269
58270 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
58271
58272 [BZ #16046]
58273 * csu/libc-tls.c (static_map): Remove variable.
58274 (__libc_setup_tls): Use main executable's link map for TLS data.
58275 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58276 casing for LM_ID_BASE and GL(dl_nns).
58277 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58278 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
58279 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58280 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58281 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58282 member.
58283 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58284 l_phnum members.
58285
58286 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
58287
58288 * manual/debug.texi: Document MTASC-safety properties.
58289
58290 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
58291
58292 [BZ #16510]
58293 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58294 of __x86_64__ when disabling x87 inline functions.
58295
58296 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
58297
58298 * manual/charset.texi: Document MTASC-safety properties.
58299
58300 * manual/crypt.texi: Document MTASC-safety properties.
58301
58302 * manual/conf.texi: Document MTASC-safety properties.
58303
58304 * manual/arith.texi: Document MTASC-safety properties.
58305
58306 * manual/argp.texi: Document MTASC-safety properties.
58307
58308 * manual/macros.texi: Introduce macros to document multi
58309 thread, asynchronous signal and asynchronous cancellation
58310 safety properties.
58311 * manual/intro.texi: Introduce the properties themselves.
58312
58313 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58314
58315 * sysdeps/sh/sh4/Makefile: New file.
58316
58317 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
58318
58319 * math/gen-libm-test.pl ($srcdir): New variable.
58320 ($auto_input): Use it.
58321
58322 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58323
58324 [BZ #16506]
58325 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58326 access beyond array bounds when parsing netgroups file.
58327
58328 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58329 the old buffer before realloc.
58330
58331 2014-01-27 Allan McRae <allan@archlinux.org>
58332
58333 * po/fr.po: Update French translation from translation project.
58334
58335 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58336
58337 * sysdeps/sh/libm-test-ulps: Regenerate.
58338
58339 2014-01-24 David S. Miller <davem@davemloft.net>
58340
58341 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58342
58343 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58344
58345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58346 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58347
58348 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58349
58350 [BZ #16474]
58351 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58352 string pointers after reallocation.
58353
58354 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58355
58356 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58357 __SH4A__ instead of __SH_FPU_ANY__.
58358
58359 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58360
58361 * sysdeps/sh/fpu_control.h: New file.
58362 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58363 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58364 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58365 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58366 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58367 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58368 * sysdeps/sh/sys/ucontext.h: Remove.
58369 * sysdeps/sh/sys: Remove directory.
58370
58371 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58372
58373 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58374 s390/sys/ucontext.h.
58375 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58377
58378 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58379
58380 [BZ #15605]
58381 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58382
58383 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58384
58385 [BZ #16431]
58386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58387 Adjust the vDSO correctly for internal calls.
58388 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58389
58390 2014-01-20 Allan McRae <allan@archlinux.org>
58391
58392 * po/ca.po: Update Catalan translation from translation project.
58393
58394 2014-01-16 Mike Frysinger <vapier@gentoo.org>
58395
58396 * sysdeps/s390/sotruss-lib.c: New file.
58397
58398 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58399
58400 [BZ #16430]
58401 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58402 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58403 local calls issues by not having a PLT stub required for IFUNC calls.
58404 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58405
58406 2014-01-16 Joseph Myers <joseph@codesourcery.com>
58407
58408 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58409 * math/test-fpucw-static.c: Likewise.
58410
58411 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58412
58413 [BZ #16453]
58414 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58415
58416 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58417
58418 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58419 implementation for powerpc.
58420
58421 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
58422
58423 [BZ #14782]
58424 * sysdeps/posix/system.c (__libc_system): Do not enable
58425 asynchronous cancellation.
58426
58427 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58428
58429 [BZ #16427]
58430 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58431 handling only for numbers special also in the IEEE case.
58432
58433 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58434
58435 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58436
58437 2014-01-11 Allan McRae <allan@archlinux.org>
58438
58439 * po/bg.po: Update Bulgarian translation from translation project.
58440
58441 * po/de.po: Update German translation from translation project.
58442
58443 2014-01-10 Roland McGrath <roland@hack.frob.com>
58444
58445 * sysdeps/generic/gcc-compat.h: New file.
58446
58447 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58448
58449 * benchtests/asin-inputs: Correct slow inputs.
58450 * benchtests/acos-inputs: Likewise.
58451
58452 2014-01-10 Allan McRae <allan@archlinux.org>
58453
58454 * po:sv.po: Update Swedish translation from translation project.
58455
58456 * po/vi.po: Update Vietnamese translation from translation project.
58457
58458 * po/eo.po: Update Esperanto translation from translation project.
58459
58460 * po/cs.po: Update Czech translation from translation project.
58461
58462 * po/nl.po: Update Dutch translation from translation project.
58463
58464 * po/pl.po: Update Polish translation from translation project.
58465
58466 * po/ru.po: Update Russian translation from translation project.
58467
58468 * po/uk.po: Update Ukrainian translation from translation project.
58469
58470 2014-01-08 Brooks Moses <bmoses@google.com>
58471
58472 * elf/dl-load.c: Fix comment typo.
58473
58474 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58475
58476 * po/header.pot: Rename to...
58477 * po/pot.header: ... this.
58478 * po/Makefile: Use pot.header.
58479
58480 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58481 Maxim Kuvyrkov <maxim@kugelworks.com>
58482
58483 [BZ #16394]
58484 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58485 SRC and DEST against LEN.
58486
58487 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58488
58489 [BZ #16414]
58490 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58491 implementation.
58492 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58493
58494 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58495
58496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58497
58498 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58499
58500 [BZ #16408]
58501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58502 for large positive arguments.
58503
58504 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58505
58506 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58507
58508 * math/auto-libm-test-in: Mark various tests with
58509 xfail-rounding:ldbl-128ibm.
58510 * math/auto-libm-test-out: Regenerated.
58511
58512 [BZ #16407]
58513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58514 Increase overflow threshold.
58515
58516 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
58517
58518 [BZ #14286]
58519 * stdio-common/vfprintf.c: Check for integer overflow.
58520
58521 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58522
58523 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58524 the first argument and return value of __tls_get_addr_internal.
58525
58526 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58527
58528 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58529 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58530
58531 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58532
58533 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58534 * sysdeps/s390/rtld-global-offsets.sym: New file.
58535 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58536 GLIBC_2.19 symbol.
58537 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58538 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58539 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58540 ... this.
58541 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58542 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58543 ... this.
58544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58545 Regenerate.
58546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58547 Regenerate.
58548 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58549 halfs of GPRs for high_gprs contexts.
58550 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58551 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58552 field.
58553 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58554 uc_flags field.
58555 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58556 64 bit versions:
58557 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58558 for high GPRs (uc_high_gprs) and for future extensions
58559 (__reserved).
58560 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58561 for future extensions (__reserved).
58562 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58563 64 bit versions:
58564 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58565 SC_HIGHGPRS offset definition.
58566 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58567 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58568
58569 * Versions.def: Add GLIBC_2.19 for libpthread.
58570 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58571 siglongjmp for libpthread with GLIBC_2.19 symver.
58572 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58573 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58574 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58575 * sysdeps/s390/__longjmp.c: New file.
58576 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58577 * sysdeps/s390/longjmp.c: New file.
58578 * sysdeps/s390/setjmp.S: New file.
58579 * sysdeps/s390/sigjmp.S: New file.
58580 * sysdeps/s390/v1-longjmp.c: New file.
58581 * sysdeps/s390/v1-setjmp.h: New file.
58582 * sysdeps/s390/v1-sigjmp.c: New file.
58583 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58584 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58585 GLIBC_2.19 version.
58586 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58587 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58588 versioned symbols for ____longjmp_chk.
58589 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58590 Likewise.
58591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58592 Regenerate.
58593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58594 Regenerate.
58595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58596 Regenerate.
58597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58598 Regenerate.
58599 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58600 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58601 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58602 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58603 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58604 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58605 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58606 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58607 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58608 * sysdeps/s390/rtld-__longjmp.c: New file.
58609 * sysdeps/s390/rtld-setjmp.S: New file.
58610
58611 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58612
58613 [BZ #16400]
58614 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58615 Return -__logl (x) for small positive arguments without evaluating
58616 a polynomial.
58617
58618 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58619
58620 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58621 Rename to ...
58622 (__ptrace_peeksiginfo_args): ... this.
58623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58626
58627 2014-01-06 Allan McRae <allan@archlinux.org>
58628
58629 * inet/netinet/in.h: Fix typo in comment.
58630
58631 2014-01-05 Andreas Jaeger <aj@suse.de>
58632
58633 * sysdeps/i386/fpu/libm-test-ulps: Update.
58634
58635 2014-01-05 Allan McRae <allan@archlinux.org>
58636
58637 * po/libc.pot: Regenerated.
58638
58639 * malloc/memusagestat.c: Fix gettext call formatting.
58640
58641 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58642
58643 * nscd/nscd.c: Improve usage() output.
58644
58645 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58646
58647 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58648 * sysdeps/unix/sysv/linux/configure: Regenerated.
58649 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58650 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58651
58652 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58653
58654 [BZ #16390]
58655 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58656 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58657
58658 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58659
58660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58661 extra tokens at end of #undef directive.
58662 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58663 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58665
58666 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58667
58668 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58669
58670 * math/auto-libm-test-in: Mark various tests with
58671 xfail-rounding:ldbl-128ibm.
58672 * math/auto-libm-test-out: Regenerated.
58673
58674 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58675
58676 [BZ #16386]
58677 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58678 numbers with subnormal high part when calculating exponent.
58679
58680 [BZ #16385]
58681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58682 fabs.
58683
58684 [BZ #16384]
58685 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58686 M_LN2l.
58687 (__ieee754_acoshl): Use __log1pl not __log1p.
58688
58689 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
58690
58691 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58692 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58693 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58694 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58695 (reused_arena, arena_get2): Convert to GNU style.
58696 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58697 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58698 (memalign_check, __malloc_set_state): Likewise.
58699 * malloc/mallocbug.c (main): Likewise.
58700 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58701 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58702 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58703 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58704 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58705 (__posix_memalign, malloc_info): Likewise.
58706 * malloc/malloc.h: Likewise.
58707 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58708 (mallochook, memalignhook, reallochook, mabort): Likewise.
58709 * malloc/mcheck.h: Likewise.
58710 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58711 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58712 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58713 * malloc/morecore.c (__default_morecore): Likewise.
58714 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58715 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58716 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58717 (print_and_abort): Likewise.
58718 * malloc/obstack.h: Likewise.
58719 * malloc/set-freeres.c (__libc_freeres): Likewise.
58720 * malloc/tst-mallocstate.c (main): Likewise.
58721 * malloc/tst-mtrace.c (main): Likewise.
58722 * malloc/tst-realloc.c (do_test): Likewise.
58723
58724 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58725
58726 [BZ #16366]
58727 * nscd/netgroupcache.c (do_notfound): New function.
58728 (addgetnetgrentX): Use it.
58729
58730 [BZ # 16365]
58731 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58732 NSS_STATUS_NOTFOUND.
58733
58734 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58735
58736 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58738
58739 2014-01-01 Allan McRae <allan@archlinux.org>
58740
58741 * scripts/update-copyrights: Update configure input file suffix.
58742
58743 * NEWS: Update copyright year.
58744 * catgets/gencat.c: Likewise.
58745 * csu/version.c: Likewise.
58746 * debug/catchsegv.sh: Likewise.
58747 * debug/pcprofiledump.c: Likewise.
58748 * debug/xtrace.sh: Likewise.
58749 * elf/ldconfig.c: Likewise.
58750 * elf/ldd.bash.in: Likewise.
58751 * elf/pldd.c: Likewise.
58752 * elf/sotruss.ksh: Likewise.
58753 * elf/sprof.c: Likewise.
58754 * iconv/iconv_prog.c: Likewise.
58755 * iconv/iconvconfig.c: Likewise.
58756 * locale/programs/locale.c: Likewise.
58757 * locale/programs/localedef.c: Likewise.
58758 * login/programs/pt_chown.c: Likewise.
58759 * malloc/memusage.sh: Likewise.
58760 * malloc/memusagestat.c: Likewise.
58761 * malloc/mtrace.pl: Likewise.
58762 * manual/libc.texinfo: Likewise.
58763 * nscd/nscd.c: Likewise.
58764 * nss/getent.c: Likewise.
58765 * nss/makedb.c: Likewise.
58766 * posix/getconf.c: Likewise.
58767 * scripts/test-installation.pl: Likewise.
58768
58769 * All files with FSF copyright notices: Update copyright dates
58770 using scripts/update-copyrights.
58771 * intl/plural.c: Regenerated.
58772 * locale/programs/charmap-kw.h: Likewise.
58773 * locale/programs/locfile-kw.h: Likewise.
58774
58775 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58776
58777 * sysdeps/unix/sysv/linux/configure: Regenerated.
58778 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58779 the linux/fanotify.h header.
58780 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58781 HAVE_LINUX_FANOTIFY_H is defined.
58782
58783 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58784
58785 * benchtests/cos-inputs: New inputs.
58786 * benchtests/sin-inputs: Likewise.
58787
58788 * benchtests/atan-inputs: New inputs. Fix name of multiple
58789 precision fallback inputs.
58790
58791 * benchtests/atanh-inputs: New inputs.
58792 * benchtests/tanh-inputs: Likewise.
58793
58794 * benchtests/acosh-inputs: New inputs.
58795 * benchtests/asinh-inputs: Likewise.
58796
58797 * benchtests/cosh-inputs: New inputs.
58798 * benchtests/sinh-inputs: Likewise.
58799
58800 * benchtests/acos-inputs: Add more inputs.
58801 * benchtests/asin-inputs: Likewise.
58802
58803 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58804
58805 [BZ #16375]
58806 * manual/arith.texi: Fix spelling.
58807 * manual/charset.texi: Likewise.
58808 * manual/errno.texi: Likewise.
58809 * manual/filesys.texi: Likewise.
58810 * manual/lang.texi: Likewise.
58811 * manual/llio.texi: Likewise.
58812 * manual/locale.texi: Likewise.
58813 * manual/message.texi: Likewise.
58814 * manual/resource.texi: Likewise.
58815 * manual/search.texi: Likewise.
58816 * manual/setjmp.texi: Likewise.
58817 * manual/stdio.texi: Likewise.
58818 * manual/string.texi: Likewise.
58819 * manual/sysinfo.texi: Likewise.
58820 * manual/time.texi: Likewise.
58821
58822 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58823
58824 * po/sl.po: New file.
58825
58826 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58827
58828 * .gitignore: Add core/.gdbinit/.gdb_history.
58829
58830 2013-12-27 Allan McRae <allan@archlinux.org>
58831
58832 [BZ #16369]
58833 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58834 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58835
58836 2013-12-24 Brooks Moses <bmoses@google.com>
58837
58838 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58839 all compilers that claim C++98 compliance, not just GCC.
58840 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58841 Likewise.
58842
58843 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58844
58845 * NEWS: Restore accidentally deleted bug-fix entries.
58846
58847 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58848 Ondřej Bílka <neleai@seznam.cz>
58849
58850 [BZ #15073]
58851 * malloc/malloc.c (_int_free): Perform sanity check only if we
58852 have_lock.
58853
58854 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58855
58856 [BZ #12986]
58857 * manual/stdio.texi (String Input Conversions): Clarify that character
58858 classes are not supported.
58859
58860 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58861
58862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58863
58864 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58865
58866 [BZ #16337]
58867 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58868 Calculate results for small negative arguments directly rather
58869 than using reflection formula with special underflow handling.
58870
58871 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58872 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58873 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58874 (fchflags): Likewise.
58875 (revoke): Likewise.
58876 (setlogin): Likewise.
58877 (sigaltstack): Likewise.
58878 (wait4): Likewise.
58879 (sigblock): Remove.
58880 (sigsetmask): Likewise.
58881 (wait3): Likewise.
58882 (waitpid): Likewise.
58883 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58884 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58885 file.
58886 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58887 * sysdeps/unix/bsd/Makefile: ... here.
58888 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58889 * sysdeps/unix/bsd/Versions: ... here.
58890 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58891 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58892 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58893 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58894 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58895 * sysdeps/unix/bsd/sigblock.c: ... here.
58896 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58897 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58898 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58899 * sysdeps/unix/bsd/sigvec.c: ... here.
58900 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58901 * sysdeps/unix/bsd/tcdrain.c: ... here.
58902 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58903 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58904 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58905 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58906 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58907 * sysdeps/unix/bsd/wait.c: ... here.
58908 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58909 * sysdeps/unix/bsd/wait3.c: ... here.
58910 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58911 * sysdeps/unix/bsd/waitpid.c: ... here.
58912
58913 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58914
58915 [BZ #16356]
58916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58917 round-to-nearest for [!USE_AS_EXPM1L].
58918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58919 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58920 more tests of exp and exp10. Expect some exp10 tests to miss
58921 exceptions or fail in directed rounding modes.
58922 * math/auto-libm-test-out: Regenerated.
58923 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58924 (exp10_test_tonearest): New function.
58925 (exp10_towardzero_test_data): New array.
58926 (exp10_test_towardzero): New function.
58927 (exp10_downward_test_data): New array.
58928 (exp10_test_downward): New function.
58929 (exp10_upward_test_data): New array.
58930 (exp10_test_upward): New function.
58931 (main): Call the new functions.
58932 * sysdeps/i386/fpu/libm-test-ulps: Update.
58933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58934
58935 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58936
58937 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58938 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58939 * math/auto-libm-test-out: Regenerated.
58940 * math/libm-test.inc (acosh_test_data): Add more tests.
58941 (atanh_test_data): Likewise.
58942 (ceil_test_data): Likewise.
58943 (copysign_test_data): Likewise.
58944 * sysdeps/i386/fpu/libm-test-ulps: Update.
58945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58946
58947 * timezone/checktab.awk: Update from tzcode 2013i.
58948 * timezone/private.h: Likewise.
58949 * timezone/scheck.c: Likewise.
58950 * timezone/tzfile.h: Likewise.
58951 * timezone/tzselect.ksh: Likewise.
58952 * timezone/zdump.c: Likewise.
58953 * timezone/zic.c: Likewise.
58954
58955 * math/auto-libm-test-in: Add tests of cpow.
58956 * math/auto-libm-test-out: Regenerated.
58957 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58958 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58959 mpc_cc_c.
58960 (func_calc_desc): Add mpc_cc_c union field.
58961 (test_functions): Add cpow.
58962 (special_fill_2pi): New function.
58963 (special_real_inputs): Add 2pi.
58964 (calc_generic_results): Handle mpc_cc_c.
58965 * sysdeps/i386/fpu/libm-test-ulps: Update.
58966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58967
58968 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58969 csqrt, ctan and ctanh.
58970 * math/auto-libm-test-out: Regenerated.
58971 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58972 (TEST_COND_x86): Likewise.
58973 (ccos_test_data): Use AUTO_TESTS_c_c.
58974 (ccosh_test_data): Likewise.
58975 (cexp_test_data): Likewise.
58976 (clog_test_data): Likewise.
58977 (csqrt_test_data): Likewise.
58978 (ctan_test_data): Likewise.
58979 (ctan_tonearest_test_data): Likewise.
58980 (ctan_towardzero_test_data): Likewise.
58981 (ctan_downward_test_data): Likewise.
58982 (ctan_upward_test_data): Likewise.
58983 (ctanh_test_data): Likewise.
58984 (ctanh_tonearest_test_data): Likewise.
58985 (ctanh_towardzero_test_data): Likewise.
58986 (ctanh_downward_test_data): Likewise.
58987 (ctanh_upward_test_data): Likewise.
58988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58989 mpc_c_c.
58990 (func_calc_desc): Add mpc_c_c union field.
58991 (FUNC_mpc_c_c): New macro.
58992 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58993 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58994 ctanh.
58995 (special_fill_min_subnorm_p120): New function.
58996 (special_real_inputs): Add min_subnorm_p120.
58997 (calc_generic_results): Handle mpc_c_c.
58998 * sysdeps/i386/fpu/libm-test-ulps: Update.
58999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59000
59001 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59002
59003 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
59004 (do_sin_slow): New functions.
59005 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
59006 (cslow2, csloww1, csloww2): Use the new functions.
59007
59008 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
59009 Use M to change sign of result instead of X. Assume X is
59010 positive.
59011 (csloww1): Likewise.
59012 (__sin): Adjust.
59013 (__cos): Adjust.
59014
59015 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
59016 arguments A and DA.
59017 (__sin): Adjust.
59018 (__cos): Likewise.
59019
59020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
59021 (__cos): Likewise.
59022 (sloww1): Don't adjust sign of DX.
59023 (csloww1): Likewise.
59024 (sloww2): Use X directly and don't adjust sign of DX.
59025 (csloww2): Likewise.
59026
59027 2013-12-19 Joseph Myers <joseph@codesourcery.com>
59028
59029 * math/auto-libm-test-in: Add tests of cabs and carg.
59030 * math/auto-libm-test-out: Regenerated.
59031 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
59032 (carg_test_data): Likewise.
59033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59034 mpc_c_f.
59035 (func_calc_desc): Add mpc_c_f union field.
59036 (test_functions): Add cabs and carg.
59037 (calc_generic_results): Handle mpc_c_f.
59038
59039 * sysdeps/powerpc/powerpc32/libgcc-compat.S
59040 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
59041 as a macro and a compat symbol.
59042 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
59043 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
59044 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
59045 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
59046 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
59047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
59048 not use .hidden.
59049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
59050 Likewise.
59051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
59052 Likewise.
59053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
59054 Likewise.
59055 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
59056 Likewise.
59057 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
59058 Likewise.
59059 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
59060 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
59061 from GLIBC_2.3.2.
59062
59063 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59064
59065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59066
59067 2013-12-19 Joseph Myers <joseph@codesourcery.com>
59068
59069 * manual/texinfo.tex: Update to version 2013-11-26.10 with
59070 trailing whitespace removed.
59071 * scripts/config.guess: Update to version 2013-11-29.
59072 * scripts/config.sub: Update to version 2013-10-01.
59073
59074 * math/auto-libm-test-in: Add tests of sincos.
59075 * math/auto-libm-test-out: Regenerated.
59076 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
59077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59078 mpfr_f_11.
59079 (func_calc_desc): Add mpfr_f_11 union field.
59080 (test_functions): Add sincos.
59081 (calc_generic_results): Handle mpfr_f_11.
59082 * sysdeps/i386/fpu/libm-test-ulps: Update.
59083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59084
59085 2013-12-19 Andreas Schwab <schwab@suse.de>
59086
59087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
59088 CALL_MCOUNT.
59089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59090 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
59091 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
59092
59093 2013-12-19 Joseph Myers <joseph@codesourcery.com>
59094
59095 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
59096 * sysdeps/i386/fpu/libm-test-ulps: Update.
59097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59098
59099 [BZ #16293]
59100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
59101 round-to-nearest mode when using frndint.
59102 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
59103 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
59105 Likewise.
59106 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
59107 sinh test to fail.
59108 * math/auto-libm-test-out: Regenerated.
59109 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
59110 (TEST_COND_x86): Likewise.
59111 (expm1_tonearest_test_data): New array.
59112 (expm1_test_tonearest): New function.
59113 (expm1_towardzero_test_data): New array.
59114 (expm1_test_towardzero): New function.
59115 (expm1_downward_test_data): New array.
59116 (expm1_test_downward): New function.
59117 (expm1_upward_test_data): New array.
59118 (expm1_test_upward): New function.
59119 (main): Run the new test functions.
59120 * sysdeps/i386/fpu/libm-test-ulps: Update.
59121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59122
59123 * include/features.h: Update comment documenting feature test
59124 macros. Mention _DEFAULT_SOURCE in comment.
59125 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
59126 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
59127 _BSD_SOURCE and _SVID_SOURCE.
59128 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
59129 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
59130 !_SVID_SOURCE]: Likewise.
59131 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59132 (__USE_POSIX_IMPLICITLY): Define.
59133 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59134 (_POSIX_SOURCE): Undefine and redefine.
59135 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59136 (_POSIX_C_SOURCE): Likewise.
59137 * manual/creature.texi (_DEFAULT_SOURCE): Document.
59138 (Feature Test Macros): Update documentation of default features.
59139
59140 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
59141
59142 * benchtests/Makefile: Add bench-strtok.
59143 * benchtests/bench-strtok.c: New file: strtok benchtest.
59144
59145 2013-12-19 Allan McRae <allan@archlinux.org>
59146
59147 * manual/install.texi: Suppress menu for plain text output.
59148 * INSTALL: Regenerated.
59149
59150 2013-12-18 Brooks Moses <bmoses@google.com>
59151
59152 [BZ #15846]
59153 * misc/getauxval.c: Include errno.h.
59154 (__getauxval): Set errno to ENOENT if the requested type is not
59155 found.
59156 * misc/sys/auxv.h (getauxval): Document that it may set errno;
59157 don't declare with __attribute_const__.
59158 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59159 * manual/startup.texi: Document that getauxval sets errno.
59160
59161 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59162
59163 * math/auto-libm-test-in: Add tests of jn and yn.
59164 * math/auto-libm-test-out: Regenerated.
59165 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59166 (yn_test_data): Likewise.
59167 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59168 mpfr_if_f.
59169 (func_calc_desc): Add mpfr_if_f union field.
59170 (FUNC_mpfr_if_f): New macro.
59171 (test_functions): Add jn and yn.
59172 (calc_generic_results): Assert type of second input for
59173 mpfr_ff_f. Handle mpfr_if_f.
59174 (output_for_one_input_case): Disable all checking for arguments
59175 fitting floating-point types in case of an integer argument.
59176 * sysdeps/i386/fpu/libm-test-ulps: Update.
59177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59178
59179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59180 Don't expect fegetround reference in libm.so.
59181
59182 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59183
59184 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59185 $(config-cflags-nofma).
59186
59187 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59188
59189 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59190 * math/auto-libm-test-out: Regenerated.
59191
59192 [BZ #16338]
59193 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59194 to determine exponent and adjust argument to have exponent of -1.
59195 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59196 log2.
59197 * math/auto-libm-test-out: Regenerated.
59198 * sysdeps/i386/fpu/libm-test-ulps: Update.
59199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59200
59201 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
59202
59203 * manual/probes.texi: Remove cases when per-thread arenas are
59204 disabled.
59205
59206 2013-12-18 Andreas Schwab <schwab@suse.de>
59207
59208 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59209 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59210 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59211 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59212 * sysdeps/i386/i686/multiarch/Makefile: Update.
59213 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59214
59215 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59216
59217 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59218 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59219
59220 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
59221
59222 [BZ #15968]
59223 Support TZ transition times < 00:00:00.
59224 This is needed for version-3 tz-format files; it supports time
59225 stamps past 2037 for America/Godthab (the only entry in the tz
59226 database for which this change is relevant).
59227 * manual/time.texi (TZ Variable): Document transition times
59228 from -167:59:59 through -00:00:01.
59229 * time/tzset.c (tz_rule): Time of day is now signed.
59230 (__tzset_parse_tz): Parse negative time of day.
59231
59232 Document TZ transition times >= 25:00:00.
59233 * manual/time.texi (TZ Variable): Document transition times from
59234 25:00:00 through 167:59:59. These are already supported, and this
59235 support will help with version-3 tz-format files.
59236
59237 * manual/time.texi (TZ Variable): Modernize North America example
59238 to reflect current (i.e., 2007-and-later) daylight saving rules.
59239
59240 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59241
59242 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59243
59244 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59245 * sysdeps/unix/bsd/bits/stat.h: Likewise.
59246 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59248 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59249 * sysdeps/unix/bsd/bsdstat.h: Likewise.
59250 * sysdeps/unix/bsd/clock.c: Likewise.
59251 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59252 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59253 * sysdeps/unix/bsd/init-posix.c: Likewise.
59254 * sysdeps/unix/bsd/poll.c: Likewise.
59255 * sysdeps/unix/bsd/ptsname.c: Likewise.
59256 * sysdeps/unix/bsd/seekdir.c: Likewise.
59257 * sysdeps/unix/bsd/setegid.c: Likewise.
59258 * sysdeps/unix/bsd/seteuid.c: Likewise.
59259 * sysdeps/unix/bsd/setgid.c: Likewise.
59260 * sysdeps/unix/bsd/setrgid.c: Likewise.
59261 * sysdeps/unix/bsd/setruid.c: Likewise.
59262 * sysdeps/unix/bsd/setsid.c: Likewise.
59263 * sysdeps/unix/bsd/setuid.c: Likewise.
59264 * sysdeps/unix/bsd/sigaction.c: Likewise.
59265 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59266 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59267 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59268 * sysdeps/unix/bsd/telldir.c: Likewise.
59269 * sysdeps/unix/bsd/times.c: Likewise.
59270 * sysdeps/unix/bsd/usleep.c: Likewise.
59271
59272 * misc/Makefile (install-lib): Remove libbsd-compat.a.
59273 ($(objpfx)libbsd-compat.a): Remove rule.
59274
59275 * include/features.h (__FAVOR_BSD): Do not define.
59276 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59277 features conflicting with POSIX.
59278 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59279 (_BSD_SOURCE): Remove description of not being a subset of other
59280 feature test macros.
59281 * manual/job.texi (getpgrp): Do not document BSD version.
59282 (getpgid): Do not document by reference to BSD getpgrp.
59283 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59284 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59285 * signal/signal.h [__FAVOR_BSD]: Likewise.
59286 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59287 instead of making contents conditional on [__FAVOR_BSD].
59288 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59289
59290 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59291
59292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59293
59294 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59295
59296 [BZ #16314]
59297 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59298 values below 2**-450, not 2**-500.
59299 * math/auto-libm-test-in: Don't allow spurious underflow from
59300 hypot.
59301 * math/auto-libm-test-out: Regenerated.
59302
59303 [BZ #16316]
59304 [BZ #16330]
59305 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59306 values of ha and hb and sort them after adjusting subnormal
59307 arguments.
59308 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59309 Likewise.
59310 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59311 values of ea and eb and sort them after adjusting subnormal
59312 arguments.
59313 * math/auto-libm-test-in: Do not expect some hypot tests of
59314 subnormals to fail. Add more hypot tests.
59315 * math/auto-libm-test-out: Regenerated.
59316
59317 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59318
59319 [BZ #13304]
59320 * sysdeps/sh/s_fma.c: New file.
59321 * sysdeps/sh/s_fmaf.c: New file.
59322 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
59323 version.
59324 * sysdeps/sh/Implies: Add sh/soft-fp.
59325
59326 2013-12-16 Roland McGrath <roland@hack.frob.com>
59327
59328 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
59329 level of indirection to members `objname', `errstring', `malloced'.
59330 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59331 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
59332 it as the __longjmp argument (just pass 1 instead).
59333 (_dl_catch_error): Initialize C with argument pointers and address of
59334 volatile local ERRCODE rather than copying values out of C at return.
59335
59336 2013-12-16 Joseph Myers <joseph@codesourcery.com>
59337
59338 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59339 * math/auto-libm-test-out: Regenerated.
59340 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59341 (hypot_test_data): Likewise.
59342 (pow_test_data): Likewise.
59343 (pow_tonearest_test_data): Likewise.
59344 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59345 mpfr_ff_f.
59346 (func_calc_desc): Add mpfr_ff_f union field.
59347 (FUNC_mpfr_ff_f): New macro.
59348 (test_functions): Add atan2, hypot and pow.
59349 (special_fill_min): New function.
59350 (special_fill_minus_min): Likewise.
59351 (special_fill_min_subnorm): Likewise.
59352 (special_fill_minus_min_subnorm): Likewise.
59353 (special_real_inputs): Add min, -min, min_subnorm and
59354 -min_subnorm.
59355 (calc_generic_results): Handle mpfr_ff_f.
59356 * sysdeps/i386/fpu/libm-test-ulps: Update.
59357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59358
59359 2013-12-16 Will Newton <will.newton@linaro.org>
59360
59361 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59362 (Aligned Memory Blocks): Add documentation for aligned_alloc
59363 and suggest it as an alternative to posix_memalign.
59364 (Hooks for Malloc): Document __memalign_hook is also called
59365 for aligned_alloc. (Summary of Malloc): Add summary for
59366 aligned alloc. Document __memalign_hook is also called
59367 for aligned_alloc.
59368
59369 2013-12-16 Will Newton <will.newton@linaro.org>
59370
59371 * manual/memory.texi (Malloc Examples): Clarify default
59372 alignment documentation. Suggest posix_memalign rather
59373 than memalign or valloc.
59374 (Aligned Memory Blocks): Remove suggestion to use memalign
59375 or valloc. Remove obsolete comment about BSD.
59376 Document memalign errno values and mark the function obsolete.
59377 Document posix_memalign returned error codes. Mark valloc
59378 as obsolete. (Hooks for Malloc): __memalign_hook is also
59379 called for posix_memalign and valloc.
59380 (Summary of Malloc): Add posix_memalign to function summary.
59381 __memalign_hook is also called for posix_memalign and valloc.
59382
59383 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59384
59385 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59386 TAYLOR_SIN.
59387 (__sin): Adjust.
59388 (__cos): Likewise.
59389 (sloww): Use mynumber union. Expand ternary operator into
59390 if-else statements.
59391 (cslow): use mynumber union.
59392
59393 2013-12-16 Allan McRae <allan@archlinux.org>
59394
59395 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59396 * configure: Regenerated.
59397
59398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59399
59400 [BZ #14120]
59401 * configure.ac: Added --enable-maintainer-mode. Check for
59402 autoconf when enabled.
59403 * configure: Regenerated.
59404
59405 * nscd/nscd.service: New file.
59406 * nscd/nscd.tmpfiles: New file.
59407
59408 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
59409
59410 [BZ #12100]
59411 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59412 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59413 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59414 (strstr): Add __strstr_sse2_unaligned ifunc.
59415 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59416 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59417 (strcasestr): Remove __strcasestr_sse42 ifunc.
59418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59421
59422 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59423
59424 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59425 * sysdeps/sh/bits/fenv.h: ... here.
59426 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59427
59428 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59429
59430 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59431
59432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59433 hypotf multiarch implementations.
59434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59437 multiarch hypot for PPC64.
59438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59441 multiarch hypotf for PPC64.
59442
59443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59444 modff multiarch implementations.
59445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59448 multiarch modf for PPC64.
59449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59452 multiarch modff for PPC64.
59453
59454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59455 and logl multiarch implementations.
59456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59459 multiarch logb for PPC64.
59460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59463 multiarch logb for PPC64.
59464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59467 multiarch logb for PPC64.
59468
59469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59470 isinff multiarch implementation.
59471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59472 file.
59473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59475 multiarch isinf for PPC64.
59476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59477 file.
59478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59479 multiarch isinff for PPC64.
59480
59481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59482 finitef multiarch implementation.
59483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59484 file.
59485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59487 multiarch finite for PPC64.
59488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59489 file.
59490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59491 multiarch finitef for PPC64.
59492
59493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59494 lrint multiarch implementation.
59495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59496 file.
59497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59499 multiarch llrint for PPC64.
59500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59501 multiarch lrint for PPC64.
59502
59503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59504 copysignf multiarch implementation.
59505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59506 file.
59507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59508 file.
59509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59510 multiarch copysign for PPC64.
59511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59512 multiarch copysignf for PPC64.
59513
59514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59515 multiarch implementation.
59516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59517 file.
59518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59519 file.
59520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59521 file.
59522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59523 file.
59524 multiarch llround for PPC64.
59525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59526 multiarch trunc for PPC64.
59527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59528 multiarch truncf for PPC64.
59529
59530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59531 multiarch implementation.
59532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59533 file.
59534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59535 file.
59536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59537 file.
59538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59539 file.
59540 multiarch llround for PPC64.
59541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59542 multiarch round for PPC64.
59543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59544 multiarch roundf for PPC64.
59545
59546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59547 multiarch implementation.
59548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59549 file.
59550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59551 file.
59552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59553 file.
59554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59555 file.
59556 multiarch llround for PPC64.
59557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59558 multiarch floor for PPC64.
59559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59560 multiarch floorf for PPC64.
59561
59562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59563 multiarch implementation.
59564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59565 file.
59566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59567 file.
59568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59569 file.
59570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59571 file.
59572 multiarch llround for PPC64.
59573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59574 multiarch ceil for PPC64.
59575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59576 multiarch ceilf for PPC64.
59577
59578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59579 multiarch implementation.
59580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59581 file.
59582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59583 file.
59584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59585 file.
59586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59587 multiarch llround for PPC64.
59588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59589 multiarch lround for PPC64.
59590
59591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59592 multiarch implementation.
59593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59596 file.
59597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59600 multiarch isnan for PPC64.
59601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59602 multiarch isnanf for PPC64.
59603
59604 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59605 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59606 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59607 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59608 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59610
59611 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59612 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59615
59616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59617 multiarch implementations.
59618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59619 (__libc_ifunc_impl_list): Likewise.
59620 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59621 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59622 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59623 multiarch stpcpy for PPC64.
59624
59625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59626 multiarch implementations.
59627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59628 (__libc_ifunc_impl_list): Likewise.
59629 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59630 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59631 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59632 multiarch strcpy for PPC64.
59633
59634 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59635 redefine function name.
59636 (_wordcopy_fwd_dest_aligned): Likewise.
59637 (_wordcopy_bwd_aligned): Likewise.
59638 (_wordcopy_bwd_dest_aligned): Likewise.
59639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59640 multiarch implementations.
59641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59642 (__libc_ifunc_impl_list): Likewise.
59643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59646 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59647 multiarch wcscpy for PPC64.
59648
59649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59650 multiarch implementations.
59651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59652 (__libc_ifunc_impl_list): Likewise.
59653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59656 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59657 multiarch wcscpy for PPC64.
59658
59659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59660 multiarch implementations.
59661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59662 (__libc_ifunc_impl_list): Likewise.
59663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59664 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59666 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59667 multiarch wcsrchr for PPC64.
59668
59669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59670 multiarch implementations.
59671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59672 (__libc_ifunc_impl_list): Likewise.
59673 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59674 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59675 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59676 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59677 multiarch wcschr for PPC64.
59678
59679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59680 multiarch implementations.
59681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59682 (__libc_ifunc_impl_list): Likewise.
59683 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59684 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59685 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59686 multiarch strchrnul for PPC64.
59687
59688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59689 implementations.
59690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59691 (__libc_ifunc_impl_list): Likewise.
59692 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59693 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59694 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59695 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59696 strchr for PPC64.
59697
59698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59699 implementations.
59700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59701 (__libc_ifunc_impl_list): Likewise.
59702 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59703 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59704 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59705 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59706 strncmp for PPC64.
59707
59708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59709 multiarch implementations.
59710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59711 (__libc_ifunc_impl_list): Likewise.
59712 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59713 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59714 strncasecmp for PPC64.
59715 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59716 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59717 multiarch strncasecmp_l for PPC64.
59718
59719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59720 multiarch implementations.
59721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59722 (__libc_ifunc_impl_list): Likewise.
59723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59725 multiarch strcasecmp for PPC64.
59726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59727 file.
59728 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59729 multiarch strcasecmp_l for PPC64.
59730
59731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59732 implementations.
59733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59734 (__libc_ifunc_impl_list): Likewise.
59735 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59736 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59737 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59738 strnlen for PPC64.
59739
59740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59741 implementations.
59742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59743 (__libc_ifunc_impl_list): Likewise.
59744 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59745 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59746 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59747 strlen for PPC64.
59748
59749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59750 implementations.
59751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59752 (__libc_ifunc_impl_list): Likewise.
59753 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59754 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59755 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59756 rawmemrchr for PPC64.
59757
59758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59759 implementation.
59760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59761 (__libc_ifunc_impl_list): Likewise.
59762 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59763 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59764 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59765 memrchr for PPC64.
59766
59767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59768 implementation.
59769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59770 (__libc_ifunc_impl_list): Likewise.
59771 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59772 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59773 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59774 memchr for PPC64.
59775
59776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59777 implementation.
59778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59779 (__libc_ifunc_impl_list): Likewise.
59780 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59781 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59782 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59783 mempcpy for PPC64.
59784
59785 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59786 avoid cretion of __bzero symbol.
59787 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59788 Likewise.
59789 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59790 Likewise.
59791 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59792 Likewise.
59793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59794 multiarch implementations.
59795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59796 (__libc_ifunc_impl_list): Likewise.
59797 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59798 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59799 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59800 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59801 bzero for PPC32.
59802 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59803 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59804 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59805 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59806 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59807 memset for PPC64.
59808 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59809
59810 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59812 implementations.
59813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59814 (__libc_ifunc_impl_list): Likewise.
59815 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59816 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59818 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59819 memcmp for PPC64.
59820
59821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59822 multiarch for POWER/PPC64.
59823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59824 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59829 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59831 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59832 memcpy for PPC64.
59833
59834 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59835 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59836 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59837 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59838 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59839 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59841 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59842 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59843 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59844 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59845 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59846 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59847 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59848 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59856
59857 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59858
59859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59860
59861 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59862
59863 * benchtests/Makefile (bench): Add exp2 and log2.
59864 (LDLIBS-bench-exp2): Add -lm.
59865 (LDLIBS-bench-log2): Likewise.
59866 * benchtests/exp2-inputs: New inputs file.
59867 * benchtests/log2-inputs: New inputs file.
59868 * benchtests/log-inputs: Add new inputs.
59869 * benchtests/tan-inputs: Likewise.
59870
59871 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59872
59873 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59874 definition...
59875 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59876 (csloww2): ... from here.
59877
59878 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59879 instead of structures.
59880 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59881 (POLYNOMIAL): Likewise.
59882 (TAYLOR_SLOW): Likewise.
59883 (__sin): Likewise.
59884 (__cos): Likewise.
59885 (slow1): Likewise.
59886 (slow2): Likewise.
59887 (sloww): Likewise.
59888 (sloww1); Likewise.
59889 (sloww2): Likewise.
59890 (bsloww1): Likewise.
59891 (bsloww2): Likewise.
59892 (cslow2): Likewise.
59893 (csloww): Likewise.
59894 (csloww1): Likewise.
59895 (csloww2): Likewise.
59896
59897 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59898
59899 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59900 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59901 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59902 * malloc/hooks.c (realloc_check): Likewise.
59903
59904 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59905 * malloc/arena.c: Remove PER_THREAD conditional.
59906 [!PER_THREAD]: Remove code.
59907 (ptmalloc_unlock_all2): Likewise.
59908 (ptmalloc_init): Likewise.
59909 (_int_new_arena): Likewise.
59910 (arena_get2): Likewise.
59911 * malloc/hooks.c (__malloc_get_state): Likewise.
59912 (__malloc_set_state): Likewise.
59913 * malloc/malloc.c: Likewise.
59914 (struct malloc_state): Likewise.
59915 (struct malloc_par): Likewise.
59916 (__libc_realloc): Likewise.
59917 (__libc_mallopt): Likewise.
59918
59919 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59920
59921 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59922
59923 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59924
59925 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59926 macro to a function. Check for zero perturb_byte.
59927 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59928
59929 * malloc/malloc.c: (force_reg): Remove.
59930 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59931 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59932 force_reg by atomic_forced_read.
59933 * malloc/arena.c (ptmalloc_init): Likewise.
59934 * malloc/hooks.c (top_check): Likewise.
59935
59936 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59937
59938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59939
59940 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59941
59942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59943
59944 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59945
59946 * math/auto-libm-test-in: Add tests of lgamma.
59947 * math/auto-libm-test-out: Regenerated.
59948 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59949 (M_LOG_2_SQRT_PIl): Likewise.
59950 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59952 mpfr_f_f1.
59953 (func_calc_desc): Add mpfr_f_f1 union field.
59954 (ARGS1): New macro.
59955 (ARGS2): Likewise.
59956 (ARGS3): Likewise.
59957 (ARGS4): Likewise.
59958 (RET1): Likewise.
59959 (RET2): Likewise.
59960 (CALC): Likewise.
59961 (FUNC): Likewise.
59962 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59963 (test_functions): Add lgamma.
59964 (calc_generic_results): Handle mpfr_f_f1.
59965 * sysdeps/i386/fpu/libm-test-ulps: Update.
59966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59967
59968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59969
59970 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59971 __mpn_add_n for PowerPC64/POWER7.
59972 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59973 __mpn_sub_n for PowerPC64/POWER7.
59974
59975 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59976 __mpn_addmul_1 for PowerPC64.
59977 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59978 __mpn_submul_1 for PowerPC64.
59979 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59980 for PowerPC64.
59981 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59982 for PowerPC64.
59983
59984 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59985
59986 [BZ #15089]
59987 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59988
59989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59990
59991 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59992
59993 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59994 add multiarch folders.
59995 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59996 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59997 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59998 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59999 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
60000 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
60001 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
60002 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
60003 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
60004 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
60005 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
60006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
60007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
60008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
60009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
60010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
60011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
60012
60013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60014 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
60015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
60016 New file.
60017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
60018 New file.
60019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
60020 multiarch __ieee754_hypot for PowerPC32.
60021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
60022 New file.
60023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
60024 New file.
60025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
60026 multiarch __ieee754_hypotf for PowerPC32.
60027
60028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
60029 long_double_symbol only if __logbl is defined.
60030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
60031 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
60032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
60033 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
60034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
60035 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
60036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
60037 path for implementation.
60038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
60039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
60040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
60041 logb, and logbl multiarch implementations for PowerPC32.
60042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
60043 file.
60044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
60045 file.
60046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
60047 multiarch logb for PowerPC32.
60048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
60049 file.
60050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
60051 file.
60052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
60053 multiarch logbf for PowerPC32.
60054 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
60055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
60056 file.
60057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
60058 multiarch logbl implementation for PowerPC32.
60059
60060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
60061 and modff multiarch implementations.
60062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
60063 New file.
60064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
60065 New file.
60066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
60067 multiarch modf for PowerPC32.
60068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
60069 New file.
60070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
60071 New file.
60072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
60073 multiarch modff for PowerPC32.
60074
60075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
60076 and lrintf multiarch implementations.
60077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
60078 New file.
60079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
60080 New file.
60081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
60082 multiarch lrint for PowerPC32.
60083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
60084 file: multiarch lrintf for PowerPC32.
60085
60086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
60087 and lroundf multiarch implementations.
60088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
60089 New file.
60090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
60091 New file.
60092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
60093 New file.
60094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
60095 multiarch lround for PowerPC32.
60096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
60097 file: multiarch lroundf for PowerPC32.
60098
60099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60100 copysign and copysignf multiarch implementations.
60101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
60102 New file.
60103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
60104 New file.
60105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
60106 file: multiarch copysign for PowerPC32.
60107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
60108 file: multiarch copysignf for PowerPC32.
60109
60110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
60111 and truncf multiarch implementations.
60112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
60113 New file.
60114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
60115 file.
60116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
60117 multiarch trunc for PowerPC32.
60118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
60119 New file.
60120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
60121 New file.
60122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
60123 multiarch truncf for PowerPC32.
60124
60125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
60126 and roundf multiarch implementations.
60127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
60128 New file.
60129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
60130 file.
60131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
60132 multiarch round for PowerPC32.
60133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
60134 New file.
60135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
60136 New file.
60137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
60138 multiarch roundf for PowerPC32.
60139
60140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
60141 and floorf multiarch implementations.
60142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
60143 New file.
60144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
60145 file.
60146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
60147 multiarch floor for PowerPC32.
60148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
60149 New file.
60150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60151 New file.
60152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60153 multiarch floorf for PowerPC32.
60154
60155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60156 and ceilf multiarch implementations.
60157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60158 New file.
60159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60160 file.
60161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60162 multiarch ceil for PowerPC32.
60163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60164 New file.
60165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60166 file.
60167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60168 multiarch ceilf for PowerPC32.
60169
60170 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60171 is defined.
60172 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60173 FINITEF is defined.
60174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60175 and finitef multiarch implementations.
60176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60177 New file.
60178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60179 file.
60180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60181 multiarch finite for PowerPC32.
60182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60183 New file.
60184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60185 file: multiarch finitef for PowerPC32.
60186
60187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60188 and isinff multiarch implementations.
60189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60190 file.
60191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60192 file.
60193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60194 multiarch isinf for PowerPC32.
60195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60196 New file.
60197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60198 multiarch isinff for PowerPC32.
60199
60200 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60201 alias when __isnan is defined.
60202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60203 and isnanf multiarch implementations.
60204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60205 file.
60206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60207 file.
60208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60209 file.
60210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60211 file.
60212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60213 multiarch isnan for PowerPC32.
60214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60215 New file.
60216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60217 New file.
60218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60219 multiarch isnanf for PowerPC32.
60220
60221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60222 and sqrtf multiarch implementations.
60223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60224 file.
60225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60226 file.
60227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60228 multiarch sqrt for PowerPC32.
60229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60230 file.
60231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60232 file.
60233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60234 multiarch sqrtf for PowerPC32.
60235
60236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60237 and llroundf multiarch implementations.
60238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60239 New file.
60240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60241 New file.
60242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60243 New file.
60244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60245 file: multiarch llround for PowerPC32.
60246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60247 file: multiarch llroundf for PowerPC32.
60248
60249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60250 multiarch PowerPC32 fpu implementations.
60251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60252 New file.
60253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60254 New file.
60255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60256 multiarch llrint for PowerPC32.
60257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60258 New file.
60259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60260 New file.
60261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60262 file.
60263
60264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60265
60266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60267 file.
60268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60269 file.
60270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60271 file.
60272 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60273 multiarch wordcopy for PPC32.
60274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60275 wordcopy objects.
60276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60277 (__libc_ifunc_impl_list): Likewise.
60278 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60279 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60281 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60283 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60284
60285 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60287 file.
60288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60289 file.
60290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60291 file.
60292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60293 multiarch wcscpy for PPC32.
60294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60295 multiarch objects.
60296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60297 (__libc_ifunc_impl_list): Likewise.
60298 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60299 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60300 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60301 sysdeps/powerpc/power6/wcscpy.c.
60302
60303 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60305 file.
60306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60307 file.
60308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60309 file.
60310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60311 multiarch wcsrchr for PPC32.
60312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60313 multiarch objects.
60314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60315 (__libc_ifunc_impl_list): Likewise.
60316 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60317 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60318 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60319 sysdeps/powerpc/power6/wcsrchr.c.
60320
60321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60322 file.
60323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60324 file.
60325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60327 multiarch wcschr for PPc32.
60328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60329 multiarch objects.
60330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60331 (__libc_ifunc_impl_list): Likewise.
60332 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60333 * sysdeps/powerpc/power6/wcschr.c: ... to here.
60334 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60335 sysdeps/powerpc/power6/wcschr.c.
60336
60337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60338 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60339 file.
60340 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60341 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60342 file: multiarch strchr for PPC32.
60343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60344 multiarch objects.
60345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60346 (__libc_ifunc_impl_list): Likewise.
60347
60348 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60349 name.
60350 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60351 file.
60352 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60353 file.
60354 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60355 multiarch strchrnul for PPC32.
60356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60357 multiarch objects.
60358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60359 (__libc_ifunc_impl_list): Likewise.
60360
60361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60362 file.
60363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60364 multiarch strncasecmp for PPC32.
60365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60366 file.
60367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60368 multiarch strncasecmp_l for PPC32.
60369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60370 strncasecmp multiarch objects.
60371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60372 (__libc_ifunc_impl_list): Likewise.
60373
60374 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60375 file.
60376 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60377 multiarch strncasecmp for PPC32.
60378 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60379 New file.
60380 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60381 multiarch strcasecmp_l for PPC32.
60382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
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/strncmp-power7.S: New
60388 file.
60389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60390 file.
60391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60392 multiarch strncmp for PPC32.
60393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60394 multiarch objects.
60395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60396 (__libc_ifunc_impl_list): Likewise.
60397
60398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60399 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60400 file.
60401 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60402 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60404 multiarch objects.
60405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60406 (__libc_ifunc_impl_list): Likewise.
60407
60408 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60409 file.
60410 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60411 file.
60412 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
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/rawmemchr-power7.S: New
60419 file.
60420 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60421 file.
60422 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60423 multiarch rawmemchr for PPC32.
60424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60425 multiarch objects.
60426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60427 (__libc_ifunc_impl_list): Likewise.
60428
60429 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60430 file.
60431 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60432 file.
60433 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60434 file: memrchr multiarch for PPC32.
60435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60436 multiarch objects.
60437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60438 (__libc_ifunc_impl_list): Likewise.
60439
60440 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60441 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60442 file.
60443 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60444 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60445 multiarch memchr for PPC32.
60446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60447 multiarch objects.
60448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60449 (__libc_ifunc_impl_list): Likewise.
60450
60451 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60452 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60453 file.
60454 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60455 file.
60456 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60457 file: multiarch mempcpy for PPC32.
60458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60459 multiarch objects.
60460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60461 (__libc_ifunc_impl_list): Likewise.
60462
60463 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60465 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60466 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60467 multiarch bzero for PPC32.
60468 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60469 file.
60470 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60471 file.
60472 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60473 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60474 file: multiarch memset for PPC32.
60475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60477 memset 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/memcmp-power7.S: New
60482 file.
60483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60485 memcmp for PPC32.
60486 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60488 multiarch objects.
60489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60490 (__libc_ifunc_impl_list): Likewise.
60491
60492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60495 file.
60496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60497 file.
60498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60499 file.
60500 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60501 multiarch memcpy for PPC32.
60502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60503 multiarch objects.
60504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60505 (__libc_ifunc_impl_list): Likewise.
60506
60507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60508 support multiarch for POWER/PPC32.
60509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60510 Likewise.
60511 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60513 Implies file to make multiarch folder appers before the fpu and
60514 default folder for power4 configuration.
60515
60516 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60517
60518 * scripts/bench.pl: Append volatile keyword to type.
60519
60520 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60521
60522 * sysdeps/sh/sotruss-lib.c: New file.
60523 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60524
60525 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60526
60527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60528
60529 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60530
60531 [BZ #6810]
60532 * math/w_tgamma.c: Include <errno.h>.
60533 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60534 * math/w_tgammaf.c: Include <errno.h>.
60535 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60536 * math/w_tgammal.c: Include <errno.h>.
60537 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60538 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60539 underflow. Add more tgamma tests.
60540 * math/auto-libm-test-out: Regenerated.
60541 * sysdeps/i386/fpu/libm-test-ulps: Update.
60542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60543
60544 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60545 sin, sinh, tan, tanh, tgamma, y0 and y1.
60546 * math/auto-libm-test-out: Regenerated.
60547 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60548 (TEST_COND_x86): Likewise.
60549 (M_E2l): Remove macro.
60550 (M_E3l): Likewise.
60551 (M_2_SQRT_PIl): Likewise.
60552 (M_SQRT_PIl): Likewise.
60553 (M_1_DIV_El): Likewise.
60554 (log_test_data): Use AUTO_TESTS_f_f.
60555 (log10_test_data): Likewise.
60556 (log1p_test_data): Likewise.
60557 (log2_test_data): Likewise.
60558 (sin_test_data): Likewise.
60559 (sin_tonearest_test_data): Likewise.
60560 (sin_towardzero_test_data): Likewise.
60561 (sin_downward_test_data): Likewise.
60562 (sin_upward_test_data): Likewise.
60563 (sinh_test_data): Likewise.
60564 (sinh_tonearest_test_data): Likewise.
60565 (sinh_towardzero_test_data): Likewise.
60566 (sinh_downward_test_data): Likewise.
60567 (sinh_upward_test_data): Likewise.
60568 (tan_test_data): Likewise.
60569 (tan_tonearest_test_data): Likewise.
60570 (tan_towardzero_test_data): Likewise.
60571 (tan_downward_test_data): Likewise.
60572 (tan_upward_test_data): Likewise.
60573 (tanh_test_data): Likewise.
60574 (tgamma_test_data): Likewise.
60575 (y0_test_data): Likewise.
60576 (y1_test_data): Likewise.
60577 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60578 (special_real_inputs): Add pi/4.
60579 * sysdeps/i386/fpu/libm-test-ulps: Update.
60580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60581
60582 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60583
60584 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60585 "longjmp_target" static probes.
60586 (__longjmp): Rename to __longjmp_symbol.
60587 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60588 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60589 on which longjmp to generate.
60590 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60592 probe.
60593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60594 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60595 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60596 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60597 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60598 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60600 __longjmp_symbol based on which __longjmp to generate.
60601 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60602 probe.
60603 (setjmp): Rename to setjmp_symbol.
60604 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60605 (_setjmp): Rename to _setjmp_symbol.
60606 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60607 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60608 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60609 which setjmp to generate.
60610 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60611 "longjmp_target" static probes.
60612
60613 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60614
60615 * benchtests/README: Add note about output arguments.
60616 * benchtests/bench-sincos.c: Remove file.
60617 * benchtests/sincos-inputs: New file.
60618 * scripts/bench.pl: Identify output arguments and define
60619 static variables for them.
60620
60621 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60622
60623 [BZ #15941]
60624 * Makefile (INSTALL): Add install-plain.texi as the primary
60625 dependency.
60626 * manual/install-plain.texi: New file.
60627 * manual/install.texi: Include node directive only for
60628 non-plaintext output.
60629
60630 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60631
60632 * stdlib/longlong.h: Update from GCC.
60633
60634 [BZ #6807]
60635 [BZ #15901]
60636 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60637 * math/w_j0f.c (y0f): Likewise.
60638 * math/w_j0l.c (__y0l): Likewise.
60639 * math/w_j1.c (y1): Likewise.
60640 * math/w_j1f.c (y1f): Likewise.
60641 * math/w_j1l.c (__y1l): Likewise.
60642 * math/w_jn.c (yn): Likewise.
60643 * math/w_jnf.c (ynf): Likewise.
60644 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60645 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60646 value for Bessel function domain errors outside _SVID_ mode.
60647 Adjust sign of return value for yn (negative integer, 0).
60648 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60649 by zero in return for negative x and set sign appropriately for
60650 negative n.
60651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60652 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60653 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60654 expectations in error cases.
60655 (y1_test_data): Likewise.
60656 (yn_test_data): Likewise.
60657 * sysdeps/i386/fpu/libm-test-ulps: Update.
60658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60659
60660 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60661
60662 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60663 "64" to "64-v1". Add "64-v2".
60664 (abi-64-options): Rename to ...
60665 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60666 (abi-64-condition): Rename to ...
60667 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60668 (abi-64-ld-soname): Rename to ...
60669 (abi-64-v1-ld-soname): ... this.
60670 (abi-64-v2-options): Define.
60671 (abi-64-v2-condition): Likewise.
60672 (abi-64-v2-ld-soname): Likewise.
60673 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60674 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60678
60679 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60680 Alan Modra <amodra@gmail.com>
60681
60682 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60683 New versions for use with the ELFv2 ABI.
60684 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60685 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60686 declaration.
60687 (struct La_ppc64v2_retval): Likewise.
60688 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60689 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60690 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60691 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60692 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60693 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60694 Do not save or restore CR.
60695 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60696 (_dl_profile_resolve): Do no save or restore CR. Support extended
60697 return values for ELFv2 ABI. Fix location of FPR return registers.
60698 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60699 updated values for _CALL_ELF == 2.
60700 (La_regs, La_retval, int_retval): Likewise.
60701
60702 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60703
60704 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60705 (FRAME_MIN_SIZE_PARM): Likewise.
60706 (FRAME_BACKCHAIN): Likewise.
60707 (FRAME_CR_SAVE): Likewise.
60708 (FRAME_LR_SAVE): Likewise.
60709 (FRAME_TOC_SAVE): Likewise.
60710 (FRAME_PARM_SAVE): Likewise.
60711 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60712 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60713 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60714 (call_mcount_parm_offset): New macro.
60715 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60716 (PROF): Use symbolic stack frame offsets.
60717 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60718 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60719 Redefine in terms of FRAME_MIN_SIZE.
60720 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60721 (_dl_profile_resolve): Likewise. Update comment.
60722 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60723 symbols stack frame offsets.
60724 (__sigsetjmp): Likewise.
60725 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60726 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60727 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60728 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60729
60730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60731 (FRAME_BACKCHAIN): Remove.
60732 (FRAME_CR_SAVE): Likewise.
60733 (FRAME_LR_SAVE): Likewise.
60734 (FRAME_COMPILER_DW): Likewise.
60735 (FRAME_LINKER_DW): Likewise.
60736 (FRAME_TOC_SAVE): Likewise.
60737 (FRAME_PARM_SAVE): Likewise.
60738 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60739 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60740 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60742 (CHECK_SP): Use symbolic stack frame offsets.
60743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60744 zone" instead of caller's parameter save area for temp storage.
60745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60746 Likewise. Also, use symbolic stack frame offsets.
60747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60748 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60749 our own stack frame instead of the caller's.
60750 (__socket): Use symbolic stack frame offsets.
60751
60752 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60753 Alan Modra <amodra@gmail.com>
60754
60755 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60756 Define.
60757 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60758 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60759 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60760 New function.
60761 (elf_machine_fixup_plt): Call it.
60762 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60763 reloc arguments.
60764 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60766 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60767 r2 before calling target.
60768
60769 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60770 Alan Modra <amodra@gmail.com>
60771
60772 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60773 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60774 versions of macros to support ELFv2 ABI.
60775 (LOCALENTRY): New macro.
60776 (ENTRY, EALIGN): Use it.
60777 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60778 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60779 fall through into ENTRY entry point.
60780 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60781 Only define if _CALL_ELF != 2.
60782
60783 (elf_machine_matches_host): Verify ABI version matches.
60784 (RTLD_START): Use LOCALENTRY.
60785 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60786 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60787 (PLT_ENTRY_WORDS): New macro.
60788 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60789 (elf_machine_runtime_setup): Support ELFv2 ABI.
60790 (elf_machine_fixup_plt): Likewise.
60791 (elf_machine_plt_conflict): Likewise.
60792 (resolve_ifunc): Likewise.
60793 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60794 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60795 Likewise.
60796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60797 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60799 (makecontext): Support ELFv2 ABI.
60800 * elf/elf.h (EF_PPC64_ABI): Define.
60801
60802 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60803
60804 * sysdeps/powerpc/powerpc64/sysdep.h
60805 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60806 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60807 (ENTRY) [ASSEMBLER]: ... but instead here ...
60808 (EALIGN) [ASSEMBLER]: ... and here.
60809 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60810 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60811 (ENTRY_2) [!ASSEMBLER]: Use it.
60812 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60813 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60814 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60815 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60816 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60818 Use PPC64_LOAD_FUNCPTR.
60819
60820 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60821
60822 2013-12-04 Alan Modra <amodra@gmail.com>
60823
60824 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60825 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60826 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60827 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60828
60829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60830 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60831 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60832 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60833 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60834 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60835
60836 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60837
60838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60839 (__makecontext): Fix incorrect CFI when backtracing out of
60840 context created via makecontext.
60841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60842 (__setcontext): Fix incorrect CFI during switch to new context.
60843 (__novec_setcontext): Likewise.
60844
60845 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60846
60847 [BZ #4772]
60848 * time/strptime_l.c (__strptime_internal): Allow modifiers
60849 in strptime.
60850 * time/tst-strptime.c (day_tests): Add testcase.
60851
60852 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60853
60854 * scripts/bench.pl: Skip over blank lines.
60855
60856 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60857
60858 [BZ #926]
60859 * manual/time.texi (Calendar Time): Clarify what timezone functions
60860 use.
60861
60862 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60863
60864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60865
60866 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60867
60868 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60869 implementation.
60870 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60871 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60872 * debug/memset_chk.c (__memset_chk): Likewise.
60873 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60874 * debug/strncpy_chk.c: Likewise.
60875
60876 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60877
60878 [BZ #15268]
60879 [BZ #15425]
60880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60881 (__ieee754_exp): For possibly underflowing results, check size of
60882 result and force underflow exception if required.
60883 * math/auto-libm-test-in: Add more tests of exp.
60884 * math/auto-libm-test-out: Regenerated.
60885 * sysdeps/i386/fpu/libm-test-ulps: Update.
60886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60887
60888 [BZ #16283]
60889 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60890 * math/w_exp2f.c (__exp2f): Likewise.
60891 * math/w_exp2l.c (__exp2l): Likewise.
60892 * math/auto-libm-test-in: Do not allow missing errno on exp2
60893 underflow.
60894 * math/auto-libm-test-out: Regenerated.
60895
60896 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60897
60898 [BZ #16274]
60899 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60900 handle filename validation.
60901 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60902 (do_open): Delete.
60903
60904 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60905
60906 [BZ #6786]
60907 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60908 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60909 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60910 <float.h>.
60911 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60913 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60915 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60916 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60917 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60918 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60919 Add more erfc tests.
60920 * math/auto-libm-test-out: Regenerated.
60921 * sysdeps/i386/fpu/libm-test-ulps: Update.
60922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60923
60924 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60925 exp2, expm1, j0 and j1.
60926 * math/auto-libm-test-out: Regenerated.
60927 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60928 (erfc_test_data): Likewise.
60929 (exp_test_data): Likewise.
60930 (exp_tonearest_test_data): Likewise.
60931 (exp_towardzero_test_data): Likewise.
60932 (exp_downward_test_data): Likewise.
60933 (exp_upward_test_data): Likewise.
60934 (exp10_test_data): Likewise.
60935 (exp2_test_data): Likewise.
60936 (expm1_test_data): Likewise.
60937 (j0_test_data): Likewise.
60938 (j1_test_data): Likewise.
60939 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60940 (input_flag_type): Add flag_xfail_rounding.
60941 (input_flags): Add xfail-rounding.
60942 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60943 (output_for_one_input_case): Handle flag_xfail_rounding.
60944 * sysdeps/i386/fpu/libm-test-ulps: Update.
60945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60946
60947 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60948
60949 [BZ #16289]
60950 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60951 division by 0.
60952
60953 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60954
60955 [BZ #16195]
60956 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60957 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60958 (STAP_PROBE0): New macro.
60959 (STAP_PROBE1): Likewise.
60960 (STAP_PROBE2): Likewise.
60961 (STAP_PROBE3): Likewise.
60962 (STAP_PROBE4): Likewise.
60963
60964 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60965
60966 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60967
60968 2013-12-02 Steve Ellcey <sellcey@mips.com>
60969
60970 * benchtests/Makefile (bench): Add sqrt.
60971 (LDLIBS-bench-sqrt): New.
60972 * benchtests/sqrt-input: New.
60973
60974 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60975
60976 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60977 (GAIH_EAI): Likewise.
60978 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60979 (gaih_inet): Likewise.
60980 (getaddrinfo): Don't use GAIH_EAI.
60981
60982 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60983 (struct gaih): Remove definition.
60984
60985 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60986
60987 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60988 Use HERRNOP directly.
60989
60990 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60991
60992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60993
60994 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60995
60996 * math/gen-auto-libm-tests.c (test_functions): Add more
60997 single-argument functions.
60998 (special_fill_pi_2): New function.
60999 (special_fill_minus_pi_2): Likewise.
61000 (special_fill_pi_6): Likewise.
61001 (special_fill_minus_pi_6): Likewise.
61002 (special_fill_pi_3): Likewise.
61003 (special_fill_2pi_3): Likewise.
61004 (special_fill_e): Likewise.
61005 (special_fill_1_e): Likewise.
61006 (special_fill_e_minus_1): Likewise.
61007 (special_real_inputs): Add more special inputs.
61008 (output_for_one_input_case): Do not require ERANGE on underflow to
61009 zero if round-to-nearest result does not underflow to zero, unless
61010 exact results required.
61011 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
61012 atan, atanh, cbrt, cos and cosh.
61013 * math/auto-libm-test-out: Regenerated.
61014 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
61015 (acos_tonearest_test_data): Likewise.
61016 (acos_towardzero_test_data): Likewise.
61017 (acos_downward_test_data): Likewise.
61018 (acos_upward_test_data): Likewise.
61019 (acosh_test_data): Likewise.
61020 (asin_test_data): Likewise.
61021 (asin_tonearest_test_data): Likewise.
61022 (asin_towardzero_test_data): Likewise.
61023 (asin_upward_test_data): Likewise.
61024 (asinh_test_data): Likewise.
61025 (atan_test_data): Likewise.
61026 (atanh_test_data): Likewise.
61027 (cbrt_test_data): Likewise.
61028 (cos_test_data): Likewise.
61029 (cos_tonearest_test_data): Likewise.
61030 (cos_towardzero_test_data): Likewise.
61031 (cos_downward_test_data): Likewise.
61032 (cos_upward_test_data): Likewise.
61033 (cosh_test_data): Likewise.
61034 (cosh_tonearest_test_data): Likewise.
61035 (cosh_towardzero_test_data): Likewise.
61036 (cosh_downward_test_data): Likewise.
61037 (cosh_upward_test_data): Likewise.
61038 * sysdeps/i386/fpu/libm-test-ulps: Update.
61039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61040
61041 2013-11-29 Joseph Myers <joseph@codesourcery.com>
61042
61043 [BZ #6787]
61044 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
61045 * math/w_exp10f.c (__exp10f): Likewise.
61046 * math/w_exp10l.c (__exp10l): Likewise.
61047 * math/libm-test.inc (exp10_test_data): Add more tests and expect
61048 errno settings in existing tests.
61049
61050 [BZ #14032]
61051 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
61052 precision control set to double precision.
61053 * sysdeps/i386/fpu/w_sqrt.c: New file.
61054 * math/auto-libm-test-in: Add more tests.
61055 * math/auto-libm-test-out: Update.
61056
61057 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
61058 (sqrt_test_tonearest): New function.
61059 (sqrt_towardzero_test_data): New variable.
61060 (sqrt_test_towardzero): New function.
61061 (sqrt_downward_test_data): New variable.
61062 (sqrt_test_downward): New function.
61063 (sqrt_upward_test_data): New variable.
61064 (sqrt_test_upward): New function.
61065 (main): Call the new functions.
61066
61067 * math/gen-auto-libm-tests.c: New file.
61068 * math/auto-libm-test-in: Likewise.
61069 * math/auto-libm-test-out: New generated file.
61070 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
61071 variables.
61072 (%beautify): Add generated representations of zero.
61073 (top level): Set $auto_input and call parse_auto_input.
61074 (beautify): Remove trailing "f" from hex float constants.
61075 (parse_args): Handle XFAIL_TEST.
61076 (convert_condition): New function.
61077 (or_value): Likewise.
61078 (or_cond_value): Likewise.
61079 (generate_testfile): Handle AUTO_TESTS_* lines.
61080 (parse_auto_input): New function.
61081 * math/libm-test.inc (XFAIL_TEST): New macro.
61082 (ERRNO_UNCHANGED): Update value.
61083 (ERRNO_EDOM): Likewise.
61084 (ERRNO_ERANGE): Likewise.
61085 (IGNORE_RESULT): Likewise.
61086 (TEST_COND_flt_32): New macro.
61087 (TEST_COND_dbl_64): Likewise.
61088 (TEST_COND_ldbl_96_intel): Likewise.
61089 (TEST_COND_ldbl_96_m68k): Likewise.
61090 (TEST_COND_ldbl_128): Likewise.
61091 (TEST_COND_ldbl_128ibm): Likewise.
61092 (TEST_COND_long32): Likewise.
61093 (TEST_COND_long64): Likewise.
61094 (TEST_COND_before_rounding): Likewise.
61095 (TEST_COND_after_rounding): Likewise.
61096 (enable_test): Handle XFAIL_TEST flag.
61097 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
61098 with finite results.
61099 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
61100 auto-libm-test-out.
61101
61102 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61103 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61104
61105 [BZ #16214]
61106 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
61107 __tls_get_addr_internal instead of __tls_get_offset in order to
61108 avoid GOT pointer dependency. Make rtld export
61109 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
61110 __tls_get_addr since we are a __tls_get_offset platform.
61111 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
61112 GOT pointer being set up before.
61113 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
61114
61115 2013-11-28 Joseph Myers <joseph@codesourcery.com>
61116
61117 * manual/math.texi (Errors in Math Functions): Document accuracy
61118 goals.
61119
61120 [BZ #15004]
61121 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
61122 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
61123 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61125 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61126 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61127 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61128 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61129 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61130 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61131 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61137
61138 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
61139 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
61140 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
61141 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
61142 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
61143 Likewise.
61144 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
61145 Likewise.
61146 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
61147 Likewise.
61148 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
61149 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61150 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61151 atomic-feupdateenv and flt-rounds.
61152 * sysdeps/powerpc/nofpu/Versions (libc): Add
61153 __atomic_feholdexcept, __atomic_feclearexcept,
61154 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61155 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61156 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61157 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61158 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61159 here.
61160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61161 Update.
61162
61163 * manual/arith.texi (FP Exceptions): Document that exceptions may
61164 not be raised when matherr is used.
61165 (Math Error Reporting): Document overflow in directed rounding
61166 modes. Document that errno may not be set when finite values are
61167 returned on overflow. Document intent to set errno on underflow
61168 only for underflow to zero.
61169
61170 [BZ #16271]
61171 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61172 round-to-nearest then adjust result for other rounding modes.
61173 * include/fenv.h (fegetround): Use libm_hidden_proto.
61174 * math/fegetround.c (fegetround): Use libm_hidden_def.
61175 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61176 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61177 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61179 Likewise.
61180 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61181 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61182 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61183 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61184
61185 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61186
61187 [BZ #16077]
61188 * nss/Versions (libnss_files): Add
61189 _nss_files_gethostbyname3_r.
61190 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61191 New function.
61192 (HOST_DB_LOOKUP): Remove macro.
61193 (_nss_files_gethostbyname_r): Implement function without the
61194 HOST_DB_LOOKUP macro.
61195 (_nss_files_gethostbyname2_r): Likewise.
61196
61197 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
61198
61199 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61200
61201 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
61202
61203 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61204 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61205 warning.
61206
61207 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61208
61209 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61210 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61211 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61212 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61213 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61214 __fe_nomask_env_priv and attribute_hidden.
61215 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61216 (libc_feupdateenv_test_ppc): Likewise.
61217 (libc_feresetround_ppc): Likewise.
61218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61219 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61220 compat_symbol macro.
61221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61222 (__fe_nomask_env): Likewise.
61223 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61224
61225 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61226
61227 * string/Makefile: Remove ifunc tests.
61228 * string/test-string.h: Define TEST_IFUNC.
61229 * string/test-bcopy-ifunc.c: Remove.
61230 * string/test-bzero-ifunc.c: Likewise.
61231 * string/test-memccpy-ifunc.c: Likewise.
61232 * string/test-memchr-ifunc.c: Likewise.
61233 * string/test-memcmp-ifunc.c: Likewise.
61234 * string/test-memcpy-ifunc.c: Likewise.
61235 * string/test-memmem-ifunc.c: Likewise.
61236 * string/test-memmove-ifunc.c: Likewise.
61237 * string/test-mempcpy-ifunc.c: Likewise.
61238 * string/test-memrchr-ifunc.c: Likewise.
61239 * string/test-memset-ifunc.c: Likewise.
61240 * string/test-rawmemchr-ifunc.c: Likewise.
61241 * string/test-stpcpy-ifunc.c: Likewise.
61242 * string/test-stpncpy-ifunc.c: Likewise.
61243 * string/test-strcasecmp-ifunc.c: Likewise.
61244 * string/test-strcasestr-ifunc.c: Likewise.
61245 * string/test-strcat-ifunc.c: Likewise.
61246 * string/test-strchr-ifunc.c: Likewise.
61247 * string/test-strchrnul-ifunc.c: Likewise.
61248 * string/test-strcmp-ifunc.c: Likewise.
61249 * string/test-strcpy-ifunc.c: Likewise.
61250 * string/test-strcspn-ifunc.c: Likewise.
61251 * string/test-strlen-ifunc.c: Likewise.
61252 * string/test-strncasecmp-ifunc.c: Likewise.
61253 * string/test-strncat-ifunc.c: Likewise.
61254 * string/test-strncmp-ifunc.c: Likewise.
61255 * string/test-strncpy-ifunc.c: Likewise.
61256 * string/test-strnlen-ifunc.c: Likewise.
61257 * string/test-strpbrk-ifunc.c: Likewise.
61258 * string/test-strrchr-ifunc.c: Likewise.
61259 * string/test-strspn-ifunc.c: Likewise.
61260 * string/test-strstr-ifunc.c: Likewise.
61261
61262 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61263
61264 * benchtests/Makefile: Remove ifunc tests.
61265 * benchtests/bench-string.h: Define TEST_IFUNC.
61266 * benchtests/bench-bcopy-ifunc.c: Remove.
61267 * benchtests/bench-bzero-ifunc.c: Likewise.
61268 * benchtests/bench-memccpy-ifunc.c: Likewise.
61269 * benchtests/bench-memchr-ifunc.c: Likewise.
61270 * benchtests/bench-memcmp-ifunc.c: Likewise.
61271 * benchtests/bench-memcpy-ifunc.c: Likewise.
61272 * benchtests/bench-memmem-ifunc.c: Likewise.
61273 * benchtests/bench-memmove-ifunc.c: Likewise.
61274 * benchtests/bench-mempcpy-ifunc.c: Likewise.
61275 * benchtests/bench-memrchr-ifunc.c: Likewise.
61276 * benchtests/bench-memset-ifunc.c: Likewise.
61277 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61278 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61279 * benchtests/bench-stpcpy-ifunc.c: Likewise.
61280 * benchtests/bench-stpncpy-ifunc.c: Likewise.
61281 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61282 * benchtests/bench-strcasestr-ifunc.c: Likewise.
61283 * benchtests/bench-strcat-ifunc.c: Likewise.
61284 * benchtests/bench-strchr-ifunc.c: Likewise.
61285 * benchtests/bench-strchrnul-ifunc.c: Likewise.
61286 * benchtests/bench-strcmp-ifunc.c: Likewise.
61287 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61288 * benchtests/bench-strcpy-ifunc.c: Likewise.
61289 * benchtests/bench-strcspn-ifunc.c: Likewise.
61290 * benchtests/bench-strlen-ifunc.c: Likewise.
61291 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61292 * benchtests/bench-strncat-ifunc.c: Likewise.
61293 * benchtests/bench-strncmp-ifunc.c: Likewise.
61294 * benchtests/bench-strncpy-ifunc.c: Likewise.
61295 * benchtests/bench-strnlen-ifunc.c: Likewise.
61296 * benchtests/bench-strpbrk-ifunc.c: Likewise.
61297 * benchtests/bench-strrchr-ifunc.c: Likewise.
61298 * benchtests/bench-strsep-ifunc.c: Likewise.
61299 * benchtests/bench-strspn-ifunc.c: Likewise.
61300 * benchtests/bench-strstr-ifunc.c: Likewise.
61301
61302 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61303
61304 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61305
61306 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
61307
61308 * resolv/netdb.h: Use __glibc_reserved instead __unused.
61309 * rt/aio.h: Likewise.
61310 * sysdeps/gnu/bits/utmp.h: Likewise.
61311 * sysdeps/gnu/bits/utmpx.h: Likewise.
61312 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61313 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61314 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61315 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61316 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61317 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61318 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61319 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61320 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61321 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61322 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61323 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61324 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61326 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61327 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61328 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61329 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61330 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61331 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61332 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61333 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61334 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61335 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61336 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61338 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61339 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61340 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61341 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61342 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61343 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61344 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61345 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61346 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61347 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61348 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61349 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61350 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61351 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61352 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61353 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61354
61355 2013-11-25 Carlos O'Donell <carlos@redhat.com>
61356
61357 [BZ #16245]
61358 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61359 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61360
61361 2013-11-25 Joseph Myers <joseph@codesourcery.com>
61362
61363 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61364 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61365 Likewise.
61366
61367 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61368
61369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61370 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61371 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61372 (__fesetround): Remove define.
61373 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61374 rounding and exceptions handling.
61375 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61376 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61377 (__fe_nomask_env): Likewise.
61378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61379 __fegetround instead of fegetround.
61380 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61381 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61382
61383 2013-11-21 Roland McGrath <roland@hack.frob.com>
61384
61385 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61386 it's there.
61387
61388 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61389
61390 2013-11-21 Meador Inge <meadori@codesourcery.com>
61391
61392 [BZ #11157]
61393 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61394 (encrypt_r): Likewise.
61395 * malloc/obstack.h (obstack_free): Likewise.
61396 * posix/unistd.h (encrypt): Likewise.
61397
61398 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61399
61400 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61401 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61402 DL_CALL_DT_FINI() that call the functions directly.
61403 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61404 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61405 * elf/dl-fini.c: Likewise.
61406
61407 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
61408
61409 * malloc/hooks.c (memalign_check): Add alignment rounding.
61410 * malloc/malloc.c (_mid_memalign): New function.
61411 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61412 Implement by calling _mid_memalign.
61413 * manual/probes.texi (Memory Allocation Probes): Remove
61414 memory_valloc_retry and memory_pvalloc_retry.
61415
61416 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61417
61418 * locale/programs/locarchive.c (open_archive): Add const
61419 qualifier to ARCHIVEFNAME and copy default fname to
61420 DEFAULT_FNAME.
61421
61422 [BZ #15601]
61423 * libio/tst-widetext.input: Rename Oriya to Odia.
61424 * locale/iso-639.def: Likewise.
61425
61426 * manual/probes.texi (Mathematical Function Probes): Add
61427 documentation for sin, cos, asin and acos probes.
61428 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61429 (__sin32): Add slowasin probe.
61430 (__cos32): Add slowacos probe.
61431 (__mpsin): Add slowsin probe.
61432 (__mpcos): Add slowcos probe.
61433
61434 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61435
61436 [BZ #15483]
61437 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61438 thread-local __sim_exceptions_thread and global
61439 __sim_exceptions_global.
61440 (__sim_disabled_exceptions): Change to thread-local
61441 __sim_disabled_exceptions_thread and global
61442 __sim_disabled_exceptions_global.
61443 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61444 and global __sim_round_mode_global.
61445 (__simulate_exceptions): Use thread-local floating-point state and
61446 set global state from it as needed.
61447 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61448 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61449 __sim_round_mode_thread.
61450 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61451 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61452 and global __sim_exceptions_global.
61453 (__sim_disabled_exceptions): Change to thread-local
61454 __sim_disabled_exceptions_thread and global
61455 __sim_disabled_exceptions_global.
61456 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61457 and global __sim_round_mode_global.
61458 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61459 (SIM_SET_GLOBAL): Likewise.
61460 * sysdeps/powerpc/soft-fp/sfp-machine.h
61461 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61462 __sim_round_mode_thread.
61463 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61464 __sim_disabled_exceptions_thread.
61465 (__sim_exceptions): Change to __sim_exceptions_thread.
61466 (__sim_disabled_exceptions): Change to
61467 __sim_disabled_exceptions_thread.
61468 (__sim_round_mode): Change to __sim_round_mode_thread.
61469 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61470 thread-local floating-point state and set global state from it as
61471 needed.
61472 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61473 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61474 (__sim_disabled_exceptions): Remove extern declaration.
61475 (feenableexcept): Use thread-local floating-point state and set
61476 global state from it as needed.
61477 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61478 extern declaration.
61479 (__sim_disabled_exceptions): Likewise.
61480 (__sim_round_mode): Likewise.
61481 (__fegetenv): Use thread-local floating-point state.
61482 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61483 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61484 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61485 floating-point state and set global state from it as needed.
61486 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61487 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61488 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61489 Likewise.
61490 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61491 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61492 Likewise.
61493 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61494 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61495 Use __sim_round_mode_thread.
61496 * math/test-fenv-tls.c: New file.
61497 * math/Makefile (tests): Add test-fenv-tls.
61498 ($(objpfx)test-fenv-tls): Depend on
61499 $(common-objpfx)nptl/libpthread.so.
61500
61501 2013-11-19 Andreas Schwab <schwab@suse.de>
61502
61503 * locale/programs/locale.c (show_info): Decode wordarray elements.
61504 * locale/categories.def (LC_MONETARY): Add element for
61505 _NL_MONETARY_CRNCYSTR.
61506 * locale/C-monetary.c (conversion_rate): New variable.
61507 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61508 element.
61509
61510 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61511
61512 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61513 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61514
61515 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61516
61517 * elf/Makefile (tst-auxv): New test.
61518 * elf/tst-auxv.c: New
61519 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61520
61521 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61522
61523 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61524 (hidden_proto): Caller changed.
61525 (hidden_tls_proto): New macro.
61526 (libc_hidden_tls_proto): Likewise.
61527 (rtld_hidden_tls_proto): Likewise.
61528 (libm_hidden_tls_proto): Likewise.
61529 (libresolv_hidden_tls_proto): Likewise.
61530 (librt_hidden_tls_proto): Likewise.
61531 (libdl_hidden_tls_proto): Likewise.
61532 (libnss_files_hidden_tls_proto): Likewise.
61533 (libnsl_hidden_tls_proto): Likewise.
61534 (libnss_nisplus_hidden_tls_proto): Likewise.
61535 (libutil_hidden_tls_proto): Likewise.
61536
61537 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
61538
61539 [BZ #10253]
61540 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61541 (decompose_rpath): Defer expansion to fillin_rpath.
61542 (_dl_init_paths): Pass linkmap to fillin_rpath.
61543
61544 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61545
61546 * benchtests/Makefile: Add strsep.
61547 * benchtests/bench-strsep.c: New file: strsep benchtest.
61548 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61549
61550 2013-11-18 Andreas Schwab <schwab@suse.de>
61551
61552 * locale/programs/locale.c (show_info) [case byte]: Check for
61553 '\377' instead of '\177'.
61554 * locale/C-monetary.c (not_available): Always use "\377".
61555 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61556 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61557 detect unavailable sign_posn locale elements.
61558 * locale/localeconv.c (__localeconv): For grouping and
61559 mon_grouping handle "\177" and "\377" like no grouping.
61560 (INT_ELEM): New macro. Use it to set all numeric members.
61561 * locale/programs/ld-monetary.c (monetary_read)
61562 <tok_mon_grouping>: Normalize single -1 to the empty string.
61563 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61564 Likewise.
61565
61566 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61567
61568 [BZ #16055]
61569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61570 when we match (nil).
61571 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61572
61573 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61574
61575 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61576 (NO_TEST_INLINE): Update value.
61577 (ERRNO_UNCHANGED): Likewise.
61578 (ERRNO_EDOM): Likewise.
61579 (ERRNO_ERANGE): Likewise.
61580 (IGNORE_RESULT): Likewise.
61581 (check_float_internal): Check signs of NaN results if
61582 TEST_NAN_SIGN used.
61583 (check_complex): Pass TEST_NAN_SIGN flag through to second
61584 check_float_internal call.
61585 (copysign_test_data): Add tests with quiet NaNs as second
61586 argument. Use TEST_NAN_SIGN.
61587 (fabs_test_data): Add test of negative quiet NaN argument. Use
61588 TEST_NAN_SIGN.
61589 (signbit_test_data): Add tests of quiet NaN argument.
61590 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61591
61592 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61593 $ignore_result.
61594 (parse_args): Handle function results specified as IGNORE.
61595 * math/libm-test.inc (IGNORE_RESULT): New macro.
61596 (check_float_internal): Do not check numerical result if flag
61597 IGNORE_RESULT set.
61598 (check_complex): Pass through IGNORE_RESULT to second
61599 check_float_internal call.
61600 (check_int): Do not check numerical result if flag IGNORE_RESULT
61601 set.
61602 (check_long): Likewise.
61603 (check_bool): Likewise.
61604 (check_longlong): Likewise.
61605 (lrint_test_data): Add tests of infinite and NaN arguments.
61606 (lrint_tonearest_test_data): Likewise.
61607 (lrint_towardzero_test_data): Likewise.
61608 (lrint_downward_test_data): Likewise.
61609 (lrint_upward_test_data): Likewise.
61610 (llrint_test_data): Likewise.
61611 (llrint_tonearest_test_data): Likewise.
61612 (llrint_towardzero_test_data): Likewise.
61613 (llrint_downward_test_data): Likewise.
61614 (llrint_upward_test_data): Likewise.
61615 (lround_test_data): Likewise.
61616 (llround_test_data): Likewise.
61617
61618 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61619 (ERRNO_UNCHANGED): Update value.
61620 (ERRNO_EDOM): Likewise.
61621 (ERRNO_ERANGE): Likewise.
61622 (NO_TEST_INLINE_FLOAT): New macro.
61623 (NO_TEST_INLINE_DOUBLE): Likewise.
61624 (enable_test): New function.
61625 (RUN_TEST_f_f): Check enable_test before running test.
61626 (RUN_TEST_2_f): Likewise.
61627 (RUN_TEST_fff_f): Likewise.
61628 (RUN_TEST_c_f): Likewise.
61629 (RUN_TEST_f_f1): Likewise.
61630 (RUN_TEST_fF_f1): Likewise.
61631 (RUN_TEST_fI_f1): Likewise.
61632 (RUN_TEST_ffI_f1): Likewise.
61633 (RUN_TEST_c_c): Likewise.
61634 (RUN_TEST_cc_c): Likewise.
61635 (RUN_TEST_f_i): Likewise.
61636 (RUN_TEST_f_i_tg): Likewise.
61637 (RUN_TEST_ff_i_tg): Likewise.
61638 (RUN_TEST_f_b): Likewise.
61639 (RUN_TEST_f_b_tg): Likewise.
61640 (RUN_TEST_f_l): Likewise.
61641 (RUN_TEST_f_L): Likewise.
61642 (RUN_TEST_fFF_11): Likewise.
61643 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61644 conditionals.
61645 (cosh_test_data): Likewise.
61646 (exp_test_data): Likewise.
61647 (expm1_test_data): Likewise.
61648 (hypot_test_data): Likewise.
61649 (pow_test_data): Likewise.
61650 (sinh_test_data): Likewise.
61651 (tanh_test_data): Likewise.
61652 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61653 flags argument.
61654
61655 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61656 tests with quiet NaN input and output.
61657 (acosh_test_data): Likewise.
61658 (asin_test_data): Likewise.
61659 (asinh_test_data): Likewise.
61660 (atan_test_data): Likewise.
61661 (atanh_test_data): Likewise.
61662 (atan2_test_data): Likewise.
61663 (cbrt_test_data): Likewise.
61664 (cos_test_data): Likewise.
61665 (cosh_test_data): Likewise.
61666 (erf_test_data): Likewise.
61667 (erfc_test_data): Likewise.
61668 (exp_test_data): Likewise.
61669 (exp10_test_data): Likewise.
61670 (exp2_test_data): Likewise.
61671 (expm1_test_data): Likewise.
61672 (hypot_test_data): Likewise.
61673 (j0_test_data): Likewise.
61674 (j1_test_data): Likewise.
61675 (jn_test_data): Likewise.
61676 (lgamma_test_data): Likewise.
61677 (log_test_data): Likewise.
61678 (log10_test_data): Likewise.
61679 (log1p_test_data): Likewise.
61680 (log2_test_data): Likewise.
61681 (pow_test_data): Likewise.
61682 (scalb_test_data): Likewise.
61683 (sin_test_data): Likewise.
61684 (sincos_test_data): Likewise.
61685 (sinh_test_data): Likewise.
61686 (tan_test_data): Likewise.
61687 (tanh_test_data): Likewise.
61688 (tgamma_test_data): Likewise.
61689 (y0_test_data): Likewise.
61690 (y1_test_data): Likewise.
61691 (yn_test_data): Likewise.
61692
61693 [BZ #16167]
61694 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61695 argument being NaN and avoid computations with second argument in
61696 that case.
61697 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61698 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61699 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61700
61701 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61702
61703 * locale/iso-639.def: Add Chitwani Tharu (the).
61704
61705 2013-11-14 Andreas Schwab <schwab@suse.de>
61706
61707 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61708 word instead of empty string.
61709
61710 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61711
61712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61713 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61715 (__fe_nomask_env): Likewise.
61716
61717 2013-11-13 Steve Ellcey <sellcey@mips.com>
61718
61719 * benchtests/bench-timing.h: Include time.h.
61720
61721 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61722
61723 [BZ #15997]
61724 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61725 to 3.4.0 for x32.
61726 * sysdeps/unix/sysv/linux/configure: Regenerated.
61727
61728 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61729
61730 [BZ #16151]
61731 * stdlib/strtod_l.c (round_and_return): Do not consider
61732 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61733 exponent one less than half the least subnormal exponent.
61734 * stdlib/test-strtod-round-data: Add more tests.
61735 * stdlib/tst-strtod-round.c (tests): Regenerated.
61736
61737 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61738
61739 [BZ #14143]
61740 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61741 (__fe_mask_env): Likewise.
61742 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61743 libm_hidden_proto and add function prototype.
61744 (__fe_mask_env): Add function prototype.
61745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61746 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61748 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61750 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61751
61752 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61753
61754 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61755 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61756
61757 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61758
61759 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61760 of htab_find_slot().
61761
61762 2013-11-11 David S. Miller <davem@davemloft.net>
61763
61764 [BZ #16150]
61765 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61766 symbol in the non-vis3 case in static builds.
61767 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61768 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61769 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61770 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61771
61772 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61773
61774 [BZ #387]
61775 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61776 it is empty.
61777
61778 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61779
61780 * benchtests/Makefile: Add bench-strtod.
61781 * benchtests/bench-strtod.c: New file: strtod benchtest
61782
61783 2013-11-11 Andreas Schwab <schwab@suse.de>
61784
61785 [BZ #16153]
61786 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61787 terminating NUL in key length.
61788
61789 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61790
61791 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61792 Add artificial ODP entry for vDSO symbol for PPC64.
61793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61794 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61795
61796 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61797
61798 [BZ #15374]
61799 * nss/getent.c (services_keys): Recognize services starting with digit.
61800
61801 2013-11-06 David S. Miller <davem@davemloft.net>
61802
61803 [BZ #15985]
61804 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61805 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61806
61807 2013-11-06 Will Newton <will.newton@linaro.org>
61808
61809 * manual/memory.texi (Malloc Examples): Remove register
61810 keyword from examples.
61811
61812 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61813
61814 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61815
61816 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61817
61818 [BZ #6981]
61819 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61820 depending on [__GCC_IEC_559 > 0].
61821 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61822 depending on [__GCC_IEC_559_COMPLEX > 0].
61823
61824 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61825
61826 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61827 to iso-639.def.
61828
61829 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
61830
61831 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61832
61833 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
61834
61835 [BZ #16112]
61836 * malloc/malloc (malloc_info): Do not handle first bin as
61837 special case.
61838
61839 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61840
61841 * locale/iso-639.def: Add Central Nahuatl (nhn).
61842
61843 2013-11-01 Bruno Haible <bruno@clisp.org>
61844
61845 [BZ #7003]
61846 * manual/math.texi (BSD Random): Specify range upper bound as
61847 in POSIX.
61848
61849 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61850
61851 * locale/iso-639.def: Add Meadow Mari (mhr).
61852
61853 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61854
61855 [BZ #14752], [BZ #15763]
61856 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61857 Validate name.
61858 * rt/tst_shm.c: Add test for escaping directory.
61859
61860 2013-10-31 Andreas Schwab <schwab@suse.de>
61861
61862 [BZ #15917]
61863 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61864 followed by 'x' as part of digit sequence.
61865 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61866
61867 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61868
61869 [BZ #16037]
61870 * configure.ac: allow GNU Make 4.0 and greater.
61871 * configure: Regenerated.
61872
61873 2013-10-30 Will Newton <will.newton@linaro.org>
61874
61875 [BZ #16038]
61876 * malloc/hooks.c (memalign_check): Limit alignment to the
61877 maximum representable power of two.
61878 * malloc/malloc.c (__libc_memalign): Likewise.
61879 * malloc/tst-memalign.c (do_test): Add test for very
61880 large alignment values.
61881 * malloc/tst-posix_memalign.c (do_test): Likewise.
61882
61883 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61884
61885 [BZ #11087]
61886 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61887 (munmap_chunk): Likewise.
61888 (mremap_chunk): Likewise.
61889
61890 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61891
61892 [BZ #15799]
61893 * stdlib/div.c (div): Remove obsolete code.
61894 * stdlib/ldiv.c (ldiv): Likewise.
61895 * stdlib/lldiv.c (lldiv): Likewise.
61896
61897 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61898
61899 [BZ #16071]
61900 * nss/nss_files/files-XXX.c (get_contents_ret): New
61901 enumerator.
61902 (get_contents): New function.
61903 (internal_getent): Use it. Expand size of LINEBUFLEN.
61904
61905 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61906
61907 * configure.in: Moved to ...
61908 * configure.ac: ... here. Change reference to configure.in
61909 to configure.ac.
61910 * sysdeps/arm/preconfigure.ac: ... here.
61911 configure.in to configure.ac.
61912 * sysdeps/gnu/configure.in: Moved to ...
61913 * sysdeps/gnu/configure.ac: ... here.
61914 * sysdeps/i386/configure.in: Moved to ...
61915 * sysdeps/i386/configure.ac: ... here.
61916 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61917 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61918 * sysdeps/mach/configure.in: Moved to ...
61919 * sysdeps/mach/configure.ac: ... here.
61920 * sysdeps/mach/hurd/configure.in: Moved to ...
61921 * sysdeps/mach/hurd/configure.ac: ... here.
61922 * sysdeps/powerpc/configure.in: Moved to ...
61923 * sysdeps/powerpc/configure.ac: ... here.
61924 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61925 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61926 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61927 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61928 * sysdeps/s390/s390-32/configure.in: Moved to ...
61929 * sysdeps/s390/s390-32/configure.ac: ... here.
61930 * sysdeps/s390/s390-64/configure.in: Moved to ...
61931 * sysdeps/s390/s390-64/configure.ac: ... here.
61932 * sysdeps/sh/configure.in: Moved to ...
61933 * sysdeps/sh/configure.ac: ... here.
61934 * sysdeps/sparc/configure.in: Moved to ...
61935 * sysdeps/sparc/configure.ac: ... here.
61936 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61937 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61938 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61939 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61940 * sysdeps/x86_64/configure.in: Moved to ...
61941 * sysdeps/x86_64/configure.ac: ... here.
61942 * sysdeps/x86_64/preconfigure.in: Moved to ...
61943 * sysdeps/x86_64/preconfigure.ac: ... here.
61944 * aclocal.m4: Change reference to configure.in to configure.ac.
61945 * config.h.in: Likewise.
61946 * manual/install.texi: Likewise.
61947 * manual/maint.texi: Likewise.
61948 * Makefile: Likewise.
61949 * malloc/Makefile: Likewise.
61950 * nscd/Makefile: Likewise.
61951 * Makeconfig: Change reference to configure.in and
61952 preconfigure.in to configure.ac and preconfigure.ac
61953 respectively.
61954 * INSTALL: Regenerated.
61955 * configure: Likewise.
61956 * sysdeps/gnu/configure: Likewise.
61957 * sysdeps/i386/configure: Likewise.
61958 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61959 * sysdeps/mach/configure: Likewise.
61960 * sysdeps/mach/hurd/configure: Likewise.
61961 * sysdeps/powerpc/configure: Likewise.
61962 * sysdeps/powerpc/powerpc32/configure: Likewise.
61963 * sysdeps/powerpc/powerpc64/configure: Likewise.
61964 * sysdeps/s390/s390-32/configure: Likewise.
61965 * sysdeps/s390/s390-64/configure: Likewise.
61966 * sysdeps/sh/configure: Likewise.
61967 * sysdeps/sparc/configure: Likewise.
61968 * sysdeps/unix/sysv/linux/configure: Likewise.
61969 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61970 * sysdeps/x86_64/configure: Likewise.
61971 * sysdeps/x86_64/preconfigure: Likewise.
61972
61973 2013-10-29 Andreas Schwab <schwab@suse.de>
61974
61975 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61976
61977 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61978
61979 * benchtests/pow-inputs: Add new inputs.
61980
61981 * benchtests/exp-inputs: Add new inputs.
61982
61983 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61984 conditional check for return value.
61985 (__cos32): Likewise.
61986
61987 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61988
61989 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61990 to provide a boost for large inputs with word alignment.
61991 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61992 implementation based on optimized PPC64 strcpy.
61993 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61994 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61995 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61996 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61997
61998 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61999
62000 [BZ #2801]
62001 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
62002
62003 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
62004
62005 [BZ #14876]
62006 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
62007 * time/tst-strptime.c (day_tests): Add testcase.
62008
62009 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
62010
62011 [BZ #14029]
62012 * manual/pattern.texi: Acknowledge that fnmatch can fail.
62013
62014 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
62015
62016 [BZ #16074]
62017 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
62018 MAP_FAILED on error.
62019
62020 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
62021
62022 [BZ #16072]
62023 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
62024 heap for large requests.
62025
62026 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
62027
62028 [BZ #9954]
62029 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
62030 result if the result has no associated interface.
62031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
62032 interface for all 127.X.Y.Z addresses.
62033
62034 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
62035
62036 * locale/iso-639.def: Add Ligurian (lij)
62037
62038 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
62039
62040 [BZ #15825]
62041 * sunrpc/rpc_main.c: Document rpcgen -5.
62042
62043 2013-10-19 Michael Stahl <mstahl@redhat.com>
62044
62045 * elf/rtld.c (do_preload): Print the reason why preloading failed.
62046
62047 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
62048
62049 [BZ #10278]
62050 * posix/glob.c: Match only directories when trailing slash is present.
62051 * posix/tst-gnuglob.c (my_opendir): Do not open files.
62052 (main): Add testcase.
62053
62054 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
62055
62056 [BZ #15670]
62057 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
62058
62059 2013-10-18 Carlos O'Donell <carlos@redhat.com>
62060
62061 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
62062 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
62063 AUTH_DES and cindex for FIPS 140-2.
62064 (DES Encryption): Add cindex FIPS 46-3.
62065
62066 * locale/locarchive.h (struct locarhandle): Add fname.
62067 * locale/programs/localedef.c (main): Pass ARGV[remaining]
62068 if an optional argument was specified to --list-archive,
62069 otherwise NULL.
62070 * locale/programs/locarchive.c (show_archive_content): Take new
62071 argument fname and pass it via ah.fname to open_archive.
62072 * locale/programs/localedef.h: Update decl.
62073 (open_archive): If AH->fname is non-null, open that file
62074 rather than the default file name, and don't ignore ENOENT.
62075 (create_archive): Set AH.fname to NULL.
62076 (delete_locales_from_archive): Likewise.
62077 (add_locales_to_archive): Likewise.
62078 * locale/programs/locfile.c (write_all_categories): Likewise.
62079
62080 2013-10-18 Joseph Myers <joseph@codesourcery.com>
62081 Aldy Hernandez <aldyh@redhat.com>
62082
62083 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
62084 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
62085 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
62086 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
62087 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
62088 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
62089 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
62090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
62091 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
62092 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
62093 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
62094 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
62095 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
62096 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
62097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
62098 Likewise.
62099 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
62100 Likewise.
62101 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
62102 Likewise.
62103 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
62104 Likewise.
62105 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
62106 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
62107 Likewise.
62108 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
62109 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
62110 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
62111 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
62112 Likewise.
62113 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
62114 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
62115 * sysdeps/powerpc/preconfigure: Likewise.
62116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
62117 Likewise.
62118 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
62119 Replace contents of file by #include of <fenv_libc.h>.
62120 * sysdeps/powerpc/soft-fp/sfp-machine.h
62121 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
62122 and <sys/prctl.h>.
62123 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
62124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
62125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
62126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
62127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
62128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
62129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
62130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
62131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
62132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
62133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
62134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
62135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
62136 Allow copysignl PLT reference to be missing.
62137
62138 2013-10-18 Richard Sandiford <richard@codesourcery.com>
62139 Joseph Myers <joseph@codesourcery.com
62140
62141 [BZ #15948]
62142 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
62143 single character.
62144 (add_to_tablewc): Assert sequence of wide characters is nonempty.
62145
62146 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62147
62148 * elf/tst-tls-dlinfo.c: Don't include tls.h.
62149 * elf/tst-tls1.c: Likewise.
62150 * elf/tst-tls10.h: Likewise.
62151 * elf/tst-tls14.c: Likewise.
62152 * elf/tst-tls2.c: Likewise.
62153 * elf/tst-tls3.c: Likewise.
62154 * elf/tst-tls4.c: Likewise.
62155 * elf/tst-tls5.c: Likewise.
62156 * elf/tst-tls6.c: Likewise.
62157 * elf/tst-tls7.c: Likewise.
62158 * elf/tst-tls8.c: Likewise.
62159 * elf/tst-tls9.c: Likewise.
62160 * elf/tst-tlsmod1.c: Likewise.
62161 * elf/tst-tlsmod13.c: Likewise.
62162 * elf/tst-tlsmod13a.c: Likewise.
62163 * elf/tst-tlsmod14a.c: Likewise.
62164 * elf/tst-tlsmod16a.c: Likewise.
62165 * elf/tst-tlsmod16b.c: Likewise.
62166 * elf/tst-tlsmod2.c: Likewise.
62167 * elf/tst-tlsmod3.c: Likewise.
62168 * elf/tst-tlsmod4.c: Likewise.
62169 * elf/tst-tlsmod5.c: Likewise.
62170 * elf/tst-tlsmod6.c: Likewise.
62171
62172 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
62173
62174 [BZ #12486]
62175 * malloc/malloc.c: remove checks for statistics.
62176
62177 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
62178
62179 [BZ #15277]
62180 * inet/inet_net.c (inet_network): Detect additional invalid strings.
62181 * inet/tst-network.c: Add testcase.
62182
62183 2013-10-17 Andreas Schwab <schwab@suse.de>
62184
62185 [BZ #15218]
62186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62187 to determine canonical name.
62188
62189 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
62190
62191 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62192 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62194 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62196 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62197 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62198 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62200 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62201 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62202 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62203 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62204 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62205 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62206 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62209 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62210 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62213 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62214 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62215 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62216 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62217 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62218 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62219 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62220 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62221 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62223 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62224 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62225 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62228 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62229 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62231 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62232 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62233 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62234 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62235 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62236 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62237 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62238 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62239 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62240 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62241 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62242 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62243 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62244 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62246 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62248 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62249
62250 2013-10-17 Joseph Myers <joseph@codesourcery.com>
62251
62252 [BZ #16041]
62253 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62254 make result into a quiet NaN.
62255
62256 2013-10-16 Joseph Myers <joseph@codesourcery.com>
62257
62258 * soft-fp/adddf3.c: Fix horizontal whitespace.
62259 * soft-fp/addsf3.c: Likewise.
62260 * soft-fp/addtf3.c: Likewise.
62261 * soft-fp/divdf3.c: Likewise.
62262 * soft-fp/divsf3.c: Likewise.
62263 * soft-fp/divtf3.c: Likewise.
62264 * soft-fp/double.h: Likewise.
62265 * soft-fp/eqdf2.c: Likewise.
62266 * soft-fp/eqsf2.c: Likewise.
62267 * soft-fp/eqtf2.c: Likewise.
62268 * soft-fp/extenddftf2.c: Likewise.
62269 * soft-fp/extended.h: Likewise.
62270 * soft-fp/extendsfdf2.c: Likewise.
62271 * soft-fp/extendsftf2.c: Likewise.
62272 * soft-fp/extendxftf2.c: Likewise.
62273 * soft-fp/fixdfdi.c: Likewise.
62274 * soft-fp/fixdfsi.c: Likewise.
62275 * soft-fp/fixdfti.c: Likewise.
62276 * soft-fp/fixsfdi.c: Likewise.
62277 * soft-fp/fixsfsi.c: Likewise.
62278 * soft-fp/fixsfti.c: Likewise.
62279 * soft-fp/fixtfdi.c: Likewise.
62280 * soft-fp/fixtfsi.c: Likewise.
62281 * soft-fp/fixtfti.c: Likewise.
62282 * soft-fp/fixunsdfdi.c: Likewise.
62283 * soft-fp/fixunsdfsi.c: Likewise.
62284 * soft-fp/fixunsdfti.c: Likewise.
62285 * soft-fp/fixunssfdi.c: Likewise.
62286 * soft-fp/fixunssfsi.c: Likewise.
62287 * soft-fp/fixunssfti.c: Likewise.
62288 * soft-fp/fixunstfdi.c: Likewise.
62289 * soft-fp/fixunstfsi.c: Likewise.
62290 * soft-fp/fixunstfti.c: Likewise.
62291 * soft-fp/floatdidf.c: Likewise.
62292 * soft-fp/floatdisf.c: Likewise.
62293 * soft-fp/floatditf.c: Likewise.
62294 * soft-fp/floatsidf.c: Likewise.
62295 * soft-fp/floatsisf.c: Likewise.
62296 * soft-fp/floatsitf.c: Likewise.
62297 * soft-fp/floattidf.c: Likewise.
62298 * soft-fp/floattisf.c: Likewise.
62299 * soft-fp/floattitf.c: Likewise.
62300 * soft-fp/floatundidf.c: Likewise.
62301 * soft-fp/floatundisf.c: Likewise.
62302 * soft-fp/floatunditf.c: Likewise.
62303 * soft-fp/floatunsidf.c: Likewise.
62304 * soft-fp/floatunsisf.c: Likewise.
62305 * soft-fp/floatunsitf.c: Likewise.
62306 * soft-fp/floatuntidf.c: Likewise.
62307 * soft-fp/floatuntisf.c: Likewise.
62308 * soft-fp/floatuntitf.c: Likewise.
62309 * soft-fp/fmadf4.c: Likewise.
62310 * soft-fp/fmasf4.c: Likewise.
62311 * soft-fp/fmatf4.c: Likewise.
62312 * soft-fp/gedf2.c: Likewise.
62313 * soft-fp/gesf2.c: Likewise.
62314 * soft-fp/getf2.c: Likewise.
62315 * soft-fp/ledf2.c: Likewise.
62316 * soft-fp/lesf2.c: Likewise.
62317 * soft-fp/letf2.c: Likewise.
62318 * soft-fp/muldf3.c: Likewise.
62319 * soft-fp/mulsf3.c: Likewise.
62320 * soft-fp/multf3.c: Likewise.
62321 * soft-fp/negdf2.c: Likewise.
62322 * soft-fp/negsf2.c: Likewise.
62323 * soft-fp/negtf2.c: Likewise.
62324 * soft-fp/op-1.h: Likewise.
62325 * soft-fp/op-2.h: Likewise.
62326 * soft-fp/op-4.h: Likewise.
62327 * soft-fp/op-8.h: Likewise.
62328 * soft-fp/op-common.h: Likewise.
62329 * soft-fp/quad.h: Likewise.
62330 * soft-fp/single.h: Likewise.
62331 * soft-fp/soft-fp.h: Likewise.
62332 * soft-fp/sqrtdf2.c: Likewise.
62333 * soft-fp/sqrtsf2.c: Likewise.
62334 * soft-fp/sqrttf2.c: Likewise.
62335 * soft-fp/subdf3.c: Likewise.
62336 * soft-fp/subsf3.c: Likewise.
62337 * soft-fp/subtf3.c: Likewise.
62338 * soft-fp/truncdfsf2.c: Likewise.
62339 * soft-fp/trunctfdf2.c: Likewise.
62340 * soft-fp/trunctfsf2.c: Likewise.
62341 * soft-fp/trunctfxf2.c: Likewise.
62342 * soft-fp/unorddf2.c: Likewise.
62343 * soft-fp/unordsf2.c: Likewise.
62344 * soft-fp/unordtf2.c: Likewise.
62345
62346 2013-10-15 Joseph Myers <joseph@codesourcery.com>
62347
62348 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62349 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62350
62351 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
62352
62353 * elf/dl-libc.c: Clear initfini list after freeing.
62354
62355 2013-10-14 Joseph Myers <joseph@codesourcery.com>
62356
62357 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62358 * soft-fp/addsf3.c: Likewise.
62359 * soft-fp/addtf3.c: Likewise.
62360 * soft-fp/divdf3.c: Likewise.
62361 * soft-fp/divsf3.c: Likewise.
62362 * soft-fp/divtf3.c: Likewise.
62363 * soft-fp/double.h: Likewise.
62364 * soft-fp/eqdf2.c: Likewise.
62365 * soft-fp/eqsf2.c: Likewise.
62366 * soft-fp/eqtf2.c: Likewise.
62367 * soft-fp/extenddftf2.c: Likewise.
62368 * soft-fp/extended.h: Likewise.
62369 * soft-fp/extendsfdf2.c: Likewise.
62370 * soft-fp/extendsftf2.c: Likewise.
62371 * soft-fp/extendxftf2.c: Likewise.
62372 * soft-fp/fixdfdi.c: Likewise.
62373 * soft-fp/fixdfsi.c: Likewise.
62374 * soft-fp/fixdfti.c: Likewise.
62375 * soft-fp/fixsfdi.c: Likewise.
62376 * soft-fp/fixsfsi.c: Likewise.
62377 * soft-fp/fixsfti.c: Likewise.
62378 * soft-fp/fixtfdi.c: Likewise.
62379 * soft-fp/fixtfsi.c: Likewise.
62380 * soft-fp/fixtfti.c: Likewise.
62381 * soft-fp/fixunsdfdi.c: Likewise.
62382 * soft-fp/fixunsdfsi.c: Likewise.
62383 * soft-fp/fixunsdfti.c: Likewise.
62384 * soft-fp/fixunssfdi.c: Likewise.
62385 * soft-fp/fixunssfsi.c: Likewise.
62386 * soft-fp/fixunssfti.c: Likewise.
62387 * soft-fp/fixunstfdi.c: Likewise.
62388 * soft-fp/fixunstfsi.c: Likewise.
62389 * soft-fp/fixunstfti.c: Likewise.
62390 * soft-fp/floatdidf.c: Likewise.
62391 * soft-fp/floatdisf.c: Likewise.
62392 * soft-fp/floatditf.c: Likewise.
62393 * soft-fp/floatsidf.c: Likewise.
62394 * soft-fp/floatsisf.c: Likewise.
62395 * soft-fp/floatsitf.c: Likewise.
62396 * soft-fp/floattidf.c: Likewise.
62397 * soft-fp/floattisf.c: Likewise.
62398 * soft-fp/floattitf.c: Likewise.
62399 * soft-fp/floatundidf.c: Likewise.
62400 * soft-fp/floatundisf.c: Likewise.
62401 * soft-fp/floatunsidf.c: Likewise.
62402 * soft-fp/floatunsisf.c: Likewise.
62403 * soft-fp/floatuntidf.c: Likewise.
62404 * soft-fp/floatuntisf.c: Likewise.
62405 * soft-fp/floatuntitf.c: Likewise.
62406 * soft-fp/fmadf4.c: Likewise.
62407 * soft-fp/fmasf4.c: Likewise.
62408 * soft-fp/fmatf4.c: Likewise.
62409 * soft-fp/gedf2.c: Likewise.
62410 * soft-fp/gesf2.c: Likewise.
62411 * soft-fp/getf2.c: Likewise.
62412 * soft-fp/ledf2.c: Likewise.
62413 * soft-fp/lesf2.c: Likewise.
62414 * soft-fp/letf2.c: Likewise.
62415 * soft-fp/muldf3.c: Likewise.
62416 * soft-fp/mulsf3.c: Likewise.
62417 * soft-fp/multf3.c: Likewise.
62418 * soft-fp/negdf2.c: Likewise.
62419 * soft-fp/negsf2.c: Likewise.
62420 * soft-fp/negtf2.c: Likewise.
62421 * soft-fp/op-1.h: Likewise.
62422 * soft-fp/op-2.h: Likewise.
62423 * soft-fp/op-4.h: Likewise.
62424 * soft-fp/op-8.h: Likewise.
62425 * soft-fp/op-common.h: Likewise.
62426 * soft-fp/quad.h: Likewise.
62427 * soft-fp/single.h: Likewise.
62428 * soft-fp/soft-fp.h: Likewise.
62429 * soft-fp/sqrtdf2.c: Likewise.
62430 * soft-fp/sqrtsf2.c: Likewise.
62431 * soft-fp/sqrttf2.c: Likewise.
62432 * soft-fp/subdf3.c: Likewise.
62433 * soft-fp/subsf3.c: Likewise.
62434 * soft-fp/subtf3.c: Likewise.
62435 * soft-fp/truncdfsf2.c: Likewise.
62436 * soft-fp/trunctfdf2.c: Likewise.
62437 * soft-fp/trunctfsf2.c: Likewise.
62438 * soft-fp/trunctfxf2.c: Likewise.
62439 * soft-fp/unorddf2.c: Likewise.
62440 * soft-fp/unordsf2.c: Likewise.
62441 * soft-fp/unordtf2.c: Likewise.
62442
62443 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
62444
62445 [BZ #15672]
62446 * misc/error.c (error_tail): Fix possible buffer overflow.
62447
62448 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62449
62450 [BZ #13028]
62451 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62452 address.
62453
62454 2013-10-14 P. J. McDermott <pj@pehjota.net>
62455
62456 [BZ #832]
62457 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62458 testing pipefail option.
62459
62460 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62461
62462 * soft-fp/double.h: Indent preprocessor directives inside #if.
62463 * soft-fp/extended.h: Likewise.
62464 * soft-fp/op-2.h: Likewise.
62465 * soft-fp/op-4.h: Likewise.
62466 * soft-fp/op-common.h: Likewise.
62467 * soft-fp/quad.h: Likewise.
62468 * soft-fp/single.h: Likewise.
62469 * soft-fp/soft-fp.h: Likewise.
62470
62471 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62472
62473 * iconv/iconv_prog.c: Fix typos.
62474 * stdio-common/psiginfo-data.h: Likewise.
62475
62476 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62477
62478 [BZ #15764]
62479 * locale/setlocale.c: Fix typo.
62480
62481 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62482
62483 [BZ #16036]
62484 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62485 signaling NaN arguments.
62486 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62487 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62488
62489 [BZ #14910]
62490 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62491 unordered operands.
62492 * soft-fp/gesf2.c (__gesf2): Likewise.
62493 * soft-fp/getf2.c (__getf2): Likewise.
62494 * soft-fp/ledf2.c (__ledf2): Likewise.
62495 * soft-fp/lesf2.c (__lesf2): Likewise.
62496 * soft-fp/letf2.c (__letf2): Likewise.
62497
62498 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62499 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62500 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62501 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62502 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62503 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62504 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62505 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62506 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62507 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62508 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62509 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62510 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62511 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62512 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62513 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62514 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62515 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62516 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62517 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62518 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62519 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62520 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62521 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62522 * soft-fp/floattidf.c (__floattidf): Likewise.
62523 * soft-fp/floattisf.c (__floattisf): Likewise.
62524 * soft-fp/floattitf.c (__floattitf): Likewise.
62525 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62526 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62527 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62528 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62529 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62530 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62531 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62532 * soft-fp/gesf2.c (__gesf2): Likewise.
62533 * soft-fp/getf2.c (__getf2): Likewise.
62534 * soft-fp/ledf2.c (__ledf2): Likewise.
62535 * soft-fp/lesf2.c (__lesf2): Likewise.
62536 * soft-fp/letf2.c (__letf2): Likewise.
62537
62538 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62539 Undefine and redefine.
62540 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62541 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62542 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62543 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62544 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62545 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62546 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62547 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62548 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62549 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62550 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62551 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62552 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62553 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62554 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62555
62556 [BZ #16032]
62557 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62558 without decrementing exponent if mantissa >= that for the
62559 denominator, not >.
62560 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62561 denominator, not >. Decrement exponent in < case instead of
62562 incrementing in >= case.
62563 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62564 without decrementing exponent if mantissa >= that for the
62565 denominator, not >.
62566
62567 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62568 computing saturated result for unsigned overflow.
62569
62570 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62571 Jeff Law <law@redhat.com>
62572
62573 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62574 (atan2Mp): Add systemtap probe marker.
62575 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62576 (__ieee754_log): Add systemtap probe marker.
62577 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62578 (atanMp): Add systemtap probe marker.
62579 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62580 (tanMp): Add systemtap probe marker.
62581 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62582 (__slowexp): Add systemtap probe marker.
62583 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62584 (__slowpow): Add systemtap probe marker.
62585 * manual/probes.texi: Document probes.
62586
62587 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62588
62589 [BZ #15362]
62590 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62591 written.
62592 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62593 written.
62594 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62595 written to buffer but not flushed.
62596 * libio/iofwrite_u.c: Likewise.
62597 * libio/iopadn.c: Return bytes returned even if EOF was
62598 encountered.
62599 * libio/iowpadn.c: Likewise.
62600 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62601 if _IO_padn does not write the whole buffer.
62602 [!COMPILE_WPRINTF] (PAD): Likewise.
62603
62604 2013-10-10 David S. Miller <davem@davemloft.net>
62605
62606 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62607 directory block.
62608
62609 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62610
62611 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62612 instead of FSF address.
62613 * soft-fp/fixdfti.c: Likewise.
62614 * soft-fp/fixsfti.c: Likewise.
62615 * soft-fp/fixtfti.c: Likewise.
62616 * soft-fp/fixunsdfti.c: Likewise.
62617 * soft-fp/fixunssfti.c: Likewise.
62618 * soft-fp/fixunstfti.c: Likewise.
62619 * soft-fp/floattidf.c: Likewise.
62620 * soft-fp/floattisf.c: Likewise.
62621 * soft-fp/floattitf.c: Likewise.
62622 * soft-fp/floatuntidf.c: Likewise.
62623 * soft-fp/floatuntisf.c: Likewise.
62624 * soft-fp/floatuntitf.c: Likewise.
62625 * soft-fp/trunctfxf2.c: Likewise.
62626
62627 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62628 * soft-fp/fixdfti.c: Likewise.
62629 * soft-fp/fixsfti.c: Likewise.
62630 * soft-fp/fixtfti.c: Likewise.
62631 * soft-fp/fixunsdfti.c: Likewise.
62632 * soft-fp/fixunssfti.c: Likewise.
62633 * soft-fp/fixunstfti.c: Likewise.
62634 * soft-fp/floattidf.c: Likewise.
62635 * soft-fp/floattisf.c: Likewise.
62636 * soft-fp/floattitf.c: Likewise.
62637 * soft-fp/floatuntidf.c: Likewise.
62638 * soft-fp/floatuntisf.c: Likewise.
62639 * soft-fp/floatuntitf.c: Likewise.
62640 * soft-fp/trunctfxf2.c: Likewise.
62641
62642 2013-10-10 David S. Miller <davem@davemloft.net>
62643
62644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62645
62646 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62647
62648 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62649 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62650 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62651 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62652 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62653 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62654 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62655
62656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62657 for NaNs before doing comparisons on argument.
62658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62659 Likewise.
62660
62661 2013-10-10 Will Newton <will.newton@linaro.org>
62662
62663 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62664 passed to _int_memalign does not overflow.
62665
62666 2013-10-10 Torvald Riegel <triegel@redhat.com>
62667
62668 * scripts/bench.pl: Add include-sources directive.
62669 * benchtests/README: Update documentation.
62670
62671 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62672
62673 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62674 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62675 instead of FP_INIT_ROUNDMODE.
62676 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62677 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62678
62679 [BZ #16034]
62680 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62681 copy class of input value.
62682 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62683 not handle exceptions.
62684 * soft-fp/negsf2.c (__negsf2): Likewise.
62685 * soft-fp/negtf2.c (__negtf2): Likewise.
62686 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62687
62688 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62689
62690 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62691 semicolon. From Linux kernel.
62692
62693 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62694
62695 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62696
62697 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62698
62699 [BZ #156]
62700 * manual/socket.texi: Added statement about buffer
62701 for gethostbyname2_r.
62702
62703 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
62704
62705 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62706 Use .p2align directive instead, throughout.
62707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62708 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62709 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62710 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62712 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62713 * sysdeps/x86_64/strchr.S: Likewise.
62714 * sysdeps/x86_64/strrchr.S: Likewise.
62715
62716 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62717
62718 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62719
62720 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62721
62722 * sysdeps/generic/math_private.h (__mpsin1): Remove
62723 declaration.
62724 (__mpcos1): Likewise.
62725 (__mpsin): New argument __range_reduce.
62726 (__mpcos): Likewise.
62727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62728 (slow): Use __mpsin and __mpcos.
62729 (slow1): Likewise.
62730 (slow2): Likewise.
62731 (sloww): Likewise.
62732 (sloww1): Likewise.
62733 (sloww2): Likewise.
62734 (bsloww): Likewise.
62735 (bsloww1): Likewise.
62736 (bsloww2): Likewise.
62737 (cslow2): Likewise.
62738 (csloww): Likewise.
62739 (csloww1): Likewise.
62740 (csloww2): Likewise.
62741 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62742 range_reduce. Merge in __mpsin1.
62743 (__mpcos): Likewise.
62744 (__mpsin1): Remove.
62745 (__mpcos1): Likewise.
62746
62747 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62748
62749 * locale/loadlocale.c (_nl_intern_locale_data): Use
62750 LOCFILE_ALIGNED_P.
62751 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62752 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62753 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62754 obstack data is appropriately aligned.
62755 (obstack_int32_grow_fast): Likewise.
62756 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62757 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62758 (add_locale_uint32_array): Likewise.
62759
62760 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62761
62762 * benchtests/Makefile: Remove ARGLIST and RET variables.
62763 ($(objpfx)bench-%.c): Pass only function name to the script.
62764 * benchtests/README: Update documentation.
62765 * benchtests/acos-inputs: Add new directives.
62766 * benchtests/acosh-inputs: Likewise.
62767 * benchtests/asin-inputs: Likewise.
62768 * benchtests/asinh-inputs: Likewise.
62769 * benchtests/atan-inputs: Likewise.
62770 * benchtests/atanh-inputs: Likewise.
62771 * benchtests/cos-inputs: Likewise.
62772 * benchtests/cosh-inputs: Likewise.
62773 * benchtests/exp-inputs: Likewise.
62774 * benchtests/log-inputs: Likewise.
62775 * benchtests/pow-inputs: Likewise.
62776 * benchtests/rint-inputs: Likewise.
62777 * benchtests/sin-inputs: Likewise.
62778 * benchtests/sinh-inputs: Likewise.
62779 * benchtests/tan-inputs: Likewise.
62780 * benchtests/tanh-inputs: Likewise.
62781 * scripts/bench.pl: Add support for new directives.
62782
62783 2013-10-07 Alan Modra <amodra@gmail.com>
62784
62785 * README: Fix careless merge.
62786
62787 2013-10-05 Alan Modra <amodra@gmail.com>
62788
62789 * NEWS: Mention powerpc64le support and bugs fixed.
62790 * README: Both big-endian and little-endian powerpc64 supported.
62791
62792 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62793
62794 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62795 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62796 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62797 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62798
62799 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62800
62801 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62802 match prototype.
62803
62804 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62805
62806 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62807 Move -mhard-float appending from
62808 ports/sysdeps/powerpc/powerpc32/Makefile.
62809 [$(with-fp) = yes] (ASFLAGS): Likewise.
62810 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62811 * sysdeps/powerpc/nofpu: Move directory from
62812 ports/sysdeps/powerpc/nofpu.
62813 * sysdeps/powerpc/soft-fp: Move directory from
62814 ports/sysdeps/powerpc/soft-fp.
62815 * sysdeps/powerpc/powerpc32/405: Move directory from
62816 ports/sysdeps/powerpc/powerpc32/405.
62817 * sysdeps/powerpc/powerpc32/440: Move directory from
62818 ports/sysdeps/powerpc/powerpc32/440.
62819 * sysdeps/powerpc/powerpc32/464: Move directory from
62820 ports/sysdeps/powerpc/powerpc32/464.
62821 * sysdeps/powerpc/powerpc32/476: Move directory from
62822 ports/sysdeps/powerpc/powerpc32/476.
62823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62828 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62830 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62832 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62833 * README: Update for powerpc-*-linux-gnu software floating point
62834 support in libc.
62835
62836 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62837 case to powerpc/powerpc32*.
62838 * sysdeps/unix/sysv/linux/configure: Regenerated.
62839
62840 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62841 (_FPU_MASK_OM): Define as 0x04.
62842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62844 0x00c10080.
62845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62846 0x0000003c.
62847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62848
62849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62850 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62851 getcontext_e500.
62852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62853 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62854 setcontext_e500.
62855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62856 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62857 and setcontext_e500.
62858
62859 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62860
62861 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62862
62863 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62864
62865 * manual/threads.texi (Default Thread Attributes): Fix typo.
62866
62867 2013-10-04 Will Newton <will.newton@linaro.org>
62868
62869 * malloc/Makefile: Add tst-memalign.
62870 * malloc/tst-memalign.c: New file.
62871
62872 * malloc/tst-posix_memalign.c: Add comments.
62873 (do_test): Add comments and call free on all potentially
62874 allocated pointers. Add space after cast.
62875
62876 * malloc/tst-pvalloc.c: Add comments.
62877 (do_test): Add comments and call free on all potentially
62878 allocated pointers. Remove duplicate check for NULL pointer.
62879 Add space after cast.
62880
62881 * malloc/tst-valloc.c: Add comments.
62882 (do_test): Add comments and call free on all potentially
62883 allocated pointers. Remove duplicate check for NULL pointer.
62884 Add space after cast.
62885
62886 2013-10-04 Alan Modra <amodra@gmail.com>
62887
62888 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62889 Use stdint types in rather than __attribute__((mode())).
62890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62891
62892 2013-10-04 Alan Modra <amodra@gmail.com>
62893
62894 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62895 Correct handling of unaligned relocs for little-endian.
62896 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62897
62898 2013-10-04 Alan Modra <amodra@gmail.com>
62899
62900 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62901 * configure: Regenerate.
62902 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62903 * shlib-versions: Likewise.
62904
62905 2013-10-04 Alan Modra <amodra@gmail.com>
62906
62907 * string/tester.c (test_memrchr): Increment reported test cycle.
62908
62909 2013-10-04 Alan Modra <amodra@gmail.com>
62910
62911 * string/test-memcpy.c (do_one_test): When reporting errors, print
62912 string address and don't overrun end of string.
62913
62914 2013-10-04 Alan Modra <amodra@gmail.com>
62915
62916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62917 insrdi. Make better use of reg selection to speed exit slightly.
62918 Schedule entry path a little better. Remove useless "are we done"
62919 checks on entry to main loop. Handle wrapping around zero address.
62920 Correct main loop count. Handle single left-over word from main
62921 loop inline rather than by using loop_small. Remove extra word
62922 case in loop_small caused by wrong loop count. Add little-endian
62923 support.
62924 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62925 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62926 cache hint.
62927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62928 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62929 support. Avoid rlwimi.
62930 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62931
62932 2013-10-04 Alan Modra <amodra@gmail.com>
62933
62934 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62935 insrdi. Formatting.
62936 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62937 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62938 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62939 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62940 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62941 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62942
62943 2013-10-04 Alan Modra <amodra@gmail.com>
62944
62945 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62946 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62948 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62949 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62950 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62951 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62952 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62953 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62954 use of regs. Use power7 mtocrf. Tidy function tails.
62955
62956 2013-10-04 Alan Modra <amodra@gmail.com>
62957
62958 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62959 Formatting. Consistently use rXXX register defines or rN defines.
62960 Use early exit labels that avoid restoring unused non-volatile regs.
62961 Make cr field use more consistent with rWORDn compares. Rename
62962 regs used as shift registers for unaligned loop, using rN defines
62963 for short lifetime/multiple use regs.
62964 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62966 addi 1,1,64 to pop stack frame. Simplify return value code.
62967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62968
62969 2013-10-04 Alan Modra <amodra@gmail.com>
62970
62971 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62972 support. Correct typos, formatting. Optimize tail. Use insrdi
62973 rather than rlwimi.
62974 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62975 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62976 little-endian support. Correct typos.
62977 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62978 rather than rlwimi.
62979 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62980 in loop and entry code to keep "and." results.
62981 (strchr): Add little-endian support. Comment. Move cntlzd
62982 earlier in tail.
62983 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62984
62985 2013-10-04 Alan Modra <amodra@gmail.com>
62986
62987 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62988 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62989 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62990 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62991
62992 2013-10-04 Alan Modra <amodra@gmail.com>
62993
62994 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62995 (rTMP): Define as r11.
62996 (strcmp): Add little-endian support. Optimise tail.
62997 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62998 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62999 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63000 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63001 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63004
63005 2013-10-04 Alan Modra <amodra@gmail.com>
63006
63007 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
63008 little-endian support. Remove unnecessary "are we done" tests.
63009 Handle "s" wrapping around zero and extremely large "size".
63010 Correct main loop count. Handle single left-over word from main
63011 loop inline rather than by using small_loop. Correct comments.
63012 Delete "zero" tail, use "end_max" instead.
63013 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
63014
63015 2013-10-04 Alan Modra <amodra@gmail.com>
63016
63017 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
63018 support. Don't branch over align.
63019 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
63020 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
63021 support. Rearrange tmp reg use to suit. Comment.
63022 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
63023
63024 2013-10-04 Alan Modra <amodra@gmail.com>
63025
63026 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
63027
63028 2013-10-04 Alan Modra <amodra@gmail.com>
63029
63030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
63031 conditional form of branch and link when obtaining pc.
63032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
63033
63034 2013-10-04 Alan Modra <amodra@gmail.com>
63035
63036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
63037 HIWORD/LOWORD.
63038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
63039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
63040
63041 2013-10-04 Alan Modra <amodra@gmail.com>
63042
63043 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
63044 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
63045 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
63046 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
63047 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
63048 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63049 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
63050 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63051 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
63052 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
63053
63054 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63055 Alistair Popple <alistair@ozlabs.au.ibm.com>
63056 Alan Modra <amodra@gmail.com>
63057
63058 [BZ #15723]
63059 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
63060 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
63061 _dl_hwcap access for little-endian.
63062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
63063 destroy vmx regs when saving unaligned.
63064 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
63065 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
63066 destroy vmx regs when saving unaligned.
63067
63068 2013-10-04 Alan Modra <amodra@gmail.com>
63069
63070 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
63071 Don't use a union to pack hi/low value.
63072
63073 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63074
63075 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
63076 for little-endian.
63077 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63078 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
63079 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63080 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63081 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63082
63083 2013-10-04 Alan Modra <amodra@gmail.com>
63084
63085 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
63086 constants to usual value for .cst8 section, and remove redundant
63087 high address load.
63088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
63089 constant for 0x1p52. Load little-endian words of double from
63090 correct stack offsets.
63091
63092 2013-10-04 Alan Modra <amodra@gmail.com>
63093
63094 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
63095 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
63096 words of double from correct stack offsets.
63097 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
63098 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
63099 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63101 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63104 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
63105 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
63106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63109 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63110 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63111 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63112 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
63113 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
63114
63115 2013-10-04 Alan Modra <amodra@gmail.com>
63116
63117 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
63118 64-bit int/double union.
63119 (_FPU_SETCW): Likewise.
63120 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
63121 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
63122
63123 2013-10-04 Alan Modra <amodra@gmail.com>
63124
63125 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
63126 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
63127
63128 2013-10-04 Alan Modra <amodra@gmail.com>
63129
63130 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
63131 use vector int constants.
63132 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
63133
63134 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63135
63136 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
63137 array with long long.
63138 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
63139 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
63140 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
63141 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
63142 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
63143 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
63144 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63145 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
63146 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
63147 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
63148 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
63149 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63150 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63151
63152 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63153
63154 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63155 (__signbit): Likewise. Correct for little-endian.
63156 (__signbitl): Call __signbit.
63157 (lrint): Correct for little-endian.
63158 (lrintf): Call lrint.
63159
63160 2013-10-04 Alan Modra <amodra@gmail.com>
63161
63162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63163 union 32-bit int array member with 64-bit int array.
63164 (t515, tm256): Double rather than long double.
63165 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63166
63167 2013-10-04 Alan Modra <amodra@gmail.com>
63168
63169 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63170 Delete.
63171 (IEEE854_LONG_DOUBLE_BIAS): Delete.
63172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63173 version of math_ldbl.h.
63174
63175 2013-10-04 Alan Modra <amodra@gmail.com>
63176
63177 [BZ #15734], [BZ #15735]
63178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63179 all uses of ieee875 long double macros and unions. Simplify test
63180 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
63181 ldbl_extract_mantissa value for ix,iy exponents. Properly
63182 normalize after ldbl_extract_mantissa, and don't add hidden bit
63183 already handled. Don't treat low word of ieee854 mantissa like
63184 low word of IBM long double and mask off bit when testing for
63185 zero.
63186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63187 all uses of ieee875 long double macros and unions. Simplify tests
63188 for 0.0L and inf. Correct double adjustment of k. Delete dead code
63189 adjusting ha,hb. Simplify code setting kld. Delete two600 and
63190 two1022, instead use their values. Recognise that tests for large
63191 "a" and small "b" are mutually exclusive. Rename vars. Comment.
63192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63193 Rewrite all uses of ieee875 long double macros and unions. Simplify
63194 test for 0.0L and nan. Correct negation.
63195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63196 ieee875 long double macros and unions. Correct output for large
63197 magnitude x. Correct absolute value calculation.
63198 (__erfcl): Likewise.
63199 * math/libm-test.inc: Add tests for errors discovered in IBM long
63200 double versions of fmodl, remainderl, erfl and erfcl.
63201
63202 2013-10-04 Alan Modra <amodra@gmail.com>
63203
63204 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63205 all uses of ieee854 long double macros and unions. Simplify tests
63206 for long doubles that are fully specified by the high double.
63207 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63208 Likewise.
63209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63210 Remove dead code too.
63211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63212 (__ieee754_ynl): Likewise.
63213 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63216 Remove dead code too.
63217 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63218 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63221 Simplify.
63222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63223 Simplify.
63224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63226 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63227 Comment on variable precision.
63228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63230 Likewise.
63231 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63235 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63236
63237 2013-10-04 Alan Modra <amodra@gmail.com>
63238
63239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63241 all uses of ieee854 long double macros and unions.
63242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63246 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63248 Likewise.
63249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63254 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63255 Simplify sign and nan test too.
63256 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63258 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63259 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63260 Likewise.
63261 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63262 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63263 Likewise.
63264 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63265 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63266 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63270
63271 2013-10-04 Alan Modra <amodra@gmail.com>
63272
63273 * stdio-common/printf_size.c (__printf_size): Don't use
63274 union ieee854_long_double in fpnum union.
63275 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
63276 signbit macro to retrieve sign from long double.
63277 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63278 retrieve sign from long double.
63279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63280 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63281 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63282 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63283 * math/test-misc.c (main): Don't use union ieee854_long_double.
63284
63285 2013-10-04 Alan Modra <amodra@gmail.com>
63286
63287 [BZ #15680]
63288 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63289 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63290 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63291 calculation. Remove unnecessary test for denormal exponent.
63292 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63293 Correct handling of denormals. Avoid undefined shift behaviour.
63294 Correct normalisation of low mantissa when low double is denormal.
63295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63296 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
63297 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63298 Correct normalisation of low mantissa. Test for overflow of high
63299 mantissa and normalise.
63300 (ldbl_nearbyint): Use more readable constant for two52.
63301 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63302 (__mpn_construct_long_double): Fix test for overflow of high
63303 mantissa and correct normalisation. Avoid undefined shift.
63304
63305 2013-10-04 Alan Modra <amodra@gmail.com>
63306
63307 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63308 (union ibm_extended_long_double): Define as an array of ieee754_double.
63309 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63310 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63311 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63312 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63314 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63316 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63317 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63318 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63319 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63320
63321 2013-10-03 Joseph Myers <joseph@codesourcery.com>
63322
63323 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63324 page size instead of calling getpagesize.
63325
63326 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63327 (LOCFILE_ALIGN_MASK): Likewise.
63328 (LOCFILE_ALIGN_UP): Likewise.
63329 (LOCFILE_ALIGNED_P): Likewise.
63330 * locale/programs/ld-collate.c (collate_output): Use the new
63331 macros instead of __alignof__ (int32_t).
63332 * locale/weight.h (findidx): Likewise.
63333
63334 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
63335
63336 [BZ #431]
63337 * manual/string.texi: Fix strncat and wcsncat.
63338
63339 2013-10-03 Brooks Moses <bmoses@google.com>
63340
63341 [BZ #15915]
63342 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63343 * Makerules: ...here, and adjust associated comments.
63344
63345 2013-10-02 Will Newton <will.newton@linaro.org>
63346
63347 * malloc/Makefile: Add tst-pvalloc.
63348 * malloc/tst-pvalloc.c: New file.
63349
63350 2013-10-02 Will Newton <will.newton@linaro.org>
63351
63352 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63353 improve test coverage.
63354
63355 2013-10-02 Will Newton <will.newton@linaro.org>
63356
63357 * malloc/Makefile: Add tst-posix_memalign.
63358 * malloc/tst-posix_memalign.c: New file.
63359
63360 2013-10-01 Eric Blake <eblake@redhat.com>
63361
63362 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63363 Use __THROWNL rather than __THROW on static functions.
63364
63365 2013-09-30 Petr Machata <pmachata@redhat.com>
63366
63367 * elf/elf.h (R_AARCH64_ABS16): New macro.
63368 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63369 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63370 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63371 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63372 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63373 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63374 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63375 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63376 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63377 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63378 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63379 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63380 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63381 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63382 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63383 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63384 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63385 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63386 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63387 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63388 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63389 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63390 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63391 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63392 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63393 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63394 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63395 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63396 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63397 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63398 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63399 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63400 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63401 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63402 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63403 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63404 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63405 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63406 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63407 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63408 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63409 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63410 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63411 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63412 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63413 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63414 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63415 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63416 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63417 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63418 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63419 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63420 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63421 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63422 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63423 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63424 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63425 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63426 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63427 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63428 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63429 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63430 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63431 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63432 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63433 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63434 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63435 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63436 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63437 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63438 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63439 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63440 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63441 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63442 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63443 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63444 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63445 (R_AARCH64_TLSDESC_LDR): Likewise.
63446 (R_AARCH64_TLSDESC_ADD): Likewise.
63447 (R_AARCH64_TLSDESC_CALL): Likewise.
63448
63449 2013-09-30 Andreas Schwab <schwab@suse.de>
63450
63451 [BZ #15048]
63452 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63453 the nss database lookup.
63454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63456
63457 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63458
63459 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63460
63461 2013-09-28 P. J. McDermott <pj@pehjota.net>
63462
63463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63464 ${Bash-specific parameter/pattern/string} parameter expansion.
63465 * sysdeps/unix/make-syscalls.sh: Likewise.
63466
63467 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63468
63469 * sysdeps/sh/stackguard-macros.h: New file.
63470
63471 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
63472
63473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63475 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63476 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63478 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63479
63480 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63481
63482 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63483 Fix thread ID register.
63484
63485 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63486
63487 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63488 [POSIX || UNIX98]: Require rather than permitting all symbols from
63489 <time.h>.
63490 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63491 element of struct sched_param.
63492 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63493 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63494 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63495 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63496 constant.
63497
63498 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63499
63500 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63501 argument calculation.
63502
63503 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63504
63505 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63506 Expect macro.
63507 [POSIX] (pthread_attr_t): Do not require type.
63508 [POSIX] (pthread_cond_t): Likewise.
63509 [POSIX] (pthread_condattr_t): Likewise.
63510 [POSIX] (pthread_key_t): Likewise.
63511 [POSIX] (pthread_mutex_t): Likewise.
63512 [POSIX] (pthread_mutexattr_t): Likewise.
63513 [POSIX] (pthread_once_t): Likewise.
63514 [POSIX] (pthread_t): Likewise.
63515 [POSIX-based standards] (pthread_atfork): Expect function.
63516
63517 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63518 Richard Sandiford <richard@codesourcery.com>
63519
63520 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63521 (swap_endianness_p): New extern variable.
63522 (set_big_endian): New inline function.
63523 (maybe_swap_uint32): Likewise.
63524 (maybe_swap_uint32_array): Likewise.
63525 (maybe_swap_uint32_obstack): Likewise.
63526 * locale/programs/locfile.c: Include <stdbool.h>.
63527 (swap_endianness_p): New variable.
63528 (add_locale_uint32): Call maybe_swap_uint32.
63529 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63530 (write_locale_data): Call maybe_swap_uint32_array.
63531 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63532 maybe_swap_uint32.
63533 (obstack_int32_grow_fast): Likewise.
63534 (output_weightwc): Call maybe_swap_uint32_obstack.
63535 (collate_output): Likewise.
63536 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63537 (OPT_LITTLE_ENDIAN): Likewise.
63538 (options): Add --little-endian and --big-endian options.
63539 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63540 * locale/programs/locarchive.c: Include "locfile.h".
63541 (GET): New macro.
63542 (SET): Likewise.
63543 (INC): Likewise.
63544 (create_archive): Use the new macros to access fields of
63545 structures directly mapped from or written to locale archives.
63546 (oldlocrecentcmp): Likewise.
63547 (enlarge_archive): Likewise.
63548 (insert_name): Likewise.
63549 (add_alias): Likewise.
63550 (add_locale): Likewise.
63551 (delete_locales_from_archive): Likewise.
63552 (show_archive_content): Likewise.
63553 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63554 locale data.
63555
63556 2013-09-24 Roland McGrath <roland@hack.frob.com>
63557
63558 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63559 http://www.gnu.org/doc/freemanuals.texi.
63560 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63561
63562 2013-09-24 Will Newton <will.newton@linaro.org>
63563
63564 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63565 macro.
63566
63567 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63568
63569 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63570 unsigned char.
63571
63572 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63573
63574 * manual/threads.texi (POSIX Threads): Fix a typo.
63575
63576 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63577
63578 [BZ #14547]
63579 * string/tst-strcoll-overflow.c: New test case.
63580 * string/Makefile (xtests): Add tst-strcoll-overflow.
63581 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63582 cache if string sizes may cause integer overflow.
63583
63584 [BZ #14547]
63585 * string/strcoll_l.c (coll_seq): New members rule, idx,
63586 save_idx and back_us.
63587 (get_next_seq_nocache): New function.
63588 (do_compare_nocache): New function.
63589 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63590 when malloc fails.
63591
63592 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63593
63594 [BZ #15754]
63595 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63596 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63597 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63598
63599 [BZ #15754]
63600 * elf/Makefile (tests): Add tst-ptrguard1.
63601 (tests-static): Add tst-ptrguard1-static.
63602 (tst-ptrguard1-ARGS): Define.
63603 (tst-ptrguard1-static-ARGS): Define.
63604 * elf/tst-ptrguard1.c: New file.
63605 * elf/tst-ptrguard1-static.c: New file.
63606 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63607 * sysdeps/i386/stackguard-macros.h: Likewise.
63608 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63609 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63610 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63611 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63612 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63613 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63614
63615 2013-09-23 Hector Marco <hecmargi@upv.es>
63616 Ismael Ripoll <iripoll@disca.upv.es>
63617 Carlos O'Donell <carlos@redhat.com>
63618
63619 [BZ #15754]
63620 * sysdeps/generic/stackguard-macros.h: Define
63621 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63622 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63623 Define __pointer_chk_guard_local.
63624 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63625 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63626
63627 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63628
63629 [BZ #15859]
63630 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63631
63632 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63633
63634 * include/string.h (__ffs): Declare as hidden.
63635 * string/ffs.c (__ffs): Define as hidden.
63636 * sysdeps/i386/ffs.c (__ffs): Likewise.
63637 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63638 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63639 * sysdeps/s390/ffs.c (__ffs): Likewise.
63640 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63641
63642 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63643
63644 * NEWS: Mention malloc probes.
63645
63646 * malloc/arena.c (new_heap): New memory_heap_new probe.
63647 (grow_heap): New memory_heap_more probe.
63648 (shrink_heap): New memory_heap_less probe.
63649 (heap_trim): New memory_heap_free probe.
63650 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63651 (systrim): New memory_sbrk_less probe.
63652 * manual/probes.texi: Document them.
63653
63654 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63655 * manual/probes.texi: Document it.
63656
63657 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63658 (__libc_realloc): Add memory_realloc_retry probe.
63659 (__libc_memalign): Add memory_memalign_retry probe.
63660 (__libc_valloc): Add memory_valloc_retry probe.
63661 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63662 (__libc_calloc): Add memory_calloc_retry probe.
63663 * manual/probes.texi: Document them.
63664
63665 * malloc/arena.c (get_free_list): Add probe
63666 memory_arena_reuse_free_list.
63667 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63668 and memory_arena_reuse.
63669 (arena_get2) [!PER_THREAD]: Likewise.
63670 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63671 memory_arena_reuse_realloc.
63672 * manual/probes.texi: Document them.
63673
63674 * malloc/malloc.c (__libc_free): Add
63675 memory_mallopt_free_dyn_thresholds probe.
63676 (__libc_mallopt): Add multiple memory_mallopt probes.
63677 * manual/probes.texi: Document them.
63678
63679 * malloc/malloc.c: Include stap-probe.h.
63680 (__libc_mallopt): Add memory_mallopt probe.
63681 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63682 * manual/probes.texi: New.
63683 * manual/Makefile (chapters): Add probes.
63684 * manual/threads.texi: Set next node.
63685
63686 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63687
63688 [BZ #15963, #13985]
63689 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63690 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63691 Add `Chinese' to `nan' entry name.
63692
63693 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63694
63695 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63696 (POLYNOMIAL): Likewise.
63697 (TAYLOR_SINCOS): Likewise.
63698 (TAYLOR_SLOW): Likewise.
63699 (__sin): Use TAYLOR_SINCOS.
63700 (__cos): Likewise.
63701 (slow): Use TAYLOR_SLOW.
63702 (sloww): Likewise.
63703 (bsloww): Likewise.
63704 (csloww): Likewise.
63705
63706 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63707
63708 * stdlib/strtod_l.c: Fix buffer overrun.
63709
63710 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63711
63712 * benchtests/Makefile (bench): Add sincos.
63713 * benchtests/bench-sincos.c: New file.
63714
63715 * math/libm-test.inc (cos_test_data): New test inputs.
63716 (sin_test_data): Likewise.
63717
63718 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63719 macro.
63720 (__sin): Use it.
63721 (__cos): Likewise.
63722 (slow1): Likewise.
63723 (slow2): Likewise.
63724 (sloww1): Likewise.
63725 (sloww2): Likewise.
63726 (bsloww1): Likewise.
63727 (bsloww2): Likewise.
63728 (cslow2): Likewise.
63729 (csloww1): Likewise.
63730 (csloww2): Likewise.
63731
63732 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63733 function.
63734 (__sin): Use it.
63735 (__cos): Likewise.
63736
63737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63738 gotos.
63739 (__cos): Likewise.
63740
63741 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63742
63743 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63744 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63745 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63746 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63747 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63748 * elf/cache.c (print_entry): Handle the new cache flags.
63749
63750 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63751 Aldy Hernandez <aldyh@redhat.com>
63752
63753 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63754 Change condition to [_SOFT_FLOAT].
63755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63767 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63770 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63771 declaration.
63772
63773 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63774
63775 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63776 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63777 (__longjmp): Use LOAD_GP to load saved GPRs.
63778 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63779 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63780 (__sigsetjmp): Use SAVE_GP to save GPRs.
63781
63782 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63783 Do not append -msoft-float.
63784 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63785
63786 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63787
63788 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63789
63790 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63791
63792 [BZ #15966]
63793 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63794 (_FPU_GETCW): Use initial "__" on variable and field names but not
63795 on macro parameter name.
63796 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63797 parentheses around reference to macro parameter.
63798
63799 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63800
63801 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63802 prototype.
63803 (ctype_startup): Use uint32_t in cast and sizeof for
63804 ctype->charnames.
63805
63806 2013-09-11 Jia Liu <proljc@gmail.com>
63807
63808 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63809 __daddr_t_defined.
63810 [__FreeBSD__]: Likewise.
63811
63812 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
63813
63814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63815 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63816 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63817 (strchr): Remove __strchr_sse42 ifunc selection.
63818 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63819 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63820
63821 2013-09-11 Will Newton <will.newton@linaro.org>
63822
63823 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63824 parameter to RES. Remove hardcoded 1000 value.
63825 * benchtests/bench-skeleton.c (main): Pass RES parameter
63826 to TIMING_INIT and multiply result by 1000.
63827
63828 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63829
63830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63831
63832 2013-09-11 Andreas Schwab <schwab@suse.de>
63833
63834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63835 if not defined.
63836 (O_TMPFILE) [__USE_GNU]: Define.
63837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63838 Define.
63839
63840 2013-09-11 Will Newton <will.newton@linaro.org>
63841
63842 [BZ #15857]
63843 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63844 does not overflow.
63845
63846 2013-09-11 Will Newton <will.newton@linaro.org>
63847
63848 [BZ #15856]
63849 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63850 does not overflow.
63851
63852 2013-09-11 Will Newton <will.newton@linaro.org>
63853
63854 [BZ #15855]
63855 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63856 does not overflow.
63857
63858 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63859
63860 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63861 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63864 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63865
63866 2013-09-10 Allan McRae <allan@archlinux.org>
63867
63868 [BZ #15748]
63869 * manual/arith.texi (Parsing of Floats): Clarify
63870 cross-reference.
63871
63872 [BZ #15849]
63873 * manual/install.texi (Running make install): Mention
63874 --enable-pt-chown.
63875 * INSTALL: Regenerated.
63876
63877 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63878
63879 * csu/init-first.c (_init): Remove the !SHARED condition around
63880 FPU control word initialization.
63881 * elf/dl-support.c (_dl_fpu_control): New variable.
63882 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63883 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63884 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63885 * math/test-fpucw-static.c: New file.
63886 * math/test-fpucw-ieee.c: New file.
63887 * math/test-fpucw-ieee-static.c: New file.
63888 * math/Makefile (tests): Add `test-fpucw-ieee' and
63889 `$(tests-static)'.
63890 (tests-static): New variable.
63891 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63892 dependency to...
63893 [($(build-shared),yes)]
63894 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63895 ... this.
63896 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63897 New dependency.
63898
63899 2013-09-09 Allan McRae <allan@archlinux.org>
63900
63901 [BZ #15939]
63902 * manual/string.texi (Collation Functions): Fix typo in
63903 strcoll example.
63904 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63905
63906 [BZ #15893]
63907 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63908
63909 [BZ #15892]
63910 * libio/memstream.c (open_memstream): Fix memory leak.
63911 * libio/wmemstream.c (open_wmemstream): Likewise.
63912
63913 [BZ #15895]
63914 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63915
63916 2013-09-09 Will Newton <will.newton@linaro.org>
63917
63918 * malloc/Makefile: Add tst-realloc to tests.
63919 * malloc/tst-realloc.c: New file.
63920
63921 2013-09-09 Allan McRae <allan@archlinux.org>
63922
63923 [BZ #15844]
63924 * COPYING: Update from GNU website to fix FSF address.
63925 * COPYING.LIB: Likewise.
63926
63927 2013-09-06 David S. Miller <davem@davemloft.net>
63928
63929 * po/zh_TW.po: Update Chinese (traditional) translation from
63930 translation project.
63931
63932 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63933 Joseph Myers <joseph@codesourcery.com>
63934
63935 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63936 "localeinfo.h".
63937 (obstack_chunk_alloc): New macro.
63938 (obstack_chunk_free): Likewise.
63939 (record_offset): New function.
63940 (init_locale_data): Likewise.
63941 (align_locale_data): Likewise.
63942 (add_locale_empty): Likewise.
63943 (add_locale_raw_data): Likewise.
63944 (add_locale_raw_obstack): Likewise.
63945 (add_locale_string): Likewise.
63946 (add_locale_wstring): Likewise.
63947 (add_locale_uint32): Likewise.
63948 (add_locale_uint32_array): Likewise.
63949 (add_locale_char): Likewise.
63950 (start_locale_structure): Likewise.
63951 (end_locale_structure): Likewise.
63952 (start_locale_prelude): Likewise.
63953 (end_locale_prelude): Likewise.
63954 (write_locale_data): Take locale_file structure rather than an
63955 iovec.
63956 * locale/programs/locfile.h: Include "obstack.h".
63957 (struct locale_file): Change to store locale file contents instead
63958 of header.
63959 (init_locale_data): New prototype.
63960 (align_locale_data): Likewise.
63961 (add_locale_empty): Likewise.
63962 (add_locale_raw_data): Likewise.
63963 (add_locale_raw_obstack): Likewise.
63964 (add_locale_string): Likewise.
63965 (add_locale_wstring): Likewise.
63966 (add_locale_uint32): Likewise.
63967 (add_locale_uint32_array): Likewise.
63968 (add_locale_char): Likewise.
63969 (start_locale_structure): Likewise.
63970 (end_locale_structure): Likewise.
63971 (start_locale_prelude): Likewise.
63972 (end_locale_prelude): Likewise.
63973 (write_locale_data): Update prototype.
63974 * locale/programs/3level.h (struct TABLE): Remove result field.
63975 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63976 Use new locale_file interface.
63977 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63978 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63979 * locale/programs/ld-address.c (address_output): Use new
63980 locale_file interface.
63981 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63982 NO_ADD_LOCALE.
63983 (collate_finish): Don't call collseq_table_finalize.
63984 (collate_output): Use new locale_file interface.
63985 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63986 in file.
63987 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63988 (TABLE): Move defines earlier in file.
63989 (ELEMENT): Likewise.
63990 (DEFAULT): Likewise.
63991 (wctrans_table_add): Move macro and inline function earlier in
63992 file.
63993 (struct wctype_table): Move type earlier in file.
63994 (add_locale_wctype_table): New static prototype.
63995 (struct locale_ctype_t): Use logical types instead of struct iovec
63996 pointers for members.
63997 (ctype_output): Use new locale_file interface.
63998 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63999 new locale_file interface.
64000 (allocate_arrays): Update for use of new locale_file interface.
64001 * locale/programs/ld-identification.c (identification_output): Use
64002 new locale_file interface.
64003 * locale/programs/ld-measurement.c (measurement_output): Likewise.
64004 * locale/programs/ld-messages.c (messages_output): Likewise.
64005 * locale/programs/ld-monetary.c (monetary_output): Likewise.
64006 * locale/programs/ld-name.c (name_output): Likewise.
64007 * locale/programs/ld-numeric.c (numeric_output): Likewise.
64008 * locale/programs/ld-paper.c (paper_output): Likewise.
64009 * locale/programs/ld-telephone.c (telephone_output): Likewise.
64010 * locale/programs/ld-time.c (time_output): Likewise.
64011
64012 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64013
64014 * benchtests/Makefile: Add memrchr benchmark.
64015 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
64016 benchmark as memrchr.
64017 * benchtests/bench-memrchr-ifunc.c: New file.
64018 * benchtests/bench-memrchr.c: New file.
64019
64020 2013-09-06 Will Newton <will.newton@linaro.org>
64021
64022 * benchtests/Makefile (string-bench): Add memcpy.
64023
64024 2013-09-05 Carlos O'Donell <carlos@redhat.com>
64025 Cong Wang <amwang@redhat.com>
64026
64027 [BZ #15850]
64028 * sysdeps/unix/sysv/linux/bits/in.h
64029 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
64030 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
64031 before __USE_KERNEL_IPV6_DEFS uses.
64032 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
64033 IPPROTO_BEETPH.
64034 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
64035 sockaddr_in6, or ipv6_mreq.
64036
64037 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64038
64039 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
64040 memory access for final bytes in some large inputs.
64041 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
64042
64043 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64044
64045 * string/test-memrchr.c: New file.
64046 * string/test-memrchr-ifunc.c: New file.
64047 * string/Makefile: Add new memrchr testcase.
64048
64049 2013-09-05 Mike Frysinger <vapier@gentoo.org>
64050
64051 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
64052 fanotify_init returns EPERM.
64053
64054 2013-09-04 Joseph Myers <joseph@codesourcery.com>
64055
64056 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
64057 errors.
64058 (top level): Treat second token from macro or constant entries for
64059 allowed headers as allowed.
64060 * include/complex.h: Condition internal declarations on
64061 [!_ISOMAC].
64062 * include/fenv.h: Condition include of <stdbool.h> and internal
64063 declarations on [!_ISOMAC].
64064
64065 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
64066
64067 [BZ #15923]
64068 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
64069
64070 2013-09-04 Joseph Myers <joseph@codesourcery.com>
64071
64072 * configure.in (--enable-versioning): Remove configure option.
64073 (libc_cv_asm_symver_directive): Remove configure test.
64074 (libc_cv_ld_version_script_option): Likewise.
64075 (VERSIONING): Remove variable and AC_SUBST.
64076 (DO_VERSIONING): Remove AC_DEFINE.
64077 * configure: Regenerated.
64078 * config.h.in (DO_VERSIONING): Remove macro.
64079 * Makerules [$(versioning) = yes]: Change conditionals to
64080 [$(build-shared) = yes].
64081 * config.make.in (versioning): Remove variable.
64082 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
64083 [$(build-shared) = yes].
64084 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
64085 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
64086 * elf/Makefile [$(versioning) = yes]: Change conditionals to
64087 [$(build-shared) = yes].
64088 * extra-lib.mk [$(versioning) = yes]: Likewise.
64089 * hurd/Makefile [$(versioning) = yes]: Likewise.
64090 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
64091 [SHARED].
64092 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
64093 [SHARED].
64094 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64095 [SHARED && !NO_HIDDEN].
64096 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
64097 [SHARED].
64098 [SHARED && DO_VERSIONING]: Likewise..
64099 * libio/Makefile [$(versioning) = yes]: Change conditionals to
64100 [$(build-shared) = yes].
64101 * manual/install.texi (--disable-versioning): Remove
64102 documentation.
64103 * INSTALL: Regenerated.
64104 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
64105 to [SHARED].
64106 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
64107 [$(build-shared) = yes].
64108 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
64109 * sysdeps/i386/i686/multiarch/strstr-c.c
64110 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64111 [SHARED && !NO_HIDDEN].
64112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
64113 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
64114 * sysdeps/powerpc/powerpc32/dl-machine.c
64115 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
64116 * sysdeps/powerpc/powerpc32/sysdep.h
64117 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
64118 to [SHARED && PIC && !NO_HIDDEN].
64119 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
64120 conditional to [SHARED].
64121
64122 2013-09-04 Will Newton <will.newton@linaro.org>
64123
64124 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
64125 * benchtests/bench-string.h: Include bench-timing.h instead
64126 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
64127 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
64128 call to HP_TIMING_DIFF_INIT.
64129 * benchtests/bench-memccpy.c: Use bench-timing.h macros
64130 instead of hp-timing.h macros.
64131 * benchtests/bench-memchr.c: Likewise.
64132 * benchtests/bench-memcmp.c: Likewise.
64133 * benchtests/bench-memcpy.c: Likewise.
64134 * benchtests/bench-memmem.c: Likewise.
64135 * benchtests/bench-memmove.c: Likewise.
64136 * benchtests/bench-memset.c: Likewise.
64137 * benchtests/bench-rawmemchr.c: Likewise.
64138 * benchtests/bench-strcasecmp.c: Likewise.
64139 * benchtests/bench-strcasestr.c: Likewise.
64140 * benchtests/bench-strcat.c: Likewise.
64141 * benchtests/bench-strchr.c: Likewise.
64142 * benchtests/bench-strcmp.c: Likewise.
64143 * benchtests/bench-strcpy.c: Likewise.
64144 * benchtests/bench-strcpy_chk.c: Likewise.
64145 * benchtests/bench-strlen.c: Likewise.
64146 * benchtests/bench-strncasecmp.c: Likewise.
64147 * benchtests/bench-strncat.c: Likewise.
64148 * benchtests/bench-strncmp.c: Likewise.
64149 * benchtests/bench-strncpy.c: Likewise.
64150 * benchtests/bench-strnlen.c: Likewise.
64151 * benchtests/bench-strpbrk.c: Likewise.
64152 * benchtests/bench-strrchr.c: Likewise.
64153 * benchtests/bench-strspn.c: Likewise.
64154 * benchtests/bench-strstr.c: Likewise.
64155
64156 2013-09-04 Will Newton <will.newton@linaro.org>
64157
64158 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64159
64160 2013-09-03 Joseph Myers <joseph@codesourcery.com>
64161
64162 [BZ #15427]
64163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64164 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64165 * math/libm-test.inc (lgamma_test_data): Add more tests.
64166 * sysdeps/i386/fpu/libm-test-ulps: Update.
64167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64168
64169 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
64170
64171 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64173 Add ifunc.
64174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64175 Add strcmp-sse2-unaligned
64176 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64177
64178 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64179
64180 * Versions.def (libc): Add GLIBC_2.19.
64181
64182 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64183
64184 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64185 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64186
64187 2013-09-02 Joseph Myers <joseph@codesourcery.com>
64188
64189 [BZ #14155]
64190 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64191 intermediate calculations in recurrence.
64192 (__ieee754_ynf): Likewise.
64193 * math/libm-test.inc (jn_test_data): Do not allow spurious
64194 underflow exception. Add more tests.
64195 (yn_test_data): Add more tests.
64196 * sysdeps/i386/fpu/libm-test-ulps: Update.
64197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64198
64199 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
64200
64201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64202
64203 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
64204
64205 * csu/init-first.c: Fix then/than typos.
64206 * locale/programs/ld-collate.c: Likewise.
64207 * locale/programs/linereader.h: Likewise.
64208 * manual/charset.texi: Likewise.
64209 * manual/filesys.texi: Likewise.
64210 * manual/stdio.texi: Likewise.
64211 * manual/string.texi: Likewise.
64212 * stdlib/fmtmsg.c: Likewise.
64213 * sysdeps/i386/stpncpy.S: Likewise.
64214 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64215 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64216 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64217 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64218
64219 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
64220
64221 * elf/dl-open.c: Fix typos.
64222 * iconvdata/gbbig5.c: Likewise.
64223 * iconvdata/iso-2022-jp.c: Likewise.
64224 * iconv/gconv_int.h: Likewise.
64225 * iconv/loop.c: Likewise.
64226 * nis/rpcsvc/nis.h: Likewise.
64227 * resolv/ns_name.c: Likewise.
64228 * stdio-common/vfscanf.c: Likewise.
64229 * streams/stropts.h: Likewise.
64230 * sunrpc/rpc_thread.c: Likewise.
64231 * sysdeps/i386/strpbrk.S: Likewise.
64232 * sysdeps/ieee754/k_standard.c: Likewise.
64233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64235 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64236 * sysdeps/mach/hurd/profil.c: Likewise.
64237 * sysdeps/s390/dl-procinfo.h: Likewise.
64238 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64239 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64240 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64241 * sysdeps/x86_64/dl-trampoline.S: Likewise.
64242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64243
64244 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
64245
64246 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64248
64249 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
64250
64251 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64252 aix specific files.
64253 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64254 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64255 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64256 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64257 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64258 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64259 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64260 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64261
64262 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64263 Roland McGrath <roland@hack.frob.com>
64264
64265 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64266 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64267
64268 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
64269
64270 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64271 __executable_start symbol instead of _start.
64272
64273 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64274
64275 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64276 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64277 Move macros to...
64278 * sysdeps/gnu/ldsodefs.h: ... this new file.
64279
64280 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64281 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64282 instead of ELFOSABI_LINUX.
64283
64284 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64285 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64286 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64287 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64288 Likewise.
64289 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64290 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64291 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64292 Likewise.
64293 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64294 (ibm_extended_long_double): Add ieee_nan member.
64295 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64296 (do_test): New function.
64297
64298 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64299 TEST_TRUNC.
64300 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64301 functions, renamed from truncdfsf_test, trunctfsf_test,
64302 trunctfdf_test.
64303 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64304 functions.
64305 (do_test): Run all these.
64306
64307 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
64308
64309 * argp/argp-help.c: Fix typos.
64310 * argp/argp-parse.c: Likewise.
64311 * debug/backtracesyms.c: Likewise.
64312 * elf/elf.h: Likewise.
64313 * malloc/malloc.c: Likewise.
64314 * nis/nis_print.c: Likewise.
64315 * resolv/res_comp.c: Likewise.
64316 * stdlib/stdlib.h: Likewise.
64317 * sunrpc/clnt_tcp.c: Likewise.
64318 * sunrpc/clnt_udp.c: Likewise.
64319 * sunrpc/clnt_unix.c: Likewise.
64320 * sysdeps/unix/bsd/ptsname.c: Likewise.
64321 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64322 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64324 Likewise.
64325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64326 Likewise.
64327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64328 Likewise.
64329 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64330
64331 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64332
64333 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64335
64336 2013-08-27 Mike Frysinger <vapier@gentoo.org>
64337
64338 [BZ #15897]
64339 * dlfcn/Makefile (tests): Add bug-dl-leaf.
64340 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64341 ($(objpfx)bug-dl-leaf): New rule.
64342 ($(objpfx)bug-dl-leaf.so): Likewise.
64343 ($(objpfx)bug-dl-leaf.out): Likewise.
64344 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64345 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64346 * dlfcn/bug-dl-leaf.c: New test.
64347 * dlfcn/bug-dl-leaf-lib.c: Likewise.
64348 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64349 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64350 (dlclose): Likewise.
64351 (dlmopen): Likewise.
64352
64353 2013-08-27 Roland McGrath <roland@hack.frob.com>
64354
64355 * include/netdb.h [!_ISOMAC]:
64356 Don't include <tls.h>.
64357 (h_errno, __libc_h_errno): Move declaration and macros out of
64358 [_LIBC_REENTRANT].
64359
64360 * include/resolv.h [_RESOLV_H_]:
64361 Don't include <tls.h>.
64362 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64363 * resolv/res_libc.c: Don't include <tls.h>.
64364 (_res): Use __attribute__ ((nocommon)) in place of
64365 __attribute__ ((section (".bss"))).
64366
64367 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64368 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64369
64370 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64371
64372 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64373 only under [SIOCGIFCONF && SIOCGIFNETMASK].
64374
64375 * resolv/res_mkquery.c: Include <sys/time.h>.
64376
64377 * inet/ifreq.c: Moved to ...
64378 * sysdeps/unix/ifreq.c: ... here.
64379 * inet/ifreq.c: New file, true stub version.
64380
64381 * socket/sa_len.c: New file.
64382 * socket/Makefile (aux): Add it.
64383 * sysdeps/unix/sysv/linux/Makefile
64384 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64385 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64386 and #include <socket/sa_len.c>.
64387 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64388 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64389
64390 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64391 * bits/socket.h: ... here.
64392
64393 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64394 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64395 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64396
64397 2013-08-27 Andreas Schwab <schwab@suse.de>
64398
64399 [BZ #15736]
64400 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64401 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64402 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64403 * string/test-strcasecmp.c (test_main): Run tests in several
64404 locales.
64405 * string/test-strncasecmp.c (test_main): Likewise.
64406
64407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64408 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64409 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64411 (__strncasecmp_ssse3) [PIC]: Likewise.
64412
64413 2013-08-26 Roland McGrath <roland@hack.frob.com>
64414
64415 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64416
64417 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64418 instead of explicitly declaring xdecrypt.
64419 * nis/nss_nis/nis-publickey.c: Likewise.
64420
64421 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64422
64423 [BZ #15890]
64424 * nscd/aicache.c: Include res_hconf.h.
64425 (addhstaiX): Initialize res_hconf.
64426
64427 2013-08-26 Andreas Schwab <schwab@suse.de>
64428
64429 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64430 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64431
64432 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64433
64434 * nscd/aicache.c (addhstaiX): Fix indentation.
64435
64436 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64437
64438 * configure.ac: Quote $build_pt_chown test.
64439 * configure: Regenerated.
64440
64441 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64442
64443 [BZ #15532]
64444 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64445 * math/s_cexpf.c (__cexpf): Likewise.
64446 * math/s_cexpl.c (__cexpl): Likewise.
64447 * math/libm-test.inc (cexp_test_data): Correct expected return
64448 value for NaN + i0. Add another test.
64449
64450 2013-08-22 David S. Miller <davem@davemloft.net>
64451
64452 * po/ca.po: Update Catalan translation from translation project.
64453 * po/uk.po: Add Ukrainian translations from translation project.
64454
64455 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64456
64457 [BZ #15797]
64458 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64459 is infinite, not alongside NaN test.
64460 * math/s_fdimf.c (__fdimf): Likewise.
64461 * math/s_fdiml.c (__fdiml): Likewise.
64462 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64463 errno is unchanged.
64464
64465 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
64466
64467 * argp/argp-help.c: Fix typos.
64468 * crypt/speeds.c: Likewise.
64469 * csu/check_fds.c: Likewise.
64470 * elf/dl-load.c: Likewise.
64471 * elf/dl-open.c: Likewise.
64472 * elf/reldep3.c: Likewise.
64473 * elf/reldep.c: Likewise.
64474 * elf/sprof.c: Likewise.
64475 * iconv/iconv_charmap.c: Likewise.
64476 * iconv/skeleton.c: Likewise.
64477 * iconv/strtab.c: Likewise.
64478 * io/lockf64.c: Likewise.
64479 * libio/libioP.h: Likewise.
64480 * resolv/gai_notify.c: Likewise.
64481 * resolv/ns_name.c: Likewise.
64482 * resolv/ns_samedomain.c: Likewise.
64483 * resolv/res_send.c: Likewise.
64484 * stdlib/random.c: Likewise.
64485 * sunrpc/rpc/xdr.h: Likewise.
64486 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64487 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64488 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64489 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64494 * sysdeps/mach/hurd/check_fds.c: Likewise.
64495 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64496 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64499 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64500 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64501 * sysdeps/pthread/aio_notify.c: Likewise.
64502 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64503 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64506 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64507
64508 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64509
64510 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64511 version if bit_Slow_SSE4_2 is set.
64512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64514
64515 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64516
64517 [BZ #15867]
64518 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64519 trampoline stack frame information.
64520 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64522 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64523 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64524 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64525 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64526 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64527 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64528 sa_flags value.
64529 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64530 interrupting a syscall and set with option SA_SIGINFO.
64531
64532 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64533
64534 [BZ #15531]
64535 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64536 argument is infinite.
64537 * math/s_cprojf.c (__cprojf): Likewise.
64538 * math/s_cprojl.c (__cprojl): Likewise.
64539 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64540 * math/libm-test.inc (cproj_test_data): Add more tests.
64541
64542 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64543
64544 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64545 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64546 size. Use __ffs to determine corresponding shift.
64547
64548 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64549 Roland McGrath <roland@hack.frob.com>
64550
64551 * Makefile (INSTALL): Remove trailing blank lines from output of
64552 makeinfo.
64553
64554 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64555
64556 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64557 Align 32 bit compat elf_greg to 8 bytes.
64558
64559 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64560
64561 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64562
64563 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64564
64565 * string/strcoll_l.c (coll_seq): New structure.
64566 (get_next_seq_cached): New function.
64567 (get_next_seq): New function.
64568 (do_compare): New function.
64569 (STRCOLL): Use GNU style definition. Simplify implementation
64570 by using get_next_seq, get_next_seq_cached and do_compare.
64571
64572 2013-08-16 Florian Weimer <fweimer@redhat.com>
64573
64574 [BZ #14699]
64575 CVE-2013-4237
64576 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64577 member.
64578 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64579 member.
64580 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64581 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64582 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64583 conditional.
64584 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64585 GETDENTS_64BIT_ALIGNED.
64586 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64587 * manual/filesys.texi (Reading/Closing Directory): Document
64588 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64589 strongly.
64590 * manual/conf.texi (Limits for Files): Add portability note to
64591 NAME_MAX, PATH_MAX.
64592 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64593
64594 2013-08-13 Andreas Schwab <schwab@suse.de>
64595
64596 [BZ #15749]
64597 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64598 of fabs.
64599 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64600 LDBL_MAX_EXP >= 16384]: Add tests for it.
64601
64602 2013-08-12 David S. Miller <davem@davemloft.net>
64603
64604 * version.h (RELEASE): Set to "development".
64605 (VERSION): Set to "2.18.90".
64606 * NEWS: Add 2.19 section.
64607
64608 2013-08-03 David S. Miller <davem@davemloft.net>
64609
64610 * po/ko.po: Update Korean translation from translation project.
64611
64612 2013-08-01 David S. Miller <davem@davemloft.net>
64613
64614 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64615 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64616 Bilka.
64617
64618 2013-07-30 David S. Miller <davem@davemloft.net>
64619
64620 * po/fr.po: Update French translation from translation project.
64621
64622 2013-07-28 David S. Miller <davem@davemloft.net>
64623
64624 * po/cs.po: Update Czech translation from translation project.
64625
64626 * po/sv.po: Update Swedish translation from translation project.
64627
64628 2013-07-27 David S. Miller <davem@davemloft.net>
64629
64630 * po/eo.po: Update Esperanto translation from translation project.
64631
64632 * po/vi.po: Update Vietnamese translation from translation project.
64633
64634 * po/de.po: Update German translation from translation project.
64635
64636 2013-07-26 David S. Miller <davem@davemloft.net>
64637
64638 * po/bg.po: Update Bulgarian translation from translation project.
64639
64640 * po/nl.po: Update Dutch translation from translation project.
64641 * po/pl.po: Update Polish translation from translation project.
64642 * po/ru.po: Update Russian translation from translation project.
64643
64644 2013-07-24 David S. Miller <davem@davemloft.net>
64645
64646 * po/libc.pot: Update.
64647
64648 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64649
64650 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64651 variable page size.
64652 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64653 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64654 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64655
64656 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64657
64658 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64659
64660 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64661 Andreas Schwab <schwab@suse.de>
64662 Roland McGrath <roland@hack.frob.com>
64663 Joseph Myers <joseph@codesourcery.com>
64664 Carlos O'Donell <carlos@redhat.com>
64665
64666 [BZ #15755]
64667 * config.h.in: Define HAVE_PT_CHOWN.
64668 * config.make.in (build-pt-chown): New variable.
64669 * configure.in (--enable-pt_chown): New configure option.
64670 * configure: Regenerate.
64671 * login/Makefile: Include Makeconfig. Build pt_chown only if
64672 build-pt-chown is enabled.
64673 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64674 pt_chown to fix pty ownership.
64675 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64676 CLOSE_ALL_FDS.
64677 * manual/install.texi (Configuring and compiling): Mention
64678 --enable-pt_chown. Add @findex for grantpt.
64679 * INSTALL: Regenerate.
64680
64681 2013-07-20 David S. Miller <davem@davemloft.net>
64682
64683 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64684 difference between 32-bit and 64-bit.
64685
64686 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64687
64688 [BZ #15711]
64689 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64690 Avoid system header dependency with -ffreestanding.
64691 ($(objpfx)bits/syscall%d): Likewise.
64692
64693 2013-07-13 David S. Miller <davem@davemloft.net>
64694
64695 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64696 underflows from atanl/atan2l due to bug 15319.
64697 (casinh_test_data): Likewise.
64698
64699 2013-07-07 David S. Miller <davem@davemloft.net>
64700
64701 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64702
64703 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64704
64705 * sysdeps/i386/fpu/libm-test-ulps: Update.
64706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64707
64708 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64709
64710 * configure.in (--enable-lock-elision): Fix message text.
64711 * INSTALL: Regenerate.
64712 * configure: Regenerate.
64713
64714 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64715
64716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64717
64718 2013-07-03 Andreas Jaeger <aj@suse.de>
64719
64720 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64721 define.
64722 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64723 (ptrace_peeksiginfo_args): Add.
64724 (__ptrace_peeksiginfo_flags): Add.
64725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64727 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64728
64729 2013-07-03 Allan McRae <allan@archlinux.org>
64730
64731 * sysdeps/i386/fpu/libm-test-ulps: Update.
64732
64733 2013-07-02 David S. Miller <davem@davemloft.net>
64734
64735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64736
64737 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64738
64739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64740
64741 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64742
64743 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64745
64746 2013-07-02 Andi Kleen <ak@linux.intel.com>
64747
64748 * config.h.in (ENABLE_LOCK_ELISION): Add.
64749 * configure.in (--enable-lock-elision): Add option.
64750 * manual/install.texi: Document --enable lock elision.
64751 * configure: Regenerate
64752 * INSTALL: Regenerate.
64753
64754 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64755
64756 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64757 SSE4.2 strcasecmp for libc.a.
64758 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64759
64760 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64761
64762 [BZ #13304]
64763 * soft-fp/op-common.h (_FP_FMA): New macro.
64764 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64765 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64766 (_FP_MUL_MEAT_1_imm): ... here.
64767 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64768 (_FP_MUL_MEAT_1_wide): ... here.
64769 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64770 (_FP_MUL_MEAT_1_hard): ... here.
64771 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64772 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64773 (_FP_MUL_MEAT_2_wide): ... here.
64774 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64775 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64776 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64777 (_FP_MUL_MEAT_2_gmp): ... here.
64778 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64779 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64780 (_FP_MUL_MEAT_4_wide): ... here.
64781 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64782 (_FP_MUL_MEAT_4_gmp): ... here.
64783 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64784 (_FP_WFRACBITS_DW_S): Likewise.
64785 (_FP_WFRACXBITS_DW_S): Likewise.
64786 (_FP_HIGHBIT_DW_S): Likewise.
64787 (FP_FMA_S): Likewise.
64788 (_FP_FRAC_HIGH_DW_S): Likewise.
64789 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64790 (_FP_WFRACBITS_DW_D): Likewise.
64791 (_FP_WFRACXBITS_DW_D): Likewise.
64792 (_FP_HIGHBIT_DW_D): Likewise.
64793 (FP_FMA_D): Likewise.
64794 (_FP_FRAC_HIGH_DW_D): Likewise.
64795 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64796 (_FP_WFRACBITS_DW_E): Likewise.
64797 (_FP_WFRACXBITS_DW_E): Likewise.
64798 (_FP_HIGHBIT_DW_E): Likewise.
64799 (FP_FMA_E): Likewise.
64800 (_FP_FRAC_HIGH_DW_E): Likewise.
64801 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64802 (_FP_WFRACBITS_DW_Q): Likewise.
64803 (_FP_WFRACXBITS_DW_Q): Likewise.
64804 (_FP_HIGHBIT_DW_Q): Likewise.
64805 (FP_FMA_Q): Likewise.
64806 (_FP_FRAC_HIGH_DW_Q): Likewise.
64807 * soft-fp/fmasf4.c: New file.
64808 * soft-fp/fmadf4.c: Likewise.
64809 * soft-fp/fmatf4.c: Likewise.
64810
64811 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64812
64813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64814 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64815 Silvermont.
64816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64817 macro.
64818 (index_Slow_SSE4_2): Likewise.
64819 (index_Prefer_PMINUB_for_stringop): Likewise.
64820 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64821 bit_Slow_SSE4_2 is set.
64822 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64824
64825 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64826
64827 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64828 rtld_global._dl_hwcap2.
64829 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64830 POWER8.
64831 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64832 POWER8 feature descriptions defined in _dl_hwcap2.
64833 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64834 string handling for POWER8 feature bits.
64835 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64836 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64837 _dl_powerpc_cap_flags.
64838 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64839 * sysdeps/powerpc/rtld-global-offsets.sym
64840 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64841 _dl_hwcap2 in the rtld_global_ro structure.
64842
64843 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64844
64845 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64846 hardware capabilities in support of AT_HWCAP2.
64847 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64848 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64849 GLRO(dl_hwcap2).
64850 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64851 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64852 explicitly the unknown a_type display mechanism is used.
64853 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64854 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64855 struct member.
64856 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64857 to macro prototype for AT_HWCAP2 support.
64858 * sysdeps/i386/dl-procinfo.h: Likewise.
64859 * sysdeps/s390/dl-procinfo.h: Likewise.
64860 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64861 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64862 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64863 return -1 for unknown a_type display fallback.
64864 * sysdeps/sparc/dl-procinfo.h: Likewise.
64865 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64866 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64867
64868 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64869
64870 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64871 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64872
64873 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64874
64875 [BZ #12492]
64876 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64877 mprotect making __stack_prot writable.
64878
64879 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64880 Joseph Myers <joseph@codesourcery.com>
64881
64882 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64883 as being properly aligned.
64884
64885 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64886
64887 * dlfcn/modstatic5.c: New file.
64888 * dlfcn/tststatic5.c: New file.
64889 * dlfcn/Makefile (tests): Add tststatic5.
64890 (tests-static): Likewise.
64891 (modules-names): Add modstatic5.
64892 (tststatic5-ENV): New variable.
64893 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64894
64895 [BZ #15022]
64896 * elf/dl-support.c (_dl_main_map): New variable.
64897 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64898 (_dl_nns, _dl_load_adds): Set to 1.
64899 (_dl_initial_searchlist): Refer to _dl_main_map.
64900 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64901 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64902 call to _dl_get_origin.
64903 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64904 around call_map.
64905 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64906 * dlfcn/modstatic3.c: New file.
64907 * dlfcn/tststatic3.c: New file.
64908 * dlfcn/tststatic4.c: New file.
64909 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64910 (tests-static): Likewise.
64911 (modules-names): Add modstatic3.
64912 (tststatic3-ENV, tststatic4-ENV): New variables.
64913 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64914 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64915
64916 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64917
64918 * configure.in (CC): Require GCC version 4.4 or later.
64919 * configure: Regenerated.
64920 * manual/install.texi (Tools for Compilation): Update GCC version
64921 requirement.
64922 * INSTALL: Regenerated.
64923
64924 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64925
64926 [BZ #15674]
64927 * string/test-memcmp.c (check2): New.
64928 (main): Call check2.
64929
64930 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64931
64932 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64933
64934 [BZ #15022]
64935 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64936 over to...
64937 (dl_open_worker) [!SHARED]: ... here.
64938
64939 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64940
64941 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64942
64943 2013-06-25 Richard Henderson <rth@redhat.com>
64944
64945 * locale/programs/locarchive.c: Include <libc-internal.h>
64946
64947 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64948
64949 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64950 trailing whitespace removed.
64951
64952 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64953
64954 [BZ #10283]
64955 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64956 * locale/programs/locarchive.c: Include libc-mmap.h.
64957 (prepare_address_space): Take two new outputs (the mmap base and len).
64958 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64959 values.
64960 (create_archive): Declare new mmap base and len values for
64961 prepare_address_space, and store the result in ah.
64962 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64963 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64964 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64965 Declare new mmap base and len values for
64966 prepare_address_space, and store the result in new_ah.
64967 (open_archive): Declare new mmap base and len values for
64968 prepare_address_space, and store the result in ah.
64969 (close_archive): If ah->mmap_base is not NULL, use that and
64970 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64971 * sysdeps/generic/libc-mmap.h: New file.
64972
64973 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64974
64975 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64976 (ALIGN_UP): Likewise.
64977 (PTR_ALIGN_DOWN): Likewise.
64978 (PTR_ALIGN_UP): Likewise.
64979
64980 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64981
64982 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64983 entry mapped to PPC_PLATFORM_POWER8.
64984 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64985 POWER8.
64986 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64987 (_dl_string_platform): Add case for exporting platform position for
64988 POWER8.
64989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64990 search path to sysdeps/powerpc/powerpc32/power8 directory.
64991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64992 search path to sysdeps/powerpc/powerpc64/power8 directory.
64993 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64994 power7 directories.
64995 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64996 power7 directories.
64997
64998 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64999
65000 * INSTALL: Regenerate.
65001
65002 * nscd/connections.c (nscd_init): Fix comment.
65003
65004 2013-06-22 Joseph Myers <joseph@codesourcery.com>
65005
65006 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
65007
65008 [BZ #15667]
65009 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
65010 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
65011
65012 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
65013
65014 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
65015 DL_DST_REQ_STATIC.
65016 (DL_DST_REQ_STATIC): Remove macro.
65017
65018 2013-06-21 Joseph Myers <joseph@codesourcery.com>
65019
65020 [BZ #7006]
65021 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
65022 with a shift of 0 bits.
65023
65024 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
65025
65026 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
65027 $(tststatic-ENV).
65028
65029 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
65030
65031 [BZ #15655]
65032 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
65033
65034 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65035
65036 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
65037 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
65038 accepts -fno-tree-loop-distribute-patterns.
65039 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
65040 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
65041 recursive call.
65042 * string/memset.c (memset): Likewise.
65043 * string/test-memmove.c (simple_memmove): Disable loop transformation
65044 to library calls.
65045 * string/test-memset.c (simple_memset): Likewise.
65046 * benchtests/bench-memmove.c (simple_memmove): Likewise.
65047 * benchtests/bench-memset.c (simple_memset): Likewise.
65048 * configure: Regenerated.
65049
65050 2013-06-20 Joseph Myers <joseph@codesourcery.com>
65051
65052 * math/test-misc.c (main): Ignore fesetround failure when failures
65053 of subsequent rounding tests would be ignored.
65054
65055 [BZ #15654]
65056 * math/fedisblxcpt.c (fedisableexcept): Return 0.
65057 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
65058 * math/fegetenv.c (__fegetenv): Return 0.
65059 * math/fegetexcept.c (fegetexcept): Return 0.
65060 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
65061 FE_TONEAREST.
65062 * math/feholdexcpt.c (feholdexcept): Return 0.
65063 * math/fesetenv.c (__fesetenv): Return 0.
65064 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
65065 argument FE_TONEAREST.
65066 * math/feupdateenv.c (__feupdateenv): Return 0.
65067 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
65068
65069 2013-06-18 Roland McGrath <roland@hack.frob.com>
65070
65071 * elf/rtld-Rules (rtld-compile-command.S): New variable.
65072 (rtld-compile-command.s, rtld-compile-command.c): New variables.
65073 ($(objpfx)rtld-%.os rules): Use them.
65074
65075 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65076
65077 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
65078 fields.
65079
65080 2013-06-17 Roland McGrath <roland@hack.frob.com>
65081
65082 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
65083 length of target pattern, then descending length of dependency pattern.
65084 * configure.in (AWK): Require gawk 3.1.2 or newer.
65085 * manual/install.texi (Tools for Compilation): Say that we do.
65086 * configure: Regenerated.
65087
65088 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
65089 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
65090 * scripts/sysd-rules.awk: ... this new script.
65091 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
65092 than a glob-style pattern.
65093
65094 2013-06-17 Joseph Myers <joseph@codesourcery.com>
65095
65096 * math/test-misc.c (main): Do not treat incorrectly rounded
65097 conversions as failure unless ROUNDING_TESTS passes.
65098
65099 2013-06-15 Joseph Myers <joseph@codesourcery.com>
65100
65101 [BZ #15631]
65102 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
65103 restore exception state around main square root computation, then
65104 check for inexactness explicitly.
65105
65106 * math/libm-test.inc (fma_test_data): Add another test.
65107
65108 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65109
65110 * manual/threads.texi (Non-POSIX Extensions): New document
65111 node. Document pthread_getattr_default_np and
65112 pthread_setattr_default_np.
65113
65114 * Versions.def (libpthread): Add GLIBC_2.18.
65115 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
65116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65117 Likewise.
65118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65119 Likewise.
65120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65121 Likewise.
65122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65123 Likewise.
65124 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
65125 Likewise.
65126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65127 Likewise.
65128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65129 Likewise.
65130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65131 Likewise.
65132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65133 Likewise.
65134
65135 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
65136
65137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65138 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
65139
65140 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
65141 H.J. Lu <hjl.tools@gmail.com>
65142
65143 [BZ #15627]
65144 * sysdeps/x86_64/rtld-memset.c: Remove file.
65145 * sysdeps/x86_64/rtld-memset.S: New file.
65146
65147 2013-06-14 Joseph Myers <joseph@codesourcery.com>
65148
65149 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65150 (test_in_one_mode): Take arguments for whether the rounding mode
65151 is supported for each floating-point type.
65152 (do_test): Pass new arguments to test_in_one_mode using
65153 ROUNDING_TESTS.
65154
65155 2013-06-13 Roland McGrath <roland@hack.frob.com>
65156
65157 * posix/tst-waitid.c (do_test): Distinguish different instances of
65158 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
65159 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65160 before entering the kernel for waitpid.
65161
65162 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65163
65164 * NEWS: Fix note on clock function precision. Text by Roland
65165 McGrath.
65166
65167 2013-06-13 Roland McGrath <roland@hack.frob.com>
65168
65169 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65170 it into place only when and if the sanity check passes.
65171
65172 2013-06-13 Joseph Myers <joseph@codesourcery.com>
65173
65174 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65175 output for whether conversion result is exact. Take argument
65176 indicating whether type is IBM long double.
65177 (round_for_all): Change need_exact field to ibm_ld.
65178 * stdlib/tst-strtod-round.c (struct exactness): New type.
65179 (struct test): Change bool ld_ok field to struct exactness exact.
65180 (TEST): Update all definitions for change to field.
65181 (tests): Regenerate array contents.
65182 (test_in_one_mode): Take pointer to new field instead of old ld_ok
65183 field value. Check for IBM long double here.
65184 (do_test): Update calls to test_in_one_mode.
65185
65186 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65187
65188 [BZ #12515]
65189 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65190 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65191
65192 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65193
65194 [BZ #15605]
65195 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65196 generated by the compiler on loop optimizations.
65197 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65198 general definitions.
65199
65200 2013-06-12 Joseph Myers <joseph@codesourcery.com>
65201
65202 * math/bug-nextafter.c: Include <math-tests.h>.
65203 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65204 the relevant type.
65205 * math/bug-nexttoward.c: Include <math-tests.h>.
65206 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65207 the relevant type.
65208 * math/test-misc.c: Include <math-tests.h>.
65209 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65210 the relevant type.
65211
65212 2013-06-12 Andreas Jaeger <aj@suse.de>
65213
65214 * po/ia.po: Update Interlingua translation from translation
65215 project.
65216
65217 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
65218
65219 * include/fenv.h: Include stdbool.h.
65220 (struct rm_ctx): New structure.
65221 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65222 Define macro.
65223 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65224 (SET_RESTORE_ROUNDF): Likewise.
65225 (SET_RESTORE_ROUNDL): Likewise.
65226 (SET_RESTORE_ROUND_NOEX): Likewise.
65227 (SET_RESTORE_ROUND_NOEXF): Likewise.
65228 (SET_RESTORE_ROUND_NOEXL): Likewise.
65229 (SET_RESTORE_ROUND_53BIT): Likewise.
65230 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65231 (libc_feresetround_noexf_ctx): Likewise.
65232 (libc_feresetround_noexl_ctx): Likewise.
65233 (libc_feholdsetround_53bit_ctx): Likewise.
65234 (libc_feresetround_53bit_ctx): Likewise.
65235 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65236 (libc_feholdexcept_setround_sse_ctx): New function.
65237 (libc_fesetenv_sse_ctx): Likewise.
65238 (libc_feupdateenv_sse_ctx): Likewise.
65239 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65240 (libc_feholdexcept_setround_387_ctx): Likewise.
65241 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65242 (libc_feholdsetround_387_prec_ctx): Likewise.
65243 (libc_feholdsetround_387_ctx): Likewise.
65244 (libc_feholdsetround_387_53bit_ctx): Likewise.
65245 (libc_feholdsetround_sse_ctx): Likewise.
65246 (libc_feresetround_sse_ctx): Likewise.
65247 (libc_feresetround_387_ctx): Likewise.
65248 (libc_feupdateenv_387_ctx): Likewise.
65249 (libc_feholdexcept_setroundf_ctx): Define macro.
65250 (libc_fesetenvf_ctx): Likewise.
65251 (libc_feupdateenvf_ctx): Likewise.
65252 (libc_feholdsetroundf_ctx): Likewise.
65253 (libc_feresetroundf_ctx): Likewise.
65254 (libc_feholdexcept_setround_ctx): Likewise.
65255 (libc_fesetenv_ctx): Likewise.
65256 (libc_feupdateenv_ctx): Likewise.
65257 (libc_feholdsetround_ctx): Likewise.
65258 (libc_feresetround_ctx): Likewise.
65259 (libc_feholdexcept_setroundl_ctx): Likewise.
65260 (libc_feupdateenvl_ctx): Likewise.
65261 (libc_feholdsetroundl_ctx): Likewise.
65262 (libc_feresetroundl_ctx): Likewise.
65263 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65264 (libc_feresetround_53bit_ctx): Likewise.
65265
65266 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65267
65268 * locale/iso-639.def: Convert to UTF-8.
65269
65270 2013-06-11 Joseph Myers <joseph@codesourcery.com>
65271
65272 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65273 (EXCEPTION_TESTS_double): Likewise.
65274 (EXCEPTION_TESTS_long_double): Likewise.
65275 (EXCEPTION_TESTS): Likewise.
65276 * math/libm-test.inc (test_exceptions): Only test exceptions if
65277 EXCEPTION_TESTS (FLOAT).
65278
65279 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65280
65281 * benchtests/Makefile (string-bench): Add strcpy_chk and
65282 stpcpy_chk.
65283 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65284 * benchtests/bench-stpcpy_chk.c: New file.
65285 * benchtests/bench-strcpy_chk-ifunc.c: New file.
65286 * benchtests/bench-strcpy_chk.c: New file.
65287 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65288 code.
65289 (do_test): Likewise.
65290
65291 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65292
65293 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65294 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65295 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65296 with tabs where appropriate.
65297 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65298 dl-procinfo.h.
65299 [PPC_PLATFORM_PPC440]: Likewise.
65300 [PPC_PLATFORM_PPC464]: Likewise.
65301 [PPC_PLATFORM_PPC476]: Likewise.
65302 (_dl_string_platform): Add support for detecting ppc405, ppc440,
65303 ppc464, and ppc476 platform strings merging from ports/
65304 dl-procinfo.h.
65305
65306 2013-06-11 Andreas Schwab <schwab@suse.de>
65307
65308 [BZ #14991]
65309 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65310 (from_ucs4_idx): Regenerate.
65311 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65312 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65313 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65314 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65315 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65316 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65317 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65318 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65319 from FROM_LOOP and TO_LOOP specific macros.
65320 (BODY): Handle combining characters.
65321 * iconvdata/BIG5HKSCS.irreversible: Update.
65322 * iconvdata/BIG5HKSCS.precomposed: New file.
65323 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65324 characters.
65325 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65326
65327 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65328
65329 * include/sys/time.h: Fix indentation and add copyright header.
65330
65331 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65332 (do_test): Likewise.
65333 * string/test-memchr.c (do_one_test): Likewise.
65334 (do_test): Likewise.
65335 * string/test-memcmp.c (do_one_test): Likewise.
65336 (do_test): Likewise.
65337 * string/test-memcpy.c (do_one_test): Likewise.
65338 (do_test): Likewise.
65339 * string/test-memmem.c (do_one_test): Likewise.
65340 (do_test): Likewise.
65341 (do_random_tests): Likewise.
65342 * string/test-memmove.c (do_one_test): Likewise.
65343 (do_test): Likewise.
65344 * string/test-memset.c (do_one_test): Likewise.
65345 (do_test): Likewise.
65346 * string/test-rawmemchr.c (do_one_test): Likewise.
65347 (do_test): Likewise.
65348 * string/test-strcasecmp.c (do_one_test): Likewise.
65349 (do_test): Likewise.
65350 * string/test-strcasestr.c (do_one_test): Likewise.
65351 (do_test): Likewise.
65352 * string/test-strcat.c (do_one_test): Likewise.
65353 (do_test): Likewise.
65354 * string/test-strchr.c (do_one_test): Likewise.
65355 (do_test): Likewise.
65356 * string/test-strcmp.c (do_one_test): Likewise.
65357 (do_test): Likewise.
65358 * string/test-strcpy.c (do_one_test): Likewise.
65359 (do_test): Likewise.
65360 * string/test-string.h: Likewise.
65361 (test_init): Likewise.
65362 * string/test-strlen.c (do_one_test): Likewise.
65363 (do_test): Likewise.
65364 * string/test-strncasecmp.c (do_one_test): Likewise.
65365 (do_test): Likewise.
65366 * string/test-strncat.c (do_one_test): Likewise.
65367 (do_test): Likewise.
65368 * string/test-strncmp.c (do_one_test): Likewise.
65369 (do_test_limit): Likewise.
65370 (do_test): Likewise.
65371 * string/test-strncpy.c (do_one_test): Likewise.
65372 (do_test): Likewise.
65373 * string/test-strnlen.c (do_one_test): Likewise.
65374 (do_test): Likewise.
65375 * string/test-strpbrk.c (do_one_test): Likewise.
65376 (do_test): Likewise.
65377 * string/test-strrchr.c (do_one_test): Likewise.
65378 (do_test): Likewise.
65379 * string/test-strspn.c (do_one_test): Likewise.
65380 (do_test): Likewise.
65381 * string/test-strstr.c (do_one_test): Likewise.
65382 (do_test): Likewise.
65383
65384 * benchtests/Makefile (string-bench): Add string benchmarks.
65385 * benchtests/bench-bcopy-ifunc.c: New file.
65386 * benchtests/bench-bcopy.c: New file.
65387 * benchtests/bench-bzero-ifunc.c: New file.
65388 * benchtests/bench-bzero.c: New file.
65389 * benchtests/bench-memccpy-ifunc.c: New file.
65390 * benchtests/bench-memccpy.c: New file.
65391 * benchtests/bench-memchr-ifunc.c: New file.
65392 * benchtests/bench-memchr.c: New file.
65393 * benchtests/bench-memcmp-ifunc.c: New file.
65394 * benchtests/bench-memcmp.c: New file.
65395 * benchtests/bench-memmem-ifunc.c: New file.
65396 * benchtests/bench-memmem.c: New file.
65397 * benchtests/bench-memmove-ifunc.c: New file.
65398 * benchtests/bench-memmove.c: New file.
65399 * benchtests/bench-mempcpy-ifunc.c: New file.
65400 * benchtests/bench-mempcpy.c: New file.
65401 * benchtests/bench-memset-ifunc.c: New file.
65402 * benchtests/bench-memset.c: New file.
65403 * benchtests/bench-rawmemchr-ifunc.c: New file.
65404 * benchtests/bench-rawmemchr.c: New file.
65405 * benchtests/bench-stpcpy-ifunc.c: New file.
65406 * benchtests/bench-stpcpy.c: New file.
65407 * benchtests/bench-stpncpy-ifunc.c: New file.
65408 * benchtests/bench-stpncpy.c: New file.
65409 * benchtests/bench-strcasecmp-ifunc.c: New file.
65410 * benchtests/bench-strcasecmp.c: New file.
65411 * benchtests/bench-strcasestr-ifunc.c: New file.
65412 * benchtests/bench-strcasestr.c: New file.
65413 * benchtests/bench-strcat-ifunc.c: New file.
65414 * benchtests/bench-strcat.c: New file.
65415 * benchtests/bench-strchr-ifunc.c: New file.
65416 * benchtests/bench-strchr.c: New file.
65417 * benchtests/bench-strchrnul-ifunc.c: New file.
65418 * benchtests/bench-strchrnul.c: New file.
65419 * benchtests/bench-strcmp-ifunc.c: New file.
65420 * benchtests/bench-strcmp.c: New file.
65421 * benchtests/bench-strcpy-ifunc.c: New file.
65422 * benchtests/bench-strcpy.c: New file.
65423 * benchtests/bench-strcspn-ifunc.c: New file.
65424 * benchtests/bench-strcspn.c: New file.
65425 * benchtests/bench-strlen-ifunc.c: New file.
65426 * benchtests/bench-strlen.c: New file.
65427 * benchtests/bench-strncasecmp-ifunc.c: New file.
65428 * benchtests/bench-strncasecmp.c: New file.
65429 * benchtests/bench-strncat-ifunc.c: New file.
65430 * benchtests/bench-strncat.c: New file.
65431 * benchtests/bench-strncmp-ifunc.c: New file.
65432 * benchtests/bench-strncmp.c: New file.
65433 * benchtests/bench-strncpy-ifunc.c: New file.
65434 * benchtests/bench-strncpy.c: New file.
65435 * benchtests/bench-strnlen-ifunc.c: New file.
65436 * benchtests/bench-strnlen.c: New file.
65437 * benchtests/bench-strpbrk-ifunc.c: New file.
65438 * benchtests/bench-strpbrk.c: New file.
65439 * benchtests/bench-strrchr-ifunc.c: New file.
65440 * benchtests/bench-strrchr.c: New file.
65441 * benchtests/bench-strspn-ifunc.c: New file.
65442 * benchtests/bench-strspn.c: New file.
65443 * benchtests/bench-strstr-ifunc.c: New file.
65444 * benchtests/bench-strstr.c: New file.
65445
65446 * benchtests/Makefile: Disable parallel execution of targets.
65447 (string-bench): Add memcpy.
65448 (benchset): New variable to store a list of benchmark sets.
65449 (bench-func): Renamed from bench.
65450 (bench-set): New target.
65451 (bench): Depend on bench-func and bench-set.
65452 * benchtests/README: Add section on benchmark sets.
65453 * benchtests/bench-memcpy-ifunc.c: New file.
65454 * benchtests/bench-memcpy.c: New file.
65455 * benchtests/bench-string.h: New file.
65456
65457 2013-06-11 Andreas Schwab <schwab@suse.de>
65458
65459 [BZ #15577]
65460 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65461 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65462 values in the triple.
65463 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65464 terminator in the group key.
65465
65466 2013-06-11 Andreas Jaeger <aj@suse.de>
65467
65468 * po/zh_TW.po: Update Chinese (traditional) translation from
65469 translation project.
65470
65471 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65472
65473 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65474 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65475 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65476 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65477 (clock_getcpuclockid): Likewise.
65478 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65479 Add weak_alias and libc_hidden_def.
65480 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65481 * rt/clock_gettime.c (clock_gettime): Rename to
65482 __clock_gettime. Add weak_alias and libc_hidden_def.
65483 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65484 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65485 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65486 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65487 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65488 Likewise.
65489 * rt/clock_settime.c (clock_settime): Rename to
65490 __clock_settime. Add weak_alias and libc_hidden_def.
65491 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65492
65493 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65494
65495 * mach/err_boot.sub: Remove trailing whitespace.
65496 * mach/err_ipc.sub: Likewise.
65497 * mach/err_mach.sub: Likewise.
65498
65499 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65500 (ROUNDING_TESTS_double): Likewise.
65501 (ROUNDING_TESTS_long_double): Likewise.
65502 (ROUNDING_TESTS): Likewise.
65503 * math/libm-test.inc: Include <math-tests.h>.
65504 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65505 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65506 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65507 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65508
65509 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65510
65511 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65512 of assigning.
65513
65514 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65515
65516 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65517 otherwise empty TRANS lines.
65518 * sysdeps/gnu/errlist.c: Regenerated.
65519
65520 * catgets/gencat.c (error_print): Use (void) in function
65521 definition.
65522 * crypt/crypt_util.c (__init_des): Likewise.
65523 * crypt/speeds.c (Stop): Likewise.
65524 (main): Likewise.
65525 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65526 * inet/ruserpass.c (token): Likewise.
65527 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65528 * intl/localealias.c (extend_alias_table): Likewise.
65529 * intl/plural-exp.c (init_germanic_plural): Likewise.
65530 * libio/fcloseall.c (__fcloseall): Likewise.
65531 * libio/genops.c (_IO_flush_all): Likewise.
65532 (_IO_flush_all_linebuffered): Likewise.
65533 (_IO_cleanup): Likewise.
65534 (_IO_iter_begin): Likewise.
65535 (_IO_iter_end): Likewise.
65536 (_IO_list_lock): Likewise.
65537 (_IO_list_unlock): Likewise.
65538 (_IO_list_resetlock): Likewise.
65539 * libio/getchar.c (getchar): Likewise.
65540 * libio/getchar_u.c (getchar_unlocked): Likewise.
65541 * libio/getwchar.c (getwchar): Likewise.
65542 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65543 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65544 * login/getpt.c (__getpt): Likewise.
65545 * login/tst-utmp.c (main): Likewise.
65546 * malloc/hooks.c (__malloc_check_init): Likewise.
65547 * malloc/malloc.c (__malloc_stats): Likewise.
65548 * malloc/mtrace.c (tr_break): Likewise.
65549 (mtrace): Likewise.
65550 (muntrace): Likewise.
65551 * misc/fstab.c (endfsent): Likewise.
65552 * misc/getclktck.c (__getclktck): Likewise.
65553 * misc/getdtsz.c (__getdtablesize): Likewise.
65554 * misc/gethostid.c (gethostid): Likewise.
65555 * misc/getpagesize.c (__getpagesize): Likewise.
65556 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65557 (__get_nprocs): Likewise.
65558 (__get_phys_pages): Likewise.
65559 (__get_avphys_pages): Likewise.
65560 * misc/getttyent.c (getttyent): Likewise.
65561 (setttyent): Likewise.
65562 (endttyent): Likewise.
65563 * misc/getusershell.c (getusershell): Likewise.
65564 (endusershell): Likewise.
65565 (setusershell): Likewise.
65566 (initshells): Likewise.
65567 * misc/hsearch.c (__hdestroy): Likewise.
65568 * misc/sync.c (sync): Likewise.
65569 * misc/syslog.c (closelog_internal): Likewise.
65570 (closelog): Likewise.
65571 * misc/ttyslot.c (ttyslot): Likewise.
65572 * misc/vhangup.c (vhangup): Likewise.
65573 * posix/fork.c (__fork): Likewise.
65574 * posix/getegid.c (__getegid): Likewise.
65575 * posix/geteuid.c (__geteuid): Likewise.
65576 * posix/getgid.c (__getgid): Likewise.
65577 * posix/getpid.c (__getpid): Likewise.
65578 * posix/getppid.c (__getppid): Likewise.
65579 * posix/getuid.c (__getuid): Likewise.
65580 * posix/pause.c (pause): Likewise.
65581 * posix/setpgrp.c (setpgrp): Likewise.
65582 * posix/setsid.c (__setsid): Likewise.
65583 * posix/test-vfork.c (noop): Likewise.
65584 * resolv/gethnamaddr.c (_endhtent): Likewise.
65585 (_gethtent): Likewise.
65586 (ht_endhostent): Likewise.
65587 (gethostent): Likewise.
65588 (dns_service): Likewise.
65589 * stdlib/drand48.c (drand48): Likewise.
65590 * stdlib/lrand48.c (lrand48): Likewise.
65591 * stdlib/mrand48.c (mrand48): Likewise.
65592 * stdlib/rand.c (rand): Likewise.
65593 * stdlib/random.c (__random): Likewise.
65594 * stdlib/setenv.c (clearenv): Likewise.
65595 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65596 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65597 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65598 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65599 (__get_nprocs): Likewise.
65600 (__get_phys_pages): Likewise.
65601 (__get_avphys_pages): Likewise.
65602 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65603 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65604 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65605 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65606 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65607 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65608 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65609 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65610 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65611 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65612 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65613 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65614 * sysdeps/posix/clock.c (clock): Likewise.
65615 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65616 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65617 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65618 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65619 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65621 (__get_nprocs_conf): Likewise.
65622 (__get_phys_pages): Likewise.
65623 (__get_avphys_pages): Likewise.
65624 * time/clock.c (clock): Likewise.
65625 * time/tzset.c (__tzname_max): Likewise.
65626
65627 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65628
65629 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65630 (__bswap_32): Do not use "register".
65631 * crypt/crypt.c (_ufc_doit_r): Likewise.
65632 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65633 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65634 * gmon/gmon.c (__monstartup): Likewise.
65635 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65636 * hurd/hurdmalloc.c (more_memory): Likewise.
65637 (malloc): Likewise.
65638 (free): Likewise.
65639 (realloc): Likewise.
65640 (malloc_fork_prepare): Likewise.
65641 (malloc_fork_parent): Likewise.
65642 (malloc_fork_child): Likewise.
65643 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65644 (_svcauth_des): Likewise.
65645 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65646 * inet/inet_net.c (inet_network): Likewise.
65647 * inet/inet_netof.c (inet_netof): Likewise.
65648 * inet/rcmd.c (__validuser2_sa): Likewise.
65649 * io/fts.c (fts_open): Likewise.
65650 (fts_load): Likewise.
65651 (fts_close): Likewise.
65652 (fts_read): Likewise.
65653 (fts_children): Likewise.
65654 (fts_build): Likewise.
65655 (fts_stat): Likewise.
65656 (fts_sort): Likewise.
65657 (fts_alloc): Likewise.
65658 (fts_lfree): Likewise.
65659 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65660 (_IO_file_xsgetn): Likewise.
65661 (_IO_file_xsgetn_mmap): Likewise.
65662 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65663 (_IO_cookie_write): Likewise.
65664 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65665 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65666 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65667 * malloc/obstack.c (_obstack_begin): Likewise.
65668 (_obstack_begin_1): Likewise.
65669 (_obstack_newchunk): Likewise.
65670 (_obstack_allocated_p): Likewise.
65671 (obstack_free): Likewise.
65672 (_obstack_memory_used): Likewise.
65673 * misc/getttyent.c (getttynam): Likewise.
65674 (getttyent): Likewise.
65675 (skip): Likewise.
65676 (value): Likewise.
65677 * misc/getusershell.c (initshells): Likewise.
65678 * misc/syslog.c (__vsyslog_chk): Likewise.
65679 * misc/ttyslot.c (ttyslot): Likewise.
65680 * nis/nis_hash.c (__nis_hash): Likewise.
65681 * posix/fnmatch_loop.c (FCT): Likewise.
65682 * posix/getconf.c (print_all): Likewise.
65683 (main): Likewise.
65684 * posix/getopt.c (exchange): Likewise.
65685 * posix/glob.c (globfree): Likewise.
65686 (prefix_array): Likewise.
65687 (__glob_pattern_type): Likewise.
65688 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65689 (NS_GET32): Likewise.
65690 (NS_PUT16): Likewise.
65691 (NS_PUT32): Likewise.
65692 * resolv/gethnamaddr.c (getanswer): Likewise.
65693 (gethostbyname2): Likewise.
65694 (gethostbyaddr): Likewise.
65695 (_gethtent): Likewise.
65696 (_gethtbyname2): Likewise.
65697 (_gethtbyaddr): Likewise.
65698 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65699 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65700 * resolv/res_init.c (__res_vinit): Likewise.
65701 (net_mask): Likewise.
65702 * resolv/res_mkquery.c (outchar): Likewise.
65703 (PRINT): Likewise.
65704 * stdio-common/printf_fp.c (outchar): Likewise.
65705 (PRINT): Likewise.
65706 * stdio-common/printf_fphex.c (outchar): Likewise.
65707 (PRINT): Likewise.
65708 * stdio-common/printf_size.c (outchar): Likewise.
65709 (PRINT): Likewise.
65710 * stdio-common/test_rdwr.c (main): Likewise.
65711 * stdio-common/tfformat.c (matches): Likewise.
65712 * stdio-common/vfprintf.c (outchar): Likewise.
65713 (printf_unknown): Likewise.
65714 (buffered_vfprintf): Likewise.
65715 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65716 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65717 (ReadFile): Likewise.
65718 * stdlib/qsort.c (SWAP): Likewise.
65719 (_quicksort): Likewise.
65720 * stdlib/setenv.c (__add_to_environ): Likewise.
65721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65722 * stdlib/strtol_l.c (__strtol_l): Likewise.
65723 * stdlib/tst-strtod.c (main): Likewise.
65724 * stdlib/tst-strtol.c (main): Likewise.
65725 * stdlib/tst-strtoll.c (main): Likewise.
65726 * string/bits/string2.h (__strcmp_cc): Likewise.
65727 (__strcmp_cg): Likewise.
65728 (__strcspn_c1): Likewise.
65729 (__strcspn_c2): Likewise.
65730 (__strcspn_c3): Likewise.
65731 (__strspn_c1): Likewise.
65732 (__strspn_c2): Likewise.
65733 (__strspn_c3): Likewise.
65734 (__strsep_1c): Likewise.
65735 (__strsep_2c): Likewise.
65736 (__strsep_3c): Likewise.
65737 * string/memccpy.c (__memccpy): Likewise.
65738 * string/stpcpy.c (__stpcpy): Likewise.
65739 * string/strcmp.c (strcmp): Likewise.
65740 * string/strrchr.c (strrchr): Likewise.
65741 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65742 Likewise.
65743 * sysdeps/mach/hurd/getcwd.c
65744 (_hurd_canonicalize_directory_name_internal): Likewise.
65745 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65746 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65747 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65748 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65749 Likewise, in both definitions.
65750 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65751 definitions.
65752 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65753 64] (__bswap_64): Likewise.
65754 * time/test_time.c (main): Likewise.
65755 * time/tzfile.c (__tzfile_read): Likewise.
65756 (__tzfile_compute): Likewise.
65757 * time/tzset.c (__tzset_parse_tz): Likewise.
65758 (tzset_internal): Likewise.
65759 (compute_change): Likewise.
65760 * wcsmbs/wcscat.c (__wcscat): Likewise.
65761 * wcsmbs/wcschr.c (wcschr): Likewise.
65762 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65763 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65764 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65765 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65766 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65767 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65768 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65770 * wcsmbs/wmemset.c (wmemset): Likewise.
65771
65772 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65773
65774 * scripts/config.guess: Update to version 2013-05-16.
65775 * scripts/config.sub: Update to version 2013-04-24.
65776 * scripts/install-sh: Update to version 2011-11-20.07.
65777 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65778 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65779
65780 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
65781
65782 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65783 * elf/sln.c: Likewise.
65784 * hurd/hurd/ioctl.h: Likewise.
65785 * hurd/hurdmalloc.c: Likewise.
65786 * hurd/xattr.c: Likewise.
65787 * include/shlib-compat.h: Likewise.
65788 * inet/ruserpass.c: Likewise.
65789 * libio/iofgets_u.c: Likewise.
65790 * libio/iofgetws_u.c: Likewise.
65791 * locale/programs/ld-identification.c: Likewise.
65792 * locale/programs/ld-time.c: Likewise.
65793 * mach/msg-destroy.c: Likewise.
65794 * nss/nss_files/files-netgrp.c: Likewise.
65795 * resolv/res_data.c: Likewise.
65796 * soft-fp/op-1.h: Likewise.
65797 * soft-fp/op-2.h: Likewise.
65798 * soft-fp/op-4.h: Likewise.
65799 * soft-fp/op-common.h: Likewise.
65800 * stdio-common/printf_fphex.c: Likewise.
65801 * stdlib/strtod_l.c: Likewise.
65802 * sunrpc/rpc/clnt.h: Likewise.
65803 * sysdeps/generic/framestate.c: Likewise.
65804 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65805 * sysdeps/i386/bsd-setjmp.S: Likewise.
65806 * sysdeps/i386/__longjmp.S: Likewise.
65807 * sysdeps/i386/setjmp.S: Likewise.
65808 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65809 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65813 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65817 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65818 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65819 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65820 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65821 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65822 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65824 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65825 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65826 * sysdeps/ieee754/support.c: Likewise.
65827 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65828 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65829 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65830 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65831 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65832 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65833 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65834 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65835 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65836 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65837 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65838 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65840 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65841 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65842 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65843 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65845
65846 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65847
65848 * posix/transbug.c: Remove executable mode.
65849
65850 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65851
65852 * crypt/speeds.c: Remove trailing whitespace.
65853 * dlfcn/default.c: Likewise.
65854 * elf/ifuncdep2.c: Likewise.
65855 * elf/ifuncmain1.c: Likewise.
65856 * elf/ifuncmain1vis.c: Likewise.
65857 * elf/testobj.h: Likewise.
65858 * elf/tst-stackguard1.c: Likewise.
65859 * gmon/sys/gmon.h: Likewise.
65860 * hurd/hurdmsg.c: Likewise.
65861 * hurd/new-fd.c: Likewise.
65862 * hurd/ports-get.c: Likewise.
65863 * iconvdata/ibm1008_420.c: Likewise.
65864 * inet/tst-getni1.c: Likewise.
65865 * inet/tst-getni2.c: Likewise.
65866 * libio/ioungetc.c: Likewise.
65867 * libio/wfiledoalloc.c: Likewise.
65868 * manual/libm-err-tab.pl: Likewise.
65869 * math/w_dremf.c: Likewise.
65870 * misc/ftruncate.c: Likewise.
65871 * posix/bug-glob2.c: Likewise.
65872 * posix/tst-pcre.c: Likewise.
65873 * posix/wait4.c: Likewise.
65874 * resolv/README: Likewise.
65875 * resolv/res_debug.h: Likewise.
65876 * resolv/tst-inet_ntop.c: Likewise.
65877 * setjmp/bug269-setjmp.c: Likewise.
65878 * soft-fp/extended.h: Likewise.
65879 * soft-fp/op-1.h: Likewise.
65880 * soft-fp/op-2.h: Likewise.
65881 * soft-fp/op-4.h: Likewise.
65882 * soft-fp/op-8.h: Likewise.
65883 * soft-fp/testit.c: Likewise.
65884 * stdio-common/bug16.c: Likewise.
65885 * stdlib/random.c: Likewise.
65886 * sunrpc/rpcsvc/rquota.x: Likewise.
65887 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65888 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65890 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65891 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65892 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65893 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65895 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65896 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65897 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65898 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65899 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65900 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65902 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65903 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65904 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65905 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65906 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65907 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65908 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65909 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65911 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65912 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65914 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65915 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65916 * sysdeps/ieee754/s_lib_version.c: Likewise.
65917 * sysdeps/mach/hurd/check_fds.c: Likewise.
65918 * sysdeps/mach/hurd/getsockname.c: Likewise.
65919 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65920 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65921 * sysdeps/powerpc/bits/link.h: Likewise.
65922 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65923 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65924 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65925 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65926 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65927 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65928 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65929 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65930 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65931 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65932 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65933 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65934 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65935 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65936 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65937 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65940 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65941 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65942 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65943 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65944 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65945 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65946 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65947 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65950 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65952 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65956 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65957 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65958 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65959 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65960 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65961 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65962 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65963 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65964 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65965 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65966 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65967 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65968 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65969 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65970 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65971 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65972 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65974 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65975 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65976 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65977 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65978 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65979 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65982 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65983 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65984 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65985 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65986 * sysdeps/powerpc/sysdep.h: Likewise.
65987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65988 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65989 * sysdeps/sh/dl-trampoline.S: Likewise.
65990 * sysdeps/sh/memset.S: Likewise.
65991 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65992 * sysdeps/sh/strlen.S: Likewise.
65993 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65994 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65995 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65996 * sysdeps/sparc/sparc32/rem.S: Likewise.
65997 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65998 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65999 * sysdeps/sparc/sparc32/strchr.S: Likewise.
66000 * sysdeps/sparc/sparc32/udiv.S: Likewise.
66001 * sysdeps/sparc/sparc32/urem.S: Likewise.
66002 * sysdeps/sparc/sparc64/add_n.S: Likewise.
66003 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66004 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
66005 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
66006 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
66007 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
66008 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
66009 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
66010 * sysdeps/unix/bsd/times.c: Likewise.
66011 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
66012 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
66013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
66014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
66015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
66016 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
66017 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
66018 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
66019 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
66020 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
66021 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
66022 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66023 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
66024 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66025 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66026 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
66027 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66028 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
66029 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
66030 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
66031 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
66032 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
66033 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66034 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
66035 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
66036 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
66037 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
66038 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66039 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
66040 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
66041 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
66042 * sysdeps/x86_64/strcspn.S: Likewise.
66043
66044 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66045
66046 * locale/C-translit.h: Revert #include <stdint.h> because this is a
66047 generated file. Regenerate properly from gen-translit.pl.
66048 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
66049 locale/C-translit.h.
66050
66051 2013-06-05 Andreas Schwab <schwab@suse.de>
66052
66053 [BZ #15100]
66054 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
66055 week as 6 instead of -1.
66056 * time/tst-strptime.c (day_tests): Add test case.
66057
66058 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66059
66060 * sysdeps/generic/math_private.h
66061 (libc_feholdexcept_setround_53bit): Replace with
66062 libc_feholdsetround_53bit.
66063 (libc_feupdateenv_53bit): Replace with
66064 libc_feresetround_53bit.
66065 (SET_RESTORE_ROUND_53BIT): Adjust.
66066
66067 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
66068
66069 * string/test-strchrnul.c: Add copyright header.
66070
66071 * posix/tst-getaddrinfo4.c: Increase test timeout.
66072
66073 2013-06-03 Carlos O'Donell <carlos@redhat.com>
66074
66075 [BZ #15536]
66076 * math/libm-test.inc (MAX_EXP): Remove
66077 (MIN_EXP): Define.
66078 (ulp): Use MIN_EXP - MANT_DIG.
66079 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
66080
66081 2013-05-31 Carlos O'Donell <carlos@redhat.com>
66082
66083 * po/be.po: Revert last change.
66084 * po/zh_CN.po: Likewise.
66085 * po/header.pot: Likewise.
66086
66087 2013-05-31 Joseph Myers <joseph@codesourcery.com>
66088
66089 * Makefile ($(common-objpfx)linkobj/libc.so): Define
66090 link-libc-deps to empty as target-specific variable.
66091 * Makerules (link-libc-args): New variable.
66092 (libc-for-link): Likewise.
66093 (link-libc-deps): Likewise.
66094 (lib%.so): Depend on $(link-libc-deps). Link with
66095 $(link-libc-args).
66096 (build-module): Link with $(link-libc-args).
66097 (build-module-asneeded): Likewise.
66098 (build-module-helper-objlist): Filter out $(link-libc-deps) from
66099 list of objects.
66100 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
66101 target-specific variable.
66102 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
66103 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
66104 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
66105 libc.
66106 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
66107 libc and ld.so.
66108 ($(objpfx)libpcprofile.so): Likewise.
66109 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
66110 libc_nonshared.a.
66111 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
66112 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
66113 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
66114 $(link-libc-deps).
66115 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
66116 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
66117 * login/Makefile ($(objpfx)libutil.so): Likewise.
66118 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
66119 * math/Makefile ($(objpfx)libm.so): Likewise.
66120 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
66121 $(objpfx)libnsl.so): Define libc-for-link as target-specific
66122 variable instead of depending directly on libc.
66123 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
66124 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
66125 $(link-libc-deps).
66126 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
66127 libc.
66128 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
66129 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
66130 ($(objpfx)libanl.so): Likewise.
66131 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
66132 ld.so.
66133 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
66134 $(link-libc-deps).
66135 * sysdeps/i386/fpu/Makefile: Remove file.
66136 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
66137 ($(objpfx)libm.so): Remove dependency on ld.so.
66138
66139 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
66140
66141 [BZ # 15553]
66142 * nis/yp_xdr.c (XDRMAXNAME): Define.
66143 (XDRMAXRECORD): Define.
66144 (xdr_domainname): Use XDRMAXNAME.
66145 (xdr_mapname): Likewise.
66146 (xdr_peername): Likewise.
66147 (xdr_keydat): Use XDRMAXRECORD.
66148 (xdr_valdat): Likewise.
66149
66150 2013-05-30 Jeff Law <law@redhat.com>
66151
66152 [BZ #14256]
66153 * manual/errno.texi (ESTALE): Update to account for more than
66154 just NFS file systems.
66155 * sysdeps/gnu/errlist.c: Regenerated.
66156
66157 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66158
66159 [BZ #15465]
66160 * elf/Makefile (tests): Add tst-null-argv.
66161 (modules-names): Add tst-null-argv-lib.
66162 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66163 (tst-null-argv-ENV): Set environment for tst-null-argv.
66164 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66165 (RTLD_PROGNAME): New macro.
66166 * elf/tst-null-argv.c: New test case.
66167 * elf/tst-null-argv-lib.c: Library for test case.
66168 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66169 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66170 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66171 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66172 * elf/dl-init.c (call_init): Likewise.
66173 (_dl_init): Likewise.
66174 * elf/dl-load.c (print_search_path): Likewise.
66175 (_dl_map_object): Likewise.
66176 * elf/dl-lookup.c (do_lookup_x): Likewise.
66177 (add_dependency): Likewise.
66178 (_dl_lookup_symbol_x): Likewise.
66179 (_dl_debug_bindings): Likewise.
66180 * elf/dl-open.c (_dl_show_scope): Likewise.
66181 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66182 * elf/dl-version.c (match_symbol): Likewise.
66183 (_dl_check_map_versions): Likewise.
66184 * elf/rtld.c (dl_main): Likewise.
66185 (print_unresolved): Use RTLD_PROGNAME.
66186 (print_missing_version): Likewise.
66187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66188 (elf_machine_rela): Likewise.
66189 * sysdeps/powerpc/powerpc32/dl-machine.c
66190 (__process_machine_rela): Likewise.
66191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66192 Likewise.
66193 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66194 Likewise.
66195 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66196 Likewise.
66197 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66199 Likewise.
66200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66201 Likewise.
66202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66203
66204 2013-05-28 Carlos O'Donell <carlos@redhat.com>
66205
66206 * po/be.po: Add descriptive title.
66207 * po/zh_CN.po: Likewise.
66208 * po/header.pot: Likewise.
66209
66210 2013-05-28 Mike Frysinger <vapier@gentoo.org>
66211
66212 * locale/programs/locarchive.c (create_archive): Inlucde fname in
66213 error message.
66214 (enlarge_archive): Likewise.
66215
66216 2013-05-28 Ben North <ben@redfrontdoor.org>
66217
66218 * manual/arith.texi (frexp): It is the magnitude of the return
66219 value which lies in [0.5, 1), not the return value itself.
66220
66221 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66222
66223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66224
66225 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
66226
66227 * stdio-common/bug26.c (main): Correct fscanf template.
66228
66229 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66230 declare _dl_skip_args.
66231
66232 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66233 Don't declare.
66234
66235 * manual/platform.texi: Add missing @end deftypefun.
66236
66237 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66238
66239 [BZ #15529]
66240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66241 bit of mantissa of 2^16382.
66242 * math/libm-test.inc (hypot_test_data): Add more tests.
66243
66244 * math/libm-test.inc: Add drem and pow10 to list of tested
66245 functions.
66246 (pow10_test): New function.
66247 (drem_test): Likewise.
66248 (drem_test_tonearest): Likewise.
66249 (drem_test_towardzero): Likewise.
66250 (drem_test_downward): Likewise.
66251 (drem_test_upward): Likewise.
66252 (main): Call the new functions.
66253
66254 * math/libm-test.inc (finite_test_data): Remove.
66255 (finite_test): Run tests from isfinite_test_data.
66256 (gamma_test_data): Remove.
66257 (gamma_test): Run tests from lgamma_test_data.
66258 * sysdeps/i386/fpu/libm-test-ulps: Update.
66259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66260
66261 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66262
66263 * manual/platform.texi: Add PowerPC PPR function set documentation.
66264 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66265 implementation.
66266
66267 2013-05-24 Carlos O'Donell <carlos@redhat.com>
66268
66269 * math/libm-test.inc (MAX_EXP): Define.
66270 (ULPDIFF): Define.
66271 (ulp): New function.
66272 (check_float_internal): Use ULPDIFF.
66273 (cpow_test): Disable failing test.
66274 (check_ulp): Test ulp() implementation.
66275 (main): Call check_ulp before starting tests.
66276
66277 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66278
66279 * math/gen-libm-test.pl (generate_testfile): Do not handle
66280 START_DATA and END_DATA.
66281 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66282 END_DATA.
66283 (acos_tonearest_test_data): Likewise.
66284 (acos_towardzero_test_data): Likewise.
66285 (acos_downward_test_data): Likewise.
66286 (acos_upward_test_data): Likewise.
66287 (acosh_test_data): Likewise.
66288 (asin_test_data): Likewise.
66289 (asin_tonearest_test_data): Likewise.
66290 (asin_towardzero_test_data): Likewise.
66291 (asin_downward_test_data): Likewise.
66292 (asin_upward_test_data): Likewise.
66293 (asinh_test_data): Likewise.
66294 (atan_test_data): Likewise.
66295 (atanh_test_data): Likewise.
66296 (atan2_test_data): Likewise.
66297 (cabs_test_data): Likewise.
66298 (cacos_test_data): Likewise.
66299 (cacosh_test_data): Likewise.
66300 (carg_test_data): Likewise.
66301 (casin_test_data): Likewise.
66302 (casinh_test_data): Likewise.
66303 (catan_test_data): Likewise.
66304 (catanh_test_data): Likewise.
66305 (cbrt_test_data): Likewise.
66306 (ccos_test_data): Likewise.
66307 (ccosh_test_data): Likewise.
66308 (ceil_test_data): Likewise.
66309 (cexp_test_data): Likewise.
66310 (cimag_test_data): Likewise.
66311 (clog_test_data): Likewise.
66312 (clog10_test_data): Likewise.
66313 (conj_test_data): Likewise.
66314 (copysign_test_data): Likewise.
66315 (cos_test_data): Likewise.
66316 (cos_tonearest_test_data): Likewise.
66317 (cos_towardzero_test_data): Likewise.
66318 (cos_downward_test_data): Likewise.
66319 (cos_upward_test_data): Likewise.
66320 (cosh_test_data): Likewise.
66321 (cosh_tonearest_test_data): Likewise.
66322 (cosh_towardzero_test_data): Likewise.
66323 (cosh_downward_test_data): Likewise.
66324 (cosh_upward_test_data): Likewise.
66325 (cpow_test_data): Likewise.
66326 (cproj_test_data): Likewise.
66327 (creal_test_data): Likewise.
66328 (csin_test_data): Likewise.
66329 (csinh_test_data): Likewise.
66330 (csqrt_test_data): Likewise.
66331 (ctan_test_data): Likewise.
66332 (ctan_tonearest_test_data): Likewise.
66333 (ctan_towardzero_test_data): Likewise.
66334 (ctan_downward_test_data): Likewise.
66335 (ctan_upward_test_data): Likewise.
66336 (ctanh_test_data): Likewise.
66337 (ctanh_tonearest_test_data): Likewise.
66338 (ctanh_towardzero_test_data): Likewise.
66339 (ctanh_downward_test_data): Likewise.
66340 (ctanh_upward_test_data): Likewise.
66341 (erf_test_data): Likewise.
66342 (erfc_test_data): Likewise.
66343 (exp_test_data): Likewise.
66344 (exp_tonearest_test_data): Likewise.
66345 (exp_towardzero_test_data): Likewise.
66346 (exp_downward_test_data): Likewise.
66347 (exp_upward_test_data): Likewise.
66348 (exp10_test_data): Likewise.
66349 (exp2_test_data): Likewise.
66350 (expm1_test_data): Likewise.
66351 (fabs_test_data): Likewise.
66352 (fdim_test_data): Likewise.
66353 (finite_test_data): Likewise.
66354 (floor_test_data): Likewise.
66355 (fma_test_data): Likewise.
66356 (fma_towardzero_test_data): Likewise.
66357 (fma_downward_test_data): Likewise.
66358 (fma_upward_test_data): Likewise.
66359 (fmax_test_data): Likewise.
66360 (fmin_test_data): Likewise.
66361 (fmod_test_data): Likewise.
66362 (fpclassify_test_data): Likewise.
66363 (frexp_test_data): Likewise.
66364 (gamma_test_data): Likewise.
66365 (hypot_test_data): Likewise.
66366 (ilogb_test_data): Likewise.
66367 (isfinite_test_data): Likewise.
66368 (isgreater_test_data): Likewise.
66369 (isgreaterequal_test_data): Likewise.
66370 (isinf_test_data): Likewise.
66371 (isless_test_data): Likewise.
66372 (islessequal_test_data): Likewise.
66373 (islessgreater_test_data): Likewise.
66374 (isnan_test_data): Likewise.
66375 (isnormal_test_data): Likewise.
66376 (issignaling_test_data): Likewise.
66377 (isunordered_test_data): Likewise.
66378 (j0_test_data): Likewise.
66379 (j1_test_data): Likewise.
66380 (jn_test_data): Likewise.
66381 (ldexp_test_data): Likewise.
66382 (lgamma_test_data): Likewise.
66383 (lrint_test_data): Likewise.
66384 (lrint_tonearest_test_data): Likewise.
66385 (lrint_towardzero_test_data): Likewise.
66386 (lrint_downward_test_data): Likewise.
66387 (lrint_upward_test_data): Likewise.
66388 (llrint_test_data): Likewise.
66389 (llrint_tonearest_test_data): Likewise.
66390 (llrint_towardzero_test_data): Likewise.
66391 (llrint_downward_test_data): Likewise.
66392 (llrint_upward_test_data): Likewise.
66393 (log_test_data): Likewise.
66394 (log10_test_data): Likewise.
66395 (log1p_test_data): Likewise.
66396 (log2_test_data): Likewise.
66397 (logb_test_data): Likewise.
66398 (logb_downward_test_data): Likewise.
66399 (lround_test_data): Likewise.
66400 (llround_test_data): Likewise.
66401 (modf_test_data): Likewise.
66402 (nearbyint_test_data): Likewise.
66403 (nextafter_test_data): Likewise.
66404 (nexttoward_test_data): Likewise.
66405 (pow_test_data): Likewise.
66406 (pow_tonearest_test_data): Likewise.
66407 (pow_towardzero_test_data): Likewise.
66408 (pow_downward_test_data): Likewise.
66409 (pow_upward_test_data): Likewise.
66410 (remainder_test_data): Likewise.
66411 (remainder_tonearest_test_data): Likewise.
66412 (remainder_towardzero_test_data): Likewise.
66413 (remainder_downward_test_data): Likewise.
66414 (remainder_upward_test_data): Likewise.
66415 (remquo_test_data): Likewise.
66416 (rint_test_data): Likewise.
66417 (rint_tonearest_test_data): Likewise.
66418 (rint_towardzero_test_data): Likewise.
66419 (rint_downward_test_data): Likewise.
66420 (rint_upward_test_data): Likewise.
66421 (round_test_data): Likewise.
66422 (scalb_test_data): Likewise.
66423 (scalbn_test_data): Likewise.
66424 (scalbln_test_data): Likewise.
66425 (signbit_test_data): Likewise.
66426 (sin_test_data): Likewise.
66427 (sin_tonearest_test_data): Likewise.
66428 (sin_towardzero_test_data): Likewise.
66429 (sin_downward_test_data): Likewise.
66430 (sin_upward_test_data): Likewise.
66431 (sincos_test_data): Likewise.
66432 (sinh_test_data): Likewise.
66433 (sinh_tonearest_test_data): Likewise.
66434 (sinh_towardzero_test_data): Likewise.
66435 (sinh_downward_test_data): Likewise.
66436 (sinh_upward_test_data): Likewise.
66437 (sqrt_test_data): Likewise.
66438 (tan_test_data): Likewise.
66439 (tan_tonearest_test_data): Likewise.
66440 (tan_towardzero_test_data): Likewise.
66441 (tan_downward_test_data): Likewise.
66442 (tan_upward_test_data): Likewise.
66443 (tanh_test_data): Likewise.
66444 (tgamma_test_data): Likewise.
66445 (trunc_test_data): Likewise.
66446 (y0_test_data): Likewise.
66447 (y1_test_data): Likewise.
66448 (yn_test_data): Likewise.
66449 (significand_test_data): Likewise.
66450
66451 * math/gen-libm-test.pl (@functions): Remove variable.
66452 (generate_testfile): Don't handle START and END lines.
66453 * math/libm-test.inc (START): New macro.
66454 (END): Likewise.
66455 (END_COMPLEX): Likewise.
66456 (acos_test): Use END macro without arguments.
66457 (acos_test_tonearest): Likewise.
66458 (acos_test_towardzero): Likewise.
66459 (acos_test_downward): Likewise.
66460 (acos_test_upward): Likewise.
66461 (acosh_test): Likewise.
66462 (asin_test): Likewise.
66463 (asin_test_tonearest): Likewise.
66464 (asin_test_towardzero): Likewise.
66465 (asin_test_downward): Likewise.
66466 (asin_test_upward): Likewise.
66467 (asinh_test): Likewise.
66468 (atan_test): Likewise.
66469 (atanh_test): Likewise.
66470 (atan2_test): Likewise.
66471 (cabs_test): Likewise.
66472 (cacos_test): Use END_COMPLEX macro without arguments.
66473 (cacosh_test): Likewise.
66474 (carg_test): Use END macro without arguments.
66475 (casin_test): Use END_COMPLEX macro without arguments.
66476 (casinh_test): Likewise.
66477 (catan_test): Likewise.
66478 (catanh_test): Likewise.
66479 (cbrt_test): Use END macro without arguments.
66480 (ccos_test): Use END_COMPLEX macro without arguments.
66481 (ccosh_test): Likewise.
66482 (ceil_test): Use END macro without arguments.
66483 (cexp_test): Use END_COMPLEX macro without arguments.
66484 (cimag_test): Use END macro without arguments.
66485 (clog_test): Use END_COMPLEX macro without arguments.
66486 (clog10_test): Likewise.
66487 (conj_test): Likewise.
66488 (copysign_test): Use END macro without arguments.
66489 (cos_test): Likewise.
66490 (cos_test_tonearest): Likewise.
66491 (cos_test_towardzero): Likewise.
66492 (cos_test_downward): Likewise.
66493 (cos_test_upward): Likewise.
66494 (cosh_test): Likewise.
66495 (cosh_test_tonearest): Likewise.
66496 (cosh_test_towardzero): Likewise.
66497 (cosh_test_downward): Likewise.
66498 (cosh_test_upward): Likewise.
66499 (cpow_test): Use END_COMPLEX macro without arguments.
66500 (cproj_test): Likewise.
66501 (creal_test): Use END macro without arguments.
66502 (csin_test): Use END_COMPLEX macro without arguments.
66503 (csinh_test): Likewise.
66504 (csqrt_test): Likewise.
66505 (ctan_test): Likewise.
66506 (ctan_test_tonearest): Likewise.
66507 (ctan_test_towardzero): Likewise.
66508 (ctan_test_downward): Likewise.
66509 (ctan_test_upward): Likewise.
66510 (ctanh_test): Likewise.
66511 (ctanh_test_tonearest): Likewise.
66512 (ctanh_test_towardzero): Likewise.
66513 (ctanh_test_downward): Likewise.
66514 (ctanh_test_upward): Likewise.
66515 (erf_test): Use END macro without arguments.
66516 (erfc_test): Likewise.
66517 (exp_test): Likewise.
66518 (exp_test_tonearest): Likewise.
66519 (exp_test_towardzero): Likewise.
66520 (exp_test_downward): Likewise.
66521 (exp_test_upward): Likewise.
66522 (exp10_test): Likewise.
66523 (exp2_test): Likewise.
66524 (expm1_test): Likewise.
66525 (fabs_test): Likewise.
66526 (fdim_test): Likewise.
66527 (finite_test): Likewise.
66528 (floor_test): Likewise.
66529 (fma_test): Likewise.
66530 (fma_test_towardzero): Likewise.
66531 (fma_test_downward): Likewise.
66532 (fma_test_upward): Likewise.
66533 (fmax_test): Likewise.
66534 (fmin_test): Likewise.
66535 (fmod_test): Likewise.
66536 (fpclassify_test): Likewise.
66537 (frexp_test): Likewise.
66538 (gamma_test): Likewise.
66539 (hypot_test): Likewise.
66540 (ilogb_test): Likewise.
66541 (isfinite_test): Likewise.
66542 (isgreater_test): Likewise.
66543 (isgreaterequal_test): Likewise.
66544 (isinf_test): Likewise.
66545 (isless_test): Likewise.
66546 (islessequal_test): Likewise.
66547 (islessgreater_test): Likewise.
66548 (isnan_test): Likewise.
66549 (isnormal_test): Likewise.
66550 (issignaling_test): Likewise.
66551 (isunordered_test): Likewise.
66552 (j0_test): Likewise.
66553 (j1_test): Likewise.
66554 (jn_test): Likewise.
66555 (ldexp_test): Likewise.
66556 (lgamma_test): Likewise.
66557 (lrint_test): Likewise.
66558 (lrint_test_tonearest): Likewise.
66559 (lrint_test_towardzero): Likewise.
66560 (lrint_test_downward): Likewise.
66561 (lrint_test_upward): Likewise.
66562 (llrint_test): Likewise.
66563 (llrint_test_tonearest): Likewise.
66564 (llrint_test_towardzero): Likewise.
66565 (llrint_test_downward): Likewise.
66566 (llrint_test_upward): Likewise.
66567 (log_test): Likewise.
66568 (log10_test): Likewise.
66569 (log1p_test): Likewise.
66570 (log2_test): Likewise.
66571 (logb_test): Likewise.
66572 (logb_test_downward): Likewise.
66573 (lround_test): Likewise.
66574 (llround_test): Likewise.
66575 (modf_test): Likewise.
66576 (nearbyint_test): Likewise.
66577 (nextafter_test): Likewise.
66578 (nexttoward_test): Likewise.
66579 (pow_test): Likewise.
66580 (pow_test_tonearest): Likewise.
66581 (pow_test_towardzero): Likewise.
66582 (pow_test_downward): Likewise.
66583 (pow_test_upward): Likewise.
66584 (remainder_test): Likewise.
66585 (remainder_test_tonearest): Likewise.
66586 (remainder_test_towardzero): Likewise.
66587 (remainder_test_downward): Likewise.
66588 (remainder_test_upward): Likewise.
66589 (remquo_test): Likewise.
66590 (rint_test): Likewise.
66591 (rint_test_tonearest): Likewise.
66592 (rint_test_towardzero): Likewise.
66593 (rint_test_downward): Likewise.
66594 (rint_test_upward): Likewise.
66595 (round_test): Likewise.
66596 (scalb_test): Likewise.
66597 (scalbn_test): Likewise.
66598 (scalbln_test): Likewise.
66599 (signbit_test): Likewise.
66600 (sin_test): Likewise.
66601 (sin_test_tonearest): Likewise.
66602 (sin_test_towardzero): Likewise.
66603 (sin_test_downward): Likewise.
66604 (sin_test_upward): Likewise.
66605 (sincos_test): Likewise.
66606 (sinh_test): Likewise.
66607 (sinh_test_tonearest): Likewise.
66608 (sinh_test_towardzero): Likewise.
66609 (sinh_test_downward): Likewise.
66610 (sinh_test_upward): Likewise.
66611 (sqrt_test): Likewise.
66612 (tan_test): Likewise.
66613 (tan_test_tonearest): Likewise.
66614 (tan_test_towardzero): Likewise.
66615 (tan_test_downward): Likewise.
66616 (tan_test_upward): Likewise.
66617 (tanh_test): Likewise.
66618 (tgamma_test): Likewise.
66619 (trunc_test): Likewise.
66620 (y0_test): Likewise.
66621 (y1_test): Likewise.
66622 (yn_test): Likewise.
66623 (significand_test): Likewise.
66624
66625 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
66626
66627 [BZ #15381]
66628 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66629
66630 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66631
66632 [BZ #14894]
66633 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66634 __ppc_mdoio and __ppc_mdoom.
66635 * manual/platform.texi: Document new functions __ppc_yield,
66636 __ppc_mdoio and __ppc_mdoom.
66637
66638 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66639
66640 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66641 (main): Mention "tls" pseudo-hwcap is legacy.
66642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66643
66644 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66645
66646 * math/gen-libm-test.pl (parse_args): Output only string of
66647 arguments as text for test name, not full call or descriptions of
66648 tests for extra outputs.
66649 (generate_testfile): Do not pass function name to parse_args.
66650 Generate this_func variable from START.
66651 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66652 field to arg_str.
66653 (struct test_ff_f_data): Likewise.
66654 (test_ff_f_data_nexttoward): Likewise.
66655 (struct test_fi_f_data): Likewise.
66656 (struct test_fl_f_data): Likewise.
66657 (struct test_if_f_data): Likewise.
66658 (struct test_fff_f_data): Likewise.
66659 (struct test_c_f_data): Likewise.
66660 (struct test_f_f1_data): Likewise. Remove field extra_name.
66661 (struct test_fF_f1_data): Likewise.
66662 (struct test_ffI_f1_data): Likewise.
66663 (struct test_c_c_data): Rename test_name field to arg_str.
66664 (struct test_cc_c_data): Likewise.
66665 (struct test_f_i_data): Likewise.
66666 (struct test_ff_i_data): Likewise.
66667 (struct test_f_l_data): Likewise.
66668 (struct test_f_L_data): Likewise.
66669 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66670 and extra2_name.
66671 (COMMON_TEST_SETUP): New macro.
66672 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66673 (COMMON_TEST_CLEANUP): Likewise.
66674 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66675 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66676 macros.
66677 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66678 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66679 macros.
66680 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66681 (RUN_TEST_fff_f): Take argument string. Call new setup and
66682 cleanup macros.
66683 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66684 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66685 macros.
66686 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66687 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66688 macros.
66689 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66690 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66691 cleanup macros.
66692 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66693 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66694 cleanup macros.
66695 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66696 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66697 cleanup macros.
66698 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66699 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66700 macros.
66701 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66702 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66703 macros.
66704 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66705 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66706 macros.
66707 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66708 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66709 cleanup macros.
66710 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66711 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66712 cleanup macros.
66713 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66714 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66715 macros.
66716 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66717 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66718 cleanup macros.
66719 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66720 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66721 macros.
66722 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66723 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66724 macros.
66725 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66726 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66727 cleanup macros.
66728 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66729
66730 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66731
66732 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66733 to _sifields.sigfault.
66734 (si_addr_lsb): Define new macro.
66735 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66737 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66738
66739 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66740
66741 [BZ #15441]
66742 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66743 returns -1.
66744 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66745 null return -1.
66746 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66747 loading the domain.
66748
66749 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66750
66751 * math/gen-libm-test.pl (parse_args): Do not include expected
66752 result in test name.
66753 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66754 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66755 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66756 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66757 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66759
66760 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66761
66762 * benchtests/Makefile: Sort function entries.
66763
66764 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66765 tanh, asinh, acosh, atanh.
66766 * benchtests/acos-inputs: New file.
66767 * benchtests/acosh-inputs: New file.
66768 * benchtests/asin-inputs: New file.
66769 * benchtests/asinh-inputs: New file.
66770 * benchtests/atanh-inputs: New file.
66771 * benchtests/cosh-inputs: New file.
66772 * benchtests/log-inputs: New file.
66773 * benchtests/sinh-inputs: New file.
66774 * benchtests/tanh-inputs: New file.
66775
66776 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66777
66778 [BZ #15339]
66779 * posix/tst-getaddrinfo4.c: New test.
66780 * posix/Makefile (tests): Add it.
66781
66782 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66783
66784 [BZ #15339]
66785 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66786 when no services were used.
66787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66788 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66789
66790 2013-05-21 Andreas Schwab <schwab@suse.de>
66791
66792 [BZ #15014]
66793 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66794 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66795 successful.
66796 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66797 redundant variable declarations and reallocation of buffer when
66798 parsing as IPv6 address. Always set NSS status when called from
66799 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66800 buffer too small. Correct computation of needed size.
66801 * nss/Makefile (tests): Add test-digits-dots.
66802 * nss/test-digits-dots.c: New test.
66803
66804 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66805
66806 * benchtests/Makefile: Remove instructions for adding
66807 benchmark tests.
66808 * benchtests/README: New file to explain how to execute and
66809 enhance the benchmark tests.
66810
66811 2013-05-21 Andreas Schwab <schwab@suse.de>
66812
66813 [BZ #15493]
66814 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66815 * setjmp/tst-sigsetjmp.c: New test.
66816
66817 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66818
66819 * sysdeps/x86_64/memset.S (memset): New implementation.
66820 (__bzero): Likewise.
66821 (__memset_tail): New function.
66822
66823 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66824
66825 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66826 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66827 __memcpy_sse2_unaligned ifunc selection.
66828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66829 Add memcpy-sse2-unaligned.S.
66830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66831 Add: __memcpy_sse2_unaligned.
66832
66833 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66834
66835 [BZ #15490]
66836 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66837 math_force_eval before restoring floating-point envrionment.
66838 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66840 Likewise.
66841 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66842 <math_private.h>.
66843 (__nearbyintl): Use math_force_eval before restoring
66844 floating-point environment.
66845 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66846
66847 * math/gen-libm-test.pl (special_functions): Remove.
66848 (parse_args): Don't handle TEST_extra. Handle functions with no
66849 return value.
66850 * math/libm-test.inc (struct test_sincos_data): Replace with
66851 struct test_fFF_11_data.
66852 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66853 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66854 (sincos_test_data): Change element type to struct
66855 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66856 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66857 RUN_TEST_LOOP_sincos.
66858 * math/README.libm-test: Don't mention special handling of
66859 individual functions.
66860 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66861 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66862 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66863 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66864 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66866
66867 * math/gen-libm-test.pl (get_variable): Remove function.
66868 (parse_args): Don't show pointer parameters to call in test
66869 names. Use "extra output N" in test names for extra outputs
66870 rather than naming variables.
66871
66872 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66873
66874 [BZ #15488]
66875 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66876 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66877 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66878 double tests.
66879 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66880 disable.
66881 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66882 check_long_double.
66883
66884 * math/gen-libm-test.pl (@tests): Remove variable.
66885 ($count): Likewise.
66886 (new_test): Remove function.
66887 (show_exceptions): New function.
66888 (special_functions): Use show_exceptions instead of new_test.
66889 (parse_args): Likewise.
66890 (generate_testfile): Pass only function name in generated call to
66891 print_max_error or print_complex_max_error.
66892 (get_ulps): Do not handle complex tests specially.
66893 (output_test): Rename to ...
66894 (get_all_ulps_for_test): ... this. Return a string rather than
66895 printing to a file. Require ulps to be present.
66896 (output_ulps): Generate arrays rather than #defines.
66897 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66898 (struct ulp_data): New type.
66899 (BUILD_COMPLEX_ULP): Remove macro.
66900 (compare_ulp_data): New function.
66901 (find_ulps): Likewise.
66902 (find_test_ulps): Likewise.
66903 (find_function_ulps): Likewise.
66904 (find_complex_function_ulps): Likewise.
66905 (print_max_error): Determine allowed ulps using
66906 find_function_ulps.
66907 (print_complex_max_error): Determine allowed ulps using
66908 find_complex_function_ulps.
66909 (check_float_internal): Determine max ulps using find_test_ulps.
66910 (check_float): Do not take max_ulp parameter. Update call to
66911 check_float_internal.
66912 (check_complex): Likewise.
66913 (check_int): Do not take max_ulp parameter.
66914 (check_long): Likewise.
66915 (check_bool): Likewise.
66916 (check_longlong): Likewise.
66917 (struct test_f_f_data): Remove max_ulp field.
66918 (struct test_ff_f_data): Likewise.
66919 (struct test_ff_f_data_nexttoward): Likewise.
66920 (struct test_fi_f_data): Likewise.
66921 (struct test_fl_f_data): Likewise.
66922 (struct test_if_f_data): Likewise.
66923 (struct test_fff_f_data): Likewise.
66924 (struct test_c_f_data): Likewise.
66925 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66926 (struct test_fF_f1_data): Likewise.
66927 (struct test_ffI_f1_data): Likewise.
66928 (struct test_c_c_data): Remove max_ulp field.
66929 (struct test_cc_c_data): Likewise.
66930 (struct test_f_i_data): Likewise.
66931 (struct test_ff_i_data): Likewise.
66932 (struct test_f_l_data): Likewise.
66933 (struct test_f_L_data): Likewise.
66934 (struct test_sincos_data): Likewise.
66935 (RUN_TEST_f_f): Do not handle ulps.
66936 (RUN_TEST_LOOP_f_f): Likewise.
66937 (RUN_TEST_2_f): Likewise.
66938 (RUN_TEST_LOOP_2_f): Likewise.
66939 (RUN_TEST_fff_f): Likewise.
66940 (RUN_TEST_LOOP_fff_f): Likewise.
66941 (RUN_TEST_c_f): Likewise.
66942 (RUN_TEST_LOOP_c_f): Likewise.
66943 (RUN_TEST_f_f1): Likewise.
66944 (RUN_TEST_LOOP_f_f1): Likewise.
66945 (RUN_TEST_fF_f1): Likewise.
66946 (RUN_TEST_LOOP_fF_f1): Likewise.
66947 (RUN_TEST_fI_f1): Likewise.
66948 (RUN_TEST_LOOP_fI_f1): Likewise.
66949 (RUN_TEST_ffI_f1): Likewise.
66950 (RUN_TEST_LOOP_ffI_f1): Likewise.
66951 (RUN_TEST_c_c): Likewise.
66952 (RUN_TEST_LOOP_c_c): Likewise.
66953 (RUN_TEST_cc_c): Likewise.
66954 (RUN_TEST_LOOP_cc_c): Likewise.
66955 (RUN_TEST_f_i): Likewise.
66956 (RUN_TEST_LOOP_f_i): Likewise.
66957 (RUN_TEST_f_i_tg): Likewise.
66958 (RUN_TEST_LOOP_f_i_tg): Likewise.
66959 (RUN_TEST_ff_i_tg): Likewise.
66960 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66961 (RUN_TEST_f_b): Likewise.
66962 (RUN_TEST_LOOP_f_b): Likewise.
66963 (RUN_TEST_f_b_tg): Likewise.
66964 (RUN_TEST_LOOP_f_b_tg): Likewise.
66965 (RUN_TEST_f_l): Likewise.
66966 (RUN_TEST_LOOP_f_l): Likewise.
66967 (RUN_TEST_f_L): Likewise.
66968 (RUN_TEST_LOOP_f_L): Likewise.
66969 (RUN_TEST_sincos): Likewise.
66970 (RUN_TEST_LOOP_sincos): Likewise.
66971
66972 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66973
66974 [BZ #15480]
66975 [BZ #15485]
66976 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66977 main case of finite arguments, set rounding mode to FE_TONEAREST
66978 and discard exceptions.
66979 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66980 exceptions.
66981 (remainder_tonearest_test_data): New variable.
66982 (remainder_test_tonearest): New function.
66983 (remainder_towardzero_test_data): New variable.
66984 (remainder_test_towardzero): New function.
66985 (remainder_downward_test_data): New variable.
66986 (remainder_test_downward): New function.
66987 (remainder_upward_test_data): New variable.
66988 (remainder_test_upward): New function.
66989 (main): Call the new test functions.
66990
66991 * math/libm-test.inc (struct test_f_f1_data): Remove field
66992 extra_init.
66993 (struct test_fF_f1_data): Likewise.
66994 (struct test_ffI_f1_data): Likewise.
66995 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66996 based on value of EXTRA_EXPECTED.
66997 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66998 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66999 EXTRA_VAR based on value of EXTRA_EXPECTED.
67000 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
67001 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
67002 EXTRA_VAR based on value of EXTRA_EXPECTED.
67003 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
67004 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
67005 EXTRA_VAR based on value of EXTRA_EXPECTED.
67006 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
67007 * math/gen-libm-test.pl (parse_args): Don't output initializers
67008 for extra output values.
67009
67010 * math/libm-test.inc (check_int): Expect result to be exactly
67011 equal to expected value and do not handle ulps.
67012 (check_long): Likewise.
67013 (check_longlong): Likewise.
67014
67015 * math/libm-test.inc (ceil_test_data): Test for "inexact"
67016 exceptions.
67017 (cimag_test_data): Likewise.
67018 (conj_test_data): Likewise.
67019 (copysign_test_data): Likewise.
67020 (cproj_test_data): Likewise.
67021 (creal_test_data): Likewise.
67022 (fabs_test_data): Likewise.
67023 (fdim_test_data): Likewise.
67024 (finite_test_data): Likewise.
67025 (floor_test_data): Likewise.
67026 (fmax_test_data): Likewise.
67027 (fmin_test_data): Likewise.
67028 (fmod_test_data): Likewise.
67029 (fpclassify_test_data): Likewise.
67030 (frexp_test_data): Likewise.
67031 (ilogb_test_data): Likewise.
67032 (isfinite_test_data): Likewise.
67033 (isgreater_test_data): Likewise.
67034 (isgreaterequal_test_data): Likewise.
67035 (isinf_test_data): Likewise.
67036 (isless_test_data): Likewise.
67037 (islessequal_test_data): Likewise.
67038 (islessgreater_test_data): Likewise.
67039 (isnan_test_data): Likewise.
67040 (isnormal_test_data): Likewise.
67041 (issignaling_test_data): Likewise.
67042 (isunordered_test_data): Likewise.
67043 (ldexp_test_data): Likewise.
67044 (lrint_test_data): Likewise.
67045 (lrint_test_data) [TEST_FLOAT]: Disable one test.
67046 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
67047 (lrint_tonearest_test_data): Test for "inexact" exceptions.
67048 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67049 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
67050 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67051 test input.
67052 (lrint_towardzero_test_data): Test for "inexact" exceptions.
67053 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67054 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
67055 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
67056 that test input.
67057 (lrint_downward_test_data): Test for "inexact" exceptions.
67058 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67059 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
67060 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67061 test input.
67062 (lrint_upward_test_data): Test for "inexact" exceptions.
67063 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
67064 test input.
67065 (llrint_test_data): Test for "inexact" exceptions.
67066 (llrint_test_data) [TEST_FLOAT]: Disable one test.
67067 (llrint_tonearest_test_data): Test for "inexact" exceptions.
67068 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67069 (llrint_towardzero_test_data): Test for "inexact" exceptions.
67070 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67071 (llrint_downward_test_data): Test for "inexact" exceptions.
67072 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67073 (llrint_upward_test_data): Test for "inexact" exceptions.
67074 (logb_test_data): Likewise.
67075 (logb_downward_test_data): Likewise.
67076 (nextafter_test_data): Likewise.
67077 (nexttoward_test_data): Likewise.
67078 (remainder_test_data): Likewise.
67079 (remquo_test_data): Likewise.
67080 (scalbn_test_data): Likewise.
67081 (scalbln_test_data): Likewise.
67082 (signbit_test_data): Likewise.
67083 (sqrt_test_data): Likewise.
67084 (significand_test_data): Likewise.
67085
67086 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
67087
67088 [BZ #15424]
67089 * benchtests/bench-modf.c (struct args): Mark arg0 as
67090 volatile.
67091 * scripts/bench.pl: Mark members of struct args as volatile.
67092
67093 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67094
67095 [BZ # 15497]
67096 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
67097 negative infinity on POWER6 or lower.
67098 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
67099
67100 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
67101
67102 [BZ #15442]
67103 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
67104 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
67105 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
67106 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
67107 (_FP_SETQNAN): New macro.
67108 (_FP_SETQNAN_SEMIRAW): Likewise.
67109 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
67110 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
67111 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
67112 (FP_EXTEND): Use _FP_FRAC_SNANP.
67113 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
67114 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
67115 into account.
67116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67117 New macro.
67118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67119 Likewise.
67120
67121 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67122
67123 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
67124 with DIVIDE_BY_ZERO_EXCEPTION.
67125 (gamma_test_data): Likewise.
67126 (lgamma_test_data): Likewise.
67127 (log_test_data): Likewise.
67128 (log10_test_data): Likewise.
67129 (log2_test_data): Likewise.
67130 (tgamma_test_data): Likewise.
67131
67132 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
67133 (acos_test_tonearest): Likewise.
67134 (acos_test_towardzero): Likewise.
67135 (acos_test_downward): Likewise.
67136 (acos_test_upward): Likewise.
67137 (acosh_test): Likewise.
67138 (asin_test): Likewise.
67139 (asin_test_tonearest): Likewise.
67140 (asin_test_towardzero): Likewise.
67141 (asin_test_downward): Likewise.
67142 (asin_test_upward): Likewise.
67143 (asinh_test): Likewise.
67144 (atan_test): Likewise.
67145 (atanh_test): Likewise.
67146 (atan2_test): Likewise.
67147 (cabs_test): Likewise.
67148 (cacos_test): Likewise.
67149 (cacosh_test): Likewise.
67150 (casin_test): Likewise.
67151 (casinh_test): Likewise.
67152 (catan_test): Likewise.
67153 (catanh_test): Likewise.
67154 (cbrt_test): Likewise.
67155 (ccos_test): Likewise.
67156 (ccosh_test): Likewise.
67157 (cexp_test): Likewise.
67158 (clog_test): Likewise.
67159 (clog10_test): Likewise.
67160 (cos_test): Likewise.
67161 (cos_test_tonearest): Likewise.
67162 (cos_test_towardzero): Likewise.
67163 (cos_test_downward): Likewise.
67164 (cos_test_upward): Likewise.
67165 (cosh_test): Likewise.
67166 (cosh_test_tonearest): Likewise.
67167 (cosh_test_towardzero): Likewise.
67168 (cosh_test_downward): Likewise.
67169 (cosh_test_upward): Likewise.
67170 (cpow_test): Likewise.
67171 (csin_test): Likewise.
67172 (csinh_test): Likewise.
67173 (csqrt_test): Likewise.
67174 (ctan_test): Likewise.
67175 (ctan_test_tonearest): Likewise.
67176 (ctan_test_towardzero): Likewise.
67177 (ctan_test_downward): Likewise.
67178 (ctan_test_upward): Likewise.
67179 (ctanh_test): Likewise.
67180 (ctanh_test_tonearest): Likewise.
67181 (ctanh_test_towardzero): Likewise.
67182 (ctanh_test_downward): Likewise.
67183 (ctanh_test_upward): Likewise.
67184 (erf_test): Likewise.
67185 (erfc_test): Likewise.
67186 (exp_test): Likewise.
67187 (exp_test_tonearest): Likewise.
67188 (exp_test_towardzero): Likewise.
67189 (exp_test_downward): Likewise.
67190 (exp_test_upward): Likewise.
67191 (exp10_test): Likewise.
67192 (exp2_test): Likewise.
67193 (expm1_test): Likewise.
67194 (fmod_test): Likewise.
67195 (gamma_test): Likewise.
67196 (hypot_test): Likewise.
67197 (j0_test): Likewise.
67198 (j1_test): Likewise.
67199 (jn_test): Likewise.
67200 (lgamma_test): Likewise.
67201 (log_test): Likewise.
67202 (log10_test): Likewise.
67203 (log1p_test): Likewise.
67204 (log2_test): Likewise.
67205 (logb_test_downward): Likewise.
67206 (pow_test): Likewise.
67207 (pow_test_tonearest): Likewise.
67208 (pow_test_towardzero): Likewise.
67209 (pow_test_downward): Likewise.
67210 (pow_test_upward): Likewise.
67211 (remainder_test): Likewise.
67212 (remquo_test): Likewise.
67213 (sin_test): Likewise.
67214 (sin_test_tonearest): Likewise.
67215 (sin_test_towardzero): Likewise.
67216 (sin_test_downward): Likewise.
67217 (sin_test_upward): Likewise.
67218 (sincos_test): Likewise.
67219 (sinh_test): Likewise.
67220 (sinh_test_tonearest): Likewise.
67221 (sinh_test_towardzero): Likewise.
67222 (sinh_test_downward): Likewise.
67223 (sinh_test_upward): Likewise.
67224 (sqrt_test): Likewise.
67225 (tan_test): Likewise.
67226 (tan_test_tonearest): Likewise.
67227 (tan_test_towardzero): Likewise.
67228 (tan_test_downward): Likewise.
67229 (tan_test_upward): Likewise.
67230 (tanh_test): Likewise.
67231 (tgamma_test): Likewise.
67232 (y0_test): Likewise.
67233 (y1_test): Likewise.
67234 (yn_test): Likewise.
67235
67236 * math/gen-libm-test.pl (adjust_arg): Remove function.
67237 (special_function): Remove argument $in_func. Only handle
67238 generating output for tables of tests, not inside functions.
67239 (parse_args): Likewise.
67240 (generate_testfile): Remove variable $in_func. Update call to
67241 parse_args.
67242 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67243 (MINUS_ZERO_INIT): Rename macro to minus_zero.
67244 (PLUS_INFTY_INIT): Rename macro to plus_infty.
67245 (MINUS_INFTY_INIT): Rename macro to minus_infty.
67246 (QNAN_VALUE_INIT): Rename macro to qnan_value.
67247 (MAX_VALUE_INIT): Rename macro to max_value.
67248 (MIN_VALUE_INIT): Rename macro to min_value.
67249 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67250 (plus_zero): Remove variable.
67251 (minus_zero): Likewise.
67252 (plus_infty): Likewise.
67253 (minus_infty): Likewise.
67254 (qnan_value): Likewise.
67255 (max_value): Likewise.
67256 (min_value): Likewise.
67257 (min_subnorm_value): Likewise.
67258
67259 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
67260
67261 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67262 uint64_t or uint32_t usage.
67263 * crypt/sha256-block.c: Likewise.
67264 * crypt/sha256-crypt.c: Likewise.
67265 * crypt/sha256.c: Likewise.
67266 * crypt/sha512-block.c: Likewise.
67267 * crypt/sha512-crypt.c: Likewise.
67268 * crypt/sha512.c: Likewise.
67269 * debug/backtrace-tst.c: Likewise.
67270 * debug/pcprofiledump.c: Likewise.
67271 * elf/cache.c: Likewise.
67272 * elf/dl-cache.c: Likewise.
67273 * elf/dl-misc.c: Likewise.
67274 * elf/dl-profile.c: Likewise.
67275 * elf/dl-support.c: Likewise.
67276 * elf/ldconfig.c: Likewise.
67277 * elf/sprof.c: Likewise.
67278 * iconv/dummy-repertoire.c: Likewise.
67279 * iconv/iconv_charmap.c: Likewise.
67280 * iconv/skeleton.c: Likewise.
67281 * iconvdata/8bit-generic.c: Likewise.
67282 * iconvdata/cp737.h: Likewise.
67283 * iconvdata/cp775.h: Likewise.
67284 * iconvdata/ibm1008.h: Likewise.
67285 * iconvdata/ibm1025.h: Likewise.
67286 * iconvdata/ibm1046.h: Likewise.
67287 * iconvdata/ibm1097.h: Likewise.
67288 * iconvdata/ibm1112.h: Likewise.
67289 * iconvdata/ibm1122.h: Likewise.
67290 * iconvdata/ibm1123.h: Likewise.
67291 * iconvdata/ibm1124.h: Likewise.
67292 * iconvdata/ibm1129.h: Likewise.
67293 * iconvdata/ibm1130.h: Likewise.
67294 * iconvdata/ibm1132.h: Likewise.
67295 * iconvdata/ibm1133.h: Likewise.
67296 * iconvdata/ibm1137.h: Likewise.
67297 * iconvdata/ibm1140.h: Likewise.
67298 * iconvdata/ibm1141.h: Likewise.
67299 * iconvdata/ibm1142.h: Likewise.
67300 * iconvdata/ibm1143.h: Likewise.
67301 * iconvdata/ibm1144.h: Likewise.
67302 * iconvdata/ibm1145.h: Likewise.
67303 * iconvdata/ibm1146.h: Likewise.
67304 * iconvdata/ibm1147.h: Likewise.
67305 * iconvdata/ibm1148.h: Likewise.
67306 * iconvdata/ibm1149.h: Likewise.
67307 * iconvdata/ibm1153.h: Likewise.
67308 * iconvdata/ibm1154.h: Likewise.
67309 * iconvdata/ibm1155.h: Likewise.
67310 * iconvdata/ibm1156.h: Likewise.
67311 * iconvdata/ibm1157.h: Likewise.
67312 * iconvdata/ibm1158.h: Likewise.
67313 * iconvdata/ibm1160.h: Likewise.
67314 * iconvdata/ibm1161.h: Likewise.
67315 * iconvdata/ibm1162.h: Likewise.
67316 * iconvdata/ibm1163.h: Likewise.
67317 * iconvdata/ibm1164.h: Likewise.
67318 * iconvdata/ibm1166.h: Likewise.
67319 * iconvdata/ibm1167.h: Likewise.
67320 * iconvdata/ibm12712.h: Likewise.
67321 * iconvdata/ibm1390.h: Likewise.
67322 * iconvdata/ibm1399.h: Likewise.
67323 * iconvdata/ibm16804.h: Likewise.
67324 * iconvdata/ibm4517.h: Likewise.
67325 * iconvdata/ibm4899.h: Likewise.
67326 * iconvdata/ibm4909.h: Likewise.
67327 * iconvdata/ibm4971.h: Likewise.
67328 * iconvdata/ibm5347.h: Likewise.
67329 * iconvdata/ibm803.h: Likewise.
67330 * iconvdata/ibm856.h: Likewise.
67331 * iconvdata/ibm901.h: Likewise.
67332 * iconvdata/ibm902.h: Likewise.
67333 * iconvdata/ibm9030.h: Likewise.
67334 * iconvdata/ibm9066.h: Likewise.
67335 * iconvdata/ibm921.h: Likewise.
67336 * iconvdata/ibm922.h: Likewise.
67337 * iconvdata/ibm9448.h: Likewise.
67338 * iconvdata/isiri-3342.h: Likewise.
67339 * iconvdata/jis0201.h: Likewise.
67340 * include/link.h: Likewise.
67341 * include/netdb.h: Likewise.
67342 * inet/check_native.c: Likewise.
67343 * inet/check_pf.c: Likewise.
67344 * inet/getipv4sourcefilter.c: Likewise.
67345 * inet/getnameinfo.c: Likewise.
67346 * inet/getsourcefilter.c: Likewise.
67347 * inet/htonl.c: Likewise.
67348 * inet/setipv4sourcefilter.c: Likewise.
67349 * inet/setsourcefilter.c: Likewise.
67350 * inet/test-inet6_opt.c: Likewise.
67351 * inet/tst-network.c: Likewise.
67352 * locale/C-collate.c: Likewise.
67353 * locale/C-ctype.c: Likewise.
67354 * locale/C-time.c: Likewise.
67355 * locale/C-translit.h: Likewise.
67356 * locale/loadarchive.c: Likewise.
67357 * locale/programs/3level.h: Likewise.
67358 * locale/programs/charmap.c: Likewise.
67359 * locale/programs/charmap.h: Likewise.
67360 * locale/programs/ld-address.c: Likewise.
67361 * locale/programs/ld-collate.c: Likewise.
67362 * locale/programs/ld-ctype.c: Likewise.
67363 * locale/programs/ld-identification.c: Likewise.
67364 * locale/programs/ld-measurement.c: Likewise.
67365 * locale/programs/ld-messages.c: Likewise.
67366 * locale/programs/ld-monetary.c: Likewise.
67367 * locale/programs/ld-name.c: Likewise.
67368 * locale/programs/ld-numeric.c: Likewise.
67369 * locale/programs/ld-paper.c: Likewise.
67370 * locale/programs/ld-telephone.c: Likewise.
67371 * locale/programs/ld-time.c: Likewise.
67372 * locale/programs/linereader.c: Likewise.
67373 * locale/programs/locale.c: Likewise.
67374 * locale/programs/locarchive.c: Likewise.
67375 * locale/programs/locfile.h: Likewise.
67376 * locale/programs/repertoire.c: Likewise.
67377 * locale/programs/simple-hash.c: Likewise.
67378 * locale/programs/simple-hash.h: Likewise.
67379 * malloc/memusage.c: Likewise.
67380 * malloc/memusagestat.c: Likewise.
67381 * nis/nis_defaults.c: Likewise.
67382 * nis/nis_hash.c: Likewise.
67383 * nis/nis_print.c: Likewise.
67384 * nis/nis_xdr.c: Likewise.
67385 * nscd/connections.c: Likewise.
67386 * nscd/hstcache.c: Likewise.
67387 * nscd/nscd_gethst_r.c: Likewise.
67388 * nscd/nscd_getserv_r.c: Likewise.
67389 * nscd/nscd_helper.c: Likewise.
67390 * nscd/servicescache.c: Likewise.
67391 * nss/makedb.c: Likewise.
67392 * nss/nss_db/db-XXX.c: Likewise.
67393 * nss/nss_db/db-initgroups.c: Likewise.
67394 * nss/nss_db/db-netgrp.c: Likewise.
67395 * nss/nss_files/files-network.c: Likewise.
67396 * nss/nss_files/files-parse.c: Likewise.
67397 * posix/bug-regex5.c: Likewise.
67398 * posix/fnmatch_loop.c: Likewise.
67399 * posix/regcomp.c: Likewise.
67400 * posix/regexec.c: Likewise.
67401 * posix/tst-rfc3484-2.c: Likewise.
67402 * posix/tst-rfc3484-3.c: Likewise.
67403 * posix/tst-rfc3484.c: Likewise.
67404 * resolv/nss_dns/dns-canon.c: Likewise.
67405 * resolv/nss_dns/dns-network.c: Likewise.
67406 * resolv/res_init.c: Likewise.
67407 * resolv/res_mkquery.c: Likewise.
67408 * resolv/tst-aton.c: Likewise.
67409 * stdlib/cxa_atexit.c: Likewise.
67410 * stdlib/cxa_finalize.c: Likewise.
67411 * stdlib/gen-fpioconst.c: Likewise.
67412 * stdlib/strtol_l.c: Likewise.
67413 * string/tst-endian.c: Likewise.
67414 * sunrpc/auth_des.c: Likewise.
67415 * sunrpc/clnt_udp.c: Likewise.
67416 * sunrpc/rtime.c: Likewise.
67417 * sunrpc/svcauth_des.c: Likewise.
67418 * sunrpc/xdr.c: Likewise.
67419 * sunrpc/xdr_intXX_t.c: Likewise.
67420 * sunrpc/xdr_rec.c: Likewise.
67421 * sysdeps/generic/ldconfig.h: Likewise.
67422 * sysdeps/generic/ldsodefs.h: Likewise.
67423 * sysdeps/generic/memusage.h: Likewise.
67424 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67425 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67426 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67434 * sysdeps/posix/getaddrinfo.c: Likewise.
67435 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67436 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67437 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67438 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67439 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67440 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67441 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67442 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67443 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67444 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67445 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67446 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67447 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67448 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67449 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67450 * sysdeps/x86_64/dl-tls.h: Likewise.
67451 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67452 * time/alt_digit.c: Likewise.
67453 * time/era.c: Likewise.
67454 * wcsmbs/tst-c16c32-1.c: Likewise.
67455
67456 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67457
67458 * math/libm-test.inc (struct test_sincos_data): New type.
67459 (RUN_TEST_LOOP_sincos): New macro.
67460 (sincos_test_data): New variable.
67461 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67462
67463 2013-05-16 Richard Henderson <rth@redhat.com>
67464
67465 * math/atest-exp2.c (LIMB64): New macro.
67466 (CONSTSZ): New macro.
67467 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67468 (hexdig): Move ...
67469 (print_mpn_fp): ... to function scope.
67470 (read_mpn_hex): Remove.
67471 (get_log2): Remove.
67472 (exp2_mpn): Use mp_log2.
67473 (main): Use mp_exp1.
67474
67475 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67476
67477 * math/libm-test.inc: Remove comment about not testing "inexact"
67478 exceptions.
67479 (INEXACT_EXCEPTION): New macro.
67480 (NO_INEXACT_EXCEPTION): Likewise.
67481 (INVALID_EXCEPTION_OK): Update value.
67482 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67483 (OVERFLOW_EXCEPTION_OK): Likewise.
67484 (UNDERFLOW_EXCEPTION_OK): Likewise.
67485 (IGNORE_ZERO_INF_SIGN): Likewise.
67486 (ERRNO_UNCHANGED): Likewise.
67487 (ERRNO_EDOM): Likewise.
67488 (ERRNO_ERANGE): Likewise.
67489 (test_exceptions): Handle testing "inexact" exceptions.
67490 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67491 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67492 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67493 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67494 INEXACT_EXCEPTION.
67495 (rint_towardzero_test_data): Likewise.
67496 (rint_downward_test_data): Likewise.
67497 (rint_upward_test_data): Likewise.
67498
67499 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67500 with OVERFLOW_EXCEPTION.
67501 (exp10_test_data): Likewise.
67502 (exp2_test_data): Likewise.
67503 (expm1_test_data): Likewise.
67504 (lgamma_test_data): Likewise.
67505 (pow_test_data): Likewise.
67506 (tgamma_test_data): Likewise.
67507 (yn_test_data): Remove duplicate test of overflow.
67508
67509 * math/libm-test.inc (struct test_cc_c_data): New type.
67510 (RUN_TEST_LOOP_cc_c): New macro.
67511 (cpow_test_data): New variable.
67512 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67513
67514 * math/libm-test.inc (struct test_f_L_data): New type.
67515 (RUN_TEST_LOOP_f_L): New macro.
67516 (llrint_test_data): New variable.
67517 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67518 (llrint_tonearest_test_data): New variable.
67519 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67520 (llrint_towardzero_test_data): New variable.
67521 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67522 (llrint_downward_test_data): New variable.
67523 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67524 (llrint_upward_test_data): New variable.
67525 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67526 (llround_test_data): New variable.
67527 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67528
67529 2013-05-13 Peter Collingbourne <pcc@google.com>
67530
67531 * math/atest-exp2.c (get_log2): Remove const attribute.
67532
67533 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67534
67535 * math/libm-test.inc (struct test_f_l_data): New type.
67536 (RUN_TEST_LOOP_f_l): New macro.
67537 (lrint_test_data): New variable.
67538 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67539 (lrint_tonearest_test_data): New variable.
67540 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67541 (lrint_towardzero_test_data): New variable.
67542 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67543 (lrint_downward_test_data): New variable.
67544 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67545 (lrint_upward_test_data): New variable.
67546 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67547 (lround_test_data): New variable.
67548 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67549
67550 2013-05-15 Peter Collingbourne <pcc@google.com>
67551
67552 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67553 (EXTRACT_WORDS64) Use where appropriate.
67554 (INSERT_WORDS64) Likewise.
67555
67556 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67557 constraints with x constraints.
67558 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67559
67560 * malloc/obstack.c (_obstack_compat): Add initializer.
67561
67562 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67563
67564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67565 si_trapno and add si_addr_lsb to _sifields.sigfault.
67566 (si_trapno): Remove macro.
67567 (si_addr_lsb): Define new macro.
67568 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67569
67570 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67571
67572 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67573 instead of TEST_f_l.
67574 (llrint_test_tonearest): Likewise.
67575 (llrint_test_towardzero): Likewise.
67576 (llrint_test_downward): Likewise.
67577 (llrint_test_upward): Likewise.
67578 (llround_test): Likewise.
67579
67580 * math/libm-test.inc (struct test_f_i_data): Add comment.
67581 (RUN_TEST_LOOP_f_b): New macro.
67582 (RUN_TEST_LOOP_f_b_tg): Likewise.
67583 (finite_test_data): New variable.
67584 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67585 (isfinite_test_data): New variable.
67586 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67587 (isinf_test_data): New variable.
67588 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67589 (isnan_test_data): New variable.
67590 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67591 (isnormal_test_data): New variable.
67592 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67593 (issignaling_test_data): New variable.
67594 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67595 (signbit_test_data): New variable.
67596 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67597
67598 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67599 with INVALID_EXCEPTION.
67600 (acosh_test_data): Likewise.
67601 (asin_test_data): Likewise.
67602 (atanh_test_data): Likewise.
67603 (fmod_test_data): Likewise.
67604 (log_test_data): Likewise.
67605 (log10_test_data): Likewise.
67606 (log2_test_data): Likewise.
67607 (pow_test_data): Likewise.
67608 (sqrt_test_data): Likewise.
67609 (y0_test_data): Likewise.
67610 (y1_test_data): Likewise.
67611 (yn_test_data): Likewise.
67612
67613 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67614 function contents.
67615
67616 * math/libm-test.inc (struct test_ff_i_data): New type.
67617 (RUN_TEST_LOOP_ff_i_tg): New macro.
67618 (isgreater_test_data): New variable.
67619 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67620 (isgreaterequal_test_data): New variable.
67621 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67622 (isless_test_data): New variable.
67623 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67624 (islessequal_test_data): New variable.
67625 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67626 (islessgreater_test_data): New variable.
67627 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67628 (isunordered_test_data): New variable.
67629 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67630
67631 2013-05-14 David S. Miller <davem@davemloft.net>
67632
67633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67634
67635 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67636
67637 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67638
67639 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67640 extra_test to int.
67641 (struct test_f_i_data): Change type of max_ulp to int.
67642
67643 * math/libm-test.inc (test_ffI_f1_data): New type.
67644 (RUN_TEST_LOOP_ffI_f1): New macro.
67645 (remquo_test_data): New variable.
67646 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67647
67648 * setjmp/tst-setjmp-fp.c: New file.
67649 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67650 (link-libm): New variable.
67651 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67652
67653 * math/libm-test.inc (struct test_f_i_data): New type.
67654 (RUN_TEST_LOOP_f_i): New macro.
67655 (RUN_TEST_LOOP_f_i_tg): Likewise.
67656 (fpclassify_test_data): New variable.
67657 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67658 (ilogb_test_data): New variable.
67659 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67660
67661 * math/libm-test.inc (scalbln_test): Correct function name in END
67662 call.
67663
67664 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67665 (RUN_TEST_LOOP_fI_f1): New macro.
67666 (frexp_test_data): New variable.
67667 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67668
67669 * math/libm-test.inc (struct test_fF_f1_data): New type.
67670 (RUN_TEST_LOOP_fF_f1): New macro.
67671 (modf_test_data): New variable.
67672 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67673
67674 * math/libm-test.inc (struct test_f_f1_data): New type.
67675 (RUN_TEST_LOOP_f_f1): New macro.
67676 (gamma_test_data): New variable.
67677 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67678 (lgamma_test_data): New variable.
67679 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67680
67681 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67682
67683 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67684 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67685 (main): Comment "tls" pseudo-hwcap.
67686
67687 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67688
67689 * math/libm-test.inc (struct test_fl_f_data): New type.
67690 (RUN_TEST_LOOP_fl_f): New variable.
67691 (scalbln_test_data): New variable.
67692 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67693
67694 * math/libm-test.inc (struct test_fi_f_data): New type.
67695 (RUN_TEST_LOOP_fi_f): New macro.
67696 (ldexp_test_data): New variable.
67697 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67698 (scalbn_test_data): New variable.
67699 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67700
67701 * math/libm-test.inc (struct test_c_f_data): New type.
67702 (RUN_TEST_LOOP_c_f): New macro.
67703 (cabs_test_data): New variable.
67704 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67705 (carg_test_data): New variable.
67706 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67707 (cimag_test_data): New variable.
67708 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67709 (creal_test_data): New variable.
67710 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67711
67712 * math/libm-test.inc (struct test_if_f_data): New type.
67713 (RUN_TEST_LOOP_if_f): New macro.
67714 (jn_test_data): New variable.
67715 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67716 (yn_test_data): New variable.
67717 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67718
67719 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67720
67721 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67722
67723 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67724 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67725
67726 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67727
67728 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67729 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67730 (bench-deps): Add bench-timing.h.
67731 * benchtests-bench-skeleton.c: Include bench-timing.h.
67732 (main): Use TIMING_* macros instead of clock_gettime.
67733 * benchtests/bench-timing.h: New file.
67734
67735 [BZ #14582]
67736 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67737 Renamed from _LIB_VERSION.
67738 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67739
67740 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67741
67742 * math/libm-test.inc (struct test_fff_f_data): New type.
67743 (RUN_TEST_LOOP_fff_f): New macro.
67744 (fma_test_data): New variable.
67745 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67746 (fma_towardzero_test_data): New variable.
67747 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67748 (fma_downward_test_data): New variable.
67749 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67750 (fma_upward_test_data): New variable.
67751 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67752
67753 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67754 (struct test_c_c_data): New type.
67755 (RUN_TEST_LOOP_c_c): New macro.
67756 (cacos_test_data): New variable.
67757 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67758 (cacosh_test_data): New variable.
67759 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67760 (casin_test_data): New variable.
67761 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67762 (casinh_test_data): New variable.
67763 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67764 (catan_test_data): New variable.
67765 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67766 (catanh_test_data): New variable.
67767 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67768 (ccos_test_data): New variable.
67769 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67770 (ccosh_test_data): New variable.
67771 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67772 (cexp_test_data): New variable.
67773 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67774 (clog_test_data): New variable.
67775 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67776 (clog10_test_data): New variable.
67777 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67778 (conj_test_data): New variable.
67779 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67780 (cproj_test_data): New variable.
67781 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67782 (csin_test_data): New variable.
67783 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67784 (csinh_test_data): New variable.
67785 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67786 (csqrt_test_data): New variable.
67787 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67788 (ctan_test_data): New variable.
67789 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67790 (ctan_tonearest_test_data): New variable.
67791 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67792 (ctan_towardzero_test_data): New variable.
67793 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67794 (ctan_downward_test_data): New variable.
67795 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67796 (ctan_upward_test_data): New variable.
67797 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67798 (ctanh_test_data): New variable.
67799 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67800 (ctanh_tonearest_test_data): New variable.
67801 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67802 (ctanh_towardzero_test_data): New variable.
67803 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67804 (ctanh_downward_test_data): New variable.
67805 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67806 (ctanh_upward_test_data): New variable.
67807 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67808 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67809 of BUILD_COMPLEX.
67810
67811 * math/libm-test.inc (struct test_ff_f_data): New type.
67812 (struct test_ff_f_data_nexttoward): Likewise.
67813 (RUN_TEST_LOOP_2_f): New macro.
67814 (RUN_TEST_LOOP_ff_f): Likewise.
67815 (atan2_test_data): New variable.
67816 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67817 (copysign_test_data): New variable.
67818 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67819 (fdim_test_data): New variable.
67820 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67821 (fmax_test_data): New variable.
67822 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67823 (fmin_test_data): New variable.
67824 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67825 (fmod_test_data): New variable.
67826 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67827 (hypot_test_data): New variable.
67828 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67829 (nextafter_test_data): New variable.
67830 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67831 (nexttoward_test_data): New variable.
67832 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67833 (pow_test_data): New variable.
67834 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67835 (pow_tonearest_test_data): New variable.
67836 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67837 (pow_towardzero_test_data): New variable.
67838 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67839 (pow_downward_test_data): New variable.
67840 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67841 (pow_upward_test_data): New variable.
67842 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67843 (remainder_test_data): New variable.
67844 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67845 (scalb_test_data): New variable.
67846 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67847 * sysdeps/i386/fpu/libm-test-ulps: Update.
67848
67849 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67850
67851 * math/libm-test.inc (fma_test): Use max_value instead of local
67852 variable fltmax.
67853 (nextafter_test): Likewise.
67854
67855 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67856 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67857 (acos_downward_test_data): New variable.
67858 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67859 (acos_upward_test_data): New variable.
67860 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67861 (acosh_test_data): New variable.
67862 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67863 (asin_test_data): New variable.
67864 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67865 (asin_tonearest_test_data): New variable.
67866 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67867 (asin_towardzero_test_data): New variable.
67868 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67869 (asin_downward_test_data): New variable.
67870 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67871 (asin_upward_test_data): New variable.
67872 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67873 (asinh_test_data): New variable.
67874 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67875 (atan_test_data): New variable.
67876 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67877 (atanh_test_data): New variable.
67878 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67879 (cbrt_test_data): New variable.
67880 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67881 (ceil_test_data): New variable.
67882 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67883 (cos_test_data): New variable.
67884 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67885 (cos_tonearest_test_data): New variable.
67886 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67887 (cos_towardzero_test_data): New variable.
67888 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67889 (cos_downward_test_data): New variable.
67890 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67891 (cos_upward_test_data): New variable.
67892 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67893 (cosh_test_data): New variable.
67894 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67895 (cosh_tonearest_test_data): New variable.
67896 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67897 (cosh_towardzero_test_data): New variable.
67898 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67899 (cosh_downward_test_data): New variable.
67900 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67901 (cosh_upward_test_data): New variable.
67902 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67903 (erf_test_data): New variable.
67904 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67905 (erfc_test_data): New variable.
67906 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67907 (exp_test_data): New variable.
67908 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67909 (exp_tonearest_test_data): New variable.
67910 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67911 (exp_towardzero_test_data): New variable.
67912 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67913 (exp_downward_test_data): New variable.
67914 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67915 (exp_upward_test_data): New variable.
67916 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67917 (exp10_test_data): New variable.
67918 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67919 (exp2_test_data): New variable.
67920 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67921 (expm1_test_data): New variable.
67922 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67923 (fabs_test_data): New variable.
67924 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67925 (floor_test_data): New variable.
67926 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67927 (j0_test_data): New variable.
67928 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67929 (j1_test_data): New variable.
67930 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67931 (log_test_data): New variable.
67932 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67933 (log10_test_data): New variable.
67934 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67935 (log1p_test_data): New variable.
67936 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67937 (log2_test_data): New variable.
67938 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67939 (logb_test_data): New variable.
67940 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67941 (logb_downward_test_data): New variable.
67942 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67943 (nearbyint_test_data): New variable.
67944 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67945 (rint_test_data): New variable.
67946 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67947 (rint_tonearest_test_data): New variable.
67948 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67949 (rint_towardzero_test_data): New variable.
67950 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67951 (rint_downward_test_data): New variable.
67952 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67953 (rint_upward_test_data): New variable.
67954 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67955 (round_test_data): New variable.
67956 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67957 (sin_test_data): New variable.
67958 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67959 (sin_tonearest_test_data): New variable.
67960 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67961 (sin_towardzero_test_data): New variable.
67962 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67963 (sin_downward_test_data): New variable.
67964 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67965 (sin_upward_test_data): New variable.
67966 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67967 (sinh_test_data): New variable.
67968 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67969 (sinh_tonearest_test_data): New variable.
67970 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67971 (sinh_towardzero_test_data): New variable.
67972 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67973 (sinh_downward_test_data): New variable.
67974 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67975 (sinh_upward_test_data): New variable.
67976 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67977 (sqrt_test_data): New variable.
67978 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67979 (tan_test_data): New variable.
67980 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67981 (tan_tonearest_test_data): New variable.
67982 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67983 (tan_towardzero_test_data): New variable.
67984 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67985 (tan_downward_test_data): New variable.
67986 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67987 (tan_upward_test_data): New variable.
67988 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67989 (tanh_test_data): New variable.
67990 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67991 (tgamma_test_data): New variable.
67992 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67993 (trunc_test_data): New variable.
67994 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67995 (y0_test_data): New variable.
67996 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67997 (y1_test_data): New variable.
67998 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67999 (significand_test_data): New variable.
68000 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
68001
68002 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
68003
68004 [BZ #12387]
68005 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
68006
68007 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
68008
68009 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
68010
68011 2013-05-10 Andreas Jaeger <aj@suse.de>
68012
68013 [BZ #15448]
68014 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
68015 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
68016
68017 2013-05-10 Joseph Myers <joseph@codesourcery.com>
68018
68019 * math/gen-libm-test.pl (adjust_arg): New function.
68020 (special_functions): Handle generating output in both functions
68021 and arrays.
68022 (parse_args): Likewise.
68023 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
68024 $in_func argument to parse_args.
68025 * math/libm-test.inc (struct test_f_f_data): New type.
68026 (IF_ROUND_INIT_): New macro.
68027 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
68028 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
68029 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
68030 (IF_ROUND_INIT_FE_UPWARD): Likewise.
68031 (ROUND_RESTORE_): Likewise.
68032 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
68033 (ROUND_RESTORE_FE_TONEAREST): Likewise.
68034 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
68035 (ROUND_RESTORE_FE_UPWARD): Likewise.
68036 (RUN_TEST_LOOP_f_f): New macro.
68037 (acos_test_data): New variable.
68038 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
68039 (acos_tonearest_test_data): New variable.
68040 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68041
68042 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68043
68044 * benchtests/bench-skeleton.c (startup): Fix coding style.
68045
68046 2013-05-10 Joseph Myers <joseph@codesourcery.com>
68047
68048 [BZ #6809]
68049 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
68050 negative infinity argument.
68051 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
68052 negative infinity argument.
68053 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
68054 negative infinity argument.
68055 * math/libm-test.inc (tgamma_test): Expect errno to be set for
68056 domain errors.
68057
68058 2013-05-10 Florian Weimer <fweimer@redhat.com>
68059
68060 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
68061 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
68062 * iconv/iconv_prog.c (main): Likewise.
68063 * locale/programs/charmap-dir.c (charmap_readdir)
68064 (fopen_uncompressed): Likewise.
68065 * locale/programs/locfile.c (siblings_uncached)
68066 (write_locale_data): Use lstat64 instead of lstat.
68067 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
68068 stat.
68069
68070 2013-05-10 Andreas Jaeger <aj@suse.de>
68071
68072 [BZ #15395]
68073 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
68074 localization.
68075 Include <locale.h>.
68076
68077 2013-05-09 Carlos O'Donell <carlos@redhat.com>
68078
68079 * elf/dl-close.c (_dl_close_worker): Add comments.
68080
68081 2013-05-09 Joseph Myers <joseph@codesourcery.com>
68082
68083 [BZ #15359]
68084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
68085 high part of pi/2.
68086 (__ieee754_rem_pio2l): Update comments.
68087
68088 [BZ #15429]
68089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
68090 high part of pi/2.
68091 (__ieee754_rem_pio2l): Update comments.
68092
68093 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
68094 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
68095
68096 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
68097 M_PI_4l.
68098
68099 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
68100 (M_PI_34_LOG10El): Likewise.
68101 (M_PI2_LOG10El): Likewise.
68102 (M_PI4_LOG10El): Likewise.
68103 (M_PI_LOG10El): Likewise.
68104
68105 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68106
68107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68108
68109 2013-05-08 Joseph Myers <joseph@codesourcery.com>
68110
68111 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
68112 (MINUS_ZERO_INIT): Likewise.
68113 (PLUS_INFTY_INIT): Likewise.
68114 (MINUS_INFTY_INIT): Likewise.
68115 (QNAN_VALUE_INIT): Likewise.
68116 (MAX_VALUE_INIT): Likewise.
68117 (MIN_VALUE_INIT): Likewise.
68118 (MIN_SUBNORM_VALUE_INIT): Likewise.
68119 (plus_zero): Initialize with PLUS_ZERO_INIT.
68120 (minus_zero): Initialize with MINUS_ZERO_INIT.
68121 (plus_infty): Initialize with PLUS_INFTY_INIT.
68122 (minus_infty): Initialize with MINUS_INFTY_INIT.
68123 (qnan_value): Initialize with QNAN_VALUE_INIT.
68124 (max_value): Initialize with MAX_VALUE_INIT.
68125 (min_value): Initialize with MIN_VALUE_INIT.
68126 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
68127
68128 * math/libm-test.inc (RUN_TEST_if_f): New macro.
68129 (jn_test): Use TEST_if_f instead of TEST_ff_f.
68130 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
68131 (yn_test): Use TEST_if_f instead of TEST_ff_f.
68132
68133 * math/libm-test.inc (RUN_TEST_f_f): New macro.
68134 (RUN_TEST_2_f): Likewise.
68135 (RUN_TEST_ff_f): Likewise.
68136 (RUN_TEST_fi_f): Likewise.
68137 (RUN_TEST_fl_f): Likewise.
68138 (RUN_TEST_fff_f): Likewise.
68139 (RUN_TEST_c_f): Likewise.
68140 (RUN_TEST_f_f1): Likewise.
68141 (RUN_TEST_fF_f1): Likewise.
68142 (RUN_TEST_fI_f1): Likewise.
68143 (RUN_TEST_ffI_f1): Likewise.
68144 (RUN_TEST_c_c): Likewise.
68145 (RUN_TEST_cc_c): Likewise.
68146 (RUN_TEST_f_i): Likewise.
68147 (RUN_TEST_f_i_tg): Likewise.
68148 (RUN_TEST_ff_i_tg): Likewise.
68149 (RUN_TEST_f_b): Likewise.
68150 (RUN_TEST_f_b_tg): Likewise.
68151 (RUN_TEST_f_l): Likewise.
68152 (RUN_TEST_f_L): Likewise.
68153 (RUN_TEST_sincos): Likewise.
68154 * math/gen-libm-test.pl (new_test): Take new argument to indicate
68155 whether to show exceptions. Do not include ");\n" in return
68156 value.
68157 (special_functions): Output call to RUN_TEST_sincos instead of
68158 check_float calls. Update calls to new_test.
68159 (parse_args): Output call to single RUN_TEST_* macro instead of
68160 check_* calls and other assignments. Update calls to new_test.
68161
68162 [BZ #2546]
68163 [BZ #2560]
68164 [BZ #5159]
68165 [BZ #15426]
68166 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68167 input to result for tgamma overflow.
68168 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68169 (gamma_coeff): New variable.
68170 (NCOEFF): New macro.
68171 (gamma_positive): New function.
68172 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68173 underflow here. Use gamma_positive instead of exp (lgamma) for
68174 other arguments.
68175 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68176 (gamma_coeff): New variable.
68177 (NCOEFF): New macro.
68178 (gammaf_positive): New function.
68179 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68180 underflow here. Use gamma_positive instead of exp (lgamma) for
68181 other arguments.
68182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68183 (gamma_coeff): New variable.
68184 (NCOEFF): New macro.
68185 (gammal_positive): New function.
68186 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68187 underflow here. Use gamma_positive instead of exp (lgamma) for
68188 other arguments.
68189 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68190 (gamma_coeff): New variable.
68191 (NCOEFF): New macro.
68192 (gammal_positive): New function.
68193 (__ieee754_gammal_r): Handle positive infinity, overflow and
68194 underflow here. Handle NaN the same as positive infinity. Remove
68195 check x < 0xffffffff for negative integers. Use gamma_positive
68196 instead of exp (lgamma) for other arguments.
68197 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68198 (gamma_coeff): New variable.
68199 (NCOEFF): New macro.
68200 (gammal_positive): New function.
68201 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68202 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68203 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68204 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68205 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68206 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68207 * sysdeps/generic/math_private.h (__gamma_productf): New
68208 prototype.
68209 (__gamma_product): Likewise.
68210 (__gamma_productl): Likewise.
68211 * math/Makefile (libm-calls): Add gamma_product.
68212 * math/libm-test.inc (tgamma_test): Add more tests.
68213 * sysdeps/i386/fpu/libm-test-ulps: Update.
68214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68215
68216 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
68217
68218 * benchtests/bench-skeleton.c (main): Preheat CPU.
68219
68220 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
68221
68222 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68223
68224 2013-05-07 Roland McGrath <roland@hack.frob.com>
68225
68226 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68227 and _dl_skip_args_internal.
68228
68229 2013-05-07 Carlos O'Donell <carlos@redhat.com>
68230
68231 * manual/message.texi (Message Translation): Talk about users.
68232 Message to key mapping impacts design.
68233
68234 2013-05-06 Roland McGrath <roland@hack.frob.com>
68235
68236 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68237
68238 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68239
68240 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68241 * sysdeps/wordsize-64/glob64.c: ... here.
68242
68243 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68244 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68245 New macros.
68246
68247 * debug/getlogin_r_chk.c: Moved to ...
68248 * login/getlogin_r_chk.c: ... here.
68249 * debug/Makefile (routines): Move getlogin_r_chk to ...
68250 * login/Makefile (routines): ... here.
68251 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68252 * login/Versions (libc: GLIBC_2.4): ... here.
68253
68254 * io/poll.c (__poll): Renamed from poll.
68255 Add libc_hidden_def.
68256 (poll): Define as weak alias.
68257
68258 * debug/ptsname_r_chk.c: Moved to ...
68259 * login/ptsname_r_chk.c: ... here.
68260 * debug/Makefile (routines): Move ptsname_r_chk to ...
68261 * login/Makefile (routines): ... here.
68262 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68263 * login/Versions (libc: GLIBC_2.4): ... here.
68264
68265 * posix/getlogin.c: Moved to ...
68266 * login/getlogin.c: ... here.
68267 * posix/getlogin_r.c: Moved to ...
68268 * login/getlogin_r.c: ... here.
68269 * posix/getlogin_r.c: Moved to ...
68270 * login/getlogin_r.c: ... here.
68271 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68272 * login/Makefile (routines): ... here.
68273 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68274 * login/Versions (libc: GLIBC_2.0): ... here.
68275
68276 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68277 (setrlimit): Define as weak alias.
68278
68279 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68280 Call __ names for open, ftruncate, and close.
68281 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68282 (truncate): Define as weak alias.
68283
68284 2013-05-06 Joseph Myers <joseph@codesourcery.com>
68285
68286 * math/gen-libm-test.pl (parse_args): Initialize x before each
68287 test of frexp, modf and remquo.
68288
68289 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68290 test signgam value.
68291
68292 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68293
68294 [BZ #15418]
68295 [BZ #15419]
68296 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68297 internal tests.
68298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68299
68300 2013-05-06 Roland McGrath <roland@hack.frob.com>
68301
68302 * elf/dl-writev.h: New file.
68303 * elf/dl-misc.c: Include it.
68304 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68305 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68306
68307 2013-05-04 Joseph Myers <joseph@codesourcery.com>
68308
68309 * math/libm-test.inc (noXFails): Remove variable.
68310 (noXPasses): Likewise.
68311 (BUILD_COMPLEX_INT): Remove macro.
68312 (print_screen): Remove xfail argument.
68313 (print_screen_max_error): Likewise.
68314 (update_stats): Likewise.
68315 (print_max_error): Likewise. Update calls to other affected
68316 functions.
68317 (print_complex_max_error): Likewise.
68318 (test_single_exception): Update calls to print_screen.
68319 (test_single_errno): Likewise.
68320 (check_float_internal): Remove xfail argument. Update calls to
68321 other affected functions.
68322 (check_float): Likewise.
68323 (check_complex): Likewise.
68324 (check_int): Likewise.
68325 (check_long): Likewise.
68326 (check_bool): Likewise.
68327 (check_longlong): Likewise.
68328 (main): Don't print noXFails and noXPasses.
68329 * math/gen-libm-test.pl (top level): Don't mention expected
68330 failure handling in comment.
68331 (new_test): Don't handle expected failures.
68332 (parse_args): Don't mention expected failure handling in comment.
68333 (generate_testfile): Don't handle expected failures.
68334 (parse_ulps): Likewise.
68335 (print_ulps_file): Likewise.
68336 (get_failure): Remove function.
68337 (output_test): Don't handle expected failures.
68338 * make/README.libm-test: Don't mention expected failure handling.
68339
68340 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68341 (minus_zero): Likewise.
68342 (plus_infty): Likewise.
68343 (minus_infty): Likewise.
68344 (qnan_value): Likewise.
68345 (max_value): Likewise.
68346 (min_value): Likewise.
68347 (min_subnorm_value): Likewise.
68348 (initialize): Do not initialize those variables dynamically.
68349
68350 2013-05-03 Roland McGrath <roland@hack.frob.com>
68351
68352 * io/open.c (__open_2): Moved to ...
68353 * io/open_2.c: ... this new file.
68354 * io/open64.c (__open64_2): Moved to ...
68355 * io/open64_2.c: ... this new file.
68356 * io/openat.c (__openat_2): Moved to ...
68357 * io/openat_2.c: ... this new file.
68358 * io/openat64.c (__openat64_2): Moved to ...
68359 * io/openat64_2.c: ... this new file.
68360 * io/Makefile (routines): Add them.
68361 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68362 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68363 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68364 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68365 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68366 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68367 (__openat64): Add hidden_ver.
68368 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68369 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68370
68371 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68372 Separately conditionalize setting of GLRO(dl_sysinfo) so
68373 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68374 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68375
68376 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68377
68378 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68380 definition.
68381 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68382 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68383 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68384 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68385 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68386
68387 2013-05-03 Joseph Myers <joseph@codesourcery.com>
68388
68389 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68390 test signgam value.
68391
68392 * math/libm-test.inc (hypot_test): Do not use
68393 IGNORE_ZERO_INF_SIGN.
68394
68395 2013-05-03 Andreas Jaeger <aj@suse.de>
68396
68397 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68398 Linux 3.9.
68399 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68400 (PF_MAX): Adjust for VSOCK change.
68401
68402 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68403
68404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68405
68406 2013-05-02 Carlos O'Donell <carlos@redhat.com>
68407
68408 [BZ #15264]
68409 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68410 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68411 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68412
68413 2013-05-02 David S. Miller <davem@davemloft.net>
68414
68415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68416
68417 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
68418
68419 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68420
68421 2013-05-01 Roland McGrath <roland@hack.frob.com>
68422
68423 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68424
68425 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68426
68427 [BZ #14952]
68428 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68429 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68430 Use __attribute__ ((__gnu_inline__)).
68431 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68432 Don't use __attribute__ ((__gnu_inline__)).
68433
68434 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68435
68436 [BZ #15423]
68437 * math/s_catan.c (__catan): Handle small real or imaginary part of
68438 input specially to avoid spurious underflow.
68439 * math/s_catanf.c (__catanf): Likewise.
68440 * math/s_catanh.c (__catanh): Likewise.
68441 * math/s_catanhf.c (__catanhf): Likewise.
68442 * math/s_catanhl.c (__catanhl): Likewise.
68443 * math/s_catanl.c (__catanl): Likewise.
68444 * math/libm-test.inc (catan_test): Add more tests.
68445 (catanh_test): Likewise.
68446 * sysdeps/i386/fpu/libm-test-ulps: Update.
68447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68448
68449 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68450
68451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68452
68453 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68454
68455 [BZ #15416]
68456 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68457 accurately for denominator in atan2.
68458 * math/s_catanf.c (__catanf): Likewise.
68459 * math/s_catanh.c (__catanh): Likewise.
68460 * math/s_catanhf.c (__catanhf): Likewise.
68461 * math/s_catanhl.c (__catanhl): Likewise.
68462 * math/s_catanl.c (__catanl): Likewise.
68463 * math/libm-test.inc (catan_test): Add more tests.
68464 (catanh_test): Likewise.
68465 * sysdeps/i386/fpu/libm-test-ulps: Update.
68466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68467
68468 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68469
68470 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68471
68472 * benchtests/Makefile (bench): Remove slow benchmarks.
68473 * benchtests/atan-inputs: Add slow benchmark inputs.
68474 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68475 (BENCH_FUNC): Accept variant offset.
68476 (VARIANT): Define.
68477 * benchtests/bench-skeleton.c (main): Run benchmark for each
68478 variant.
68479 * benchtests/cos-inputs: Add slow benchmark inputs.
68480 * benchtests/exp-inputs: Likewise.
68481 * benchtests/pow-inputs: Likewise.
68482 * benchtests/sin-inputs: Likewise.
68483 * benchtests/slowatan-inputs: Remove.
68484 * benchtests/slowatan.c: Remove.
68485 * benchtests/slowcos-inputs: Remove.
68486 * benchtests/slowcos.c: Remove.
68487 * benchtests/slowexp-inputs: Remove.
68488 * benchtests/slowexp.c: Remove.
68489 * benchtests/slowpow-inputs: Remove.
68490 * benchtests/slowpow.c: Remove.
68491 * benchtests/slowsin-inputs: Remove.
68492 * benchtests/slowsin.c: Remove.
68493 * benchtests/slowtan-inputs: Remove.
68494 * benchtests/slowtan.c: Remove.
68495 * benchtests/tan-inputs: Add slow benchmark inputs.
68496 * scripts/bench.pl: Parse comments and directives.
68497
68498 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68499 in CPPFLAGS.
68500 ($(objpfx)bench-%.c): Remove *-ITER.
68501 * benchtests/bench-modf.c: Remove definition of ITER.
68502 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68503 (main): Loop for DURATION seconds instead of fixed number of
68504 iterations.
68505 * scripts/bench.pl: Don't expect iterations in parameters.
68506
68507 2013-04-29 Roland McGrath <roland@hack.frob.com>
68508
68509 * io/fchdir.c (__fchdir): Renamed from fchdir.
68510 (fchdir): Define as weak alias.
68511
68512 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68513
68514 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68515 (ERRNO_EDOM): Likewise.
68516 (ERRNO_ERANGE): Likewise.
68517 (noErrnoTests): New variable.
68518 (init_max_error): Set errno to 0.
68519 (test_single_errno): New function.
68520 (test_errno): Likewise.
68521 (check_float_internal): Call test_errno. Set errno to 0.
68522 (check_complex): Refer to errno tests in comment.
68523 (check_int): Call test_errno. Set errno to 0.
68524 (check_long): Likewise.
68525 (check_bool): Likewise.
68526 (check_longlong): Likewise.
68527 (cos_test): Use ERRNO_* flags for errno tests instead of
68528 check_int.
68529 (expm1_test): Likewise.
68530 (fmod_test): Likewise.
68531 (ilogb_test): Likewise.
68532 (lgamma_test): Likewise.
68533 (pow_test): Likewise.
68534 (remainder_test): Likewise.
68535 (sin_test): Likewise.
68536 (tan_test): Likewise.
68537 (yn_test): Likewise.
68538 (initialize): Set errno to 0.
68539 (main): Print number of errno tests.
68540 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68541
68542 2013-04-29 Andreas Jaeger <aj@suse.de>
68543
68544 [BZ #15084]
68545 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68546 and RES_USEVC.
68547
68548 [BZ #15085]
68549 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68550 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68551 unimplemented.
68552
68553 [BZ #15380]
68554 * stdlib/random.c (__initstate): Return NULL if
68555 __initstate fails.
68556
68557 [BZ #15086]
68558 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68559 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68560 RES_SNGLKUPREOP.
68561
68562 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68563
68564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68565
68566 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68567
68568 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68569 of individual tests.
68570 (casin_test): Likewise.
68571 (casinh_test): Likewise.
68572
68573 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68574
68575 [BZ #15409]
68576 * math/s_catan.c (__catan): Handle arguments with large real or
68577 imaginary part separately without squaring.
68578 * math/s_catanf.c (__catanf): Likewise.
68579 * math/s_catanh.c (__catanh): Likewise.
68580 * math/s_catanhf.c (__catanhf): Likewise.
68581 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68582 and redefine.
68583 (__catanhl): Handle arguments with large real or imaginary part
68584 separately without squaring.
68585 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68586 and redefine.
68587 (__catanl): Handle arguments with large real or imaginary part
68588 separately without squaring.
68589 * math/libm-test.inc (catan_test): Add more tests.
68590 (catanh_test): Likewise.
68591 * sysdeps/i386/fpu/libm-test-ulps: Update.
68592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68593
68594 2013-04-27 Andreas Jaeger <aj@suse.de>
68595
68596 [BZ #15007]
68597 * stdlib/stdlib.h: Update guards for qecvt.
68598 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68599 <stdlib.h>.
68600
68601 2013-04-27 Allan McRae <allan@archlinux.org>
68602
68603 * sysdeps/i386/fpu/libm-test-ulps: Update.
68604
68605 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68606
68607 [BZ #15406]
68608 * math/s_catan.c: Include <float.h>.
68609 (__catan): Ensure underflow exception occurs for underflowed
68610 result.
68611 * math/s_catanf.c: Include <float.h>.
68612 (__catanf): Ensure underflow exception occurs for underflowed
68613 result.
68614 * math/s_catanh.c: Include <float.h>.
68615 (__catanh): Ensure underflow exception occurs for underflowed
68616 result.
68617 * math/s_catanhf.c: Include <float.h>.
68618 (__catanhf): Ensure underflow exception occurs for underflowed
68619 result.
68620 * math/s_catanhl.c: Include <float.h>.
68621 (__catanhl): Ensure underflow exception occurs for underflowed
68622 result.
68623 * math/s_catanl.c: Include <float.h>.
68624 (__catanl): Ensure underflow exception occurs for underflowed
68625 result.
68626 * math/libm-test.inc (catan_test): Add more tests.
68627 (catanh_test): Likewise.
68628
68629 [BZ #15405]
68630 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68631 underflowed result.
68632 * math/s_ccoshf.c (__ccoshf): Likewise.
68633 * math/s_ccoshl.c (__ccoshl): Likewise.
68634 * math/s_csin.c (__csin): Likewise.
68635 * math/s_csinf.c (__csinf): Likewise.
68636 * math/s_csinh.c (__csinh): Likewise.
68637 * math/s_csinhf.c (__csinhf): Likewise.
68638 * math/s_csinhl.c (__csinhl): Likewise.
68639 * math/s_csinl.c (__csinl): Likewise.
68640 * math/libm-test.inc (ccos_test): Add more tests.
68641 (ccosh_test): Likewise.
68642 (csin_test): Likewise.
68643 (csinh_test): Likewise.
68644
68645 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68646
68647 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68648 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68649 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68650 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68651 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68652 powerpc/power5+/fpu folders.
68653 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68654
68655
68656 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68657
68658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68659
68660 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68661
68662 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68663 additions to variable.
68664 [$(config-machine) = x86_64] (modules-names): Likewise.
68665 ($(objpfx)tst-audit3): Remove dependency.
68666 ($(objpfx)tst-audit3.out): Likewise.
68667 ($(objpfx)tst-audit4): Likewise.
68668 ($(objpfx)tst-audit4.out): Likewise.
68669 ($(objpfx)tst-audit5): Likewise.
68670 ($(objpfx)tst-audit5.out): Likewise.
68671 ($(objpfx)tst-audit6): Likewise.
68672 ($(objpfx)tst-audit6.out): Likewise.
68673 ($(objpfx)tst-audit7): Likewise.
68674 ($(objpfx)tst-audit7.out): Likewise.
68675 (tst-audit3-ENV): Remove variable.
68676 (tst-audit4-ENV): Likewise.
68677 (tst-audit5-ENV): Likewise.
68678 (tst-audit6-ENV): Likewise.
68679 (tst-audit7-ENV): Likewise.
68680 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68681 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68682 addition to variable.
68683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68687 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68688 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68689 tst-audit3, tst-audit4 and tst-audit5.
68690 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68691 tst-audit6 and tst-audit7.
68692 [$(subdir) = elf] (modules-names): Add audit modules for those
68693 tests.
68694 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68695 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68696 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68697 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68698 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68699 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68700 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68701 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68702 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68703 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68704 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68705 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68706 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68707 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68708 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68709 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68710 Likewise.
68711 [$(subdir) = elf && $(config-cflags-avx) = yes]
68712 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68713 [$(subdir) = elf && $(config-cflags-avx) = yes]
68714 (CFLAGS-tst-auditmod4a.c): Likewise.
68715 [$(subdir) = elf && $(config-cflags-avx) = yes]
68716 (CFLAGS-tst-auditmod4b.c): Likewise.
68717 [$(subdir) = elf && $(config-cflags-avx) = yes]
68718 (CFLAGS-tst-auditmod6b.c): Likewise.
68719 [$(subdir) = elf && $(config-cflags-avx) = yes]
68720 (CFLAGS-tst-auditmod6c.c): Likewise.
68721 [$(subdir) = elf && $(config-cflags-avx) = yes]
68722 (CFLAGS-tst-auditmod7b.c): Likewise.
68723 * elf/tst-audit3.c: Move to ...
68724 * sysdeps/x86_64/tst-audit3.c: ... here.
68725 * elf/tst-audit4.c: Move to ...
68726 * sysdeps/x86_64/tst-audit4.c: ... here.
68727 * elf/tst-audit5.c: Move to ...
68728 * sysdeps/x86_64/tst-audit5.c: ... here.
68729 * elf/tst-audit6.c: Move to ...
68730 * sysdeps/x86_64/tst-audit6.c: ... here.
68731 * elf/tst-audit7.c: Move to ...
68732 * sysdeps/x86_64/tst-audit7.c: ... here.
68733 * elf/tst-auditmod3a.c: Move to ...
68734 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68735 * elf/tst-auditmod3b.c: Move to ...
68736 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68737 * elf/tst-auditmod4a.c: Move to ...
68738 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68739 * elf/tst-auditmod4b.c: Move to ...
68740 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68741 * elf/tst-auditmod5a.c: Move to ...
68742 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68743 * elf/tst-auditmod5b.c: Move to ...
68744 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68745 * elf/tst-auditmod6a.c: Move to ...
68746 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68747 * elf/tst-auditmod6b.c: Move to ...
68748 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68749 * elf/tst-auditmod6c.c: Move to ...
68750 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68751 * elf/tst-auditmod7a.c: Move to ...
68752 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68753 * elf/tst-auditmod7b.c: Move to ...
68754 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68755
68756 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68757
68758 [BZ #15366]
68759 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68760 define unconditionally.
68761 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68762 define unconditionally.
68763 (INT8_C, INT16_C, etc.): Likewise.
68764
68765 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68766
68767 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68768 __ehdr_start with hidden visibility.
68769
68770 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68771
68772 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68773
68774 * math/libm-test.inc (cos_test): Use accurate hex constants.
68775 (sincost_test): Likewise.
68776
68777 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68778
68779 * math/libm-test.inc (catan_test): Add more tests.
68780 (catanh_test): Likewise.
68781
68782 * math/s_catanf.c (__catanf): Use suffixed floating-point
68783 constants.
68784 * math/s_catanhf.c (__catanhf): Likewise.
68785 * math/s_catanhl.c (__catanhl): Likewise.
68786 * math/s_catanl.c (__catanl): Likewise.
68787
68788 [BZ #15394]
68789 * math/s_catan.c (__catan): Calculate imaginary part of result
68790 with log1p not log unless computing log of number close to 0.
68791 * math/s_catanf.c (__catanf): Likewise.
68792 * math/s_catanl.c (__catanl): Likewise.
68793 * math/s_catanh.c (__catanh): Calculate real part of result with
68794 log1p not log unless computing log of number close to 0.
68795 * math/s_catanhf.c (__catanhf): Likewise.
68796 * math/s_catanhl.c (__catanhl): Likewise.
68797 * math/libm-test.inc (catan_test): Add more tests.
68798 (catanh_test): Likewise.
68799 * sysdeps/i386/fpu/libm-test-ulps: Update.
68800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68801
68802 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68803
68804 * benchtests/Makefile: Mention files in which fast and slow
68805 paths of math functions are implemented.
68806
68807 2013-04-23 Roland McGrath <roland@hack.frob.com>
68808
68809 * sysdeps/posix/timespec_get.c: New file.
68810
68811 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68812
68813 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68814 POWER.
68815 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68816 for POWER.
68817 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68818 powerpc/power5/fpu folders.
68819 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68820 * benchtests/Makefile: Add modf testcase.
68821 * benchtests/bench-modf.c: New file: Benchmark test for mo
68822
68823 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68824
68825 [BZ #14888]
68826 * time/Makefile (tests): Add tst-strptime-whitespace.
68827 * time/strptime_l.c (get_number): Use ISSPACE.
68828 (__strptime_internal): Likewise.
68829 * time/tst-strptime-whitespace.c: New test case.
68830
68831 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68832
68833 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68834 member.
68835 (_nss_files_init): Set it here.
68836
68837 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68838
68839 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68840 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68841 unsigned.
68842
68843 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68844
68845 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68846
68847 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68848
68849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68850 size just once.
68851
68852 2013-04-21 David S. Miller <davem@davemloft.net>
68853
68854 * po/ru.po: Update Russion translation from translation project.
68855
68856 2013-04-17 Adam Conrad <adconrad@0c3.net>
68857
68858 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68859 and setfsgid.
68860
68861 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68862
68863 * configure.in: Remove i386 configure warning. Remove i386 case.
68864 * configure: Regenerate.
68865 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68866 Add example to error message.
68867 * sysdeps/i386/configure: Regenerate.
68868
68869 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68870
68871 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68872 slowtan.
68873 * benchtests/cos-inputs: New file.
68874 * benchtests/slowcos-inputs: New file.
68875 * benchtests/slowcos.c: New file.
68876 * benchtests/slowtan-inputs: New file.
68877 * benchtests/slowtan.c: New file.
68878 * benchtests/tan-inputs: New file.
68879
68880 2013-04-16 Roland McGrath <roland@hack.frob.com>
68881
68882 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68883 considered kosher.
68884
68885 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68886
68887 * benchtests/Makefile: Include cppflags-iterator.mk to add
68888 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68889
68890 * Makefile.in (bench-clean): New target.
68891 * benchtests/Makefile (bench-clean): Likewise.
68892
68893 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68894
68895 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68896
68897 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68898
68899 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68900
68901 2013-04-15 Andreas Schwab <schwab@suse.de>
68902
68903 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68905 * nscd/pwdcache.c (cache_addpw): Likewise.
68906 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68907 more than recsize.
68908
68909 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68910
68911 * benchtests/Makefile (bench): Write all output to
68912 bench-out.tmp together.
68913
68914 2013-04-15 Andreas Schwab <schwab@suse.de>
68915
68916 * nscd/nscd.c (main): Don't fork again after closing files.
68917
68918 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68919
68920 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68921
68922 * benchtests/Rules (bench-deps): Collect dependencies into a
68923 single variable. Add Makefile to dependencies.
68924 ($(objpfx)bench-%.c): Depend on bench-deps.
68925
68926 2013-04-12 Roland McGrath <roland@hack.frob.com>
68927 Xavier Roche <roche+kml2@exalead.com>
68928
68929 [BZ #15361]
68930 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68931 just that it's a file descriptor.
68932 * manual/llio.texi (Synchronizing AIO Operations): Update description
68933 for EBADF error from aio_fsync.
68934
68935 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68936
68937 * Rules (bench): Move target definition...
68938 * benchtests/Makefile: ... here.
68939
68940 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68941
68942 * math/libm-test.inc (cos_test): Fix PI/2 test.
68943 (sincos_test): Likewise.
68944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68945 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68946
68947 2013-04-11 Andreas Schwab <schwab@suse.de>
68948
68949 [BZ #13988]
68950 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68951 accept exponent character only when digits were seen.
68952 * stdio-common/Makefile (tests): Add bug26.
68953 * stdio-common/bug26.c: New file.
68954
68955 [BZ #14293]
68956 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68957 non-freeable.
68958
68959 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68960
68961 * Makeconfig (rtld-prefix): Define built linker prefix.
68962 * Rules (run-bench): Use it.
68963 * math/Makefile (run-regen-ulps): Likewise.
68964
68965 * Rules (bench): Remove eval.
68966
68967 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68968 Roland McGrath <roland@hack.frob.com>
68969 Ondrej Bilka <neleai@seznam.cz>
68970
68971 [BZ #15346]
68972 * time/getdate.c: Include ctype.h and alloca.h.
68973 (__getdate_r): Trim leading and trailing spaces of input.
68974 * time/tst-getdate.c (tests): Add tests with leading and
68975 trailing spaces.
68976
68977 2013-04-08 Roland McGrath <roland@hack.frob.com>
68978
68979 [BZ #14280]
68980 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68981 when computing value.
68982
68983 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68984
68985 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68986 Use testrun.sh to run libm tests.
68987
68988 [BZ #15309]
68989 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68990
68991 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68992
68993 [BZ #15264]
68994 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68995
68996 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68997
68998 * Makefile.in (regen-ulps): New target.
68999 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
69000 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
69001 [ifneq (no,$(PERL)] (regen-ulps): New target.
69002 [ifeq (no,$(PERL)] (regen-ulps): New target.
69003 * math/libm-test.inc (ulps_file_name): Define.
69004 (output_dir): New variable.
69005 (options): Add "output-dir" option.
69006 (parse_opt): Handle 'o' case.
69007 (main): If output_dir is non-NULL use it as a prefix
69008 otherwise use "".
69009 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
69010
69011 2013-04-06 Carlos O'Donell <carlos@redhat.com>
69012
69013 [BZ #10060, #10062]
69014 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
69015 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
69016 fail configure if __sync_val_compare_and_swap is not inlined.
69017 * sysdeps/i386/configure: Regenerate.
69018 * configure.in: Build for i686 when configured for i386.
69019 * configure: Regenerate.
69020 * README: Remove i386 reference.
69021
69022 2013-04-06 Carlos O'Donell <carlos@redhat.com>
69023
69024 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
69025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69026
69027 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
69028
69029 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
69030 (lmsnanval): New variables.
69031 (F): Add conversion tests.
69032 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
69033 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
69034
69035 * stdio-common/tstdiomisc.c (F): Properly collect individual
69036 tests' results.
69037
69038 [BZ #14686, #15336]
69039 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
69040 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
69041 Instead, use input NaN values or generate a qNaN by arithmetic
69042 operation. Also fix bugs to comply with the standard.
69043 * math/libm-test.inc (remainder_test): Add more tests.
69044
69045 [BZ #15335, #15342]
69046 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
69047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
69048 input NaN values or generate a qNaN by arithmetic operation.
69049
69050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
69051 unreachable code.
69052
69053 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
69054 definitions.
69055
69056 2013-04-03 Joseph Myers <joseph@codesourcery.com>
69057
69058 [BZ #14478]
69059 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
69060 underflowed result.
69061 * math/s_cexpf.c (__cexpf): Likewise.
69062 * math/s_cexpl.c (__cexpl): Likewise.
69063 * math/libm-test.inc (cexp_test): Add more tests.
69064
69065 2013-04-03 Andreas Schwab <schwab@suse.de>
69066
69067 [BZ #15330]
69068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
69069 order arrays from heap if bigger than alloca cutoff.
69070
69071 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
69072
69073 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
69074 (SNAN_TESTS_double): Refer to GCC PR56831.
69075 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
69076 GCC PR56828.
69077
69078 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
69079
69080 * Rules (bench): Move bench.out after the run is complete.
69081
69082 * Rules (bench): Echo currently running benchmark.
69083
69084 * benchtests/Makefile (bench): Add atan and slowatan.
69085 * benchtests/atan-inputs: New file.
69086 * benchtests/slowatan-inputs: New file.
69087 * benchtests/slowatan.c: New file.
69088
69089 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
69090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
69091 its value.
69092
69093 [BZ #15305]
69094 * sysdeps/unix/sysv/linux/kernel-features.h
69095 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
69096 __ASSUME_XFS_RESTRICTED_CHOWN.
69097 * sysdeps/unix/sysv/linux/pathconf.c
69098 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
69099 Save and restore errno.
69100
69101 2013-04-02 Joseph Myers <joseph@codesourcery.com>
69102
69103 [BZ #15327]
69104 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
69105 arguments using __kernel_casinh.
69106 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
69107 arguments using __kernel_casinhf.
69108 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
69109 arguments using __kernel_casinhl.
69110 * math/libm-test.inc (cacosh_test): Add more tests.
69111 * sysdeps/i386/fpu/libm-test-ulps: Update.
69112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69113
69114 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
69115
69116 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
69117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
69118
69119 * bench/Makefile (bench): Add sin and slowsin.
69120 * benchtests/sin-inputs: New file.
69121 * benchtests/slowsin-inputs: New file.
69122 * benchtests/slowsin.c: New file.
69123
69124 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
69125 (bench): Add slowexp and slowpow.
69126 (exp-ITER): Increase iterations.
69127 (pow-ITER): Likewise.
69128 * benchtests/exp-inputs: Change input.
69129 * benchtests/pow-inputs: Likewise.
69130 * benchtests/slowexp-inputs: New file.
69131 * benchtests/slowexp.c: New file.
69132 * benchtests/slowpow-inputs: New file.
69133 * benchtests/slowpow.c: New file.
69134
69135 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69136
69137 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
69138 instructions.
69139 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69140 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
69141 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
69142 * benchtests/Makefile: Add rint benchtest.
69143 * benchtests/rint-inputs: Input for rint benchtest.
69144
69145 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
69146
69147 * Versions.def (libm): Add GLIBC_2.18.
69148 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
69149 hidden libm prototypes.
69150 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69151 * math/Makefile (libm-calls): Add s_issignaling.
69152 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69153 __issignalingf, __issignalingl. Adjust all libm.abilist files.
69154 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69155 declaration.
69156 * math/math.h [__USE_GNU] (issignaling): New macro.
69157 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69158 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69159 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69160 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69161 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69162 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69163 * manual/arith.texi (issignaling): New section.
69164 * manual/libm-err-tab.pl (@all_functions): Update comment.
69165 * math/gen-libm-test.pl (parse_args): Apply special handling for
69166 issignaling.
69167 * math/libm-test.inc (print_float, issignaling_test): New
69168 functions.
69169 (check_float_internal): Add issignaling checks.
69170 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69171 default definition.
69172 * sysdeps/powerpc/math-tests.h: New file.
69173 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69174 tests.
69175 * math/test-snan.c (TEST_FUNC): Likewise.
69176
69177 2013-03-30 David S. Miller <davem@davemloft.net>
69178
69179 * po/de.po: Update from translation team.
69180
69181 2013-03-30 Joseph Myers <joseph@codesourcery.com>
69182
69183 [BZ #10357]
69184 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69185 imaginary part less than 1.0 and real part less than 0.5
69186 specially.
69187 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69188 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69189 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69190 (cacos_test): Add more tests.
69191 (casin_test): Likewise.
69192 (casinh_test): Likewise.
69193 * sysdeps/i386/fpu/libm-test-ulps: Update.
69194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69195
69196 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
69197
69198 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69199 ONE with its value.
69200
69201 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69202 (__pow_mp): Replace ONE and MONE with their values.
69203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69206 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69208 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69209
69210 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69211
69212 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69213 (__pow_mp): Replace ZERO and MZERO with their values.
69214 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69215 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69216 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69218 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69219 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69220 (__sqr): Likewise.
69221
69222 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69223
69224 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69225
69226 2013-03-28 Roland McGrath <roland@hack.frob.com>
69227
69228 * include/stdlib.h [!SHARED] (__call_tls_dtors):
69229 Declare with __attribute__ ((weak)).
69230 * stdlib/exit.c (__libc_atexit) [!SHARED]:
69231 Call __call_tls_dtors only if it's not NULL.
69232
69233 2013-03-28 Roland McGrath <roland@hack.frob.com>
69234
69235 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69236 didn't do it already, then set _dl_phdr and _dl_phnum based on the
69237 magic __ehdr_start linker symbol if it's defined.
69238 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69239 them up here if it was already done.
69240
69241 * elf/dl-support.c (_dl_phdr): Make pointer to const.
69242 (_dl_aux_init): Use const in cast when setting it.
69243 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69244 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69245 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69246
69247 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69248 Declare them here.
69249 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69250 * csu/libc-tls.c: Nor here.
69251 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69252
69253 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69254 (__libc_message): Never call vsyslog.
69255
69256 2013-03-28 Alan Modra <amodra@gmail.com>
69257
69258 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69259 Define as empty.
69260 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69261 Likewise.
69262
69263 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69264
69265 [BZ #15214]
69266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69267 underflow.
69268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69269
69270 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69271
69272 [BZ #15304]
69273 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69274 Don't add gid passed as argument.
69275
69276 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69277
69278 2013-03-27 Joseph Myers <joseph@codesourcery.com>
69279
69280 [BZ #15307]
69281 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69282 imaginary part between 1.0 and 1.5 and real part less than 0.5
69283 specially.
69284 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69285 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69286 * math/libm-test.inc (cacos_test): Add more tests.
69287 (casin_test): Likewise.
69288 (casinh_test): Likewise.
69289 * sysdeps/i386/fpu/libm-test-ulps: Update.
69290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69291
69292 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69293
69294 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69295 constants.
69296 (norm): Likewise.
69297 (denorm): Likewise.
69298 (__dbl_mp): Likewise.
69299 (add_magnitudes): Likewise.
69300 (sub_magnitudes): Likewise.
69301 (__add): Likewise.
69302 (__sub): Likewise.
69303 (__mul): Likewise.
69304 (__sqr): Likewise.
69305 (__inv): Likewise.
69306 (__dvd): Likewise.
69307
69308 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69309 commented code.
69310 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69311 (__dubcos): Likewise.
69312 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69313 (__ieee754_acos): Likewise.
69314 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69315 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69316 (__exp1): Likewise.
69317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69319 (log1): Likewise.
69320 (my_log2): Likewise.
69321 (checkint): Likewise.
69322 * sysdeps/ieee754/dbl-64/e_remainder.c
69323 (__ieee754_remainder): Likewise.
69324 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69326 (bsloww): Likewise.
69327 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69328
69329 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69330 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69331 MANTISSA_STORE_T to store computations on mantissa. Use
69332 macros for rounding and division.
69333 (denorm): Likewise.
69334 (__dbl_mp): Likewise.
69335 (add_magnitudes): Likewise.
69336 (sub_magnitudes): Likewise.
69337 (__mul): Likewise.
69338 (__sqr): Likewise.
69339 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69340 powers of two in terms of TWOPOW macro.
69341 (mp_no): Make type of mantissa as MANTISSA_T.
69342 [!RADIXI]: Define RADIXI.
69343 [!TWO52]: Define TWO52.
69344 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69345
69346 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69347
69348 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69349 llroundl symbol when building for PPC32.
69350
69351 2013-03-24 Mark H Weaver <mhw@netris.org>
69352
69353 * manual/arith.texi (Normalization Functions): Fix prototypes for
69354 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69355
69356 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69357
69358 [BZ #13889]
69359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69360 high value to check if expl overflow.
69361 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69362 to check for underflow and overflow.
69363 * math/libm-test.inc: Add exp test.
69364
69365 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
69366
69367 [BZ #11120]
69368 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69369 with NOT_IN_libc.
69370
69371 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69372
69373 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69374 symbol.
69375
69376 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
69377
69378 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69379 wrap blocks consisting of several statements.
69380
69381 * sysdeps/generic/math-tests.h: New file.
69382 * sysdeps/i386/fpu/math-tests.h: Likewise.
69383 * math/test-snan.c: Include it.
69384 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69385
69386 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69387
69388 [BZ #15285]
69389 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69390 (__ieee754_j0l): Do not improve calculations using cos of twice
69391 input for inputs above LDBL_MAX / 2.0L.
69392 (__ieee754_y0l): Likewise.
69393 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69394 (__ieee754_j1l): Do not improve calculations using cos of twice
69395 input for inputs above LDBL_MAX / 2.0L.
69396 (__ieee754_y1l): Likewise.
69397 * math/libm-test.inc (j0_test): Add another test.
69398 (j1_test): Likewise.
69399 (y0_test): Likewise.
69400 (y1_test): Likewise.
69401 * sysdeps/i386/fpu/libm-test-ulps: Update.
69402
69403 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69404
69405 * Rules ($(objpfx)bench-%.c): Include code from a C source
69406 file.
69407
69408 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69409
69410 [BZ #15287]
69411 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69412 imaginary part 1.0 and real part less than 0.5 specially.
69413 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69414 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69415 * math/libm-test.inc (cacos_test): Add more tests.
69416 (casin_test): Likewise.
69417 (casinh_test): Likewise.
69418 * sysdeps/i386/fpu/libm-test-ulps: Update.
69419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69420
69421 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69422
69423 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69424 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69425
69426 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69427
69428 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69429 * config.make.in (config-cflags-sse4): Remove variable.
69430 (config-cflags-avx): Likewise.
69431 (config-cflags-sse2avx): Likewise.
69432 (config-cflags-novzeroupper): Likewise.
69433 (config-asflags-i686): Likewise.
69434 (have-mfma4): Likewise.
69435 (have-as-vis3): Likewise.
69436 (MIG): Likewise.
69437 * configure.in (MIG): Do not AC_SUBST.
69438 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69439 (libc_cv_cc_sse4): Do not AC_SUBST.
69440 (libc_cv_cc_avx): Likewise.
69441 (libc_cv_cc_sse2avx): Likewise.
69442 (libc_cv_cc_novzeroupper): Likewise.
69443 (libc_cv_cc_fma4): Likewise.
69444 (libc_cv_as_i686): Likewise.
69445 (libc_cv_sparc_as_vis3): Likewise.
69446 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69447 LIBC_CONFIG_VAR.
69448 (config-asflags-i686): Likewise.
69449 (config-cflags-avx): Likewise.
69450 (config-cflags-sse2avx): Likewise.
69451 (have-mfma4): Likewise.
69452 (config-cflags-novzeroupper): Likewise.
69453 * sysdeps/mach/configure.in (MIG): Likewise.
69454 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69455 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69456 LIBC_CONFIG_VAR.
69457 (config-cflags-avx): Likewise.
69458 (config-cflags-sse2avx): Likewise.
69459 (have-mfma4): Likewise.
69460 (config-cflags-novzeroupper): Likewise.
69461 * configure: Regenerated.
69462 * sysdeps/i386/configure: Likewise.
69463 * sysdeps/mach/configure: Likewise.
69464 * sysdeps/sparc/configure: Likewise.
69465 * sysdeps/x86_64/configure: Likewise.
69466
69467 2013-03-20 Roland McGrath <roland@hack.frob.com>
69468
69469 [BZ #14812]
69470 * locale/programs/localedef.c (options): Put N_ translation marker
69471 on argument names, not just descriptions.
69472
69473 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69474
69475 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69476
69477 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
69478
69479 [BZ #14176]
69480 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69481
69482 2013-03-19 Roland McGrath <roland@hack.frob.com>
69483
69484 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69485 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69486 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69487 [!BEFORE_ABORT] (before_abort): New function.
69488 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69489 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69490 (writev_for_fatal): New function.
69491 (WRITEV_FOR_FATAL): New macro; call that.
69492 (backtrace_and_maps): New function.
69493 (BEFORE_ABORT): New macro; call that.
69494 (struct str_list): Type removed.
69495 (__libc_message, __libc_fatal): Functions removed.
69496 Include <sysdeps/posix/libc_fatal.c> instead.
69497
69498 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69499
69500 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69501 constants.
69502 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69503 double constants.
69504
69505 2013-03-19 Andreas Schwab <schwab@suse.de>
69506
69507 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69508 * sysdeps/gnu/configure: Regenerate.
69509
69510 * configure.in: Substitute libc_cv_rtlddir.
69511 * configure: Regenerate.
69512 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69513 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69514 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69515 * elf/Makefile (install-others, CFLAGS-interp.c)
69516 (ldso_install, common-ldd-rewrite): Likewise.
69517 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69518 $(inst_slibdir)/$(rtld-installed-name).
69519 * scripts/rellns-sh: Add -p option.
69520 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69521 for source.
69522
69523 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69524
69525 * manual/nptl.texi: Renamed to ...
69526 * manual/threads.texi: ... this.
69527 * manual/Makefile (chapters): Update.
69528
69529 2013-03-18 Roland McGrath <roland@hack.frob.com>
69530
69531 [BZ #14812]
69532 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69533 on argument names, not just descriptions.
69534 * malloc/memusagestat.c (options): Likewise.
69535 * nss/getent.c (options): Likewise.
69536
69537 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69538
69539 [BZ #14812]
69540 * iconv/iconv_prog.c (options): Put N_ translation marker
69541 on argument names, not just descriptions.
69542 * iconv/iconvconfig.c (options): Likewise.
69543
69544 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69545
69546 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69547 implementation which is faster on all x86_64 architectures.
69548 Tested on AMD, Intel Nehalem, SNB, IVB.
69549 * sysdeps/x86_64/strnlen.S: Likewise.
69550
69551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69552 Remove all multiarch strlen and strnlen versions.
69553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69554 Remove strlen and strnlen related parts.
69555
69556 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69557 Inline strlen part.
69558 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69559
69560 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69561 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69562 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69563 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69564 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69565 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69566
69567 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69568
69569 * manual/memory.texi (Malloc Tunable Parameters):
69570 Sort parameters alphabetically. Add comments for missing entries.
69571
69572 2013-03-17 David S. Miller <davem@davemloft.net>
69573
69574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69575
69576 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69577
69578 [BZ #15283]
69579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69580 for arguments at most half maximum finite value.
69581 * math/libm-test.inc (j0_test): Add more tests.
69582 (j1_test): Likewise.
69583 (y0_test): Likewise.
69584 (y1_test): Likewise.
69585 * sysdeps/i386/fpu/libm-test-ulps: Update.
69586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69587
69588 [BZ #14155]
69589 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69590 1 / x and functions P and Q for arguments above 0x1p256L.
69591 (__ieee754_y0l): Likewise.
69592 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69593 (__ieee754_y1l): Likewise.
69594 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69595 (j1_test): Likewise.
69596 (y0_test): Likewise.
69597 (y1_test): Likewise.
69598
69599 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69600
69601 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69602 variable.
69603
69604 2013-03-15 Roland McGrath <roland@hack.frob.com>
69605
69606 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69607 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69608 zero since it's initialized to EXEC_PAGESIZE.
69609
69610 * sysdeps/unix/sysv/linux/ldsodefs.h
69611 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69612 * sysdeps/generic/ldsodefs.h: ... here.
69613
69614 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69615
69616 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69617
69618 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69619 math/test-snan.c.
69620 * math/test-snan.c: Renamed from
69621 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69622 * math/Makefile (tests): Add test-snan.
69623 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69624 test-powerpc-snan.
69625
69626 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69627 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69628 functions.
69629 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69630 __builtin_nan family of functions.
69631 * math/libm-test.inc (initialize): Initialize qnan_value with
69632 __builtin_nan family of functions.
69633 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69634 Remove variables.
69635 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69636 Remove functions.
69637 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69638 storage class. Initialize qNaN_var and sNaN_var with
69639 __builtin_nan and __builtin_nans families of functions,
69640 respectively.
69641
69642 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69643 (sqrt_test): Remove duplicate test with qNaN input.
69644 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69645 (round_test, signbit_test, significand_test): Note missing +/-Inf
69646 as well as qNaN tests.
69647
69648 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69649 qNaN_var. Fix a few strings, too.
69650 * math/libm-test.inc (nan_value): Rename to qnan_value.
69651 * math/gen-libm-test.pl (%beautify): Adjust to that.
69652 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69653 * math/test-misc.c (main): Likewise.
69654 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69655 to __qnan_bytes, and __qnan_union, respectively.
69656 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69657 Likewise.
69658 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69659 and lqnanval, respectively.
69660 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69661 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69662 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69663 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69664
69665 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69666 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69667 doubles.
69668
69669 * math/test-misc.c (main): Fix copy'n'pastos.
69670 * misc/tst-efgcvt.c (special): Likewise.
69671
69672 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69673 Remove declarations.
69674
69675 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69676
69677 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69678 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69679 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69680 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69681
69682 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69683
69684 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69685 macro to return vdso values correctly in IFUNC implementations.
69686 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69687 Optimization by using IFUNC.
69688
69689 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69690 Richard Henderson <rth@redhat.com>
69691 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69692
69693 * Makefile.in (bench): New target.
69694 * NEWS: Mention the benchmark framework.
69695 * Rules (bench): Likewise.
69696 (binaries-bench): Generate binaries for functions to
69697 benchmark.
69698 * benchtests/Makefile: New makefile for benchmark tests.
69699 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69700 programs.
69701 * benchtests/exp-inputs: New input file for EXP function.
69702 * benchtests/pow-inputs: New input file for POW function.
69703 * scripts/bench.pl: New script to generate source files for
69704 benchmark programs.
69705
69706 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69707
69708 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69709 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69710 computations on mantissa. Use macros for rounding and
69711 division.
69712 (denorm): Likewise.
69713 (__dbl_mp): Likewise.
69714 (add_magnitudes): Likewise.
69715 (sub_magnitudes): Likewise.
69716 (__mul): Likewise.
69717 (__sqr): Likewise.
69718 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69719 powers of two in terms of TWOPOW macro.
69720 (mp_no): Make type of mantissa as MANTISSA_T.
69721 [!RADIXI]: Define RADIXI.
69722 [!TWO52]: Define TWO52.
69723 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69724
69725 * manual/nptl.texi (cindex): Modify threads to pthreads.
69726
69727 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69728
69729 * sysdeps/x86_64/preconfigure: Regenerated.
69730
69731 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69732
69733 [BZ #14155]
69734 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69735 0x1p28 and above.
69736 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69737 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69738 0x1p28 and above.
69739 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69740 * math/libm-test.inc (j0_test): Do not allow one spurious
69741 underflow exception.
69742 (y1_test): Likewise.
69743
69744 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69745
69746 * manual/Makefile (chapters): Add nptl.
69747 * manual/debug.texi (Debugging Support): Add link to Threads
69748 chapter.
69749 * manual/nptl.texi: New file.
69750
69751 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69752
69753 2013-03-14 Petr Baudis <pasky@ucw.cz>
69754
69755 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69756 for non-NULL pointer before the memory validity test. Pointed
69757 out by Holger Brunck <holger.brunck@keymile.com>.
69758
69759 2013-03-13 Andreas Schwab <schwab@suse.de>
69760
69761 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69762 instead of .os.
69763
69764 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69765
69766 * timezone/zic.c: Update from tzcode 2013b.
69767
69768 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69769
69770 * manual/install.texi (Configuring and compiling):
69771 Mention i686 and i586.
69772 * INSTALL: Regenerate.
69773
69774 2013-03-12 Roland McGrath <roland@hack.frob.com>
69775
69776 * sysdeps/init_array/elf-init.c: New file.
69777 * csu/elf-init.c
69778 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69779 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69780
69781 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69782 __gmon_start__ as global, but as static with a .preinit_array pointer.
69783 * sysdeps/init_array/gmon-start.c: New file. Use that.
69784 * sysdeps/init_array/crti.S: New file, empty except for comments.
69785 * sysdeps/init_array/crtn.S: Likewise.
69786
69787 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
69788
69789 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69790 definining bcopy.
69791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69792 Remove Prefer_SSE_for_memop.
69793 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69794 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69795 HAS_PREFER_SSE_FOR_MEMOP.
69796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69797 memset-x86-64.
69798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69799 Remove bzero, memset ifunc support.
69800 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69801 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69802 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69803 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69804
69805 2013-03-11 Andreas Schwab <schwab@suse.de>
69806
69807 [BZ #15234]
69808 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69809 by SHLIB_COMPAT.
69810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69811 (GLIBC_2.16): Remove pthread_atfork.
69812
69813 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69814
69815 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69816 (ptestcases.h): Likewise.
69817
69818 2013-03-08 Roland McGrath <roland@hack.frob.com>
69819
69820 * Makeconfig ($(common-objpfx)config.status): Depend on
69821 sysdeps/*/preconfigure{,.in} too.
69822
69823 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69824
69825 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69826 (__free_hook): Use void * instead of __malloc_ptr_t.
69827 (__malloc_hook): Likewise.
69828 (__realloc_hook): Likewise.
69829 (__memalign_hook): Likewise.
69830 (__after_morecore_hook): Likewise.
69831 * malloc/arena.c (save_malloc_hook): Likewise.
69832 (save_free_hook): Likewise.
69833 * malloc/hooks.c (malloc_hook_ini): Likewise.
69834 (realloc_hook_ini): Likewise.
69835 (memalign_hook_ini): Likewise.
69836 * malloc/malloc.c (malloc_hook_ini): Likewise.
69837 (realloc_hook_ini): Likewise.
69838 (memalign_hook_ini): Likewise.
69839 (__free_hook): Likewise.
69840 (__malloc_hook): Likewise.
69841 (__realloc_hook): Likewise.
69842 (__memalign_hook): Likewise.
69843 (__libc_malloc): Likewise.
69844 (__libc_free): Likewise.
69845 (__libc_realloc): Likewise.
69846 (__libc_memalign): Likewise.
69847 (__libc_valloc): Likewise.
69848 (__libc_pvalloc): Likewise.
69849 (__libc_calloc): Likewise.
69850 (__posix_memalign): Likewise.
69851 * malloc/morecore.c (__sbrk): Likewise.
69852 (__default_morecore): Likewise.
69853
69854 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69855
69856 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69857 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69858 __malloc_ptrdiff_t.
69859
69860 * malloc/malloc.h (__malloc_size_t): Remove macro.
69861 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69862 __malloc_size_t.
69863 (old_memalign_hook): Likewise.
69864 (old_realloc_hook): Likewise.
69865 (struct hdr): Likewise.
69866 (flood): Likewise.
69867 (mallochook): Likewise.
69868 (memalignhook): Likewise.
69869 (reallochook): Likewise.
69870 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69871 (tr_old_realloc_hook): Likewise.
69872 (tr_old_memalign_hook): Likewise.
69873 (tr_mallochook): Likewise.
69874 (tr_reallochook): Likewise.
69875 (tr_memalignhook): Likewise.
69876
69877 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69878
69879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69880 default_ldbl_pack and using as default implementation.
69881 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69882 implementation.
69883 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69884 redundant definition.
69885 (ldbl_insert_mantissa): Likewise.
69886 (ldbl_canonicalize): Likewise.
69887 (ldbl_nearbyint): Likewise.
69888 (ldbl_pack): Rename to ldbl_pack_ppc.
69889 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69890 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69891 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69892
69893 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69894
69895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69896 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69897 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69898 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69900 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69901 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69902 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69903
69904 2013-03-07 Andreas Jaeger <aj@suse.de>
69905
69906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69907 bits/mman-linux.h.
69908
69909 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69910
69911 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69912 Include mpa.h and declare __MPEXP.
69913 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69914 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69915 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69916 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69918 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69919 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69920
69921 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69922 (__slowpow): Use long double EXPL and LOGL functions to
69923 compute POW.
69924 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69925 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69927 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69928 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69929 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69930
69931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69932 intermediate variable to calculate exponent.
69933 (__sqr): Likewise.
69934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69935 Likewise.
69936 (__sqr): Likewise.
69937
69938 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69939 [!NO__SQR]: Define __sqr.
69940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69941 and NO__SQR. Remove all code except __mul and __sqr. Include
69942 sysdeps/ieee754/dbl-64/mpa.c.
69943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69944
69945 [BZ #12723]
69946 * posix/Makefile (tests): Add tst-pathconf.
69947 * posix/tst-pathconf.c: New test case.
69948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69949 _PC_PIPE_BUF.
69950 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69951
69952 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69953
69954 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69955
69956 2013-03-06 Andreas Jaeger <aj@suse.de>
69957
69958 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69959 definition via __MAP_ANONYMOUS.
69960
69961 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69962 it's not part of Linux headers.
69963
69964 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69965 (MAP_HUGE_MASK): Define.
69966
69967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69968 Define.
69969 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69971 Define.
69972 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69973 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69974 Define.
69975 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69976 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69977 Define.
69978 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69979
69980 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69981 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69982 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69983 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69984 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69985 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69986
69987 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69988 Handle f2fs.
69989
69990 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69991 Handle f2fs and efivarfs.
69992
69993 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69994 f2fs.
69995
69996 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69997 (EFIVARFS_MAGIC): Add.
69998 (F2FS_LINK_MAX): Add.
69999
70000 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
70001
70002 * stdio-common/vfprintf.c: Replace __builtin_expect with
70003 __glibc_unlikely.
70004
70005 2013-03-06 Joseph Myers <joseph@codesourcery.com>
70006
70007 [BZ #13550]
70008 * sysdeps/generic/bp-sym.h: Remove file.
70009 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
70010 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
70011 <bp-sym.h> and <bp-asm.h>.
70012 (__longjmp): Don't use BP_SYM.
70013 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
70014 and <bp-asm.h>.
70015 (memcpy): Don't use BP_SYM.
70016 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
70017 <bp-sym.h> and <bp-asm.h>.
70018 (memcpy): Don't use BP_SYM.
70019 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
70020 <bp-asm.h>.
70021 (memcpy): Don't use BP_SYM.
70022 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
70023 <bp-asm.h>.
70024 (memset): Don't use BP_SYM.
70025 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70026 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70027 (__bzero): Don't use BP_SYM.
70028 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70029 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70030 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
70031 <bp-sym.h> and <bp-asm.h>.
70032 (memcmp): Don't use BP_SYM. Remove comment about bounded
70033 pointers.
70034 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
70035 <bp-sym.h> and <bp-asm.h>.
70036 (memcpy): Don't use BP_SYM.
70037 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
70038 <bp-sym.h> and <bp-asm.h>.
70039 (memset): Don't use BP_SYM.
70040 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70041 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70042 (__bzero): Don't use BP_SYM.
70043 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70044 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
70046 <bp-sym.h> and <bp-asm.h>.
70047 (strncmp): Don't use BP_SYM. Remove comment about bounded
70048 pointers.
70049 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
70050 <bp-sym.h> and <bp-asm.h>.
70051 (memcpy): Don't use BP_SYM.
70052 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
70053 <bp-sym.h> and <bp-asm.h>.
70054 (memset): Don't use BP_SYM.
70055 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70056 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70057 (__bzero): Don't use BP_SYM.
70058 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70059 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
70061 <bp-sym.h> and <bp-asm.h>.
70062 (__memchr): Don't use BP_SYM.
70063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
70064 <bp-sym.h> and <bp-asm.h>.
70065 (memcmp): Don't use BP_SYM. Remove comment about bounded
70066 pointers.
70067 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
70068 <bp-sym.h> and <bp-asm.h>.
70069 (memcpy): Don't use BP_SYM.
70070 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
70071 <bp-sym.h> and <bp-asm.h>.
70072 (__mempcpy): Don't use BP_SYM.
70073 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
70074 <bp-sym.h> and <bp-asm.h>.
70075 (__memrchr): Don't use BP_SYM.
70076 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
70077 <bp-sym.h> and <bp-asm.h>.
70078 (memset): Don't use BP_SYM.
70079 (__bzero): Likewise.
70080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
70081 <bp-sym.h> and <bp-asm.h>.
70082 (__rawmemchr): Don't use BP_SYM.
70083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
70084 <bp-sym.h> and <bp-asm.h>.
70085 (__STRCMP): Don't use BP_SYM.
70086 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
70087 <bp-sym.h> and <bp-asm.h>.
70088 (strchr): Don't use BP_SYM.
70089 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
70090 <bp-sym.h> and <bp-asm.h>.
70091 (__strchrnul): Don't use BP_SYM.
70092 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
70093 <bp-sym.h> and <bp-asm.h>.
70094 (strlen): Don't use BP_SYM.
70095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
70096 <bp-sym.h> and <bp-asm.h>.
70097 (strncmp): Don't use BP_SYM. Remove comment about bounded
70098 pointers.
70099 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
70100 <bp-sym.h> and <bp-asm.h>.
70101 (__strnlen): Don't use BP_SYM.
70102 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
70103 <bp-sym.h> and <bp-asm.h>.
70104 (__GI__setjmp): Don't use BP_SYM.
70105 (_setjmp): Likewise.
70106 (__sigsetjmp): Likewise.
70107 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
70108 (L(start_addresses)): Don't use BP_SYM.
70109 (_start): Likewise.
70110 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
70111 <bp-asm.h>.
70112 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
70113 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
70114 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70115 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70116 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
70117 <bp-asm.h>.
70118 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
70119 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
70120 about bounded pointers.
70121 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70122 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70123 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
70124 <bp-asm.h>.
70125 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
70126 about bounded pointers. Remove GKM FIXME comments.
70127 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70128 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
70129 <bp-asm.h>.
70130 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
70131 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
70132 Remove GKM FIXME comments.
70133 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70134 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70135 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
70136 <bp-asm.h>.
70137 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
70138 about bounded pointers. Remove GKM FIXME comment.
70139 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
70140 and <bp-asm.h>.
70141 (strncmp): Don't use BP_SYM. Remove comment about bounded
70142 pointers.
70143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
70144 <bp-sym.h> and <bp-asm.h>.
70145 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
70147 <bp-sym.h> and <bp-asm.h>.
70148 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70149 comment.
70150
70151 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70152
70153 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70154 call free(NULL).
70155
70156 2013-03-05 David S. Miller <davem@davemloft.net>
70157
70158 * po/es.po: Update from translation team.
70159
70160 2013-03-05 Andreas Jaeger <aj@suse.de>
70161
70162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70163 <bits/mman-linux.h>.
70164 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70165 is fine.
70166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70167 <bits/mman-linux.h> to end of file.
70168 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70169 is fine.
70170 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70171 <bits/mman-linux.h> to end of file.
70172 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70173 is fine.
70174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70175 <bits/mman-linux.h> to end of file.
70176
70177 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70178 (MCL_CURRENT, MCL_FUTURE): Define here.
70179
70180 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70181
70182 [BZ #15232]
70183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70184 attribute_hidden.
70185 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70186
70187 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70188
70189 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70190 fourth parameter needed for rt_sigprocmask syscall.
70191 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70193 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70194 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70196 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70197
70198 2013-03-04 Joseph Myers <joseph@codesourcery.com>
70199
70200 [BZ #13550]
70201 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70202 comment about bounded pointers.
70203 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70204 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70205
70206 2013-03-04 Andreas Jaeger <aj@suse.de>
70207
70208 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70209 common definitions.
70210
70211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70212 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70213 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70217
70218 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70219
70220 [BZ #15055]
70221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70222 __ieee754_sqrl instead of __sqrl.
70223
70224 2013-03-01 Joseph Myers <joseph@codesourcery.com>
70225
70226 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70227 * sysdeps/powerpc/fpu_control.h: ... here.
70228 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70229 * sysdeps/powerpc/bits/fenvinline.h: ... here.
70230 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70231 * sysdeps/powerpc/bits/mathinline.h: ... here.
70232
70233 2013-03-01 Roland McGrath <roland@hack.frob.com>
70234
70235 * elf/dl-hwcaps.c (_dl_important_hwcaps):
70236 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70237 to just [NEED_DL_SYSINFO_DSO].
70238 * elf/dl-support.c: Likewise.
70239 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70240 * elf/rtld.c (dl_main): Likewise.
70241 * elf/setup-vdso.h (setup_vdso): Likewise.
70242 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70243 * sysdeps/unix/sysv/linux/dl-sysdep.c
70244 (_dl_discover_osversion): Likewise.
70245
70246 2013-03-01 Carlos O'Donell <carlos@redhat.com>
70247
70248 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70249 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70250
70251 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
70252
70253 * NEWS: Mention libm performance improvements and non-x86 PI
70254 futex support.
70255
70256 * csu/libc-start.c (__pthread_initialize_minimal): Change
70257 function arguments.
70258 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70259
70260 2013-02-28 Joseph Myers <joseph@codesourcery.com>
70261
70262 [BZ #13550]
70263 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70264 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70265 <bp-sym.h> and <bp-asm.h>.
70266 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70267 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70268 and <bp-asm.h>.
70269 (memcpy): Don't use BP_SYM.
70270 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70271 <bp-asm.h>.
70272 (__mpn_add_n): Don't use BP_SYM.
70273 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70274 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70275 and <bp-asm.h>.
70276 (__mpn_addmul_1): Don't use BP_SYM.
70277 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70278 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70279 <bp-sym.h>.
70280 (_setjmp): Don't use BP_SYM.
70281 (__novmx_setjmp): Likewise.
70282 (__GI__setjmp): Likewise.
70283 (__vmx_setjmp): Likewise.
70284 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70285 <bp-sym.h>.
70286 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70287 (__bzero): Don't use BP_SYM.
70288 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70289 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70290 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70291 <bp-sym.h> and <bp-asm.h>.
70292 (memcpy): Don't use BP_SYM.
70293 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70294 <bp-sym.h> and <bp-asm.h>.
70295 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70297 <bp-sym.h> and <bp-asm.h>.
70298 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70299 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70300 <bp-asm.h>.
70301 (__mpn_lshift): Don't use BP_SYM.
70302 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70303 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70304 <bp-asm.h>.
70305 (memset): Don't use BP_SYM.
70306 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70307 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70308 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70309 <bp-asm.h>.
70310 (__mpn_mul_1): Don't use BP_SYM.
70311 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70313 <bp-sym.h> and <bp-asm.h>.
70314 (memcmp): Don't use BP_SYM.
70315 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70316 <bp-sym.h> and <bp-asm.h>.
70317 (memcpy): Don't use BP_SYM.
70318 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70319 <bp-sym.h> and <bp-asm.h>.
70320 (memset): Don't use BP_SYM.
70321 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70322 <bp-sym.h> and <bp-asm.h>.
70323 (strncmp): Don't use BP_SYM.
70324 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70325 <bp-sym.h> and <bp-asm.h>.
70326 (memcpy): Don't use BP_SYM.
70327 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70328 <bp-sym.h> and <bp-asm.h>.
70329 (memset): Don't use BP_SYM.
70330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70331 <bp-sym.h> and <bp-asm.h>.
70332 (__memchr): Don't use BP_SYM.
70333 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70334 <bp-sym.h> and <bp-asm.h>.
70335 (memcmp): Don't use BP_SYM.
70336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70337 <bp-sym.h> and <bp-asm.h>.
70338 (memcpy): Don't use BP_SYM.
70339 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70340 <bp-sym.h> and <bp-asm.h>.
70341 (__mempcpy): Don't use BP_SYM.
70342 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70343 <bp-sym.h> and <bp-asm.h>.
70344 (__memrchr): Don't use BP_SYM.
70345 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70346 <bp-sym.h> and <bp-asm.h>.
70347 (memset): Don't use BP_SYM.
70348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70349 <bp-sym.h> and <bp-asm.h>.
70350 (__rawmemchr): Don't use BP_SYM.
70351 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70352 <bp-sym.h> and <bp-asm.h>.
70353 (__STRCMP): Don't use BP_SYM.
70354 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70355 <bp-sym.h> and <bp-asm.h>.
70356 (strchr): Don't use BP_SYM.
70357 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70358 <bp-sym.h> and <bp-asm.h>.
70359 (__strchrnul): Don't use BP_SYM.
70360 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70361 <bp-sym.h> and <bp-asm.h>.
70362 (strlen): Don't use BP_SYM.
70363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70364 <bp-sym.h> and <bp-asm.h>.
70365 (strncmp): Don't use BP_SYM.
70366 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70367 <bp-sym.h> and <bp-asm.h>.
70368 (__strnlen): Don't use BP_SYM.
70369 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70370 <bp-asm.h>.
70371 (__mpn_rshift): Don't use BP_SYM.
70372 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70373 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70374 <bp-sym.h> and <bp-asm.h>.
70375 (__sigsetjmp): Don't use BP_SYM.
70376 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70377 (L(start_addresses)): Don't use BP_SYM.
70378 (_start): Likewise.
70379 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70380 <bp-asm.h>.
70381 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70382 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70383 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70384 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70385 <bp-asm.h>.
70386 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70387 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70388 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70389 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70390 <bp-asm.h>.
70391 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70392 comments.
70393 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70394 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70395 <bp-asm.h>.
70396 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70397 FIXME comments.
70398 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70399 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70400 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70401 <bp-asm.h>.
70402 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70403 comment.
70404 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70405 and <bp-asm.h>.
70406 (strncmp): Don't use BP_SYM,
70407 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70408 <bp-asm.h>.
70409 (__mpn_sub_n): Don't use BP_SYM.
70410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70411 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70412 and <bp-asm.h>.
70413 (__mpn_submul_1): Don't use BP_SYM.
70414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70416 <bp-sym.h> and <bp-asm.h>.
70417 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70419 <bp-sym.h> and <bp-asm.h>.
70420 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70421 comment.
70422
70423 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70424
70425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70426 Use ZK to minimize writes to Z.
70427 (sub_magnitudes): Simplify code a bit.
70428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70429 Use ZK to minimize writes to Z.
70430 (sub_magnitudes): Simplify code a bit.
70431
70432 2013-02-27 Roland McGrath <roland@hack.frob.com>
70433
70434 * csu/gmon-start.c: Add special exception to license text.
70435
70436 2013-02-27 Richard Henderson <rth@redhat.com>
70437
70438 * scripts/config.guess: Update from config.git.
70439 * scripts/config.sub: Likewise.
70440
70441 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70442
70443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70444
70445 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70446
70447 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70448
70449 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70450
70451 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70452
70453 2013-02-26 Roland McGrath <roland@hack.frob.com>
70454
70455 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70456 [$(build-shared = yes].
70457
70458 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70459
70460 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70461 (__mul): Reduce iterations for calculating mantissa.
70462
70463 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70464 MPTWO.
70465 (__mpranred): Likewise.
70466
70467 [BZ #15160]
70468 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70469 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70470
70471 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70472
70473 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70474 Define __attribute__.
70475
70476 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70477
70478 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70479 unused.
70480 * posix/regex_internal.h (__attribute): Remove.
70481 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70482 (re_string_context_at): Likewise.
70483 (bitset_not): Use __attribute__ and mark function as possibly
70484 unused.
70485 (bitset_merge): Likewise.
70486 (bitset_mask): Likewise.
70487 (re_string_char_size_at): Likewise.
70488 (re_string_wchar_at): Likewise.
70489 (re_string_elem_size_at): Likewise.
70490
70491 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70492
70493 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70494 code.
70495 (cc32): Likewise.
70496
70497 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70498 (__acr): Likewise.
70499 (__cpy): Likewise.
70500 (norm): Likewise.
70501 (denorm): Likewise.
70502 (__dbl_mp): Likewise.
70503 (add_magnitudes): Likewise.
70504 (sub_magnitudes): Likewise.
70505 (__mul): Likewise.
70506 (__inv): Likewise.
70507
70508 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70509 style.
70510
70511 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70512 style.
70513
70514 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70515 code.
70516
70517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70518 up changes with default code.
70519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70520 Likewise.
70521
70522 2013-02-24 Allan McRae <allan@archlinux.org>
70523
70524 * manual/socket.texi (The Internet Namespace): Order menu items
70525 to match that in the file.
70526
70527 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70528 node listing of the info page menu.
70529
70530 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70531
70532 [BZ #13550]
70533 * sysdeps/i386/bp-asm.h: Remove file.
70534 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70535 (PARMS): Do not use macros from bp-asm.h.
70536 (S1): Likewise.
70537 (S2): Likewise.
70538 (SIZE): Likewise.
70539 (__mpn_add_n): Do not use BP_SYM
70540 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70541 "bp-asm.h".
70542 (PARMS): Do not use macros from bp-asm.h.
70543 (S1): Likewise.
70544 (SIZE): Likewise.
70545 (__mpn_addmul_1): Do not use BP_SYM
70546 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70547 "bp-asm.h".
70548 (PARMS): Do not use macros from bp-asm.h.
70549 (SIGMSK): Likewise.
70550 (_setjmp): Likewise. Do not use BP_SYM.
70551 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70552 "bp-asm.h".
70553 (PARMS): Do not use macros from bp-asm.h.
70554 (SIGMSK): Likewise.
70555 (setjmp): Likewise. Do not use BP_SYM.
70556 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70557 "bp-asm.h".
70558 (PARMS): Do not use macros from bp-asm.h.
70559 (__frexp): Do not use BP_SYM.
70560 (frexp): Likewise.
70561 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70562 "bp-asm.h".
70563 (PARMS): Do not use macros from bp-asm.h.
70564 (__frexpf): Do not use BP_SYM.
70565 (frexpf): Likewise.
70566 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70567 "bp-asm.h".
70568 (PARMS): Do not use macros from bp-asm.h.
70569 (__frexpl): Do not use BP_SYM.
70570 (frexpl): Likewise.
70571 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70572 "bp-asm.h".
70573 (PARMS): Do not use macros from bp-asm.h.
70574 (__remquo): Do not use BP_SYM.
70575 (remquo): Likewise.
70576 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70577 "bp-asm.h".
70578 (PARMS): Do not use macros from bp-asm.h.
70579 (__remquof): Do not use BP_SYM.
70580 (remquof): Likewise.
70581 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70582 "bp-asm.h".
70583 (PARMS): Do not use macros from bp-asm.h.
70584 (__remquol): Do not use BP_SYM.
70585 (remquol): Likewise.
70586 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70587 "bp-asm.h".
70588 (PARMS): Do not use macros from bp-asm.h.
70589 (DEST): Likewise.
70590 (SRC): Likewise.
70591 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70592 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70593 "bp-asm.h".
70594 (PARMS): Do not use macros from bp-asm.h.
70595 (strlen): Do not use BP_SYM.
70596 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70597 "bp-asm.h".
70598 (PARMS): Do not use macros from bp-asm.h.
70599 (S1): Likewise.
70600 (S2): Likewise.
70601 (SIZE): Likewise.
70602 (__mpn_add_n): Do not use BP_SYM.
70603 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70604 "bp-asm.h".
70605 (PARMS): Do not use macros from bp-asm.h.
70606 (S1): Likewise.
70607 (SIZE): Likewise.
70608 (__mpn_addmul_1): Do not use BP_SYM.
70609 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70610 weak_alias.
70611 (bzero): Likewise.
70612 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70613 "bp-asm.h".
70614 (PARMS): Do not use macros from bp-asm.h.
70615 (S): Likewise.
70616 (SIZE): Likewise.
70617 (__mpn_lshift): Do not use BP_SYM.
70618 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70619 "bp-asm.h".
70620 (PARMS): Do not use macros from bp-asm.h.
70621 (DEST): Likewise.
70622 (SRC): Likewise.
70623 (LEN): Likewise.
70624 (memcpy): Likewise. Do not use BP_SYM.
70625 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70626 libc_hidden_def and weak_alias.
70627 (mempcpy): Do not use BP_SYM in weak_alias.
70628 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70629 "bp-asm.h".
70630 (PARMS): Do not use macros from bp-asm.h.
70631 (DEST): Likewise.
70632 (LEN): Likewise.
70633 [!BZERO_P] (CHR): Likewise.
70634 (memset): Likewise. Do not use BP_SYM.
70635 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70636 "bp-asm.h".
70637 (PARMS): Do not use macros from bp-asm.h.
70638 (S1): Likewise.
70639 (SIZE): Likewise.
70640 (__mpn_mul_1): Do not use BP_SYM.
70641 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70642 "bp-asm.h".
70643 (PARMS): Do not use macros from bp-asm.h.
70644 (S): Likewise.
70645 (SIZE): Likewise.
70646 (__mpn_rshift): Do not use BP_SYM.
70647 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70648 "bp-asm.h".
70649 (PARMS): Do not use macros from bp-asm.h.
70650 (STR): Likewise.
70651 (CHR): Likewise.
70652 (strchr): Likewise. Do not use BP_SYM.
70653 (index): Do not use BP_SYM in weak_alias.
70654 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70655 "bp-asm.h".
70656 (PARMS): Do not use macros from bp-asm.h.
70657 (DEST): Likewise.
70658 (SRC): Likewise.
70659 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70660 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70661 "bp-asm.h".
70662 (PARMS): Do not use macros from bp-asm.h.
70663 (strlen): Do not use BP_SYM.
70664 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70665 "bp-asm.h".
70666 (PARMS): Do not use macros from bp-asm.h.
70667 (S1): Likewise.
70668 (S2): Likewise.
70669 (SIZE): Likewise.
70670 (__mpn_sub_n): Do not use BP_SYM.
70671 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70672 "bp-asm.h".
70673 (PARMS): Do not use macros from bp-asm.h.
70674 (S1): Likewise.
70675 (SIZE): Likewise.
70676 (__mpn_submul_1): Do not use BP_SYM.
70677 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70678 "bp-asm.h".
70679 (PARMS): Do not use macros from bp-asm.h.
70680 (S1): Likewise.
70681 (S2): Likewise.
70682 (SIZE): Likewise.
70683 (__mpn_add_n): Do not use BP_SYM.
70684 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70685 weak_alias.
70686 (bzero): Likewise.
70687 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70688 "bp-asm.h".
70689 (PARMS): Do not use macros from bp-asm.h.
70690 (BLK2): Likewise.
70691 (LEN): Likewise.
70692 (memcmp): Do not use BP_SYM.
70693 (bcmp): Do not use BP_SYM in weak_alias.
70694 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70695 "bp-asm.h".
70696 (PARMS): Do not use macros from bp-asm.h.
70697 (DEST): Likewise.
70698 (SRC): Likewise.
70699 (LEN): Likewise.
70700 (memcpy): Likewise. Do not use BP_SYM.
70701 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70702 "bp-asm.h".
70703 (PARMS): Do not use macros from bp-asm.h.
70704 (DEST): Likewise.
70705 (SRC): Likewise.
70706 (LEN): Likewise.
70707 (memmove): Likewise. Do not use BP_SYM.
70708 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70709 "bp-asm.h".
70710 (PARMS): Do not use macros from bp-asm.h.
70711 (DEST): Likewise.
70712 (SRC): Likewise.
70713 (LEN): Likewise.
70714 (__mempcpy): Likewise. Do not use BP_SYM.
70715 (mempcpy): Do not use BP_SYM in weak_alias.
70716 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70717 "bp-asm.h".
70718 (PARMS): Do not use macros from bp-asm.h.
70719 (DEST): Likewise.
70720 (LEN): Likewise.
70721 [!BZERO_P] (CHR): Likewise.
70722 (memset): Likewise. Do not use BP_SYM.
70723 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70724 "bp-asm.h".
70725 (PARMS): Do not use macros from bp-asm.h.
70726 (STR2): Likewise.
70727 (strcmp): Do not use BP_SYM.
70728 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70729 "bp-asm.h".
70730 (PARMS): Do not use macros from bp-asm.h.
70731 (STR): Likewise.
70732 (DELIM): Likewise.
70733 [USE_AS_STRTOK_R] (SAVE): Likewise.
70734 (FUNCTION): Likewise. Do not use BP_SYM.
70735 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70736 aliases.
70737 (strtok_r): Likewise.
70738 (__GI___strtok_r): Likewise.
70739 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70740 (PARMS): Do not use macros from bp-asm.h.
70741 (S): Likewise.
70742 (SIZE): Likewise.
70743 (__mpn_lshift): Do not use BP_SYM.
70744 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70745 (PARMS): Do not use macros from bp-asm.h.
70746 (STR): Likewise.
70747 (CHR): Likewise.
70748 (__memchr): Do not use BP_SYM.
70749 (memchr): Do not use BP_SYM in weak_alias.
70750 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70751 (PARMS): Do not use macros from bp-asm.h.
70752 (BLK2): Likewise.
70753 (LEN): Likewise.
70754 (memcmp): Do not use BP_SYM.
70755 (bcmp): Do not use BP_SYM in weak_alias.
70756 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70757 (PARMS): Do not use macros from bp-asm.h.
70758 (S1): Likewise.
70759 (SIZE): Likewise.
70760 (__mpn_mul_1): Do not use BP_SYM.
70761 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70762 "bp-asm.h".
70763 (PARMS): Do not use macros from bp-asm.h.
70764 (STR): Likewise.
70765 (CHR): Likewise.
70766 (__rawmemchr): Do not use BP_SYM.
70767 (rawmemchr): Do not use BP_SYM in weak_alias.
70768 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70769 (PARMS): Do not use macros from bp-asm.h.
70770 (S): Likewise.
70771 (SIZE): Likewise.
70772 (__mpn_rshift): Do not use BP_SYM.
70773 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70774 (PARMS): Do not use macros from bp-asm.h.
70775 (SIGMSK): Likewise.
70776 (__sigsetjmp): Likewise. Do not use BP_SYM.
70777 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70778 (_start): Do not use BP_SYM.
70779 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70780 (PARMS): Do not use macros from bp-asm.h.
70781 (DEST): Likewise.
70782 (SRC): Likewise.
70783 (__stpcpy): Likewise. Do not use BP_SYM.
70784 (stpcpy): Do not use BP_SYM in weak_alias.
70785 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70786 "bp-asm.h".
70787 (PARMS): Do not use macros from bp-asm.h.
70788 (DEST): Likewise.
70789 (SRC): Likewise.
70790 (LEN): Likewise.
70791 (__stpncpy): Likewise. Do not use BP_SYM.
70792 (stpncpy): Do not use BP_SYM in weak_alias.
70793 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70794 (PARMS): Do not use macros from bp-asm.h.
70795 (STR): Likewise.
70796 (CHR): Likewise.
70797 (strchr): Likewise. Do not use BP_SYM.
70798 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70799 "bp-asm.h".
70800 (PARMS): Do not use macros from bp-asm.h.
70801 (STR): Likewise.
70802 (CHR): Likewise.
70803 (__strchrnul): Likewise. Do not use BP_SYM.
70804 (strchrnul): Do not use BP_SYM in weak_alias.
70805 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70806 "bp-asm.h".
70807 (PARMS): Do not use macros from bp-asm.h.
70808 (STOP): Likewise.
70809 (strcspn): Do not use BP_SYM.
70810 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70811 "bp-asm.h".
70812 (PARMS): Do not use macros from bp-asm.h.
70813 (STR): Likewise.
70814 (STOP): Likewise.
70815 (strpbrk): Likewise. Do not use BP_SYM.
70816 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70817 "bp-asm.h".
70818 (PARMS): Do not use macros from bp-asm.h.
70819 (STR): Likewise.
70820 (CHR): Likewise.
70821 (strrchr): Likewise. Do not use BP_SYM.
70822 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70823 (PARMS): Do not use macros from bp-asm.h.
70824 (SKIP): Likewise.
70825 (strspn): Do not use BP_SYM.
70826 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70827 (PARMS): Do not use macros from bp-asm.h.
70828 (STR): Likewise.
70829 (DELIM): Likewise.
70830 (SAVE): Likewise.
70831 (FUNCTION): Likewise. Do not use BP_SYM.
70832 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70833 aliases.
70834 (strtok_r): Likewise.
70835 (__GI___strtok_r): Likewise.
70836 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70837 (PARMS): Do not use macros from bp-asm.h.
70838 (S1): Likewise.
70839 (S2): Likewise.
70840 (SIZE): Likewise.
70841 (__mpn_sub_n): Do not use BP_SYM.
70842 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70843 "bp-asm.h".
70844 (PARMS): Do not use macros from bp-asm.h.
70845 (S1): Likewise.
70846 (SIZE): Likewise.
70847 (__mpn_submul_1): Do not use BP_SYM.
70848 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70849 <bp-sym.h>.
70850 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70851 and <bp-asm.h>.
70852 (PARMS): Do not use macros from bp-asm.h.
70853 (FLAGS): Likewise.
70854 (PTID): Likewise.
70855 (TLS): Likewise.
70856 (CTID): Likewise.
70857 (__clone): Do not use BP_SYM.
70858 (clone): Do not use BP_SYM in weak_alias.
70859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70860 and <bp-asm.h>.
70861 (PARMS): Do not use macros from bp-asm.h.
70862 (LEN): Likewise.
70863 (__mmap64): Do not use BP_SYM.
70864 (mmap64): Do not use BP_SYM in weak_alias.
70865 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70866 <bp-sym.h> and <bp-asm.h>.
70867 (PARMS): Do not use macros from bp-asm.h.
70868 (__posix_fadvise64_l64): Do not use BP_SYM.
70869 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70870 (PARMS): Do not use macros from bp-asm.h.
70871 (NSOPS): Likewise.
70872 (semtimedop): Do not use BP_SYM.
70873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70874 and <bp-asm.h>.
70875
70876 2013-02-21 Allan McRae <allan@archlinux.org>
70877
70878 * manual/message.texi (Charset conversion in gettext):
70879 Move @end statement to beginning of line.
70880
70881 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70882
70883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70884 static.
70885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70886 Likewise.
70887
70888 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70889 (denorm): Likewise.
70890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70892
70893 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70894
70895 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70896 tail-call to the resolved function if pltexit isn't needed.
70897
70898 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70899
70900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70901 or Y being zero as being unlikely.
70902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70903 Likewise.
70904
70905 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70906
70907 * manual/nss.texi (System Databases and Name Service Switch):
70908 Remove frobnicate @pxref.
70909
70910 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70911
70912 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70913 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70914
70915 2013-02-20 Petr Machata <pmachata@redhat.com>
70916
70917 * elf/elf.h (R_ARM_TARGET1): New macro.
70918 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70919 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70920 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70921 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70922 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70923 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70924 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70925 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70926 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70927 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70928 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70929 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70930 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70931 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70932 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70933 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70934 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70935 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70936 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70937 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70938 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70939 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70940 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70941 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70942 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70943 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70944 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70945 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70946 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70947 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70948 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70949 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70950 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70951 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70952 (R_ARM_THM_GOT_BREL12): Likewise.
70953 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70954 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70955 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70956 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70957 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70958 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70959 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70960 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70961 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70962
70963 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70964
70965 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70966 __attribute_used__ to __attribute__ ((unused)).
70967
70968 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70969
70970 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70971 powerpc mpa.c.
70972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70973 comment formatting.
70974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70975
70976 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70977
70978 [BZ #13550]
70979 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70980 Remove macro.
70981 (ENTER): Remove both macro definitions.
70982 (LEAVE): Likewise.
70983 (CHECK_BOUNDS_LOW): Likewise.
70984 (CHECK_BOUNDS_HIGH): Likewise.
70985 (CHECK_BOUNDS_BOTH): Likewise.
70986 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70987 (RETURN_BOUNDED_POINTER): Likewise.
70988 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70989 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70990 (POP_ERRNO_LOCATION_RETURN): Likewise.
70991 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70992 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70993 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70994 macros.
70995 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70996 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70997 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70998 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70999 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
71000 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
71001 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
71002 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
71003 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
71004 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
71005 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
71006 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
71007 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71008 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
71009 removed macros.
71010 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71011 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
71012 macros.
71013 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71014 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
71015 * sysdeps/i386/i586/memset.S (memset): Likewise.
71016 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
71017 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71018 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
71019 macros.
71020 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71021 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
71022 Change uses of L(2) to L(out).
71023 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
71024 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
71025 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
71026 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71027 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
71028 removed macros.
71029 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71030 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
71031 macros.
71032 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71033 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
71034 (RETURN): Do not use macro LEAVE.
71035 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
71036 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
71037 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
71038 * sysdeps/i386/i686/memset.S (memset): Likewise.
71039 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
71040 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
71041 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
71042 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
71043 Likewise.
71044 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71045 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
71046 L(1_2) and L(1_3) into L(1).
71047 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71048 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
71049 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71050 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
71051 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
71052 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
71053 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
71054 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71055 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
71056 macros.
71057 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
71058 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71059 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
71060 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
71061 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
71062 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
71063 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
71064 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
71065 * sysdeps/i386/strcspn.S (strcspn): Likewise.
71066 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
71067 * sysdeps/i386/strrchr.S (strrchr): Likewise.
71068 * sysdeps/i386/strspn.S (strspn): Likewise.
71069 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
71070 conditional code.
71071 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71072 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
71073 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71074 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
71075 L(1_3) into L(1_1).
71076 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
71077 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71078 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
71079 macros.
71080 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71081
71082 2013-02-19 Jakub Jelinek <jakub@redhat.com>
71083
71084 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
71085 macro.
71086
71087 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
71088
71089 * math/atest-exp.c (exp_mpn): Remove ROUND.
71090 * math/atest-exp2.c (exp_mpn): Likewise.
71091 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
71092
71093 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
71094 * stdlib/tst-tls-atexit-lib.c: Likewise.
71095 * stdlib/tst-tls-atexit.c: Likewise.
71096
71097 2013-02-18 Mike Frysinger <vapier@gentoo.org>
71098
71099 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
71100 and __attribute_alloc_size__.
71101
71102 2013-02-18 Mike Frysinger <vapier@gentoo.org>
71103
71104 * include/programs/xmalloc.h: Change __attribute_alloc_size to
71105 __attribute_alloc_size__.
71106 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
71107 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
71108
71109 2013-02-18 Mike Frysinger <vapier@gentoo.org>
71110
71111 * include/programs/xmalloc.h: New file.
71112 * catgets/gencat.c: Include it.
71113 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
71114 * elf/pldd.c: Likewise.
71115 * iconv/iconv_charmap.c: Likewise.
71116 * iconv/iconvconfig.c: Likewise.
71117 * iconv/strtab.c: Likewise.
71118 * locale/programs/locale.c: Likewise.
71119 * locale/programs/localedef.h: Likewise.
71120 * locale/programs/simple-hash.c: Likewise.
71121 * nscd/nscd.h: Likewise.
71122 * nss/makedb.c: Likewise.
71123 * sysdeps/generic/ldconfig.h: Likewise.
71124
71125 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71126
71127 * Versions.def: Add GLIBC_2.18.
71128 * include/link.h (struct link_map): New member l_tls_dtor_count.
71129 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
71130 (__call_tls_dtors): Likewise.
71131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
71132 __cxa_thread_atexit_impl.
71133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71134 Likewise.
71135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71136 Likewise.
71137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
71138 Likewise.
71139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
71140 Likewise.
71141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
71143 Likewise.
71144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
71145 Likewise.
71146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71148 Likewise.
71149 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71150 (tests): Add test case tst-tls-atexit.
71151 (modules-names): Add shared library for tst-tls-atexit.
71152 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71153 (GLIBC_PRIVATE): Add __call_tls_dtors.
71154 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71155 for libstdc++.
71156 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71157 * stdlib/tst-tls-atexit.c: New test case.
71158 * stdlib/tst-tls-atexit-lib.c: New test case.
71159
71160 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71161
71162 * elf/Versions (ld): Add _dl_find_dso_for_object.
71163 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71164 * elf/dl-open.c (_dl_find_dso_for_object): New function.
71165 (dl_open_worker): Use _dl_find_dso_for_object.
71166 * elf/dl-sym.c (do_sym): Likewise.
71167 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71168
71169 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71170
71171 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71172 Syntactic changes only.
71173 (_dl_runtime_profile): Do a tail-call to the resolved function.
71174
71175 2013-02-17 Joseph Myers <joseph@codesourcery.com>
71176
71177 [BZ #13550]
71178 * sysdeps/x86_64/bp-asm.h: Remove file.
71179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71180 <bp-sym.h> and <bp-asm.h>.
71181 (__clone): Do not use BP_SYM.
71182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71183 <bp-sym.h> and <bp-asm.h>.
71184 * sysdeps/unix/x86_64/sysdep.S: Likewise.
71185 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71186 "bp-asm.h".
71187 (_setjmp): Do not use BP_SYM.
71188 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71189 "bp-asm.h".
71190 (setjmp): Do not use BP_SYM.
71191 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71192 libc_hidden_def.
71193 (mempcpy): Do not use BP_SYM in weak_alias.
71194 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71195 "bp-asm.h".
71196 (strchr): Do not use BP_SYM.
71197 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71198 "bp-asm.h".
71199 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71200 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71201 (_start): Do not use BP_SYM.
71202 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71203 "bp-asm.h".
71204 (strcat): Do not use BP_SYM.
71205 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71206 "bp-asm.h".
71207 (STRCMP): Do not use BP_SYM.
71208 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71209 "bp-asm.h".
71210 (STRCPY): Do not use BP_SYM.
71211 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71212 "bp-asm.h".
71213 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71214 "bp-asm.h".
71215 (FUNCTION): Do not use BP_SYM.
71216 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71217 weak_alias.
71218 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71219
71220 2013-02-17 Andreas Jaeger <aj@suse.de>
71221
71222 * time/Versions: Sort entries.
71223 * string/Versions: Likewise.
71224 * resolv/Versions: Likewise.
71225 * posix/Versions: Likewise.
71226 * iconv/Versions: Likewise.
71227 * elf/Versions: Likewise.
71228 * wcsmbs/Versions: Likewise.
71229
71230 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
71231
71232 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71233 loop termination condition.
71234
71235 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71236 variable to calculate EZ.
71237 (__sqr): Likewise.
71238
71239 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71240 the lower precision input.
71241
71242 2013-02-15 Joseph Myers <joseph@codesourcery.com>
71243
71244 [BZ #13550]
71245 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71246 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71247 (run-via-rtld-prefix): Do not handle %-bp tests.
71248 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71249 (all-object-suffixes): Remove .ob.
71250 (bppfx): Remove variable.
71251 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71252 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71253 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71254 [$(build-bounded) = yes] (libtype.ob): Likewise.
71255 * Makerules (elide-routines.ob): Remove variable.
71256 (do-tests-clean): Do not handle *-bp.out.
71257 (common-mostlyclean): Do not handle *-bp and *-bp.out.
71258 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71259 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71260 (tests): Do not include $(tests-bp.out).
71261 (xtests): Do not include $(xtests-bp.out).
71262 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71263 [$(build-bounded) = yes] ($(addprefix
71264 $(objpfx),$(binaries-bounded))): Remove rule.
71265 ($(objpfx)%-bp.out): Remove rule.
71266 * config.make.in (build-bounded): Remove variable.
71267 * crypt/Makefile [$(build-bounded) = yes]
71268 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71269 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71270 append to variable.
71271 [$(build-bounded) = yes] (install-lib): Likewise.
71272 [$(build-bounded) = yes] (generated): Likewise.
71273 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71274 Remove rule.
71275 * intl/Makefile [$(build-bounded) = yes]
71276 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71277 * math/Makefile [$(build-bounded) = yes]
71278 ($(tests:%=$(objpfx)%-bp): Likewise.
71279 * misc/Makefile [$(build-bounded) = yes]
71280 ($(objpfx)tst-tsearch-bp): Likewise.
71281 * nptl/Makeconfig (bounded-thread-library): Remove variable.
71282 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71283 Remove dependency.
71284 * string/Makefile (o-objects.ob): Remove variable.
71285 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71286 (CFLAGS-.ob): Remove variable.
71287 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71288 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71289 both definitions of variable.
71290 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71291 (ASFLAGS-.ob): Remove variable.
71292
71293 2013-02-14 Joseph Myers <joseph@codesourcery.com>
71294
71295 [BZ #13550]
71296 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71297 Remove __BOUNDED_POINTERS__ from condition.
71298 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71299 * string/bits/string2.h [!__NO_STRING_INLINES &&
71300 !__BOUNDED_POINTERS__]: Likewise.
71301 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71302 Likewise.
71303 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71304 Remove conditional code.
71305 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71306 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71307 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71308 condition.
71309
71310 [BZ #13550]
71311 * csu/libc-start.c: Do not include <bp-sym.h>.
71312 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71313 * elf/dl-open.c: Do not include <bp-sym.h>.
71314 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71315 * math/fegetenv.c: Do not include <bp-sym.h>.
71316 (fegetenv): Do not use BP_SYM in versioned symbols.
71317 * nptl/sysdeps/pthread/bits/libc-lockP.h
71318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71319 <bp-sym.h>.
71320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71321 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71323 (__pthread_mutex_destroy): Likewise.
71324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71325 (__pthread_mutex_lock): Likewise.
71326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71327 (__pthread_mutex_trylock): Likewise.
71328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71329 (__pthread_mutex_unlock): Likewise.
71330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71331 (__pthread_mutexattr_init): Likewise.
71332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71333 (__pthread_mutexattr_destroy): Likewise.
71334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71335 (__pthread_mutexattr_settype): Likewise.
71336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71337 (__pthread_rwlock_init): Likewise.
71338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71339 (__pthread_rwlock_destroy): Likewise.
71340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71341 (__pthread_rwlock_rdlock): Likewise.
71342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71343 (__pthread_rwlock_tryrdlock): Likewise.
71344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71345 (__pthread_rwlock_wrlock): Likewise.
71346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71347 (__pthread_rwlock_trywrlock): Likewise.
71348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71349 (__pthread_rwlock_unlock): Likewise.
71350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71351 (__pthread_key_create): Likewise.
71352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71353 (__pthread_setspecific): Likewise.
71354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71355 (__pthread_getspecific): Likewise.
71356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71357 Likewise.
71358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71359 (_pthread_cleanup_push_defer): Likewise.
71360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71361 (_pthread_cleanup_pop_restore): Likewise.
71362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71363 (pthread_setcancelstate): Likewise.
71364 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71365 <bp-sym.h>.
71366 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71367 (memchr): Do not use BP_SYM in weak_alias.
71368 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71369 (fegetenv): Do not use BP_SYM in versioned symbols.
71370 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71371 (fesetenv): Do not use BP_SYM in versioned symbols.
71372 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71373 (feupdateenv): Do not use BP_SYM in versioned symbols.
71374 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71375 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71376 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71377 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71378 (open64): Do not use BP_SYM in weak_alias.
71379 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71380 (fegetenv): Do not use BP_SYM in versioned symbols.
71381 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71382 (fesetenv): Do not use BP_SYM in versioned symbols.
71383 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71384 (feupdateenv): Do not use BP_SYM in versioned symbols.
71385 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71386 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71387 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71388 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71389 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71390 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71391 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71392 <bp-sym.h>.
71393 (__libc_start_main): Do not use BP_SYM.
71394
71395 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71396
71397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71398 redundant return line.
71399 (norm): Likewise.
71400 (denorm): Likewise.
71401 (dbl_mp): Likewise.
71402 (sub_magnitudes): Likewise.
71403 (__add): Likewise.
71404 (__sub): Likewise.
71405 (__mul): Likewise.
71406 (__inv): Likewise.
71407 (__dvd): Likewise.
71408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71409 (norm): Likewise.
71410 (denorm): Likewise.
71411 (dbl_mp): Likewise.
71412 (sub_magnitudes): Likewise.
71413 (__add): Likewise.
71414 (__sub): Likewise.
71415 (__mul): Likewise.
71416 (__inv): Likewise.
71417 (__dvd): Likewise.
71418
71419 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71420 instead of __mul.
71421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71422 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71423 (cc32): Likewise.
71424
71425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71426 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71428 of __mul for squares.
71429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71430 function
71431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71432 Likewise.
71433 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71434 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71435
71436 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71437
71438 [BZ #13550]
71439 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71440 code.
71441 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71442 prototype or function definition. Rename ubp_* variables and
71443 parameters. Remove argv definitions conditional on
71444 [__BOUNDED_POINTERS__].
71445 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71446 * elf/dl-runtime.c (_dl_fixup): Likewise.
71447 * include/set-hooks.h (RUN_HOOK): Likewise.
71448 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71449 definition.
71450 * string/strcpy.c (strcpy): Do not use __unbounded.
71451 * sysdeps/generic/frame.h (struct layout): Likewise.
71452 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71453 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71454 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71455 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71456 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71457 (__backtrace): Likewise.
71458 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71459 use __ptrvalue.
71460 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71461 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71462 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71463 Likewise.
71464 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71465 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71466 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71467 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71468 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71469 Do not use __unbounded.
71470 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71471 Rename __unboundedrlimits parameter to rlimits in prototype.
71472 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71473 Do not use __unbounded.
71474 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71475 not use __ptrvalue.
71476 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71477 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71478 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71480 __ptrvalue or __unbounded.
71481 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71482 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71483 use __unbounded.
71484 (__new_msgctl): Do not use __ptrvalue.
71485 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71486 __unbounded.
71487 (__libc_msgrcv): Do not use __ptrvalue.
71488 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71489 startup_info): Do not use __unbounded.
71490 (__libc_start_main): Likewise. Rename ubp_* variables and
71491 parameters. Remove argv definitions conditional on
71492 [__BOUNDED_POINTERS__].
71493 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71494 __ptrvalue.
71495 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71496 use __unbounded.
71497 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71498 or __ptrvalue.
71499 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71500 use __unbounded.
71501 (__new_shmctl): Do not use __ptrvalue.
71502 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71503 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71504 Likewise.
71505 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71507 (__libc_sigaction): Likewise.
71508 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71510 Likewise.
71511 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71512
71513 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
71514
71515 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71516
71517 * string/mempcpy.c: Implement by calling memcpy.
71518
71519 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71520
71521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71522
71523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71524 evaluation.
71525
71526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71527 values in the mantissa.
71528
71529 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71530 minimize writes to Z.
71531 (sub_magnitudes): Simplify code a bit.
71532
71533 2013-02-12 Roland McGrath <roland@hack.frob.com>
71534
71535 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71536 from the message. The linker prefixes all warnings with that already.
71537
71538 2013-02-12 Andreas Schwab <schwab@suse.de>
71539
71540 [BZ #15078]
71541 * posix/regexec.c (extend_buffers): Add parameter min_len.
71542 (check_matching): Pass minimum needed length.
71543 (clean_state_log_if_needed): Likewise.
71544 (get_subexp): Likewise.
71545 * posix/Makefile (tests): Add bug-regex34.
71546 (bug-regex34-ENV): Define.
71547 * posix/bug-regex34.c: New file.
71548
71549 [BZ #11561]
71550 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71551 elements compare against the byte sequence of it, not its name.
71552 * posix/Makefile (tests): Add bug-regex35.
71553 (bug-regex35-ENV): Define.
71554 * posix/bug-regex35.c: New file.
71555
71556 2013-02-11 Tom de Vries <tom@codesourcery.com>
71557
71558 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71559 comment.
71560 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71561 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71562 (CHECK_EOL): Add undef.
71563
71564 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
71565
71566 * bits/stdlib-bsearch.h: New file.
71567 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71568 * stdlib/stdlib.h: Likewise.
71569
71570 2013-02-11 Roland McGrath <roland@hack.frob.com>
71571
71572 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71573 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71574 declaration.
71575 * manual/search.texi (Array Search Function): Add missing const in
71576 lfind prototype.
71577 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71578 declaration to use rlim_t.
71579 (Basic Scheduling Functions): Remove erroneous const from
71580 sched_getparam prototype. Remove erroneous * from
71581 sched_get_priority_max and sched_get_priority_min prototypes.
71582 (Resource Usage): Fix summary @comment on vtimes to refer to
71583 sys/vtimes.h rather than vtimes.h.
71584 Add missing *s in vtimes prototype.
71585 (Limits on Resources): Fix ulimit prototype to return long int.
71586 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71587 prototypes to use long int rather than double.
71588 (BSD Random): Fix initstate and setstate to use char *, not void *.
71589 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71590 prototype to make second argument 'struct aiocb64 *const[]'.
71591 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71592 (Status of AIO Operations): Remove erroneous const in aio_return and
71593 aio_return64 prototypes.
71594 (Synchronizing I/O): Fix sync prototype to return void.
71595 * manual/startup.texi (Suboptions): Remove an erroneous const in
71596 getsubopt prototype.
71597 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71598 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71599 use size_t rather than int.
71600 (Scanning All Users): Likewise for getpwent_r.
71601 (Setting Groups): Add missing const to setgroups prototype.
71602 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71603 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71604 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71605 'const void *' rather than 'const char *'.
71606 (Host Address Functions): Likewise for inet_ntop.
71607 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71608 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71609 ssize_t for return value.
71610 (Sending Data): Likewise for send, sendto, sendmsg.
71611 (Socket Option Functions): Add a missing const in setsockopt prototype.
71612 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71613 use wchar_t for the argument.
71614 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71615 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71616 take no arguments.
71617 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71618 double/float/long double for second argument.
71619 Fix return types of significand, significandf, significandl.
71620 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71621 argument in fchmod prototype.
71622 (File Owner): Use uid_t and gid_t in fchown prototype.
71623 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71624 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71625 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71626 use 'const struct dirent **' as argument types to CMP function pointer
71627 argument.
71628 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71629 (File Times): Fix summary magic @comment for struct utimbuf and utime
71630 to refer to utime.h, not time.h.
71631 * manual/string.texi (Argz Functions): Add missing const in
71632 argz_extract and argz_next prototypes.
71633 (Finding Tokens in a String): Likewise for basename.
71634 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71635 (Copying and Concatenation): Fix typo in wmemmove prototype.
71636 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71637 (Signal Stack): Remove erroneous const in sigstack prototype.
71638 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71639 prototype.
71640 (Simple Calendar Time): Likewise for stime.
71641 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71642 prototype.
71643 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71644 say sys/sysctl.h instead.
71645 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71646 and vsyslog prototypes.
71647
71648 2013-02-11 Tom de Vries <tom@codesourcery.com>
71649
71650 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71651 Remove.
71652
71653 2013-02-11 Roland McGrath <roland@hack.frob.com>
71654
71655 * misc/sys/mman.h: Fix typo in mremap comment.
71656
71657 2013-02-08 Roland McGrath <roland@hack.frob.com>
71658
71659 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71660 the '\0' terminator.
71661
71662 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71663
71664 [BZ #13550]
71665 * debug/segfault.c: Don't include <bp-checks.h>.
71666 * sysdeps/generic/bp-checks.h: Remove file.
71667 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71668 (__GETDENTS): Don't use CHECK_N.
71669 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71670 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71671 (__getgroups): Don't use CHECK_N.
71672 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71673 (setgroups): Don't use CHECK_N.
71674 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71675 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71676 (__libc_msgrcv): Don't use CHECK_N.
71677 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71678 (__libc_msgsnd): Don't use CHECK_N.
71679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71680 <bp-checks.h>.
71681 (__libc_pread): Don't use CHECK_N.
71682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71683 include <bp-checks.h>.
71684 (__libc_pread64): Don't use CHECK_N.
71685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71686 include <bp-checks.h>.
71687 (__libc_pwrite): Don't use CHECK_N.
71688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71689 include <bp-checks.h>.
71690 (__libc_pwrite64): Don't use CHECK_N.
71691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71692 <bp-checks.h>.
71693 (__libc_pread): Don't use CHECK_N.
71694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71695 include <bp-checks.h>.
71696 (__libc_pread64): Don't use CHECK_N.
71697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71698 include <bp-checks.h>.
71699 (__libc_pwrite): Don't use CHECK_N.
71700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71701 include <bp-checks.h>.
71702 (__libc_pwrite64): Don't use CHECK_N.
71703 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71704 (do_pread): Don't use CHECK_N.
71705 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71706 (do_pread64): Don't use CHECK_N.
71707 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71708 (do_pwrite): Don't use CHECK_N.
71709 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71710 (do_pwrite64): Don't use CHECK_N.
71711 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71712 (__libc_readv): Don't use CHECK_N.
71713 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71714 (semop): Don't use CHECK_N.
71715 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71716 <bp-checks.h>.
71717 (semtimedop): Don't use CHECK_N.
71718 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71719 (__libc_pread): Don't use CHECK_N.
71720 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71721 <bp-checks.h>.
71722 (__libc_pread64): Don't use CHECK_N.
71723 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71724 <bp-checks.h>.
71725 (__libc_pwrite): Don't use CHECK_N.
71726 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71727 <bp-checks.h>.
71728 (__libc_pwrite64): Don't use CHECK_N.
71729 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71730 <bp-checks.h>.
71731 (__libc_msgrcv): Don't use CHECK_N.
71732 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71733 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71734 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71735 (__libc_writev): Don't use CHECK_N.
71736
71737 2013-02-08 Roland McGrath <roland@hack.frob.com>
71738
71739 * string/strcpy.c: Removed unused variable.
71740
71741 * Makeconfig (+sysdep-includes): Define with := rather than =.
71742 Use an existing include/ subdir of each sysdeps dir before it.
71743
71744 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71745
71746 * nscd/connection.c (register_traced_file): Comment function.
71747 [HAVE_INOTIFY] (union __inev): Define.
71748 [HAVE_INOTIFY] (inotify_check_files): New function.
71749 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71750 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71751 clear_db_cache.
71752 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71753
71754 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71755
71756 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71757 loaded if not already and that a failure is permanent.
71758
71759 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71760
71761 [BZ #15006]
71762 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71763 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71764
71765 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71766
71767 [BZ #13550]
71768 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71769 (CHECK_1_NULL_OK): Likewise.
71770 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71771 (__fxstat): Do not use CHECK_1.
71772 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71773 <bp-checks.h>.
71774 (___fxstat64): Do not use CHECK_1.
71775 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71776 <bp-checks.h>.
71777 (__fxstatat): Do not use CHECK_1.
71778 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71779 <bp-checks.h>.
71780 (__fxstatat64): Do not use CHECK_1.
71781 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71782 <bp-checks.h>.
71783 (__fxstat): Do not use CHECK_1.
71784 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71785 <bp-checks.h>.
71786 (__fxstatat): Do not use CHECK_1.
71787 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71788 <bp-checks.h>.
71789 (__getresgid): Do not use CHECK_1.
71790 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71791 <bp-checks.h>.
71792 (__getresuid): Do not use CHECK_1.
71793 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71794 <bp-checks.h>.
71795 (__lxstat): Do not use CHECK_1.
71796 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71797 <bp-checks.h>.
71798 (__old_msgctl): Do not use CHECK_1.
71799 (__new_msgctl): Likewise.
71800 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71801 <bp-checks.h>.
71802 (__new_setrlimit): Do not use CHECK_1.
71803 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71804 <bp-checks.h>.
71805 (__old_shmctl): Do not use CHECK_1.
71806 (__new_shmctl): Likewise.
71807 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71808 <bp-checks.h>.
71809 (__xstat): Do not use CHECK_1.
71810 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71811 (__lxstat): Do not use CHECK_1.
71812 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71813 <bp-checks.h>.
71814 (___lxstat64): Do not use CHECK_1.
71815 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71816 (__old_msgctl): Do not use CHECK_1.
71817 (__new_msgctl): Likewise.
71818 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71819 <bp-checks.h>.
71820 (__gettimeofday): Do not use CHECK_1.
71821 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71822 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71823 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71824 <bp-checks.h>.
71825 (__gettimeofday): Do not use CHECK_1.
71826 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71827 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71828 (__new_shmctl): Do not use CHECK_1.
71829 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71830 <bp-checks.h>.
71831 (do_sigtimedwait): Do not use CHECK_1.
71832 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71833 <bp-checks.h>.
71834 (do_sigwaitinfo): Do not use CHECK_1.
71835 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71836 <bp-checks.h>.
71837 (msgctl): Do not use CHECK_1.
71838 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71839 <bp-checks.h>.
71840 (shmctl): Do not use CHECK_1.
71841 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71842 (ustat): Do not use CHECK_1.
71843 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71844 <bp-checks.h>.
71845 (__fxstat): Do not use CHECK_1.
71846 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71847 <bp-checks.h>.
71848 (__fxstatat): Do not use CHECK_1.
71849 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71850 <bp-checks.h>.
71851 (__lxstat): Do not use CHECK_1.
71852 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71853 <bp-checks.h>.
71854 (__xstat): Do not use CHECK_1.
71855 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71856 (__xstat): Do not use CHECK_1.
71857 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71858 (___xstat64): Do not use CHECK_1.
71859
71860 [BZ #13550]
71861 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71862 definitions.
71863 (CHECK_BOUNDS_HIGH): Likewise.
71864 * string/strcpy.c: Do not include <bp-checks.h>.
71865 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71866
71867 2013-02-07 Roland McGrath <roland@hack.frob.com>
71868
71869 * nscd/nscd-client.h (__nscd_drop_map_ref):
71870 Add __attribute__ ((unused)).
71871 * nis/nss-nisplus.h (niserr2nss): Likewise.
71872
71873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71874 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71875
71876 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71877 Remove inline keyword.
71878 * include/rounding-mode.h (round_away): Likewise.
71879 * libio/wfileops.c (adjust_wide_data): Likewise.
71880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71881 (__m128i_strloadu_tolower): Likewise.
71882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71883 (__m128i_strloadu_tolower): Likewise.
71884 * time/mktime.c (ydhms_diff): Likewise.
71885 * locale/elem-hash.h (elem_hash): Likewise.
71886 * locale/setlocale.c (setdata): Likewise.
71887 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71888 (re_string_wchar_at): Likewise.
71889 (bitset_not, bitset_merge, bitset_mask): Likewise.
71890 [!(__GNUC__ > 3)] (inline): Remove macro.
71891 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71892 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71893 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71894 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71895 * string/memcmp.c (memcmp_bytes): Likewise.
71896 * locale/programs/locarchive.c (compute_hashval): Likewise.
71897 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71898 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71899 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71900 * nss/getent.c (print_rpc, print_protocols): Likewise.
71901 (print_passwd, print_group, print_aliases): Likewise.
71902 * nis/nss-nisplus.h (niserr2nss): Likewise.
71903 * nscd/connections.c (restart_p): Likewise.
71904 Change return type to bool.
71905
71906 2013-02-05 Roland McGrath <roland@hack.frob.com>
71907
71908 * Makeconfig (all-Depend-files): Add existing
71909 $(sorted-subdirs:=/Depend) files.
71910 (all-subdirs): Remove nss.
71911 * sysdeps/unix/inet/Subdirs: Add it here instead.
71912 * hesiod/Depend: New file.
71913
71914 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71915 instead of calling alloca.
71916
71917 * io/lseek.c (__lseek): Rename to __libc_lseek.
71918 Define __lseek as an alias.
71919
71920 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71921
71922 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71923
71924 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71925 else clause and remove check for non-standard endianness.
71926
71927 2013-02-04 David S. Miller <davem@davemloft.net>
71928
71929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71930
71931 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71932
71933 [BZ #13550]
71934 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71935 (__ubp_memchr): Remove prototype.
71936 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71937 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71938 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71939 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71940 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71941 Remove alias.
71942 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71943 (__ubp_memchr): Likewise.
71944 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71945 (__ubp_memchr): Likewise.
71946 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71947 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71948 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71949 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71950 CHECK_STRING.
71951 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71952 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71953 (__getcwd): Do not use CHECK_STRING.
71954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71955 <bp-checks.h>.
71956 (__real_chown): Do not use CHECK_STRING.
71957 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71958 <bp-checks.h>.
71959 (fchownat): Do not use CHECK_STRING.
71960 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71961 CHECK_STRING.
71962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71963 <bp-checks.h>.
71964 (__lchown): Do not use CHECK_STRING.
71965 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71966 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71967 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71968 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71970 include <bp-checks.h>.
71971 (truncate64): Do not use CHECK_STRING.
71972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71973 <bp-checks.h>.
71974 (__real_chown): Do not use CHECK_STRING.
71975 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71976 <bp-checks.h>.
71977 (__lchown): Do not use CHECK_STRING.
71978 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71979 <bp-checks.h>.
71980 (__chown): Do not use CHECK_STRING.
71981 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71982 <bp-checks.h>.
71983 (truncate64): Do not use CHECK_STRING.
71984 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71985 Likewise.
71986 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71987 (__xmknod): Do not use CHECK_STRING.
71988 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71989 <bp-checks.h>.
71990 (__xmknodat): Do not use CHECK_STRING.
71991 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71992 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71993
71994 2013-02-04 Andreas Schwab <schwab@suse.de>
71995
71996 [BZ #14142]
71997 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71998 * include/netdb.h: Likewise for h_errno.
71999 * elf/tst-stackguard1.c: Include <tls.h>.
72000
72001 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
72002
72003 * elf/link.h (struct link_map): Extend the l_addr comment.
72004 * include/link.h (struct link_map): Likewise.
72005
72006 2013-02-01 Joseph Myers <joseph@codesourcery.com>
72007
72008 [BZ #13550]
72009 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
72010 (BOUNDED_1): Remove macro.
72011 * debug/backtrace.c: Don't include <bp-checks.h>.
72012 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
72013 (__backtrace): Likewise.
72014 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
72015 <bp-checks.h>.
72016 (__backtrace): Don't use BOUNDED_1.
72017 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
72018 <bp-checks.h>.
72019 (__backtrace): Don't use BOUNDED_1.
72020 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
72021 (__backtrace): Don't use BOUNDED_1.
72022 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
72023 (shmat): Don't use BOUNDED_N.
72024
72025 2013-01-31 Joseph Myers <joseph@codesourcery.com>
72026
72027 [BZ #13550]
72028 * sysdeps/generic/bp-start.h: Remove file.
72029 * csu/libc-start.c: Don't include <bp-start.h>.
72030 (LIBC_START_MAIN): Set up __environ directly instead of using
72031 INIT_ARGV_and_ENVIRON.
72032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
72033 <bp-start.h>.
72034
72035 [BZ #13550]
72036 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
72037 definitions.
72038 (CHECK_FCNTL): Likewise.
72039 (CHECK_N_PAGES): Likewise.
72040
72041 [BZ #13550]
72042 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
72043 definitions.
72044 (CHECK_SIGSET_NULL_OK): Likewise.
72045 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
72046 <bp-checks.h>.
72047 (sigpending): Don't use CHECK_SIGSET.
72048 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
72049 <bp-checks.h>.
72050 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72051 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
72052 <bp-checks.h>.
72053 (do_sigsuspend): Don't use CHECK_SIGSET.
72054 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
72055 use CHECK_SIGSET.
72056 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
72057 (do_sigwait): Don't use CHECK_SIGSET.
72058 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
72059 use CHECK_SIGSET.
72060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
72061 include <bp-checks.h>.
72062 (sigpending): Don't use CHECK_SIGSET.
72063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
72064 include <bp-checks.h>.
72065 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72066 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
72067 <bp-checks.h>.
72068 (sigpending): Don't use CHECK_SIGSET.
72069 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
72070 <bp-checks.h>.
72071 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72072
72073 [BZ #13550]
72074 * sysdeps/generic/bp-semctl.h: Remove file.
72075 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
72076 <bp-checks.h> and <bp-semctl.h>.
72077 (__old_semctl): Don't use CHECK_SEMCTL.
72078 (__new_semctl): Likewise.
72079 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
72080 and <bp-semctl.h>.
72081 (__old_semctl): Don't use CHECK_SEMCTL.
72082 (__new_semctl): Likewise.
72083 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
72084 <bp-checks.h> and <bp-semctl.h>.
72085 (__old_semctl): Don't use CHECK_SEMCTL.
72086 (__new_semctl): Likewise.
72087 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
72088 <bp-checks.h> and <bp-semctl.h>.
72089 (semctl): Don't use CHECK_SEMCTL.
72090
72091 [BZ #13550]
72092 * Makerules (elide-bp-thunks): Remove variable.
72093 (elide-routines.oS): Don't use $(elide-bp-thunks).
72094 (elide-routines.os): Likewise.
72095 (elide-routines.o): Likewise.
72096 (elide-routines.op): Likewise.
72097 (elide-routines.og): Likewise.
72098 (objects): Don't use $(bp-thunks).
72099 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
72100 include.
72101 (common-generated): Do not add s-proto-bp.d.
72102 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
72103 (int): Likewise.
72104 (typ): Likewise.
72105 Do not generate makefile rules for bounded-pointer thunks.
72106 * sysdeps/generic/bp-thunks.h: Remove file.
72107 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
72108 * sysdeps/unix/s-proto-bp.S: Likewise.
72109
72110 [BZ #15062]
72111 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
72112 parts of result separately when argument is not close to line from
72113 -i to i and one part of argument is small.
72114 * math/k_casinhf.c (__kernel_casinhf): Likewise.
72115 * math/k_casinhl.c (__kernel_casinhl): Likewise.
72116 * math/libm-test.inc (cacos_test): Add more tests.
72117 (casin_test): Likewise.
72118 (casinh_test): Likewise.
72119 * sysdeps/i386/fpu/libm-test-ulps: Update.
72120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72121
72122 2013-01-31 David S. Miller <davem@davemloft.net>
72123
72124 * po/de.po: Update from translation team.
72125
72126 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
72127
72128 * time/tzfile.c: Include stdint.h for SIZE_MAX.
72129
72130 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
72131
72132 * configure.in (_AC_PROG_CC_C89): New definition.
72133 * configure: Regenerate.
72134
72135 * configure.in (AC_PROG_CPP): New definition.
72136 * configure: Regenerate.
72137
72138 2013-01-23 Joseph Myers <joseph@codesourcery.com>
72139
72140 * debug/tst-backtrace.h: New file.
72141 * debug/tst-backtrace2.c: Include tst-backtrace.h.
72142 (ret): Remove variable.
72143 (x): Likewise.
72144 (FAIL): Remove macro.
72145 (NO_INLINE): Likewise.
72146 (fn1): Use match function instead of strstr.
72147 * debug/tst-backtrace3.c: Include tst-backtrace.h.
72148 (ret): Remove variable.
72149 (x): Likewise.
72150 (FAIL): Remove macro.
72151 (NO_INLINE): Likewise.
72152 (fn): Use match function instead of strstr.
72153 * debug/tst-backtrace4.c: Include tst-backtrace.h.
72154 (ret): Remove variable.
72155 (x): Likewise.
72156 (FAIL): Remove macro.
72157 (NO_INLINE): Likewise.
72158 (handle_signal): Use match function instead of strstr.
72159 * debug/tst-backtrace5.c: Include tst-backtrace.h.
72160 (ret): Remove variable.
72161 (x): Likewise.
72162 (FAIL): Remove macro.
72163 (NO_INLINE): Likewise.
72164 (handle_signal): Use match function instead of strstr.
72165
72166 2013-01-23 Roland McGrath <roland@hack.frob.com>
72167
72168 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72169
72170 2013-01-23 David S. Miller <davem@davemloft.net>
72171
72172 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72173 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72174 argument of CAS if possible.
72175 * sysdeps/sparc/sparc64/bits/atomic.h
72176 (__arch_compare_and_exchange_val_32_acq): Likewise.
72177 (__arch_compare_and_exchange_val_64_acq): Likewise.
72178
72179 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
72180
72181 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72182 * sysdeps/posix/ulimit.c: ... this.
72183 Include <limits.h>.
72184 * sysdeps/unix/bsd/ulimit.c: Remove file.
72185
72186 2013-01-23 Adam Conrad <adconrad@0c3.net>
72187
72188 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72189 (LDFLAGS-tst-array5): Likewise.
72190
72191 2013-01-23 Joseph Myers <joseph@codesourcery.com>
72192
72193 [BZ #15036]
72194 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72195 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72196 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72197 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72198
72199 2013-01-21 David S. Miller <davem@davemloft.net>
72200
72201 * sysdeps/sparc/backtrace.c: New file.
72202 * sysdeps/sparc/sparc32/backtrace.h: New file.
72203 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72204 * sysdeps/sparc/sparc64/backtrace.h: New file.
72205 * sysdeps/sparc/sparc64/backtrace.c: Delete.
72206 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72207 -funwind-tables.
72208
72209 2013-01-21 Andreas Schwab <schwab@suse.de>
72210
72211 [BZ #15020]
72212 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72213 closed its stdout.
72214
72215 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
72216
72217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72218 "mpa2.h".
72219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72220
72221 2013-01-18 Joseph Myers <joseph@codesourcery.com>
72222 Mark Mitchell <mark@codesourcery.com>
72223 Tom de Vries <tom@codesourcery.com>
72224 Paul Pluzhnikov <ppluzhnikov@google.com>
72225
72226 * debug/tst-backtrace2.c: New file.
72227 * debug/tst-backtrace3.c: Likewise.
72228 * debug/tst-backtrace4.c: Likewise.
72229 * debug/tst-backtrace5.c: Likewise.
72230 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72231 (CFLAGS-tst-backtrace3.c): Likewise.
72232 (CFLAGS-tst-backtrace4.c): Likewise.
72233 (CFLAGS-tst-backtrace5.c): Likewise.
72234 (LDFLAGS-tst-backtrace2): Likewise.
72235 (LDFLAGS-tst-backtrace3): Likewise.
72236 (LDFLAGS-tst-backtrace4): Likewise.
72237 (LDFLAGS-tst-backtrace5): Likewise.
72238 (tests): Add new tests tst-backtrace2, tst-backtrace3,
72239 tst-backtrace4 and tst-backtrace5.
72240
72241 2013-01-18 Anton Blanchard <anton@samba.org>
72242 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
72243
72244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72245 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72246 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72247 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72249 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72250 "+r" and remove output regs list as redundant. Add explicit inline
72251 asm to specify register of return val to work around compiler codegen
72252 bug. Remove (int) cast on return value. Add return type parameter to
72253 use in macro so that this macro does not truncate return value for
72254 64-bit values.
72255 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72256 pass to INTERNAL_VSYSCALL_NCS.
72257 (INLINE_VSYSCALL): Add 'long int' as return type to
72258 INTERNAL_VSYSCALL_NCS macro invocation.
72259 (INTERNAL_VSYSCALL): Add 'long int' as return type to
72260 INTERNAL_VSYSCALL_NCS macro invocation.
72261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72262
72263 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72264
72265 [BZ #14496]
72266 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72267 Fix application of SIMD FP exception mask.
72268
72269 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72270 mp_no from a power of two.
72271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72272 __mpexp_twomm1. Use __pow_mp.
72273
72274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72275 multiplication.
72276
72277 2013-01-17 David S. Miller <davem@davemloft.net>
72278
72279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72280
72281 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72282
72283 [BZ #15023]
72284 * include/complex.h: Condition contents on [!_COMPLEX_H].
72285 (__kernel_casinhf): New prototype.
72286 (__kernel_casinh): Likewise.
72287 (__kernel_casinhl): Likewise.
72288 * math/Makefile (libm_calls): Add k_casinh.
72289 * math/k_casinh.c: New file.
72290 * math/k_casinhf.c: Likewise.
72291 * math/k_casinhl.c: Likewise.
72292 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72293 finite nonzero arguments.
72294 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72295 finite nonzero arguments.
72296 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72297 finite nonzero arguments.
72298 * math/s_casinh.c: Do not include <float.h>.
72299 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72300 * math/s_casinhf.c: Do not include <float.h>.
72301 (__casinhf): Move code for finite nonzero arguments to
72302 k_casinhf.c.
72303 * math/s_casinhl.c: Do not include <float.h>.
72304 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72305 redefine.
72306 (__casinhl): Move code for finite nonzero arguments to
72307 k_casinhl.c.
72308 * math/libm-test.inc (cacos_test): Add more tests.
72309 * sysdeps/i386/fpu/libm-test-ulps: Update.
72310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72311
72312 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
72313
72314 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72315 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72316 [!HAVE_MREMAP]: Remove [defined linux] case.
72317 * malloc/arena.c: Do not include <malloc-sysdep.h>.
72318
72319 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
72320
72321 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72322
72323 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
72324
72325 * elf/elf.h (R_386_SIZE32): New relocation.
72326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72327 R_386_SIZE32.
72328 (elf_machine_rela): Likewise.
72329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72330 R_X86_64_SIZE64 and R_X86_64_SIZE32.
72331
72332 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72333
72334 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72335 (FP_FAST_FMA): Do not define.
72336 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72337 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72338 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72339 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72340 !_SOFT_FLOAT]: Likewise.
72341 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72343 value.
72344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72345 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72346 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72348 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72349 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72350 file.
72351
72352 2013-01-16 Andreas Schwab <schwab@suse.de>
72353
72354 [BZ #14327]
72355 * include/stdlib.h (__mktemp): Add declaration.
72356 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72357 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72358
72359 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72360
72361 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72362 definitions.
72363 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72364 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72365 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72366 definitions here.
72367 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72368 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72369 definitions.
72370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72371 and ONE.
72372 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72373 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72375 definitions.
72376 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72377 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72378 definitions.
72379 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72380
72381 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72382
72383 2013-01-15 David S. Miller <davem@davemloft.net>
72384
72385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72386 trunc{,f} to libm-sysdep_routes.
72387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72389 file.
72390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72392 file.
72393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72394 file.
72395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72397 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72398 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72399 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72400 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72401 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72402 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72403
72404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72405 nearbyint{,f} to libm-sysdep_routes.
72406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72408 New file.
72409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72410 file.
72411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72412 New file.
72413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72414 file.
72415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72418 file.
72419 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72421 file.
72422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72423 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72424 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72425
72426 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72427 libc_feholdexcept and libc_fesetenv.
72428
72429 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72430
72431 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72432
72433 2013-01-14 David S. Miller <davem@davemloft.net>
72434
72435 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72436 (SPARC_ASM_VIS2_IFUNC): Likewise.
72437 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72439 use of 'siam' instruction.
72440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72441 Likewise.
72442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72443 Likewise.
72444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72445 Likewise.
72446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72451 file.
72452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72453 file.
72454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72455 file.
72456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72457 file.
72458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72463 new VIS2 routines.
72464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72467 Likewise.
72468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72473 routines to libm-sysdep_routines.
72474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72475
72476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72477 fdim/fdimf to libm-sysdep_routines.
72478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72479 file.
72480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72482 file.
72483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72486 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72487 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72488 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72489 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72490
72491 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72492
72493 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72494 to optimize copies.
72495
72496 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72499
72500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72501 local variable MPTWO.
72502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72503 Likewise.
72504
72505 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72506
72507 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72508 GLOB_NOESCAPE.
72509
72510 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72511
72512 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72513
72514 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72515
72516 * manual/pattern.texi (glob_t): Document gl_flags.
72517 (glob64_t): Likewise.
72518
72519 2013-01-11 David S. Miller <davem@davemloft.net>
72520
72521 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72522 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72523 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72524 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72525 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72526 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72527 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72528 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72529 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72530 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72531 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72532 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72533 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72534
72535 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72536 sparc V9 rather than using V8 code.
72537 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72538 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72539
72540 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72541 Move to...
72542 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72543 Here.
72544
72545 2013-01-11 Roland McGrath <roland@hack.frob.com>
72546
72547 [BZ #14941]
72548 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72549 not in the main loop.
72550 * configure: Regenerated.
72551
72552 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72553
72554 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72555 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72556 to just #else.
72557 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72558 [!__GLIBC_HAVE_LONG_LONG] case.
72559 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72560 condition to just #else.
72561 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72562 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72563 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72564 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72565 unconditional.
72566 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72567 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72568 #elif condition to just #else.
72569 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72570 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72571 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72572 #elif condition to just #else.
72573
72574 2013-01-11 Steve Ellcey <sellcey@mips.com>
72575
72576 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72577 (EF_MIPS_ARCH_64): Fix value.
72578 (EF_MIPS_ARCH_32R2): New.
72579 (EF_MIPS_ARCH_64R2): New.
72580
72581 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72582
72583 * Makeconfig (+link-pie-before-libc): New.
72584 (+link-pie-after-libc): Likewise.
72585 (+link-pie-tests): Likewise.
72586 (+link-pie): Rewritten.
72587 (link-before-libc): Remove $(config-LDFLAGS).
72588 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72589 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72590 (config-LDFLAGS): Renamed to ...
72591 (rtld-LDFLAGS): This.
72592 (rtld-tests-LDFLAGS): New macro.
72593 (link-libc-rpath-link): Likewise.
72594 (link-libc-tests-rpath-link): Likewise.
72595 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72596 (link-libc): Prepand $(link-libc-rpath-link).
72597 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72598 (test-program-prefix): New macro.
72599 (test-via-rtld-prefix): Likewise.
72600 (test-program-cmd): Likewise.
72601 (host-test-program-cmd): Likewise.
72602 * Makefile ($(common-objpfx)testrun.sh): Replace
72603 $(run-program-prefix) with $(test-program-prefix).
72604 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72605 $(rtld-LDFLAGS).
72606 ($(common-objpfx)shlib.lds): Likewise.
72607 (build-module-helper): Likewise.
72608 ($(common-objpfx)format.lds): Likewise.
72609 * Rules (binaries-pie-tests): New.
72610 (binaries-pie-notests): Likewise.
72611 (binaries-pie): Rewritten.
72612 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72613 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72614 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72615 (make-test-out): Replace $(host-built-program-cmd) with
72616 $(host-test-program-cmd).
72617 * config.make.in (build-hardcoded-path-in-tests): New variable.
72618 * configure.in (--enable-hardcoded-path-in-tests): New configure
72619 option.
72620 (hardcoded_path_in_tests): New AC_SUBST.
72621 * configure: Regenerated.
72622 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72623 $(built-program-cmd) with $(test-program-cmd).
72624 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72625 (test_program_cmd): This.
72626 * elf/Makefile ($(objpfx)order.out): Run test with
72627 $(test-program-prefix).
72628 ($(objpfx)order2.out): Likewise.
72629 ($(objpfx)tst-initorder.out): Likewise.
72630 ($(objpfx)tst-initorder2.out): Likewise.
72631 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72632 $(test-program-cmd).
72633 ($(objpfx)tst-array1-static.out): Likewise.
72634 ($(objpfx)tst-array2.out): Likewise.
72635 ($(objpfx)tst-array3.out): Likewise.
72636 ($(objpfx)tst-array4.out): Likewise.
72637 ($(objpfx)tst-array5.out): Likewise.
72638 ($(objpfx)tst-array5-static.out): Likewise.
72639 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72640 $(test-program-cmd).
72641 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72642 $(run-program-prefix) with $(test-program-prefix).
72643 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72644 (test_program_prefix): This.
72645 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72646 $(run-program-prefix) with $(test-program-prefix).
72647 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72648 (test_program_prefix): This.
72649 * iconvdata/tst-tables.sh: Likewise.
72650 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72651 $(run-program-prefix) with $(test-program-prefix).
72652 ($(objpfx)tst-translit.out): Likewise.
72653 ($(objpfx)tst-gettext2.out): Likewise.
72654 ($(objpfx)tst-gettext4.out): Likewise.
72655 ($(objpfx)tst-gettext6.out): Likewise.
72656 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72657 (test_program_prefix): This.
72658 * intl/tst-gettext2.sh: Likewise.
72659 * intl/tst-gettext4.sh Likewise.
72660 * intl/tst-gettext6.sh: Likewise.
72661 * intl/tst-translit.sh: Likewise.
72662 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72663 with $(test-program-cmd).
72664 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72665 $(run-program-prefix) with $(test-program-prefix).
72666 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72667 (test_program_prefix): This.
72668 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72669 $(run-program-prefix) with $(test-program-prefix).
72670 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72671 (test_program_prefix): This.
72672 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72673 * posix/Makefile ($(objpfx)globtest.out): Replace
72674 $(run-via-rtld-prefix) and $(test-wrapper) with
72675 $(test-program-prefix) and $(test-via-rtld-prefix).
72676 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72677 $(test-program-prefix).
72678 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72679 $(host-test-program-cmd).
72680 (tst-spawn-ARGS): Likewise.
72681 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72682 $(test-program-prefix).
72683 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72684 (test_via_rtld_prefix): This.
72685 (test_wrapper): Renamed to ...
72686 (test_program_prefix): This.
72687 (run_program_prefix): Replaced by test_program_prefix.
72688 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72689 (test_program_prefix): This.
72690 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72691 with $(host-test-program-cmd).
72692 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72693 $(run-program-prefix) with $(test-program-prefix).
72694 ($(objpfx)tst-printf.out): Likewise.
72695 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72696 $(test-program-cmd).
72697 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72698 (test_program_prefix): This.
72699 * stdio-common/tst-unbputc.sh: Likewise.
72700 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72701 $(run-program-prefix) with $(test-program-prefix).
72702 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72703 (test_program_prefix): This.
72704 * string/Makefile ($(objpfx)tst-svc.out): Replace
72705 $(built-program-cmd) with $(test-program-cmd).
72706
72707 2013-01-11 Andreas Jaeger <aj@suse.de>
72708
72709 [BZ #15003]
72710 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72711 value. Sync with Linux 3.7.
72712
72713 2013-01-10 David S. Miller <davem@davemloft.net>
72714
72715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72716 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72717 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72718
72719 2013-01-10 Roland McGrath <roland@hack.frob.com>
72720
72721 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72722 never set.
72723 * configure: Regenerated.
72724
72725 2013-01-10 David S. Miller <davem@davemloft.net>
72726
72727 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72728 sparc V9 rather than using V8 code.
72729 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72730 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72731
72732 2013-01-10 Roland McGrath <roland@hack.frob.com>
72733
72734 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72735 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72736 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72737 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72738 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72739 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72740 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72741 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72742 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72743 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72744 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72745 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72746 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72747 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72748 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72749 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72750 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72751 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72752 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72753 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72754 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72755 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72756 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72757 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72758 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72759 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72760 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72761
72762 2013-01-10 David S. Miller <davem@davemloft.net>
72763
72764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72765
72766 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72767
72768 * posix/Makefile (tests-static): New variable.
72769 (tests): Add $(tests-static).
72770 (tst-exec-static-ARGS): New variable.
72771 (tst-spawn-static-ARGS): Likewise.
72772 * posix/tst-exec-static.c: New file.
72773 * posix/tst-spawn-static.c: Likewise.
72774 * posix/tst-exec.c: Support run directly.
72775 * posix/tst-spawn.c: Likewise.
72776
72777 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72778
72779 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72780 long.
72781 * math/bits/mathcalls.h (llrint): Likewise.
72782 (llround): Likewise.
72783 * stdlib/stdlib.h (struct drand48_data): Likewise.
72784 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72785 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72786 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72787 Likewise.
72788 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72789 Likewise.
72790 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72791 (elf_greg_t): Likewise.
72792 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72793 (__jmp_buf): Likewise.
72794 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72795 definitions.
72796 (llrint): Likewise, for all definitions.
72797 (llrintl): Likewise.
72798
72799 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72800 Remove [__GNUC__] condition.
72801 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72802 condition to just [__USE_ISOC99].
72803 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72804
72805 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72806
72807 [BZ #14200]
72808 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72809 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72810 defined.
72811 (_POSIX_V6_ILP32_OFF32): Likewise.
72812 (_XBS5_ILP32_OFF32): Likewise.
72813 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72814 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72815
72816 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72817
72818 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72819
72820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72821 doubles __mpexp_twomm1. Adjust usage.
72822 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72823 Remove.
72824
72825 2013-01-10 Andreas Schwab <schwab@suse.de>
72826
72827 [BZ #14964]
72828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72829 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72830
72831 2013-01-09 David S. Miller <davem@davemloft.net>
72832
72833 [BZ #15003]
72834 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72835 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72836 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72837 (TCP_FASTOPEN): Define.
72838 (tcp_repair_opt): New structure.
72839 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72840 enum values.
72841 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72842 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72843 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72844 (tcp_cookie_transactions): New structure.
72845
72846 2013-01-09 Anton Blanchard <anton@samba.org>
72847
72848 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72849 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72850 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72851 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72852
72853 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72854
72855 * include/features.h (__USE_ANSI): Remove.
72856
72857 2013-01-09 Roland McGrath <roland@hack.frob.com>
72858
72859 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72860
72861 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72862
72863 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72864
72865 * sysdeps/s390/fpu/libm-test-ulps: Update.
72866
72867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72868
72869 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72870 (__acr): Likewise.
72871 (__cpy): Likewise.
72872 (norm): Likewise.
72873 (denorm): Likewise.
72874 (__mp_dbl): Likewise.
72875 (__dbl_mp): Likewise.
72876 (add_magnitudes): Likewise.
72877 (sub_magnitudes): Likewise.
72878 (__add): Likewise.
72879 (__sub): Likewise.
72880 (__mul): Likewise.
72881 (__inv): Likewise.
72882 (__dvd): Likewise.
72883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72884 (__acr): Likewise.
72885 (__cpy): Likewise.
72886 (norm): Likewise.
72887 (denorm): Likewise.
72888 (__mp_dbl): Likewise.
72889 (__dbl_mp): Likewise.
72890 (add_magnitudes): Likewise.
72891 (sub_magnitudes): Likewise.
72892 (__add): Likewise.
72893 (__sub): Likewise.
72894 (__mul): Likewise.
72895 (__inv): Likewise.
72896 (__dvd): Likewise.
72897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72898 (__acr): Likewise.
72899 (__cpy): Likewise.
72900 (norm): Likewise.
72901 (denorm): Likewise.
72902 (__mp_dbl): Likewise.
72903 (__dbl_mp): Likewise.
72904 (add_magnitudes): Likewise.
72905 (sub_magnitudes): Likewise.
72906 (__add): Likewise.
72907 (__sub): Likewise.
72908 (__mul): Likewise.
72909 (__inv): Likewise.
72910 (__dvd): Likewise.
72911
72912 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72913
72914 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72915 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72916 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72917 2 && __USE_EXTERN_INLINES]: Likewise.
72918
72919 2013-01-08 Andreas Jaeger <aj@suse.de>
72920
72921 [BZ #14985]
72922 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72923 Remove.
72924 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72925 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72926
72927 2013-01-07 Anton Blanchard <anton@samba.org>
72928
72929 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72930 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72931 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72932 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72933 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72934 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72935 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72936 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72938 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72940 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72941 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72943 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72945 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72946 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72947 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72948 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72950 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72952 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72953 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72954 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72955 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72956 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72957 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72958 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72959 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72961 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72962 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72963 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72966 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72967 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72968 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72969 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72971 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72972
72973 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72974
72975 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72976 (__MALLOC_PMT): Likewise.
72977 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72978 [__GNUC__], only on [_LIBC].
72979 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72980 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72981 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72982 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72983 forward declaration.
72984 (realloc_hook_ini): Likewise.
72985 (memalign_hook_ini): Likewise.
72986 (__libc_memalign): Do not use __MALLOC_PMT in variable
72987 declaration.
72988 (__libc_valloc): Likewise.
72989 (__libc_pvalloc): Likewise.
72990 (__libc_calloc): Likewise.
72991 (__posix_memalign): Likewise.
72992
72993 [BZ #14996]
72994 * math/s_casinh.c: Include <float.h>.
72995 (__casinh): Do not do computation with squaring and square root
72996 for large arguments.
72997 * math/s_casinhf.c: Include <float.h>.
72998 (__casinhf): Do not do computation with squaring and square root
72999 for large arguments.
73000 * math/s_casinhl.c: Include <float.h>.
73001 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
73002 (__casinhl): Do not do computation with squaring and square root
73003 for large arguments.
73004 * math/libm-test.inc (casin_test): Add more tests.
73005 (casinh_test): Likewise.
73006 * sysdeps/i386/fpu/libm-test-ulps: Update.
73007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73008
73009 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
73010
73011 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
73012 (__x86_64_raw_data_cache_size): Likewise.
73013 (__x86_64_data_cache_size_half): Likewise.
73014 (__x86_64_raw_data_cache_size_half): Likewise.
73015 (__x86_64_shared_cache_size): Likewise.
73016 (__x86_64_raw_shared_cache_size): Likewise.
73017 (__x86_64_shared_cache_size_half): Likewise.
73018 (__x86_64_raw_shared_cache_size_half): Likewise.
73019 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
73020 to ...
73021 (__x86_data_cache_size): This.
73022 (__x86_64_raw_data_cache_size): Renamed to ...
73023 (__x86_raw_data_cache_size): This.
73024 (__x86_64_data_cache_size_half): Renamed to ...
73025 (__x86_data_cache_size_half): This.
73026 (__x86_64_raw_data_cache_size_half): Renamed to ...
73027 (__x86_raw_data_cache_size_half): This.
73028 (__x86_64_shared_cache_size): Renamed to ...
73029 (__x86_shared_cache_size): This.
73030 (__x86_64_raw_shared_cache_size): Renamed to ...
73031 (__x86_raw_shared_cache_size): This.
73032 (__x86_64_shared_cache_size_half): Renamed to ...
73033 (__x86_shared_cache_size_half): This.
73034 (__x86_64_raw_shared_cache_size_half): Renamed to ...
73035 (__x86_raw_shared_cache_size_half): This.
73036 * sysdeps/x86_64/memcpy.S: Updated.
73037 * sysdeps/x86_64/memset.S: Likewise.
73038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
73039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73041
73042 2013-01-04 David S. Miller <davem@davemloft.net>
73043
73044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73045
73046 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
73047
73048 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
73049 1 to avoid redefinition warning.
73050 (__USE_GNU): Don't define.
73051 (init_signaling_nan): Protoize.
73052
73053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73054
73055 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
73056
73057 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
73058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
73059 (__cpymn): Likewise.
73060 (norm): Remove commented code.
73061 (denorm): Likewise.
73062 (__mp_dbl): Likewise.
73063 (__inv): Likewise.
73064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
73065 (__cpymn): Likewise.
73066 (norm): Remove commented code.
73067 (denorm): Likewise.
73068 (__mp_dbl): Likewise.
73069 (__inv): Likewise.
73070
73071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
73072 mp_no value for 1.0 and 2.0.
73073 (norm): Use RADIXI instead of radixi.d.
73074 (denorm): Likewise.
73075 (__mul): Use 0.0 instead of zero.d.
73076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
73077 mp_no value for 1.0 and 2.0.
73078 (norm): Use RADIXI instead of radixi.d.
73079 (denorm): Likewise.
73080 (__mul): Use 0.0 instead of zero.d.
73081
73082 2013-01-04 Joseph Myers <joseph@codesourcery.com>
73083
73084 [BZ #14994]
73085 * math/s_casinh.c (__casinh): Reduce finite argument to first
73086 quadrant then set signs of results at the end.
73087 * math/s_casinhf.c (__casinhf): Likewise.
73088 * math/s_casinhl.c (__casinhl): Likewise.
73089 * math/libm-test.inc (casin_test): Add more tests.
73090 (casinh_test): Likewise.
73091 * sysdeps/i386/fpu/libm-test-ulps: Update.
73092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73093
73094 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
73095
73096 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
73097
73098 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
73099
73100 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
73101 declarations.
73102 (denorm): Likewise.
73103 (__mp_dbl): Likewise.
73104 (__inv): Likewise.
73105
73106 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
73107 and adjust the header comment.
73108
73109 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
73110 variable name from declaration.
73111
73112 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
73113
73114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73115 Initialize COMMON_CPUID_INDEX_7 element.
73116 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
73117 (CPUID_RTM): Likewise.
73118 (HAS_RTM): Likewise.
73119 (COMMON_CPUID_INDEX_7): New enum.
73120
73121 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
73122
73123 [BZ #14981]
73124 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
73125 size is zero, record memory as freed.
73126
73127 2013-01-03 Andreas Jaeger <aj@suse.de>
73128
73129 * po/ia.po: Add new Interlingua translation.
73130
73131 2012-01-03 Allan McRae <allan@archlinux.org>
73132
73133 * locale/programs/localedef.c: Fix description of '--posix' flag.
73134
73135 2013-01-02 Joseph Myers <joseph@codesourcery.com>
73136
73137 * NEWS: Update dates in second copyright notice.
73138 * README: Update copyright dates in example.
73139 * manual/libc.texinfo: Update copyright dates.
73140 * scripts/test-installation.pl: Update copyright date in --version
73141 output.
73142
73143 * hurd/ctty-input.c: Fix copyright notice formatting.
73144 * hurd/ctty-output.c: Likewise.
73145 * hurd/dtable.c: Likewise.
73146 * hurd/hurd-raise.c: Likewise.
73147 * hurd/hurdprio.c: Likewise.
73148 * hurd/msgportdemux.c: Likewise.
73149 * misc/sys/file.h: Likewise.
73150 * misc/sys/ioctl.h: Likewise.
73151 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73152 * sysdeps/mach/hurd/chdir.c: Likewise.
73153 * sysdeps/mach/hurd/fchdir.c: Likewise.
73154 * sysdeps/mach/hurd/rename.c: Likewise.
73155 * sysdeps/mach/hurd/rmdir.c: Likewise.
73156 * sysdeps/mach/hurd/seekdir.c: Likewise.
73157 * sysdeps/mach/hurd/setsid.c: Likewise.
73158 * sysdeps/posix/wait3.c: Likewise.
73159
73160 * All files with FSF copyright notices: Update copyright dates
73161 using scripts/update-copyrights.
73162 * intl/plural.c: Regenerated.
73163 * locale/programs/charmap-kw.h: Likewise.
73164 * locale/programs/locfile-kw.h: Likewise.
73165
73166 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
73167
73168 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73169 four values.
73170
73171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73172 calculation loop and add branch prediction.
73173
73174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73175 check access beyond bounds of m1np.
73176
73177 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73178 MPTWO.
73179 (__inv): Remove local variable MPTWO to use the global
73180 constant.
73181 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73183 variable MPTWO.
73184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73185 MP3HALFS static const.
73186
73187 2013-01-01 David S. Miller <davem@davemloft.net>
73188
73189 * po/ca.po: Update from translation team.
73190
73191 2013-01-01 Joseph Myers <joseph@codesourcery.com>
73192
73193 * scripts/update-copyrights: New file.
73194 * Makeconfig: Reformat copyright notice.
73195 * ctype/ctype.h: Likewise.
73196 * debug/swprintf_chk.c: Likewise.
73197 * elf/dl-cache.c: Likewise.
73198 * elf/dl-debug.c: Likewise.
73199 * elf/dl-object.c: Likewise.
73200 * grp/initgroups.c: Likewise.
73201 * hurd/Makefile: Likewise.
73202 * hurd/hurd/signal.h: Likewise.
73203 * hurd/hurdfault.c: Likewise.
73204 * hurd/hurdioctl.c: Likewise.
73205 * hurd/hurdlookup.c: Likewise.
73206 * hurd/intr-msg.c: Likewise.
73207 * iconv/gconv_open.c: Likewise.
73208 * libio/swprintf.c: Likewise.
73209 * locale/lc-ctype.c: Likewise.
73210 * locale/nl_langinfo.c: Likewise.
73211 * mach/Machrules: Likewise.
73212 * mach/Makefile: Likewise.
73213 * malloc/obstack.h: Likewise.
73214 * manual/Makefile: Likewise.
73215 * manual/tsort.awk: Likewise.
73216 * misc/bits/stab.def: Likewise.
73217 * nis/nis_print_group_entry.c: Likewise.
73218 * nis/nis_table.c: Likewise.
73219 * nis/nss_compat/compat-pwd.c: Likewise.
73220 * nis/nss_compat/compat-spwd.c: Likewise.
73221 * po/Makefile: Likewise.
73222 * posix/fnmatch.c: Likewise.
73223 * posix/regex.h: Likewise.
73224 * resolv/Makefile: Likewise.
73225 * resolv/nss_dns/dns-network.c: Likewise.
73226 * resolv/res_hconf.c: Likewise.
73227 * scripts/gen-sorted.awk: Likewise.
73228 * soft-fp/soft-fp.h: Likewise.
73229 * stdio-common/printf.h: Likewise.
73230 * stdlib/monetary.h: Likewise.
73231 * stdlib/random.c: Likewise.
73232 * stdlib/random_r.c: Likewise.
73233 * sysdeps/generic/Makefile: Likewise.
73234 * sysdeps/gnu/Makefile: Likewise.
73235 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73239 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73242 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73245 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73246 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73247 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73248 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73249 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73250 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73251 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73255 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73256 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73257 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73258 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73259 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73260 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73261 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73262 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73263 * sysdeps/mach/hurd/errnos.awk: Likewise.
73264 * sysdeps/mach/hurd/fork.c: Likewise.
73265 * sysdeps/mach/hurd/getcwd.c: Likewise.
73266 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73267 * sysdeps/mach/hurd/mmap.c: Likewise.
73268 * sysdeps/mach/hurd/utimes.c: Likewise.
73269 * sysdeps/mach/hurd/xmknod.c: Likewise.
73270 * sysdeps/posix/profil.c: Likewise.
73271 * sysdeps/posix/readdir_r.c: Likewise.
73272 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73273 * sysdeps/powerpc/bits/setjmp.h: Likewise.
73274 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73275 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73277 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73278 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73279 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73281 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73282 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73283 * sysdeps/pthread/lio_listio.c: Likewise.
73284 * sysdeps/sparc/dl-procinfo.h: Likewise.
73285 * sysdeps/unix/i386/sysdep.S: Likewise.
73286 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73287 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73288 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73289 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73291 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73292 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73293 * sysdeps/unix/sysv/linux/speed.c: Likewise.
73294 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73295 * sysdeps/wordsize-32/divdi3.c: Likewise.
73296 * time/sys/time.h: Likewise.
73297 * wcsmbs/Makefile: Likewise.
73298
73299 2013-01-01 David S. Miller <davem@davemloft.net>
73300
73301 * po/fr.po: Update from translation team.
73302
73303 * catgets/gencat.c: Update copyright year.
73304 * csu/version.c: Likewise.
73305 * debug/catchsegv.sh: Likewise.
73306 * debug/pcprofiledump.c: Likewise.
73307 * debug/xtrace.sh: Likewise.
73308 * elf/ldconfig.c: Likewise.
73309 * elf/ldd.bash.in: Likewise.
73310 * elf/pldd.c: Likewise.
73311 * elf/sotruss.ksh: Likewise.
73312 * elf/sprof.c: Likewise.
73313 * iconv/iconv_prog.c: Likewise.
73314 * iconv/iconvconfig.c: Likewise.
73315 * locale/programs/locale.c: Likewise.
73316 * locale/programs/localedef.c: Likewise.
73317 * login/programs/pt_chown.c: Likewise.
73318 * malloc/memusage.sh: Likewise.
73319 * malloc/memusagestat.c: Likewise.
73320 * malloc/mtrace.pl: Likewise.
73321 * nscd/nscd.c: Likewise.
73322 * nss/getent.c: Likewise.
73323 * nss/makedb.c: Likewise.
73324 * posix/getconf.c: Likewise.
73325
73326 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73327
73328 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73329 numbers.
73330
73331 2012-12-30 Mike Frysinger <vapier@gentoo.org>
73332
73333 * math/bits/mathcalls.h (modf): Use __nonnull.
73334
73335 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
73336
73337 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73338 (split): Use macro CN instead of the bare value.
73339 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73340 could be used.
73341 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73342 instead of the bare value.
73343 (power1): Likewise.
73344
73345 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73346
73347 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73348 __ATAN_TWOM.
73349 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73350
73351 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73352 their values.
73353 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73355 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73356 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73357
73358 2012-12-28 Andreas Jaeger <aj@suse.de>
73359
73360 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73361 values are from Linux 3.7.
73362
73363 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73364 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
73365
73366 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73367
73368 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73369 TRUE case.
73370
73371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73372 (norm): Likewise.
73373 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73374 variables with preprocessor constants.
73375 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73376 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73377 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73378
73379 2012-12-27 Bruno Haible <bruno@clisp.org>
73380
73381 [BZ #14317]
73382 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73383 only if needed.
73384
73385 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73386
73387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73388 and use variable directly.
73389 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73390
73391 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73392 MPONE.
73393 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73395 variable MPONE.
73396 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73398 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73399 include directive. Remove local variable MPONE.
73400 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73403
73404 2012-12-25 David S. Miller <davem@davemloft.net>
73405
73406 * version.h (RELEASE): Set to "development".
73407 (VERSION): Set to "2.17.90".
73408 * NEWS: Add 2.18 section.
73409
73410 2012-12-21 David S. Miller <davem@davemloft.net>
73411
73412 * po/hr.po: Update from translation team.
73413
73414 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73415
73416 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73417
73418 2012-12-19 Steve Ellcey <sellcey@mips.com>
73419
73420 * NEWS: Mention new memcpy for MIPS.
73421
73422 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73423
73424 * manual/contrib.texi (Contributors): Spelling correction.
73425
73426 2012-12-15 David S. Miller <davem@davemloft.net>
73427
73428 * po/ru.po: Update from translation team.
73429
73430 2012-12-13 David S. Miller <davem@davemloft.net>
73431
73432 * NEWS: Mention IFUNC testsuite enhancements.
73433
73434 * po/pl.po: Update from translation team.
73435 * po/bg.po: Likewise.
73436
73437 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73438 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73439
73440 2012-12-11 David S. Miller <davem@davemloft.net>
73441
73442 * po/sv.po: Update from translation team.
73443
73444 * po/vi.po: Update from translation team.
73445
73446 * po/cs.po: Update from translation team.
73447
73448 * po/de.po: Update from translation team.
73449 * po/eo.po: Likewise.
73450 * po/nl.po: Likewise.
73451
73452 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73453
73454 [BZ #14246]
73455 * manual/argp.texi (Argp Helper Functions): Move node to follow
73456 Argp Parsing State.
73457
73458 [BZ #14872]
73459 * manual/conf.texi (Limits on File System Capacity): Mention if
73460 terminating null is included in the max size.
73461
73462 2012-12-10 Andreas Jaeger <aj@suse.de>
73463
73464 * po/cs.po: Update from translation team.
73465
73466 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73467
73468 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73469 void pointer and cast to uintptr_t.
73470 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73471 path.
73472 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73473 * sysdeps/s390/s390-64/memset.S: Likewise.
73474
73475 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73476
73477 [BZ #14833]
73478 * menual/message.texi (Message Translation): Fix typos.
73479 (Helper programs for gettext): Likewise.
73480
73481 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73482
73483 [BZ #14898]
73484 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73485 Change to -1.
73486
73487 2012-12-07 David S. Miller <davem@davemloft.net>
73488
73489 * po/libc.pot: Update.
73490
73491 2012-12-07 Richard Henderson <rth@redhat.com>
73492
73493 [BZ #10114]
73494 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73495 normal/normal case to before the switch.
73496 (_FP_DIV): Likewise.
73497
73498 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73499 Mike Frysinger <vapier@gentoo.org>
73500
73501 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73502 check for __NR_fadvise64_64.
73503
73504 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73505
73506 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73507 0, not just to plain "0" as a statement.
73508 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73509 with cw.
73510
73511 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73512
73513 * NEWS: Use sourceware.org in Bugzilla URL.
73514
73515 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73516
73517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73518 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73519
73520 * stdio-common/tst-put-error.c (do_test): Add newline to the
73521 padded test to ensure flush.
73522
73523 2012-12-05 Jeff Law <law@redhat.com>
73524
73525 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73526
73527 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73528
73529 * README: Don't refer to ports add-on as distributed separately.
73530 Mention AArch64 in list of systems supported in the ports add-on.
73531
73532 * LICENSES: Add more non-FSF copyright and license notices.
73533
73534 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73535 ((unused)).
73536
73537 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73538
73539 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73540 10000 as width of padded output.
73541
73542 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73543
73544 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73545
73546 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73547 variable LX with __attribute__ ((unused)).
73548 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73549 Likewise.
73550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73551 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73553 with __attribute__ ((unused)).
73554
73555 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73556
73557 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73558
73559 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73560
73561 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73562 (CFLAGS-nldbl-acos.c): New variable.
73563 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73564 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73565 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73566 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73567 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73568 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73569 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73570 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73571 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73572 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73573 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73574 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73575 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73576 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73577 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73578 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73579 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73580 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73581 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73582 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73583 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73584 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73585 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73586 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73587 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73588 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73589 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73590 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73591 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73592 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73593 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73594 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73595 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73596 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73597 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73598 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73599 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73600 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73601 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73602 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73603 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73604 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73605 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73606 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73607 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73608 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73609 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73610 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73611 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73612 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73613 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73614 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73615 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73616 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73617 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73618 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73619 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73620 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73621 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73622 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73623 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73624 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73625 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73626 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73627 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73628 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73629 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73630 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73631 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73632 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73633 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73634 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73635 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73636 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73637 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73638 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73639 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73640 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73641 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73642 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73643 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73644 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73645 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73646 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73647 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73648 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73649 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73650 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73651 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73652 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73653 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73654 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73655 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73656 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73657 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73658 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73659 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73660
73661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73662 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73663
73664 [BZ #14914]
73665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73666 whole low double instead of just low 47 bits when splitting values
73667 into two parts.
73668
73669 2012-12-03 Allan McRae <allan@archlinux.org>
73670
73671 * manual/stdio.texi (Predefined Printf Handlers): Remove
73672 @hsep and @vsep usage.
73673
73674 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73675
73676 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73677 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73678
73679 2012-12-03 Jeff Law <law@redhat.com>
73680
73681 * time/sys/time.h (settimeofday): Do not mark TV argument
73682 as __nonnull.
73683
73684 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73685
73686 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73687 when currently writing and seek to current position when not.
73688 * libio/Makefile (tests): Remove bug-fclose1.
73689 * libio/bug-fclose1.c: Delete.
73690
73691 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73692
73693 * manual/arith.texi (feenableexcept): Fix typo.
73694 (fedisableexcept): Likewise.
73695
73696 2012-11-30 Roland McGrath <roland@hack.frob.com>
73697
73698 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73699 second, differently-typed declaration, rather than a cast.
73700
73701 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73702
73703 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73704 * include/rpc/svc.h: ... here.
73705
73706 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73707
73708 [BZ #13013]
73709 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73710 depending n and resplen2 to catch cases where answer
73711 equals answerp2.
73712
73713 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73714
73715 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73716 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73717
73718 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73719
73720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73721
73722 2012-11-29 Roland McGrath <roland@hack.frob.com>
73723
73724 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73725
73726 2012-11-28 Jeff Law <law@redhat.com>
73727
73728 [BZ #13761]
73729 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73730 dataset_temporary. Track alloca usage into alloca_used.
73731 If dataset is large allocate and release it via malloc/free.
73732
73733 2012-06-04 Florian Weimer <fweimer@redhat.com>
73734
73735 [BZ #14197]
73736 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73737
73738 2012-11-28 David S. Miller <davem@davemloft.net>
73739
73740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73741
73742 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73743
73744 [BZ #14803]
73745 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73746 of pi/2 rounded to nearest to 64 bits.
73747 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73748 nearest to 64 bits.
73749 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73750 bits.
73751
73752 2012-11-28 Jeff Law <law@redhat.com>
73753 Martin Osvald <mosvald@redhat.com>
73754
73755 [BZ #14889]
73756 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73757 * sunrpc/svc.c: Include time.h.
73758 (__svc_accept_failed): New function.
73759 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73760 any reason other than EINTR, call __svc_accept_failed.
73761 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73762 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73763
73764 2012-11-28 Andreas Schwab <schwab@suse.de>
73765
73766 * scripts/abilist.awk: Also handle indirect functions in .opd
73767 section.
73768
73769 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73770
73771 [BZ #13881]
73772 * sysdeps/x86/fpu/powl_helper.c: New file.
73773 * sysdeps/x86/fpu/Makefile: Likewise.
73774 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73775 (p3): New object.
73776 (__ieee754_powl): Use __powl_helper for finite arguments except
73777 integer exponents below 8.
73778 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73779 (p3): New object.
73780 (__ieee754_powl): Use __powl_helper for finite arguments except
73781 integer exponents below 8.
73782 * math/libm-test.inc (pow_test): Add more tests and enable some
73783 previously disabled tests.
73784 * sysdeps/i386/fpu/libm-test-ulps: Update.
73785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73786
73787 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73788 Carlos O'Donell <carlos_odonell@mentor.com>
73789
73790 * nss/makedb.c (is_prime): Assert that input is odd and greater
73791 than 4. Note that fact in a comment too.
73792 (next_prime): Add 4 to input.
73793
73794 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73795
73796 [BZ #11741]
73797 * libio/Makefile (tests): Add test case tst-fwrite-error.
73798 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73799 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73800 * libio/tst-fwrite-error.c: New test case.
73801
73802 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73803
73804 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73805 before casting to void *.
73806 * include/libc-internal.h (__pointer_type): New macro.
73807 (__integer_if_pointer_type_sub): Likewise.
73808 (__integer_if_pointer_type): Likewise.
73809 (cast_to_integer): Likewise.
73810 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73811 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73812 before casting to atomic64_t.
73813 (atomic_exchange_acq): Likewise.
73814 (__arch_exchange_and_add_body): Likewise.
73815 (__arch_add_body): Likewise.
73816 (atomic_add_negative): Likewise.
73817 (atomic_add_zero): Likewise.
73818
73819 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73820
73821 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73822 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73823 (add_fdes): Likewise.
73824 (linear_search_fdes): Likewise.
73825 (binary_search_unencoded_fdes): Likewise.
73826
73827 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73828
73829 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73830
73831 2012-11-24 Adam Conrad <adconrad@0c3.net>
73832
73833 * configure.in: Autodetect C++ header directories.
73834 * configure: Regenerated.
73835
73836 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73837
73838 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73839
73840 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73841
73842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73843
73844 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73845
73846 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73847 LDBL_MANT_DIG == 106]: Disable some tests.
73848 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73849 Likewise.
73850 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73851 Likewise.
73852
73853 [BZ #14871]
73854 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73855 input for small inputs. Return +/- pi/2 for large inputs.
73856 * math/libm-test.inc (atan_test): Add more tests.
73857
73858 * sysdeps/generic/unwind-dw2-fde-glibc.c
73859 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73860 __attribute__ ((unused)).
73861
73862 [BZ #14645]
73863 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73864 x * y if x and y are nonzero and z is zero.
73865
73866 [BZ #14811]
73867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73868 nonzero exponents with absolute value below 0x1p-117 to +/-
73869 0x1p-117.
73870
73871 [BZ #14869]
73872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73873 up arguments below 2**-450, not just those below 2**-500.
73874 * math/libm-test.inc (hypot_test): Add another test.
73875
73876 [BZ #14868]
73877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73878 Return a+b for ratio over 2**120, not 2**60.
73879 * math/libm-test.inc (hypot_test): Add another test.
73880
73881 * math/libm-test.inc (clog_test): Use
73882 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73883 (clog10_test): Likewise.
73884
73885 [BZ #6778]
73886 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73887
73888 2012-11-22 Andreas Schwab <schwab@suse.de>
73889
73890 * sysdeps/i386/fpu/libm-test-ulps: Update.
73891
73892 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73893
73894 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73895 printf output with newline.
73896
73897 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73898
73899 [BZ #14865]
73900 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73901 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73902 -z nodlopen, -z initfirst and -z execstack support.
73903 * configure: Regenerated.
73904
73905 * elf/elf.h (DF_1_NODIRECT): New macro.
73906 (DF_1_IGNMULDEF): Likewise.
73907 (DF_1_NOKSYMS): Likewise.
73908 (DF_1_NOHDR): Likewise.
73909 (DF_1_EDITED): Likewise.
73910 (DF_1_NORELOC): Likewise.
73911 (DF_1_SYMINTPOSE): Likewise.
73912 (DF_1_GLOBAUDIT): Likewise.
73913 (DF_1_SINGLETON): Likewise.
73914 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73915 DT_1_SUPPORTED_MASK bits.
73916 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73917
73918 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73919
73920 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73921
73922 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73923
73924 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73925 macro.
73926
73927 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73928 (sendmmsg): Move declarations...
73929 * socket/sys/socket.h: ... here.
73930 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73931 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73932 include it from...
73933 * socket/recvmmsg.c: ... this new file.
73934 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73935 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73936 definition of __sendmmsg hidden.
73937 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73938 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73939 Move ENOSYS stub into and include it from...
73940 * socket/sendmmsg.c: ... this new file.
73941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73942 (sysdep_routines): Move recvmmsg and sendmmsg...
73943 * socket/Makefile (routines): ... here.
73944 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73945 (GLIBC_PRIVATE): Add __sendmmsg.
73946 * include/sys/socket.h (__sendmmsg): Add declarations.
73947 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73948 sendmmsg.
73949
73950 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73951
73952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73953 variable I1 with __attribute__ ((unused)).
73954 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73955
73956 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73957
73958 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73959 DUMMY variables with __attribute__ ((unused)).
73960
73961 * bits/byteswap.h: Include <bits/types.h>.
73962 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73963
73964 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73965
73966 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73967 string_t. Do not manually set errno.
73968 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73969 length with __strnlen. Make sure to both set errno and return it on
73970 failure.
73971
73972 2012-11-19 David S. Miller <davem@davemloft.net>
73973
73974 With help from Joseph Myers.
73975 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73976 very large arguments properly.
73977 * math/libm-test.inc (atan_test): New tests.
73978 (atan2_test): New tests.
73979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73981
73982 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73983
73984 [BZ #14856]
73985 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73986 Define to 3.
73987
73988 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73989 [POSIX] (EADDRNOTAVAIL): Likewise.
73990 [POSIX] (EAFNOSUPPORT): Likewise.
73991 [POSIX] (EALREADY): Likewise.
73992 [POSIX] (ECONNABORTED): Likewise.
73993 [POSIX] (ECONNREFUSED): Likewise.
73994 [POSIX] (ECONNRESET): Likewise.
73995 [POSIX] (EDESTADDRREQ): Likewise.
73996 [POSIX] (EDQUOT): Likewise.
73997 [POSIX] (EHOSTUNREACH): Likewise.
73998 [POSIX] (EIDRM): Likewise.
73999 [POSIX] (EISCONN): Likewise.
74000 [POSIX] (ELOOP): Likewise.
74001 [POSIX] (EMULTIHOP): Likewise.
74002 [POSIX] (ENETDOWN): Likewise.
74003 [POSIX] (ENETUNREACH): Likewise.
74004 [POSIX] (ENOBUFS): Likewise.
74005 [POSIX] (ENODATA): Likewise.
74006 [POSIX] (ENOLINK): Likewise.
74007 [POSIX] (ENOMSG): Likewise.
74008 [POSIX] (ENOPROTOOPT): Likewise.
74009 [POSIX] (ENOSR): Likewise.
74010 [POSIX] (ENOSTR): Likewise.
74011 [POSIX] (ENOTCONN): Likewise.
74012 [POSIX] (ENOTSOCK): Likewise.
74013 [POSIX] (EOPNOTSUPP): Likewise.
74014 [POSIX] (EOVERFLOW): Likewise.
74015 [POSIX] (EPROTO): Likewise.
74016 [POSIX] (EPROTONOSUPPORT): Likewise.
74017 [POSIX] (EPROTOTYPE): Likewise.
74018 [POSIX] (ESTALE): Likewise.
74019 [POSIX] (ETIME): Likewise.
74020 [POSIX] (ETXTBSY): Likewise.
74021 [POSIX] (EWOULDBLOCK): Likewise.
74022 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
74023 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
74024 [POSIX] (SEEK_CUR): Likewise.
74025 [POSIX] (SEEK_END): Likewise.
74026 [POSIX || UNIX98] (mode_t): Do not require.
74027 [POSIX] (off_t): Likewise.
74028 [POSIX] (pid_t): Likewise.
74029 [POSIX] (sys/stat.h): Do not allow header.
74030 [POSIX] (unistd.h): Likewise.
74031 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
74032 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
74033 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
74034 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
74035 require.
74036 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
74037 sigevent): Specify elements.
74038 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
74039 entry.
74040 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
74041 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
74042
74043 * conform/data/cpio.h-data [POSIX]: Disable whole file.
74044 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
74045 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
74046 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
74047 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
74048 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
74049 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
74050 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
74051 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
74052 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
74053 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
74054 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
74055 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
74056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
74057 Likewise.
74058 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
74059 Likewise.
74060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
74061 Likewise.
74062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
74063 Likewise.
74064 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
74065 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
74066 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
74067 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
74068 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
74069 Specify lower bound on value.
74070 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
74071 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
74072 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
74073 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
74074 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
74075 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
74076 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
74077 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
74078 value.
74079 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
74080 as optional.
74081 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
74082 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
74083 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
74084 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
74085 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
74086 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
74087 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
74088 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
74089 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
74090 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
74091 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
74092 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
74093 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
74094 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
74095 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
74096 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
74097 entry.
74098 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
74099 optional.
74100 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
74101 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
74102 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
74103 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
74104 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
74105 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
74106 Likewise.
74107 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
74108 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
74109 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
74110 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
74111 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
74112 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
74113 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
74114 as optional.
74115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
74116 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
74117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
74118 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
74119 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
74120 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
74121 specify as optional.
74122 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
74123 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
74124 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
74125 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
74126 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
74127 [XPG3] (NL_LANGMAX): Likewise.
74128 [POSIX || XPG3] (NL_MSGMAX): Likewise.
74129 [POSIX || XPG3] (NL_NMAX): Likewise.
74130 [POSIX || XPG3] (NL_SETMAX): Likewise.
74131 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
74132 [XPG3] (NZERO): Likewise.
74133 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
74134 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
74135 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
74136 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
74137 (REG_ERANGE): Expect.
74138 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
74139 optional-constant.
74140 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
74141 Use (void) in prototype.
74142 [POSIX] (*_t): Allow.
74143 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
74144 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
74145 (WRDE_BADVAL): Expect.
74146
74147 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
74148 expect.
74149 [XPG3 || XPG4] (O_RSYNC): Likewise.
74150 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74151 Likewise.
74152 [XPG3 || XPG4] (pthread_sigmask): Likewise.
74153 [XPG3 || XPG4] (sigqueue): Likewise.
74154 [XPG3 || XPG4] (sigtimedwait): Likewise.
74155 [XPG3 || XPG4] (sigwaitinfo): Likewise.
74156 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74157 [XPG3 || XPG4] (vsnprintf): Likewise.
74158 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74159 Likewise.
74160 [XPG3 || XPG4] (blksize_t): Likewise.
74161 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74162 Likewise.
74163 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74164 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74165 [XPG3 || XPG4] (struct itimerspec): Likewise.
74166 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74167 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74168 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74169 [XPG3 || XPG4] (clockid_t): Likewise.
74170 [XPG3 || XPG4] (timer_t): Likewise.
74171 [XPG3 || XPG4] (clock_getres): Likewise.
74172 [XPG3 || XPG4] (clock_gettime): Likewise.
74173 [XPG3 || XPG4] (clock_settime): Likewise.
74174 [XPG3 || XPG4] (nanosleep): Likewise.
74175 [XPG3 || XPG4] (timer_create): Likewise.
74176 [XPG3 || XPG4] (timer_delete): Likewise.
74177 [XPG3 || XPG4] (timer_gettime): Likewise.
74178 [XPG3 || XPG4] (timer_getoverrun): Likewise.
74179 [XPG3 || XPG4] (timer_settime): Likewise.
74180 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74181 [XPG3 || XPG4] (getlogin_r): Likewise.
74182 [XPG3 || XPG4] (pread): Likewise.
74183 [XPG3 || XPG4] (pthread_atfork): Likewise.
74184 [XPG3 || XPG4] (pwrite): Likewise.
74185
74186 [BZ #14835]
74187 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74188 <bits/siginfo.h>.
74189
74190 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
74191
74192 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74193 finalizing MALLSTREAM.
74194
74195 * sysdeps/mach/hurd/syncfs.c: New file.
74196
74197 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
74198
74199 [BZ #14719]
74200 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74201 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74203 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74204 (_nss_dns_gethostbyname4_r): Likewise.
74205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74206 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74207
74208 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
74209
74210 [BZ #13763]
74211 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74212
74213 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
74214
74215 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74216 * elf/cache.c (print_entry): Print ",AArch64" for
74217 FLAG_AARCH64_LIB64
74218
74219 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74220 * elf/cache.c (print_entry): Print ",hard-float" for
74221 FLAG_ARM_LIBHF.
74222
74223 2012-11-18 David S. Miller <davem@davemloft.net>
74224
74225 With help from Joseph Myers.
74226 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74227 cutoff to 2**-13.
74228 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74229 cutoff to 2**-25.
74230 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74231 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74232 small.
74233 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74234 * math/libm-test.inc (y0_test): New tests.
74235 (y1_test): New tests.
74236 * sysdeps/i386/fpu/libm-test-ulps: Update.
74237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74239
74240 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
74241
74242 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74243 64-bit targets.
74244 * configure: Regenerated.
74245
74246 2012-11-17 David S. Miller <davem@davemloft.net>
74247
74248 [BZ #14811]
74249 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74250 nonzero exponents with absolute value below 0x1p-128 to +/-
74251 0x1p-128.
74252
74253 2012-11-17 Joseph Myers <joseph@codesourcery.com>
74254
74255 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74256
74257 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74258
74259 * posix/getconf-speclist.c: New file.
74260 * posix/posix-envs.def: Likewise.
74261 * posix/confstr.c (START_ENV_GROUP): New macro.
74262 (END_ENV_GROUP): Likewise.
74263 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74264 (KNOWN_PRESENT_ENV_STRING): Likewise.
74265 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74266 (UNKNOWN_ENVIRONMENT): Likewise.
74267 (confstr): Include posix-envs.def instead of handling
74268 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74269 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74270 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74271 (END_ENV_GROUP): Likewise.
74272 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74273 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74274 (UNKNOWN_ENVIRONMENT): Likewise.
74275 (__sysconf): Include posix-envs.def instead of handling associated
74276 cases directly here.
74277 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74278 preprocessing getconf-speclist.c rather than running getconf or
74279 generating empty file.
74280
74281 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
74282
74283 * scripts/check-local-headers.sh: Ignore 'mach' headers.
74284
74285 2012-11-16 Andrej Lajovic <natrij@gmail.com>
74286
74287 [BZ #14672]
74288 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74289
74290 2012-11-16 David S. Miller <davem@davemloft.net>
74291
74292 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74293 smaller than LDBL_EPSILON/2.0L, just return xm1.
74294
74295 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
74296
74297 * elf/tst-array1.c (init): Set constructor priority to 1000.
74298 (fini): Set destructor priority to 1000.
74299 * elf/tst-array2dep.c: Likewise.
74300
74301 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74302
74303 [BZ #11741]
74304 * libio/fileops.c (_IO_new_file_write): Correctly return error.
74305 (_IO_new_file_xsputn): Also return EOF if none of the input
74306 data was written when overflow failed.
74307 * libio/iopadn.c (_IO_padn): Likewise.
74308 * libio/iowpadn.c (_IO_wpadn): Likewise.
74309 * stdio-common/tst-put-error.c: Add copyright notice.
74310 (do_test): Add case for printing padded string.
74311 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74312 _IO_padn returned error.
74313 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74314 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74315 return EOF.
74316
74317 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74318
74319 * libio/libioP.h: Add comment note that the references to C++
74320 bits are now obsolete.
74321
74322 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74323
74324 * math/libm-test.inc (check_complex): Use asprintf.
74325
74326 2012-11-14 Joseph Myers <joseph@codesourcery.com>
74327
74328 * debug/pcprofiledump.c (print_version): Update copyright year.
74329 * malloc/memusagestat.c (print_version): Likewise.
74330
74331 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
74332
74333 [BZ #14831]
74334 * elf/Makefile (tests): Add tst-audit8.
74335 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74336 ($(objpfx)tst-audit8.out): New target.
74337 (tst-audit8-ENV): New variable.
74338 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74339 audit if l_reloc_result is NULL.
74340 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74341 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74342 * elf/tst-audit8.c: New file.
74343
74344 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74345
74346 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74347 * misc/Makefile (CFLAGS-select.c): Define.
74348 * posix/Makefile (CFLAGS-pause.c): Define.
74349
74350 2012-11-13 David S. Miller <davem@davemloft.net>
74351
74352 * crypt/Makefile: Move test targets after toplevel Rules
74353 inclusion. Grab any necessary sysdep routines when linking.
74354 * crypt/md5.c (md5_process_block): Remove define, we will always
74355 name it __md5_process_block.
74356 (md5_finish_ctx): Update md5_process_block call.
74357 (md5_stream): Likewise.
74358 (md5_process_bytes): Likewise.
74359 (md5_process_block): Rename to __md5_process_block and move to ...
74360 * crypt/md5-block.c: ... here.
74361 * crypt/sha256.c (sha256_process_block): Move to ...
74362 * crypt/sha256-block.c: ... here.
74363 * crypt/sha512.c (sha512_process_block): Move to ...
74364 * crypt/sha512-block.c: ... here.
74365 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74366 path.
74367 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74368 * sysdeps/sparc/sparc64/multiarch/Makefile
74369 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74370 crypt subdir.
74371 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74372 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74373 multiarch changes.
74374 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74375 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74376 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74377 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74378 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74379 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74380 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74381 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74382 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74383 file.
74384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74385 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74386 file.
74387 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74388
74389 2012-11-13 Joseph Myers <joseph@codesourcery.com>
74390
74391 * timezone/tzselect.ksh: Update from tzcode git revision
74392 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74393 * timezone/zdump.c: Likewise.
74394 * timezone/zic.c: Likewise.
74395 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74396 in TZVERSION setting, not $(PKGVERSION).
74397 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74398 REPORT_BUGS_TO settings.
74399
74400 [BZ #14838]
74401 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74402 macro.
74403
74404 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74405
74406 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74407 detection to immediately after _FP_ROUND().
74408 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74409 bits are 0.
74410
74411 2012-11-11 David S. Miller <davem@davemloft.net>
74412
74413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74414 inttypes.h
74415 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74416 __close rather than their public counterparts.
74417
74418 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74419
74420 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74421 file.
74422 [UNIX98] (sem_timedwait): Do not expect.
74423 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74424 [XPG4 || UNIX98] (sockatmark): Do not expect.
74425 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74426 (clock_getcpuclockid): Do not expect.
74427 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74428 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74429 Do not expect.
74430 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74431 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74432 [UNIX98] (vwscanf): Likewise.
74433 [UNIX98] (vswscanf): Likewise.
74434
74435 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74436
74437 * timezone/version.h: Remove file.
74438 * timezone/README: Do not refer to version.h.
74439 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74440 $(objpfx)version.h.
74441 ($(objpfx)zdump.o): Likewise.
74442 ($(objpfx)version.h): New target.
74443
74444 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74445 2012i.
74446 * timezone/README: Don't mention modification to tzselect.ksh.
74447 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74448 work on unmodified tzselect.ksh. Substitute version numbers in
74449 tzselect.ksh.
74450
74451 * Makefile (format-me): Remove.
74452 (INSTALL): Adjust indentation. Use commands directly instead of
74453 using $(format-me).
74454
74455 * aclocal.m4 (ACX_PKGVERSION): New macro.
74456 (ACX_BUGURL): Likewise.
74457 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74458 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74459 (REPORT_BUGS_TO): Likewise.
74460 * configure: Regenerated.
74461 * config.h.in (PKGVERSION): New macro.
74462 (REPORT_BUGS_TO): Likewise.
74463 * config.make.in (PKGVERSION): New variable.
74464 (PKGVERSION_TEXI): Likewise.
74465 (REPORT_BUGS_TO): Likewise.
74466 (REPORT_BUGS_TEXI): Likewise.
74467 * Makefile (format-me): Use -I$(common-objpfx)manual.
74468 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74469 ($(common-objpfx)manual/%): New target.
74470 (manual/%): Remove target.
74471 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74472 (print_version): Use PKGVERSION.
74473 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74474 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74475 and REPORT_BUGS_TO.
74476 ($(objpfx)xtrace): Likewise.
74477 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74478 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74479 (print_version): Use PKGVERSION.
74480 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74481 (do_version): Use PKGVERSION.
74482 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74483 REPORT_BUGS_TO.
74484 (common-ldd-rewrite): Likewise.
74485 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74486 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74487 (print_version): Use PKGVERSION.
74488 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74489 * elf/pldd.c (argp_program_bug_address): Remove variable.
74490 (more_help): New function.
74491 (argp): Use more_help.
74492 (print_version): Use PKGVERSION.
74493 * elf/sln.c (main): Use PKGVERSION.
74494 (usage): Use REPORT_BUGS_TO.
74495 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74496 (top level): Use PKGVERSION.
74497 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74498 (print_version): Use PKGVERSION.
74499 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74500 (print_version): Use PKGVERSION.
74501 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74502 (print_version): Use PKGVERSION.
74503 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74504 (print_version): Use PKGVERSION.
74505 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74506 (print_version): Use PKGVERSION.
74507 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74508 (print_version): Use PKGVERSION.
74509 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74510 and BUGURL.
74511 ($(objpfx)memusage): Likewise.
74512 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74513 (do_version): Use PKGVERSION.
74514 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74515 (print_version): Use PKGVERSION.
74516 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74517 ($PKGVERSION): New variable.
74518 ($REPORT_BUGS_TO): Likewise.
74519 (usage): Use $REPORT_BUGS_TO.
74520 (top level): Use $PKGVERSION.
74521 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74522 ($(objpfx)pkgvers.texi): New rule.
74523 ($(objpfx)stamp-pkgvers): Likewise.
74524 * manual/install.texi: Include pkgvers.texi.
74525 (--with-pkgversion): Document new configure option.
74526 (--with-bugurl): Likewise.
74527 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74528 than necessarily for this particular distribution. Use
74529 REPORT_BUGS_TO for where to report bugs.
74530 * INSTALL: Regenerated.
74531 * manual/libc.texinfo: Include pkgvers.texi.
74532 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74533 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74534 (print_version): Use PKGVERSION.
74535 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74536 (print_version): Use PKGVERSION.
74537 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74538 (print_version): Use PKGVERSION.
74539 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74540 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74541 macro.
74542 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74543 (print_version): Use PKGVERSION.
74544 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74545 (print_version): Use PKGVERSION.
74546 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74547 and PKGVERSION.
74548
74549 * timezone/checktab.awk: Update from tzcode 2012i.
74550 * timezone/ialloc.c: Likewise.
74551 * timezone/private.h: Likewise.
74552 * timezone/scheck.c: Likewise.
74553 * timezone/tzfile.h: Likewise.
74554 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74555 (TZVERSION): Hardcode tzcode version number.
74556 * timezone/zdump.c: Update from tzcode 2012i.
74557 * timezone/zic.c: Likewise.
74558 * timezone/version.h: New file.
74559 * timezone/README: Describe version.h. Update upstream location.
74560
74561 [BZ #14824]
74562 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74563 (mktemp): Enable declaration.
74564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74568 Likewise.
74569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74570 Likewise.
74571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74572 Likewise.
74573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74574 Likewise.
74575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74576 Likewise.
74577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74578 Likewise.
74579
74580 [BZ #14821]
74581 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74582 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74583 for copies of such integer values.
74584 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74585 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74586
74587 2012-11-09 Andreas Jaeger <aj@suse.de>
74588
74589 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74590 definitions and declarations that are provided by
74591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74592
74593 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74594
74595 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74596 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74597 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74598 definition.
74599
74600 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74601
74602 * elf/elf.h: Update comment before AArch64 relocations.
74603
74604 2012-11-07 David S. Miller <davem@davemloft.net>
74605
74606 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74607 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74608 (__start_context): Declare.
74609 (__makecontext_ret): Delete.
74610 (__makecontext): Hook up __start_context instead of
74611 __makecontext_ret.
74612 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74613 (sysdep_routines): Add __start_context when in stdlib.
74614
74615 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74616
74617 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74618 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74619 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74620 hardcoded "nm".
74621 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74622 (READELF): New variable. Use it instead of hardcoded "readelf".
74623
74624 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74625
74626 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74627 * sysdeps/x86/Makefile: Here.
74628 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74629 * sysdeps/x86/tst-xmmymm.sh: This.
74630
74631 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74632
74633 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74634 expectations.
74635 [UNIX98] (pthread_barrier_t): Do not expect.
74636 [UNIX98] (pthread_barrierattr_t): Likewise.
74637 [UNIX98] (pthread_spinlock_t): Likewise.
74638 [UNIX98] (pthread_barrier_destroy): Likewise.
74639 [UNIX98] (pthread_barrier_init): Likewise.
74640 [UNIX98] (pthread_barrier_wait): Likewise.
74641 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74642 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74643 [UNIX98] (pthread_barrierattr_init): Likewise.
74644 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74645 [UNIX98] (pthread_getcpuclockid): Likewise.
74646 [UNIX98] (pthread_mutex_timedlock): Likewise.
74647 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74648 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74649 [UNIX98] (pthread_sigmask): Likewise.
74650 [UNIX98] (pthread_spin_destroy): Likewise.
74651 [UNIX98] (pthread_spin_init): Likewise.
74652 [UNIX98] (pthread_spin_lock): Likewise.
74653 [UNIX98] (pthread_spin_trylock): Likewise.
74654 [UNIX98] (pthread_spin_unlock): Likewise.
74655 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74656 Do not expect.
74657 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74658 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74659 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74660 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74661 [XPG3 || XPG4] (pthread_key_t): Likewise.
74662 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74663 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74664 [XPG3 || XPG4] (pthread_once_t): Likewise.
74665 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74666 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74667 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74668 [XPG3 || XPG4] (pthread_t): Likewise.
74669
74670 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74671 not expect.
74672 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74673
74674 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74675 Change function return type to int.
74676
74677 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74678 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74679 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74680 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74681 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74682 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74683 [!POSIX] (posix_madvise): Likewise.
74684 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74685 && !UNIX98].
74686 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74687 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74688 (mode_t): Likewise.
74689 (posix_mem_offset): Likewise.
74690 (posix_typed_mem_get_info): Likewise.
74691 (posix_typed_mem_open): Likewise.
74692
74693 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74694 Change condition to [XOPEN2K8].
74695
74696 * conform/conformtest.pl: Preprocess allow-header data with -x c
74697 instead of from stdin.
74698 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74699 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74700 [C99-based standards] (cerfc): Likewise.
74701 [C99-based standards] (cexp2): Likewise.
74702 [C99-based standards] (cexpm1): Likewise.
74703 [C99-based standards] (clog10): Likewise.
74704 [C99-based standards] (clog1p): Likewise.
74705 [C99-based standards] (clog2): Likewise.
74706 [C99-based standards] (clgamma): Likewise.
74707 [C99-based standards] (ctgamma): Likewise.
74708 [C99-based standards] (cerff): Likewise.
74709 [C99-based standards] (cerfcf): Likewise.
74710 [C99-based standards] (cexp2f): Likewise.
74711 [C99-based standards] (cexpm1f): Likewise.
74712 [C99-based standards] (clog10f): Likewise.
74713 [C99-based standards] (clog1pf): Likewise.
74714 [C99-based standards] (clog2f): Likewise.
74715 [C99-based standards] (clgammaf): Likewise.
74716 [C99-based standards] (ctgammaf): Likewise.
74717 [C99-based standards] (cerfl): Likewise.
74718 [C99-based standards] (cerfcl): Likewise.
74719 [C99-based standards] (cexp2l): Likewise.
74720 [C99-based standards] (cexpm1l): Likewise.
74721 [C99-based standards] (clog10l): Likewise.
74722 [C99-based standards] (clog1pl): Likewise.
74723 [C99-based standards] (clog2l): Likewise.
74724 [C99-based standards] (clgammal): Likewise.
74725 [C99-based standards] (ctgammal): Likewise.
74726 * conform/data/inttypes.h-data [C99-based standards]: Include
74727 stdint.h-data. Remove all expectations for stdint.h contents.
74728 [C99-based standards] (PRI*): Do not allow.
74729 [C99-based standards] (SCN*): Likewise.
74730 [C99-based standards] (*_t): Likewise.
74731 [C99-based-standards] (PRId8): Expect macro.
74732 [C99-based-standards] (PRIi8): Likewise.
74733 [C99-based-standards] (PRIo8): Likewise.
74734 [C99-based-standards] (PRIu8): Likewise.
74735 [C99-based-standards] (PRIx8): Likewise.
74736 [C99-based-standards] (PRIX8): Likewise.
74737 [C99-based-standards] (SCNd8): Likewise.
74738 [C99-based-standards] (SCNi8): Likewise.
74739 [C99-based-standards] (SCNo8): Likewise.
74740 [C99-based-standards] (SCNu8): Likewise.
74741 [C99-based-standards] (SCNx8): Likewise.
74742 [C99-based-standards] (PRIdLEAST8): Likewise.
74743 [C99-based-standards] (PRIiLEAST8): Likewise.
74744 [C99-based-standards] (PRIoLEAST8): Likewise.
74745 [C99-based-standards] (PRIuLEAST8): Likewise.
74746 [C99-based-standards] (PRIxLEAST8): Likewise.
74747 [C99-based-standards] (PRIXLEAST8): Likewise.
74748 [C99-based-standards] (SCNdLEAST8): Likewise.
74749 [C99-based-standards] (SCNiLEAST8): Likewise.
74750 [C99-based-standards] (SCNoLEAST8): Likewise.
74751 [C99-based-standards] (SCNuLEAST8): Likewise.
74752 [C99-based-standards] (SCNxLEAST8): Likewise.
74753 [C99-based-standards] (PRIdFAST8): Likewise.
74754 [C99-based-standards] (PRIiFAST8): Likewise.
74755 [C99-based-standards] (PRIoFAST8): Likewise.
74756 [C99-based-standards] (PRIuFAST8): Likewise.
74757 [C99-based-standards] (PRIxFAST8): Likewise.
74758 [C99-based-standards] (PRIXFAST8): Likewise.
74759 [C99-based-standards] (SCNdFAST8): Likewise.
74760 [C99-based-standards] (SCNiFAST8): Likewise.
74761 [C99-based-standards] (SCNoFAST8): Likewise.
74762 [C99-based-standards] (SCNuFAST8): Likewise.
74763 [C99-based-standards] (SCNxFAST8): Likewise.
74764 [C99-based-standards] (PRId16): Likewise.
74765 [C99-based-standards] (PRIi16): Likewise.
74766 [C99-based-standards] (PRIo16): Likewise.
74767 [C99-based-standards] (PRIu16): Likewise.
74768 [C99-based-standards] (PRIx16): Likewise.
74769 [C99-based-standards] (PRIX16): Likewise.
74770 [C99-based-standards] (SCNd16): Likewise.
74771 [C99-based-standards] (SCNi16): Likewise.
74772 [C99-based-standards] (SCNo16): Likewise.
74773 [C99-based-standards] (SCNu16): Likewise.
74774 [C99-based-standards] (SCNx16): Likewise.
74775 [C99-based-standards] (PRIdLEAST16): Likewise.
74776 [C99-based-standards] (PRIiLEAST16): Likewise.
74777 [C99-based-standards] (PRIoLEAST16): Likewise.
74778 [C99-based-standards] (PRIuLEAST16): Likewise.
74779 [C99-based-standards] (PRIxLEAST16): Likewise.
74780 [C99-based-standards] (PRIXLEAST16): Likewise.
74781 [C99-based-standards] (SCNdLEAST16): Likewise.
74782 [C99-based-standards] (SCNiLEAST16): Likewise.
74783 [C99-based-standards] (SCNoLEAST16): Likewise.
74784 [C99-based-standards] (SCNuLEAST16): Likewise.
74785 [C99-based-standards] (SCNxLEAST16): Likewise.
74786 [C99-based-standards] (PRIdFAST16): Likewise.
74787 [C99-based-standards] (PRIiFAST16): Likewise.
74788 [C99-based-standards] (PRIoFAST16): Likewise.
74789 [C99-based-standards] (PRIuFAST16): Likewise.
74790 [C99-based-standards] (PRIxFAST16): Likewise.
74791 [C99-based-standards] (PRIXFAST16): Likewise.
74792 [C99-based-standards] (SCNdFAST16): Likewise.
74793 [C99-based-standards] (SCNiFAST16): Likewise.
74794 [C99-based-standards] (SCNoFAST16): Likewise.
74795 [C99-based-standards] (SCNuFAST16): Likewise.
74796 [C99-based-standards] (SCNxFAST16): Likewise.
74797 [C99-based-standards] (PRId32): Likewise.
74798 [C99-based-standards] (PRIi32): Likewise.
74799 [C99-based-standards] (PRIo32): Likewise.
74800 [C99-based-standards] (PRIu32): Likewise.
74801 [C99-based-standards] (PRIx32): Likewise.
74802 [C99-based-standards] (PRIX32): Likewise.
74803 [C99-based-standards] (SCNd32): Likewise.
74804 [C99-based-standards] (SCNi32): Likewise.
74805 [C99-based-standards] (SCNo32): Likewise.
74806 [C99-based-standards] (SCNu32): Likewise.
74807 [C99-based-standards] (SCNx32): Likewise.
74808 [C99-based-standards] (PRIdLEAST32): Likewise.
74809 [C99-based-standards] (PRIiLEAST32): Likewise.
74810 [C99-based-standards] (PRIoLEAST32): Likewise.
74811 [C99-based-standards] (PRIuLEAST32): Likewise.
74812 [C99-based-standards] (PRIxLEAST32): Likewise.
74813 [C99-based-standards] (PRIXLEAST32): Likewise.
74814 [C99-based-standards] (SCNdLEAST32): Likewise.
74815 [C99-based-standards] (SCNiLEAST32): Likewise.
74816 [C99-based-standards] (SCNoLEAST32): Likewise.
74817 [C99-based-standards] (SCNuLEAST32): Likewise.
74818 [C99-based-standards] (SCNxLEAST32): Likewise.
74819 [C99-based-standards] (PRIdFAST32): Likewise.
74820 [C99-based-standards] (PRIiFAST32): Likewise.
74821 [C99-based-standards] (PRIoFAST32): Likewise.
74822 [C99-based-standards] (PRIuFAST32): Likewise.
74823 [C99-based-standards] (PRIxFAST32): Likewise.
74824 [C99-based-standards] (PRIXFAST32): Likewise.
74825 [C99-based-standards] (SCNdFAST32): Likewise.
74826 [C99-based-standards] (SCNiFAST32): Likewise.
74827 [C99-based-standards] (SCNoFAST32): Likewise.
74828 [C99-based-standards] (SCNuFAST32): Likewise.
74829 [C99-based-standards] (SCNxFAST32): Likewise.
74830 [C99-based-standards] (PRId64): Likewise.
74831 [C99-based-standards] (PRIi64): Likewise.
74832 [C99-based-standards] (PRIo64): Likewise.
74833 [C99-based-standards] (PRIu64): Likewise.
74834 [C99-based-standards] (PRIx64): Likewise.
74835 [C99-based-standards] (PRIX64): Likewise.
74836 [C99-based-standards] (SCNd64): Likewise.
74837 [C99-based-standards] (SCNi64): Likewise.
74838 [C99-based-standards] (SCNo64): Likewise.
74839 [C99-based-standards] (SCNu64): Likewise.
74840 [C99-based-standards] (SCNx64): Likewise.
74841 [C99-based-standards] (PRIdLEAST64): Likewise.
74842 [C99-based-standards] (PRIiLEAST64): Likewise.
74843 [C99-based-standards] (PRIoLEAST64): Likewise.
74844 [C99-based-standards] (PRIuLEAST64): Likewise.
74845 [C99-based-standards] (PRIxLEAST64): Likewise.
74846 [C99-based-standards] (PRIXLEAST64): Likewise.
74847 [C99-based-standards] (SCNdLEAST64): Likewise.
74848 [C99-based-standards] (SCNiLEAST64): Likewise.
74849 [C99-based-standards] (SCNoLEAST64): Likewise.
74850 [C99-based-standards] (SCNuLEAST64): Likewise.
74851 [C99-based-standards] (SCNxLEAST64): Likewise.
74852 [C99-based-standards] (PRIdFAST64): Likewise.
74853 [C99-based-standards] (PRIiFAST64): Likewise.
74854 [C99-based-standards] (PRIoFAST64): Likewise.
74855 [C99-based-standards] (PRIuFAST64): Likewise.
74856 [C99-based-standards] (PRIxFAST64): Likewise.
74857 [C99-based-standards] (PRIXFAST64): Likewise.
74858 [C99-based-standards] (SCNdFAST64): Likewise.
74859 [C99-based-standards] (SCNiFAST64): Likewise.
74860 [C99-based-standards] (SCNoFAST64): Likewise.
74861 [C99-based-standards] (SCNuFAST64): Likewise.
74862 [C99-based-standards] (SCNxFAST64): Likewise.
74863 [C99-based-standards] (PRIdMAX): Likewise.
74864 [C99-based-standards] (PRIiMAX): Likewise.
74865 [C99-based-standards] (PRIoMAX): Likewise.
74866 [C99-based-standards] (PRIuMAX): Likewise.
74867 [C99-based-standards] (PRIxMAX): Likewise.
74868 [C99-based-standards] (PRIXMAX): Likewise.
74869 [C99-based-standards] (SCNdMAX): Likewise.
74870 [C99-based-standards] (SCNiMAX): Likewise.
74871 [C99-based-standards] (SCNoMAX): Likewise.
74872 [C99-based-standards] (SCNuMAX): Likewise.
74873 [C99-based-standards] (SCNxMAX): Likewise.
74874 [C99-based-standards] (PRIdPTR): Likewise.
74875 [C99-based-standards] (PRIiPTR): Likewise.
74876 [C99-based-standards] (PRIoPTR): Likewise.
74877 [C99-based-standards] (PRIuPTR): Likewise.
74878 [C99-based-standards] (PRIxPTR): Likewise.
74879 [C99-based-standards] (PRIXPTR): Likewise.
74880 [C99-based-standards] (SCNdPTR): Likewise.
74881 [C99-based-standards] (SCNiPTR): Likewise.
74882 [C99-based-standards] (SCNoPTR): Likewise.
74883 [C99-based-standards] (SCNuPTR): Likewise.
74884 [C99-based-standards] (SCNxPTR): Likewise.
74885 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74886 allow.
74887 * conform/data/stdint.h-data: Update comments to clarify
74888 requirements.
74889 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74890 type.
74891 [C99-based standards] (INT8_MAX): Likewise.
74892 [C99-based standards] (INT16_MIN): Likewise.
74893 [C99-based standards] (INT16_MAX): Likewise.
74894 [C99-based standards] (INT32_MIN): Likewise.
74895 [C99-based standards] (INT32_MAX): Likewise.
74896 [C99-based standards] (INT64_MIN): Likewise.
74897 [C99-based standards] (INT64_MAX): Likewise.
74898 [C99-based standards] (UINT8_MAX): Likewise.
74899 [C99-based standards] (UINT16_MAX): Likewise.
74900 [C99-based standards] (UINT32_MAX): Likewise.
74901 [C99-based standards] (UINT64_MAX): Likewise.
74902 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74903 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74904 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74905 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74906 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74907 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74908 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74909 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74910 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74911 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74912 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74913 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74914 [C99-based standards] (INT_FAST8_MIN): Likewise.
74915 [C99-based standards] (INT_FAST8_MAX): Likewise.
74916 [C99-based standards] (INT_FAST16_MIN): Likewise.
74917 [C99-based standards] (INT_FAST16_MAX): Likewise.
74918 [C99-based standards] (INT_FAST32_MIN): Likewise.
74919 [C99-based standards] (INT_FAST32_MAX): Likewise.
74920 [C99-based standards] (INT_FAST64_MIN): Likewise.
74921 [C99-based standards] (INT_FAST64_MAX): Likewise.
74922 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74923 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74924 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74925 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74926 [C99-based standards] (INTPTR_MIN): Likewise.
74927 [C99-based standards] (INTPTR_MAX): Likewise.
74928 [C99-based standards] (UINTPTR_MAX): Likewise.
74929 [C99-based standards] (INTMAX_MIN): Likewise.
74930 [C99-based standards] (INTMAX_MAX): Likewise.
74931 [C99-based standards] (UINTMAX_MAX): Likewise.
74932 [C99-based standards] (PTRDIFF_MIN): Likewise.
74933 [C99-based standards] (PTRDIFF_MAX): Likewise.
74934 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74935 [C99-based standards] (SIZE_MAX): Likewise.
74936 [C99-based standards] (WCHAR_MAX): Likewise.
74937 [C99-based standards] (WINT_MAX): Likewise.
74938 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74939 constraint on value.
74940 [C99-based standards] (WCHAR_MIN): Likewise.
74941 [C99-based standards] (WINT_MIN): Likewise.
74942 [C99-based standards] (*_t): Allow.
74943 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74944 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74945 Include math.h-data and complex.h-data. Remove all expectations
74946 of math.h and complex.h contents.
74947 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74948 at end of line.
74949 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74950 (struct tm): Expect tag.
74951 [C99-based-standards] (wcstof): Expect function.
74952 [C99-based-standards] (wcstold): Likewise.
74953 [C99-based-standards] (wcstoll): Likewise.
74954 [C99-based-standards] (wcstoull): Likewise.
74955 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74956 macro-int-constant. Specify type.
74957 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74958 constraint on value.
74959 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74960 Specify type.
74961 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74962 Specify value.
74963 [ISO C standards]: Do not allow headers.
74964 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74965 wcs[abcdefghijklmnopqrstuvwxyz]*.
74966 [ISO C standards] (*_t): Do not allow.
74967 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74968 Expect function.
74969 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74970 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74971 Specify type.
74972 [ISO C standards]: Do not allow headers.
74973 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74974 is[abcdefghijklmnopqrstuvwxyz]*.
74975 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74976 to[abcdefghijklmnopqrstuvwxyz]*.
74977 [ISO C standards] (*_t): Do not allow.
74978 * conform/data/stdalign.h-data: New file.
74979 * conform/data/stdbool.h-data: Likewise.
74980 * conform/data/stdnoreturn.h-data: Likewise.
74981
74982 2012-11-07 Roland McGrath <roland@hack.frob.com>
74983
74984 [BZ #14815]
74985 * manual/filesys.texi (Directory Entries): Typo fix.
74986 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74987
74988 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74989
74990 * elf/elf.h (EM_AARCH64): New macro.
74991 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74992 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74993 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74994 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74995 (R_AARCH64_TLSDESC): Likewise.
74996 (NT_ARM_TLS): Likewise.
74997 (NT_ARM_HW_BREAK): Likewise.
74998 (NT_ARM_HW_WATCH): Likewise.
74999
75000 2012-11-07 Joseph Myers <joseph@codesourcery.com>
75001
75002 [BZ #14811]
75003 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
75004 (__ieee754_powl): Saturate nonzero exponents with absolute value
75005 below 0x1p-79 to +/- 0x1p-79.
75006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
75007 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
75008 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
75009 nonzero exponents with absolute value below 0x1p-32 to +/-
75010 0x1p-32.
75011 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
75012 (__ieee754_powl): Saturate nonzero exponents with absolute value
75013 below 0x1p-79 to +/- 0x1p-79.
75014 * math/libm-test.inc (pow_test): Add more tests.
75015
75016 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75017
75018 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
75019 _dl_s390_cap_flags with kernel. Increase string length.
75020 (_dl_s390_platforms): Add z196 and zEC12.
75021
75022 2012-11-07 Joseph Myers <joseph@codesourcery.com>
75023
75024 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
75025 Change XOPEN21K to XOPEN2K.
75026
75027 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
75028
75029 * string/memmove.c: Use memcpy when possible.
75030
75031 2012-11-06 Andreas Jaeger <aj@suse.de>
75032
75033 * po/eo.po: Update from translation team.
75034
75035 2012-11-06 Joseph Myers <joseph@codesourcery.com>
75036
75037 [BZ #14793]
75038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
75039 exponent and small x and y exponents, scale x or y up. Increase
75040 by 2 the exponent used in scaling up.
75041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75043 * math/libm-test.inc (fma_test): Add more tests.
75044 (fma_test_towardzero): Likewise.
75045 (fma_test_downward): Likewise.
75046 (fma_test_upward): Likewise.
75047
75048 2012-11-05 Joseph Myers <joseph@codesourcery.com>
75049
75050 [BZ #14805]
75051 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
75052 fenv_t *.
75053
75054 [BZ #14801]
75055 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
75056 namespace for names of struct fields.
75057 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
75058 fenv_t fields.
75059 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
75060 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
75061
75062 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
75063
75064 [BZ #3665]
75065 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
75066
75067 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
75068
75069 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
75070 PTR_DEMANGLE.
75071
75072 [BZ #5246]
75073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
75074 PTR_DEMANGLE.
75075
75076 2012-11-04 Joseph Myers <joseph@codesourcery.com>
75077
75078 [BZ #14797]
75079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
75080 definitely overflow as x * y not x * y + z.
75081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75083 * math/libm-test.inc (fma_test): Add more tests.
75084 (fma_test_towardzero): Likewise.
75085 (fma_test_downward): Likewise.
75086 (fma_test_upward): Likewise.
75087
75088 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
75089
75090 [BZ #157]
75091
75092 * include/stub-tag.h: Remove file.
75093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
75094 '#include' of it.
75095 * manual/maint.texi (Porting): Don't reference it.
75096 * Makerules ($(objpfx)stubs): Likewise.
75097 * dirent/closedir.c: Don't include <stub-tag.h>.
75098 * dirent/dirfd.c: Likewise.
75099 * dirent/fdopendir.c: Likewise.
75100 * dirent/getdents.c: Likewise.
75101 * dirent/getdents64.c: Likewise.
75102 * dirent/opendir.c: Likewise.
75103 * dirent/readdir.c: Likewise.
75104 * dirent/readdir64.c: Likewise.
75105 * dirent/readdir64_r.c: Likewise.
75106 * dirent/readdir_r.c: Likewise.
75107 * dirent/rewinddir.c: Likewise.
75108 * dirent/seekdir.c: Likewise.
75109 * dirent/telldir.c: Likewise.
75110 * gmon/profil.c: Likewise.
75111 * grp/setgroups.c: Likewise.
75112 * inet/if_index.c: Likewise.
75113 * io/access.c: Likewise.
75114 * io/chdir.c: Likewise.
75115 * io/chmod.c: Likewise.
75116 * io/chown.c: Likewise.
75117 * io/close.c: Likewise.
75118 * io/dup.c: Likewise.
75119 * io/dup2.c: Likewise.
75120 * io/dup3.c: Likewise.
75121 * io/euidaccess.c: Likewise.
75122 * io/faccessat.c: Likewise.
75123 * io/fchdir.c: Likewise.
75124 * io/fchmod.c: Likewise.
75125 * io/fchmodat.c: Likewise.
75126 * io/fchown.c: Likewise.
75127 * io/fchownat.c: Likewise.
75128 * io/fcntl.c: Likewise.
75129 * io/flock.c: Likewise.
75130 * io/fstatfs.c: Likewise.
75131 * io/fstatfs64.c: Likewise.
75132 * io/fstatvfs.c: Likewise.
75133 * io/fstatvfs64.c: Likewise.
75134 * io/futimens.c: Likewise.
75135 * io/fxstat.c: Likewise.
75136 * io/fxstat64.c: Likewise.
75137 * io/fxstatat.c: Likewise.
75138 * io/fxstatat64.c: Likewise.
75139 * io/getcwd.c: Likewise.
75140 * io/isatty.c: Likewise.
75141 * io/lchmod.c: Likewise.
75142 * io/lchown.c: Likewise.
75143 * io/link.c: Likewise.
75144 * io/linkat.c: Likewise.
75145 * io/lseek.c: Likewise.
75146 * io/lseek64.c: Likewise.
75147 * io/lxstat64.c: Likewise.
75148 * io/mkdir.c: Likewise.
75149 * io/mkdirat.c: Likewise.
75150 * io/mkfifo.c: Likewise.
75151 * io/mkfifoat.c: Likewise.
75152 * io/open.c: Likewise.
75153 * io/open64.c: Likewise.
75154 * io/openat.c: Likewise.
75155 * io/openat64.c: Likewise.
75156 * io/pipe.c: Likewise.
75157 * io/pipe2.c: Likewise.
75158 * io/poll.c: Likewise.
75159 * io/posix_fadvise.c: Likewise.
75160 * io/posix_fadvise64.c: Likewise.
75161 * io/posix_fallocate.c: Likewise.
75162 * io/posix_fallocate64.c: Likewise.
75163 * io/read.c: Likewise.
75164 * io/readlink.c: Likewise.
75165 * io/readlinkat.c: Likewise.
75166 * io/rmdir.c: Likewise.
75167 * io/sendfile.c: Likewise.
75168 * io/sendfile64.c: Likewise.
75169 * io/statfs.c: Likewise.
75170 * io/statfs64.c: Likewise.
75171 * io/statvfs.c: Likewise.
75172 * io/statvfs64.c: Likewise.
75173 * io/symlink.c: Likewise.
75174 * io/symlinkat.c: Likewise.
75175 * io/ttyname.c: Likewise.
75176 * io/ttyname_r.c: Likewise.
75177 * io/umask.c: Likewise.
75178 * io/unlink.c: Likewise.
75179 * io/unlinkat.c: Likewise.
75180 * io/utime.c: Likewise.
75181 * io/utimensat.c: Likewise.
75182 * io/write.c: Likewise.
75183 * io/xmknod.c: Likewise.
75184 * io/xmknodat.c: Likewise.
75185 * io/xstat.c: Likewise.
75186 * io/xstat64.c: Likewise.
75187 * login/getpt.c: Likewise.
75188 * login/grantpt.c: Likewise.
75189 * login/unlockpt.c: Likewise.
75190 * math/e_acoshl.c: Likewise.
75191 * math/e_acosl.c: Likewise.
75192 * math/e_asinl.c: Likewise.
75193 * math/e_atan2l.c: Likewise.
75194 * math/e_atanhl.c: Likewise.
75195 * math/e_coshl.c: Likewise.
75196 * math/e_expl.c: Likewise.
75197 * math/e_fmodl.c: Likewise.
75198 * math/e_gammal_r.c: Likewise.
75199 * math/e_hypotl.c: Likewise.
75200 * math/e_j0l.c: Likewise.
75201 * math/e_j1l.c: Likewise.
75202 * math/e_jnl.c: Likewise.
75203 * math/e_lgammal_r.c: Likewise.
75204 * math/e_log10l.c: Likewise.
75205 * math/e_log2l.c: Likewise.
75206 * math/e_logl.c: Likewise.
75207 * math/e_powl.c: Likewise.
75208 * math/e_rem_pio2l.c: Likewise.
75209 * math/e_sinhl.c: Likewise.
75210 * math/e_sqrtl.c: Likewise.
75211 * math/fclrexcpt.c: Likewise.
75212 * math/fedisblxcpt.c: Likewise.
75213 * math/feenablxcpt.c: Likewise.
75214 * math/fegetenv.c: Likewise.
75215 * math/fegetexcept.c: Likewise.
75216 * math/fegetround.c: Likewise.
75217 * math/feholdexcpt.c: Likewise.
75218 * math/fesetenv.c: Likewise.
75219 * math/fesetround.c: Likewise.
75220 * math/feupdateenv.c: Likewise.
75221 * math/fgetexcptflg.c: Likewise.
75222 * math/fraiseexcpt.c: Likewise.
75223 * math/fsetexcptflg.c: Likewise.
75224 * math/ftestexcept.c: Likewise.
75225 * math/k_cosl.c: Likewise.
75226 * math/k_rem_pio2l.c: Likewise.
75227 * math/k_sinl.c: Likewise.
75228 * math/k_tanl.c: Likewise.
75229 * math/s_asinhl.c: Likewise.
75230 * math/s_atanl.c: Likewise.
75231 * math/s_cbrtl.c: Likewise.
75232 * math/s_erfl.c: Likewise.
75233 * math/s_expm1l.c: Likewise.
75234 * math/s_log1pl.c: Likewise.
75235 * math/s_tanhl.c: Likewise.
75236 * misc/acct.c: Likewise.
75237 * misc/brk.c: Likewise.
75238 * misc/chflags.c: Likewise.
75239 * misc/chroot.c: Likewise.
75240 * misc/fchflags.c: Likewise.
75241 * misc/fgetxattr.c: Likewise.
75242 * misc/flistxattr.c: Likewise.
75243 * misc/fremovexattr.c: Likewise.
75244 * misc/fsetxattr.c: Likewise.
75245 * misc/fsync.c: Likewise.
75246 * misc/ftruncate.c: Likewise.
75247 * misc/futimes.c: Likewise.
75248 * misc/futimesat.c: Likewise.
75249 * misc/getdomain.c: Likewise.
75250 * misc/getdtsz.c: Likewise.
75251 * misc/gethostid.c: Likewise.
75252 * misc/gethostname.c: Likewise.
75253 * misc/getloadavg.c: Likewise.
75254 * misc/getpagesize.c: Likewise.
75255 * misc/getsysstats.c: Likewise.
75256 * misc/getxattr.c: Likewise.
75257 * misc/gtty.c: Likewise.
75258 * misc/ioctl.c: Likewise.
75259 * misc/lgetxattr.c: Likewise.
75260 * misc/listxattr.c: Likewise.
75261 * misc/llistxattr.c: Likewise.
75262 * misc/lremovexattr.c: Likewise.
75263 * misc/lsetxattr.c: Likewise.
75264 * misc/lutimes.c: Likewise.
75265 * misc/madvise.c: Likewise.
75266 * misc/mincore.c: Likewise.
75267 * misc/mlock.c: Likewise.
75268 * misc/mlockall.c: Likewise.
75269 * misc/mmap.c: Likewise.
75270 * misc/mprotect.c: Likewise.
75271 * misc/msync.c: Likewise.
75272 * misc/munlock.c: Likewise.
75273 * misc/munlockall.c: Likewise.
75274 * misc/munmap.c: Likewise.
75275 * misc/preadv.c: Likewise.
75276 * misc/preadv64.c: Likewise.
75277 * misc/ptrace.c: Likewise.
75278 * misc/pwritev.c: Likewise.
75279 * misc/pwritev64.c: Likewise.
75280 * misc/readv.c: Likewise.
75281 * misc/reboot.c: Likewise.
75282 * misc/remap_file_pages.c: Likewise.
75283 * misc/removexattr.c: Likewise.
75284 * misc/revoke.c: Likewise.
75285 * misc/select.c: Likewise.
75286 * misc/setdomain.c: Likewise.
75287 * misc/setegid.c: Likewise.
75288 * misc/seteuid.c: Likewise.
75289 * misc/sethostid.c: Likewise.
75290 * misc/sethostname.c: Likewise.
75291 * misc/setregid.c: Likewise.
75292 * misc/setreuid.c: Likewise.
75293 * misc/setxattr.c: Likewise.
75294 * misc/sstk.c: Likewise.
75295 * misc/stty.c: Likewise.
75296 * misc/swapoff.c: Likewise.
75297 * misc/swapon.c: Likewise.
75298 * misc/sync.c: Likewise.
75299 * misc/syncfs.c: Likewise.
75300 * misc/syscall.c: Likewise.
75301 * misc/truncate.c: Likewise.
75302 * misc/ualarm.c: Likewise.
75303 * misc/usleep.c: Likewise.
75304 * misc/ustat.c: Likewise.
75305 * misc/utimes.c: Likewise.
75306 * misc/vhangup.c: Likewise.
75307 * misc/writev.c: Likewise.
75308 * posix/_exit.c: Likewise.
75309 * posix/alarm.c: Likewise.
75310 * posix/execve.c: Likewise.
75311 * posix/fexecve.c: Likewise.
75312 * posix/fork.c: Likewise.
75313 * posix/fpathconf.c: Likewise.
75314 * posix/getaddrinfo.c: Likewise.
75315 * posix/getegid.c: Likewise.
75316 * posix/geteuid.c: Likewise.
75317 * posix/getgid.c: Likewise.
75318 * posix/getgroups.c: Likewise.
75319 * posix/getlogin.c: Likewise.
75320 * posix/getlogin_r.c: Likewise.
75321 * posix/getpgid.c: Likewise.
75322 * posix/getpid.c: Likewise.
75323 * posix/getppid.c: Likewise.
75324 * posix/getresgid.c: Likewise.
75325 * posix/getresuid.c: Likewise.
75326 * posix/getsid.c: Likewise.
75327 * posix/getuid.c: Likewise.
75328 * posix/glob64.c: Likewise.
75329 * posix/nanosleep.c: Likewise.
75330 * posix/pathconf.c: Likewise.
75331 * posix/pause.c: Likewise.
75332 * posix/posix_madvise.c: Likewise.
75333 * posix/pread.c: Likewise.
75334 * posix/pread64.c: Likewise.
75335 * posix/pwrite.c: Likewise.
75336 * posix/pwrite64.c: Likewise.
75337 * posix/sched_getaffinity.c: Likewise.
75338 * posix/sched_getp.c: Likewise.
75339 * posix/sched_gets.c: Likewise.
75340 * posix/sched_primax.c: Likewise.
75341 * posix/sched_primin.c: Likewise.
75342 * posix/sched_rr_gi.c: Likewise.
75343 * posix/sched_setaffinity.c: Likewise.
75344 * posix/sched_setp.c: Likewise.
75345 * posix/sched_sets.c: Likewise.
75346 * posix/sched_yield.c: Likewise.
75347 * posix/setgid.c: Likewise.
75348 * posix/setlogin.c: Likewise.
75349 * posix/setpgid.c: Likewise.
75350 * posix/setresgid.c: Likewise.
75351 * posix/setresuid.c: Likewise.
75352 * posix/setsid.c: Likewise.
75353 * posix/setuid.c: Likewise.
75354 * posix/sleep.c: Likewise.
75355 * posix/spawni.c: Likewise.
75356 * posix/sysconf.c: Likewise.
75357 * posix/times.c: Likewise.
75358 * posix/wait.c: Likewise.
75359 * posix/wait3.c: Likewise.
75360 * posix/wait4.c: Likewise.
75361 * posix/waitpid.c: Likewise.
75362 * resolv/gai_sigqueue.c: Likewise.
75363 * resource/getpriority.c: Likewise.
75364 * resource/getrlimit.c: Likewise.
75365 * resource/getrusage.c: Likewise.
75366 * resource/nice.c: Likewise.
75367 * resource/setpriority.c: Likewise.
75368 * resource/setrlimit.c: Likewise.
75369 * resource/ulimit.c: Likewise.
75370 * rt/aio_cancel.c: Likewise.
75371 * rt/aio_fsync.c: Likewise.
75372 * rt/aio_read.c: Likewise.
75373 * rt/aio_sigqueue.c: Likewise.
75374 * rt/aio_suspend.c: Likewise.
75375 * rt/aio_write.c: Likewise.
75376 * rt/clock_getres.c: Likewise.
75377 * rt/clock_gettime.c: Likewise.
75378 * rt/clock_nanosleep.c: Likewise.
75379 * rt/clock_settime.c: Likewise.
75380 * rt/lio_listio.c: Likewise.
75381 * rt/mq_close.c: Likewise.
75382 * rt/mq_getattr.c: Likewise.
75383 * rt/mq_notify.c: Likewise.
75384 * rt/mq_open.c: Likewise.
75385 * rt/mq_receive.c: Likewise.
75386 * rt/mq_send.c: Likewise.
75387 * rt/mq_setattr.c: Likewise.
75388 * rt/mq_timedreceive.c: Likewise.
75389 * rt/mq_timedsend.c: Likewise.
75390 * rt/mq_unlink.c: Likewise.
75391 * rt/shm_open.c: Likewise.
75392 * rt/shm_unlink.c: Likewise.
75393 * rt/timer_create.c: Likewise.
75394 * rt/timer_delete.c: Likewise.
75395 * rt/timer_getoverr.c: Likewise.
75396 * rt/timer_gettime.c: Likewise.
75397 * rt/timer_settime.c: Likewise.
75398 * setjmp/__longjmp.c: Likewise.
75399 * setjmp/setjmp.c: Likewise.
75400 * signal/kill.c: Likewise.
75401 * signal/killpg.c: Likewise.
75402 * signal/raise.c: Likewise.
75403 * signal/sigaction.c: Likewise.
75404 * signal/sigaltstack.c: Likewise.
75405 * signal/sigblock.c: Likewise.
75406 * signal/sigignore.c: Likewise.
75407 * signal/sigintr.c: Likewise.
75408 * signal/signal.c: Likewise.
75409 * signal/sigpause.c: Likewise.
75410 * signal/sigpending.c: Likewise.
75411 * signal/sigqueue.c: Likewise.
75412 * signal/sigreturn.c: Likewise.
75413 * signal/sigset.c: Likewise.
75414 * signal/sigsetmask.c: Likewise.
75415 * signal/sigstack.c: Likewise.
75416 * signal/sigsuspend.c: Likewise.
75417 * signal/sigtimedwait.c: Likewise.
75418 * signal/sigvec.c: Likewise.
75419 * signal/sigwait.c: Likewise.
75420 * signal/sigwaitinfo.c: Likewise.
75421 * signal/sysv_signal.c: Likewise.
75422 * socket/accept.c: Likewise.
75423 * socket/accept4.c: Likewise.
75424 * socket/bind.c: Likewise.
75425 * socket/connect.c: Likewise.
75426 * socket/getpeername.c: Likewise.
75427 * socket/getsockname.c: Likewise.
75428 * socket/getsockopt.c: Likewise.
75429 * socket/isfdtype.c: Likewise.
75430 * socket/listen.c: Likewise.
75431 * socket/recv.c: Likewise.
75432 * socket/recvfrom.c: Likewise.
75433 * socket/recvmsg.c: Likewise.
75434 * socket/send.c: Likewise.
75435 * socket/sendmsg.c: Likewise.
75436 * socket/sendto.c: Likewise.
75437 * socket/setsockopt.c: Likewise.
75438 * socket/shutdown.c: Likewise.
75439 * socket/sockatmark.c: Likewise.
75440 * socket/socket.c: Likewise.
75441 * socket/socketpair.c: Likewise.
75442 * stdio-common/ctermid.c: Likewise.
75443 * stdio-common/cuserid.c: Likewise.
75444 * stdio-common/remove.c: Likewise.
75445 * stdio-common/rename.c: Likewise.
75446 * stdio-common/renameat.c: Likewise.
75447 * stdio-common/tempname.c: Likewise.
75448 * stdlib/getcontext.c: Likewise.
75449 * stdlib/makecontext.c: Likewise.
75450 * stdlib/setcontext.c: Likewise.
75451 * stdlib/swapcontext.c: Likewise.
75452 * stdlib/system.c: Likewise.
75453 * streams/fattach.c: Likewise.
75454 * streams/fdetach.c: Likewise.
75455 * streams/getmsg.c: Likewise.
75456 * streams/getpmsg.c: Likewise.
75457 * streams/putmsg.c: Likewise.
75458 * streams/putpmsg.c: Likewise.
75459 * sysdeps/unix/bsd/getpt.c: Likewise.
75460 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75461 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75462 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75464 Likewise.
75465 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75466 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75467 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75468 * sysvipc/msgctl.c: Likewise.
75469 * sysvipc/msgget.c: Likewise.
75470 * sysvipc/msgrcv.c: Likewise.
75471 * sysvipc/msgsnd.c: Likewise.
75472 * sysvipc/semctl.c: Likewise.
75473 * sysvipc/semget.c: Likewise.
75474 * sysvipc/semop.c: Likewise.
75475 * sysvipc/semtimedop.c: Likewise.
75476 * sysvipc/shmat.c: Likewise.
75477 * sysvipc/shmctl.c: Likewise.
75478 * sysvipc/shmdt.c: Likewise.
75479 * sysvipc/shmget.c: Likewise.
75480 * termios/tcdrain.c: Likewise.
75481 * termios/tcflow.c: Likewise.
75482 * termios/tcflush.c: Likewise.
75483 * termios/tcgetattr.c: Likewise.
75484 * termios/tcgetpgrp.c: Likewise.
75485 * termios/tcsendbrk.c: Likewise.
75486 * termios/tcsetattr.c: Likewise.
75487 * termios/tcsetpgrp.c: Likewise.
75488 * time/adjtime.c: Likewise.
75489 * time/clock.c: Likewise.
75490 * time/getitimer.c: Likewise.
75491 * time/gettimeofday.c: Likewise.
75492 * time/setitimer.c: Likewise.
75493 * time/settimeofday.c: Likewise.
75494 * time/stime.c: Likewise.
75495 * time/time.c: Likewise.
75496
75497 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75498
75499 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75500 /usr/old/bin.
75501
75502 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75503 instead of spaces.
75504 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75505
75506 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75507
75508 [BZ #14796]
75509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75510 FE_TONEAREST before applying Dekker multiplication and Knuth
75511 addition. Clear inexact exceptions and check for exact zero
75512 results afterwards.
75513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75514 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75516 * math/libm-test.inc (fma_test): Add more tests.
75517 (fma_test_towardzero): Likewise.
75518 (fma_test_downward): Likewise.
75519 (fma_test_upward): Likewise.
75520 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75521 function.
75522 (libc_fesetround): New macro.
75523 (libc_fesetroundf): Likewise.
75524 (libc_fesetroundl): Likewise.
75525 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75526 function.
75527 (libc_fesetround_387): Likewise.
75528 (libc_fesetroundf): New macro.
75529 (libc_fesetround): Likewise.
75530 (libc_fesetroundl): Likewise.
75531 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75532 function.
75533 (libc_fesetroundf): New macro.
75534 (libc_fesetround): Likewise.
75535 (libc_fesetroundl): Likewise.
75536 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75537 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75538 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75539 libm_hidden_ver.
75540 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75541 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75542 libm_hidden_def.
75543 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75544 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75545 libm_hidden_ver.
75546 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75547 libm_hidden_def.
75548
75549 [BZ #3439]
75550 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75551 integer constant usable in #if and use that to give value to enum
75552 constant.
75553 (FE_DIVBYZERO): Likewise.
75554 (FE_UNDERFLOW): Likewise.
75555 (FE_OVERFLOW): Likewise.
75556 (FE_INVALID): Likewise.
75557 (FE_INVALID_SNAN): Likewise.
75558 (FE_INVALID_ISI): Likewise.
75559 (FE_INVALID_IDI): Likewise.
75560 (FE_INVALID_ZDZ): Likewise.
75561 (FE_INVALID_IMZ): Likewise.
75562 (FE_INVALID_COMPARE): Likewise.
75563 (FE_INVALID_SOFTWARE): Likewise.
75564 (FE_INVALID_SQRT): Likewise.
75565 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75566 (FE_TONEAREST): Likewise.
75567 (FE_TOWARDZERO): Likewise.
75568 (FE_UPWARD): Likewise.
75569 (FE_DOWNWARD): Likewise.
75570 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75571 (FE_DIVBYZERO): Likewise.
75572 (FE_OVERFLOW): Likewise.
75573 (FE_UNDERFLOW): Likewise.
75574 (FE_INEXACT): Likewise.
75575 (FE_TONEAREST): Likewise.
75576 (FE_DOWNWARD): Likewise.
75577 (FE_UPWARD): Likewise.
75578 (FE_TOWARDZERO): Likewise.
75579 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75580 (FE_UNDERFLOW): Likewise.
75581 (FE_OVERFLOW): Likewise.
75582 (FE_DIVBYZERO): Likewise.
75583 (FE_INVALID): Likewise.
75584 (FE_TONEAREST): Likewise.
75585 (FE_TOWARDZERO): Likewise.
75586 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75587 (FE_OVERFLOW): Likewise.
75588 (FE_UNDERFLOW): Likewise.
75589 (FE_DIVBYZERO): Likewise.
75590 (FE_INEXACT): Likewise.
75591 (FE_TONEAREST): Likewise.
75592 (FE_TOWARDZERO): Likewise.
75593 (FE_UPWARD): Likewise.
75594 (FE_DOWNWARD): Likewise.
75595 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75596 (FE_DIVBYZERO): Likewise.
75597 (FE_OVERFLOW): Likewise.
75598 (FE_UNDERFLOW): Likewise.
75599 (FE_INEXACT): Likewise.
75600 (FE_TONEAREST): Likewise.
75601 (FE_DOWNWARD): Likewise.
75602 (FE_UPWARD): Likewise.
75603 (FE_TOWARDZERO): Likewise.
75604
75605 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75606
75607 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75608
75609 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75610
75611 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75612 commands. Quote $PWD.
75613 (blacklist_exports): Don't use remove_newlines. Replace "declare
75614 -x" by "export".
75615 (remove_newlines): Remove.
75616
75617 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75618
75619 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75620 * stdlib/stdlib.h (atof): Moved to ...
75621 * include/bits/stdlib-float.h: Here. New file.
75622 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75623 * stdlib/bits/stdlib-float.h: New file.
75624 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75625 -mno-sse -mno-mmx.
75626 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75627 <xmmintrin.h>.
75628
75629 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75630
75631 * conform/conformtest.pl (@headers): Add fenv.h.
75632 * conform/data/fenv.h-data: New file.
75633 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75634 include of <math/fenv.h>.
75635
75636 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75637 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75638 && !UNIX98]. Enables tests for XOPEN2K8.
75639 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75640 POSIX2008]: Likewise.
75641
75642 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75643 (struct rusage): Do not expect type or its members.
75644
75645 [BZ #3439]
75646 * math/math.h (FP_NAN): Define macro to integer constant usable in
75647 #if and use that to give value to enum constant.
75648 (FP_INFINITE): Likewise.
75649 (FP_ZERO): Likewise.
75650 (FP_SUBNORMAL): Likewise.
75651 (FP_NORMAL): Likewise.
75652
75653 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75654
75655 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75656 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75657 arguments.
75658
75659 2012-11-02 Roland McGrath <roland@hack.frob.com>
75660
75661 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75662 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75663 autoconf-time if not.
75664 * configure.in: Remove AC_PREREQ.
75665
75666 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75667
75668 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75669 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75670 of the internal implementation.
75671
75672 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75673
75674 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75675 except include of <misc/sys/syslog.h>.
75676
75677 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75678
75679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75680 function returns with a NULL context exit with zero.
75681
75682 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75683
75684 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75685
75686 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75687
75688 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75689 (run_program_cmd): This.
75690 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75691 (tst_langinfo): New variable. Use it.
75692
75693 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75694
75695 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75696 floating point opcodes.
75697
75698 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75699
75700 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75701 variable.
75702
75703 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75704
75705 * sysdeps/mach/hurd/powerpc: Remove directory.
75706 * sysdeps/mach/powerpc: Likewise.
75707
75708 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75709
75710 * scripts/check-local-headers.sh: Ignore c++ headers.
75711
75712 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75713
75714 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75715 __libc_cleanup_region_start argument.
75716
75717 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75718
75719 [BZ #14784]
75720 [BZ #14785]
75721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75722 x * y using scaling, not as x * y + z.
75723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75725 * math/libm-test.inc (fma_test): Add more tests.
75726 (fma_test_towardzero): Likewise.
75727 (fma_test_downward): Likewise.
75728 (fma_test_upward): Likewise.
75729
75730 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75731
75732 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75733
75734 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75735
75736 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75737 New variable.
75738
75739 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75740
75741 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75742
75743 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75744
75745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75746 Fix sort order.
75747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75748 Likewise.
75749
75750 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75751
75752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75753 Fix the order of the list for glibc 2.17.
75754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75755 Likewise.
75756
75757 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75758
75759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75760
75761 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75762
75763 [BZ #14610]
75764 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75765 for low part of x being zero before using __atanl (y).
75766 * math/libm-test.inc (atan2_test): Add another test.
75767
75768 * manual/install.texi (Configuring and compiling): Document
75769 general use of test-wrapper and test-wrapper-env.
75770 * INSTALL: Regenerated.
75771
75772 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75773 (__fma): Do not extract and scale down low bits on after-rounding
75774 systems when result rounded to normal precision would have normal
75775 exponent.
75776 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75777 (__fmal): Do not extract and scale down low bits on after-rounding
75778 systems when result rounded to normal precision would have normal
75779 exponent.
75780 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75781 (__fmal): Do not extract and scale down low bits on after-rounding
75782 systems when result rounded to normal precision would have normal
75783 exponent.
75784 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75785 macro.
75786 (fma_test): Add more tests.
75787 (fma_test_towardzero): Likewise.
75788 (fma_test_downward): Likewise.
75789 (fma_test_upward): Likewise.
75790
75791 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75792
75793 * sysdeps/i386/tininess.h: Renamed to ...
75794 * sysdeps/x86/tininess.h: This.
75795 * sysdeps/x86_64/tininess.h: Removed.
75796
75797 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75798
75799 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75800 input. Use $(build-program-cmd).
75801 ($(objpfx)tst-array1-static.out): Likewise.
75802 ($(objpfx)tst-array2.out): Likewise.
75803 ($(objpfx)tst-array3.out): Likewise.
75804 ($(objpfx)tst-array4.out): Likewise.
75805 ($(objpfx)tst-array5.out): Likewise.
75806 ($(objpfx)tst-array5-static.out): Likewise.
75807
75808 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75809
75810 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75811 if defined.
75812
75813 * nss/nsswitch.h (nss_interface_function): Provide new
75814 macro for use with NSS functions.
75815 * grp/initgroups.c: Use new macro.
75816 * nss/getXXbyYY.c: Likewise.
75817 * nss/getXXbyYY_r.c: Likewise.
75818 * nss/getXXent.c: Likewise.
75819 * nss/getXXent_r.c: Likewise.
75820 * sysdeps/posix/getaddrinfo.c: Likewise.
75821
75822 2012-10-30 Andreas Jaeger <aj@suse.de>
75823
75824 * po/ru.po: Update Russion translation from translation project.
75825
75826 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75827
75828 [BZ #14152]
75829 [BZ #14783]
75830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75831 result and shift together with sticky bit instead of replicating
75832 round-to-nearest rounding.
75833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75835 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75836 missing underflow exceptions.
75837 (fma_test_towardzero): Add more tests.
75838 (fma_test_downward): Likewise.
75839 (fma_test_upward): Likewise.
75840
75841 [BZ #14047]
75842 * sysdeps/generic/tininess.h: New file.
75843 * sysdeps/i386/tininess.h: Likewise.
75844 * sysdeps/sh/tininess.h: Likewise.
75845 * sysdeps/x86_64/tininess.h: Likewise.
75846 * stdlib/tst-strtod-underflow.c: Likewise.
75847 * stdlib/tst-tininess.c: Likewise.
75848 * stdlib/strtod_l.c: Include <tininess.h>.
75849 (round_and_return): Do not set errno for exact underflow cases.
75850 Force an underflow exception when setting errno for underflow.
75851 Determine underflow based on rounding to normal precision if
75852 TININESS_AFTER_ROUNDING.
75853 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75854 ERANGE for exact underflow cases.
75855 * stdlib/Makefile (tests): Add tst-tininess and
75856 tst-strtod-underflow.
75857 ($(objpfx)tst-tininess): Use $(link-libm).
75858 ($(objpfx)tst-strtod-underflow): Likewise.
75859
75860 2012-10-30 Andreas Jaeger <aj@suse.de>
75861
75862 [BZ #14767]
75863 * elf/Makefile (tests): Remove conditional for have-initfini-array
75864 since this is now always required and the variable does not exist
75865 anymore.
75866 (tests-static): Likewise.
75867 (modules-names): Likewise.
75868
75869 * po/eo.po: Add Esperanto translation from translation project.
75870
75871 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75872 merged with constructor/destructor.
75873 (init_array): Likewise.
75874 * elf/tst-array2dep.c (fini_array): Likewise.
75875 (init_array): Likewise.
75876
75877 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75878
75879 * manual/message.texi: Delete @cartouche tags.
75880
75881 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75882
75883 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75884 EOPNOTSUPP.
75885 * sysdeps/mach/hurd/fsync.c: Likewise.
75886
75887 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75888 [_POSIX_REALTIME_SIGNALS]: Change condition to
75889 [_POSIX_REALTIME_SIGNALS > 0].
75890
75891 2012-10-27 Andreas Jaeger <aj@suse.de>
75892
75893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75894 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75896 [__WORDSIZE != 64]: Likewise.
75897
75898 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75899
75900 * iconvdata/tst-table.sh: Remove ${SHELL}.
75901 * iconvdata/tst-tables.sh: Likewise.
75902
75903 2012-10-25 David S. Miller <davem@davemloft.net>
75904
75905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75906 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75907 of strtoull.
75908
75909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75910 ifunc-impl-list.c
75911 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75912 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75913 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75914 file.
75915
75916 2012-10-25 Roland McGrath <roland@hack.frob.com>
75917
75918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75919 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75920 __getdirentries.
75921
75922 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75923 Jim Blandy <jimb@codesourcery.com>
75924
75925 * scripts/cross-test-ssh.sh: New file.
75926 * manual/install.texi (Configuring and compiling): Document use of
75927 cross-test-ssh.sh.
75928 * INSTALL: Regenerated.
75929
75930 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75931
75932 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75933 EOPNOTSUPP.
75934
75935 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75936
75937 * Makeconfig (run-program-prefix): Fix comment.
75938
75939 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75940 Jim Blandy <jimb@codesourcery.com>
75941
75942 * Makeconfig (test-wrapper): New variable,
75943 (test-wrapper-env): Likewise.
75944 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75945 (run-built-tests): Define to yes.
75946 (run-program-prefix): Use $(test-wrapper).
75947 (built-program-cmd): Likewise.
75948 * Rules (make-test-out): Use $(test-wrapper-env) and
75949 $(host-built-program-cmd).
75950 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75951 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75952 tst-pathopt.sh.
75953 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75954 $(test-wrapper-env) to tst-rtld-load-self.sh.
75955 ($(objpfx)order2.out): Use $(test-wrapper).
75956 ($(objpfx)tst-initorder.out): Likewise.
75957 ($(objpfx)tst-initorder2.out): Likewise.
75958 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75959 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75960 (test_wrapper_env): New variable. Use it to run ld.so.
75961 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75962 Use it to run ld.so.
75963 (test_wrapper_env): Likewise.
75964 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75965 $(test-wrapper) to run-iconv-test.sh.
75966 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75967 (ICONV): Use $test_wrapper.
75968 * posix/Makefile ($(objpfx)globtest.out): Pass
75969 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75970 globtest.sh, not $(run-program-prefix).
75971 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75972 (test_wrapper): Likewise.
75973 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75974 set together with run_via_rtld_prefix.
75975 (run_program_prefix): Define in terms of test_wrapper and
75976 run_via_rtld_prefix.
75977
75978 2012-10-24 Roland McGrath <roland@hack.frob.com>
75979
75980 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75981 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75982 Targets removed.
75983
75984 [BZ #14743]
75985 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75986 Declare __clock_getres, __clock_gettime, __clock_settime,
75987 __clock_nanosleep, and __clock_getcpuclockid.
75988 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75989 Remove librt_hidden_def (clock_gettime).
75990 * sysdeps/unix/clock_gettime.c: Likewise.
75991 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75992 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75993 * rt/clock_getres.c: Define __clock_getres as an alias.
75994 * sysdeps/posix/clock_getres.c: Likewise.
75995 * rt/clock_settime.c: Define __clock_settime as an alias.
75996 * sysdeps/unix/clock_settime.c: Likewise.
75997 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75998 * sysdeps/unix/clock_nanosleep.c: Likewise.
75999 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
76000 * rt/clock-compat.c: New file.
76001 * rt/Makefile (librt-routines): Add clock-compat and move
76002 $(clock-routines) to ...
76003 (routines): ... here, new variable.
76004 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
76005 Don't add get_clockfreq here.
76006 * rt/Versions (libc: GLIBC_2.17): New version set.
76007 Add clock_* symbols here.
76008 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
76009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
76010 (GLIBC_2.17): Add clock_* symbols.
76011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76015 Likewise.
76016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76017 Likewise.
76018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76022 * NEWS: Mention the move.
76023
76024 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
76025 Use __open, __read, __close rather than their public counterparts.
76026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76027 (__get_clockfreq_via_cpuinfo): Likewise.
76028 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
76029 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
76030
76031 * config.h.in (HAVE_IFUNC): New #undef.
76032 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
76033 was successful.
76034 * configure: Regenerated.
76035
76036 2012-10-24 Mike Frysinger <vapier@gentoo.org>
76037
76038 * configure.in: Move READELF check to start of file.
76039 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
76040 libc_cv_asm_gnu_indirect_function in the process.
76041 * configure: Regenerated.
76042
76043 2012-10-24 Mike Frysinger <vapier@gentoo.org>
76044
76045 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
76046 send the output to /dev/null.
76047 (libc_cv_cc_with_libunwind): Likewise.
76048 (libc_cv_as_noexecstack): Likewise.
76049 * configure: Regenerate.
76050
76051 2012-10-24 Joseph Myers <joseph@codesourcery.com>
76052
76053 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
76054
76055 * posix/globtest.sh (TMPDIR): Do not set.
76056 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
76057 (testout): Likewise.
76058
76059 2012-10-24 Andreas Jaeger <aj@suse.de>
76060
76061 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
76062 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
76063 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
76064 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
76065 posix_fadvise64, posix_fallocate64.
76066
76067 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
76068 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
76069 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
76070 Likewise.
76071 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
76072 Likewise.
76073 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
76074
76075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
76076 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
76077 <bits/fcntl-linux.h>.
76078 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
76079
76080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
76081 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
76082 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
76083 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
76084 [__WORDSIZE != 64]: Likewise.
76085
76086 2012-10-23 Joseph Myers <joseph@codesourcery.com>
76087
76088 * Makeconfig (run-built-tests): New variable.
76089 * Rules [$(cross-compiling) = yes]: Change condition to
76090 [$(run-built-tests) = no].
76091 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
76092 to [$(run-built-tests) = yes].
76093 * elf/Makefile [$(cross-compiling) = no]: Likewise.
76094 * grp/Makefile [$(cross-compiling) = no]: Likewise.
76095 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
76096 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
76097 * intl/Makefile [$(cross-compiling) = no]: Likewise.
76098 * io/Makefile [$(cross-compiling) = no]: Likewise.
76099 * libio/Makefile [$(cross-compiling) = no]: Likewise.
76100 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
76101 * misc/Makefile [$(cross-compiling) = no]: Likewise.
76102 * posix/Makefile [$(cross-compiling) = no]: Likewise.
76103 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
76104 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
76105 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
76106 * string/Makefile [$(cross-compiling) = no]: Likewise.
76107
76108 * posix/Makefile ($(objpfx)globtest.out): Pass
76109 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
76110 $(rtld-installed-name).
76111 * posix/globtest.sh (elf_objpfx): Remove variable.
76112 (rtld_installed_name): Likewise.
76113 (library_path): Likewise.
76114 (run_program_prefix): New variable. Use for running globtest
76115 binary.
76116
76117 2012-10-23 Jim Blandy <jimb@codesourcery.com>
76118 Joseph Myers <joseph@codesourcery.com>
76119
76120 * Makeconfig (host-built-program-cmd): New variable.
76121 * elf/Makefile (tst-stackguard1-ARGS): Use
76122 $(host-built-program-cmd).
76123 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
76124 (tst-spawn-ARGS): Likewise.
76125 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
76126
76127 2012-10-23 Joseph Myers <joseph@codesourcery.com>
76128 Jim Blandy <jimb@codesourcery.com>
76129
76130 * Makeconfig (run-via-rtld-prefix): New variable.
76131 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
76132 (built-program-cmd): Likewise.
76133
76134 2012-10-22 Andreas Jaeger <aj@suse.de>
76135
76136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
76137 __O_RSYNC if it exists, otherwise to O_SYNC.
76138
76139 2012-10-22 Jim Blandy <jimb@codesourcery.com>
76140 Joseph Myers <joseph@codesourcery.com>
76141
76142 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
76143 /dev/null.
76144 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
76145 from /dev/null
76146 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
76147 /dev/null.
76148
76149 2012-10-22 Andreas Jaeger <aj@suse.de>
76150
76151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76152 Define always.
76153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76154
76155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76156 bits/fcntl-linux.h.
76157
76158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76159 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76160
76161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76162 to __O_LARGEFILE.
76163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76164 to __O_LARGEFILE.
76165
76166 2012-10-21 Jim Blandy <jimb@codesourcery.com>
76167 Joseph Myers <joseph@codesourcery.com>
76168
76169 * config.make.in (NM): New variable.
76170
76171 2012-10-21 Andreas Jaeger <aj@suse.de>
76172
76173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76174 definitions and declarations that are provided by
76175 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76176
76177 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76178
76179 [BZ #14683]
76180 * elf/Makefile (tests-static): Add tst-leaks1-static.
76181 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76182 ($(objpfx)tst-leaks1-static): New rule.
76183 ($(objpfx)tst-leaks1-static-mem): Likewise.
76184 (tst-leaks1-static-ENV): New macro.
76185 * elf/dl-open.c (dl_open_worker): Check the main application
76186 only if SHARED is defined.
76187 * elf/tst-leaks1-static.c: New file.
76188
76189 2012-10-20 Andreas Jaeger <aj@suse.de>
76190
76191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76192 generic values for Linux.
76193 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76194 and declarations that are provided by <bits/fcntl-linux.h> and
76195 include <bits/fcntl-linux.h>.
76196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76198
76199 2012-10-20 Roland McGrath <roland@hack.frob.com>
76200
76201 * io/fcntl.h: Move include of <bits/types.h> to the top and
76202 include it unconditionally.
76203
76204 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76205
76206 * wcsmbs/Makefile (tests-ifunc): New variable.
76207 (tests): Add $(tests-ifunc).
76208 * wcsmbs/test-wcschr-ifunc.c: New file.
76209 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76210 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76211 * wcsmbs/test-wcslen-ifunc.c: Likewise.
76212 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76213 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76214
76215 * string/Makefile (tests-ifunc): New variable.
76216 (tests): Add $(tests-ifunc).
76217 * string/test-memccpy.c (TEST_NAME): New macro.
76218 * string/test-memchr.c (TEST_NAME): Likewise.
76219 * string/test-memcmp.c (TEST_NAME): Likewise.
76220 * string/test-memcpy.c (TEST_NAME): Likewise.
76221 * string/test-memmem.c (TEST_NAME): Likewise.
76222 * string/test-memmove.c (TEST_NAME): Likewise.
76223 * string/test-memset.c (TEST_NAME): Likewise.
76224 * string/test-rawmemchr.c (TEST_NAME): Likewise.
76225 * string/test-stpcpy.c (TEST_NAME): Likewise.
76226 * string/test-stpncpy.c (TEST_NAME): Likewise.
76227 * string/test-strcasecmp.c (TEST_NAME): Likewise.
76228 * string/test-strcasestr.c (TEST_NAME): Likewise.
76229 * string/test-strcat.c (TEST_NAME): Likewise.
76230 * string/test-strchr.c (TEST_NAME): Likewise.
76231 * string/test-strcmp.c(TEST_NAME): Likewise.
76232 * string/test-strcpy.c (TEST_NAME): Likewise.
76233 * string/test-strcspn.c (TEST_NAME): Likewise.
76234 * string/test-strlen.c (TEST_NAME): Likewise.
76235 * string/test-strncasecmp.c (TEST_NAME): Likewise.
76236 * string/test-strncmp.c (TEST_NAME): Likewise.
76237 * string/test-strncpy.c (TEST_NAME): Likewise.
76238 * string/test-strnlen.c (TEST_NAME): Likewise.
76239 * string/test-strpbrk.c (TEST_NAME): Likewise.
76240 * string/test-strrchr.c (TEST_NAME): Likewise.
76241 * string/test-strspn.c (TEST_NAME): Likewise.
76242 * string/test-strstr.c (TEST_NAME): Likewise.
76243 * string/test-bcopy-ifunc.c: New file.
76244 * string/test-bzero-ifunc.c: Likewise.
76245 * string/test-memccpy-ifunc.c: Likewise.
76246 * string/test-memchr-ifunc.c: Likewise.
76247 * string/test-memcmp-ifunc.c: Likewise.
76248 * string/test-memcpy-ifunc.c: Likewise.
76249 * string/test-memmem-ifunc.c: Likewise.
76250 * string/test-memmove-ifunc.c: Likewise.
76251 * string/test-mempcpy-ifunc.c: Likewise.
76252 * string/test-memset-ifunc.c: Likewise.
76253 * string/test-rawmemchr-ifunc.c: Likewise.
76254 * string/test-stpcpy-ifunc.c: Likewise.
76255 * string/test-stpncpy-ifunc.c: Likewise.
76256 * string/test-strcasecmp-ifunc.c: Likewise.
76257 * string/test-strcasestr-ifunc.c: Likewise.
76258 * string/test-strcat-ifunc.c: Likewise.
76259 * string/test-strchr-ifunc.c: Likewise.
76260 * string/test-strchrnul-ifunc.c: Likewise.
76261 * string/test-strcmp-ifunc.c: Likewise.
76262 * string/test-strcpy-ifunc.c: Likewise.
76263 * string/test-strcspn-ifunc.c: Likewise.
76264 * string/test-strlen-ifunc.c: Likewise.
76265 * string/test-strncasecmp-ifunc.c: Likewise.
76266 * string/test-strncat-ifunc.c: Likewise.
76267 * string/test-strncmp-ifunc.c: Likewise.
76268 * string/test-strncpy-ifunc.c: Likewise.
76269 * string/test-strnlen-ifunc.c: Likewise.
76270 * string/test-strpbrk-ifunc.c: Likewise.
76271 * string/test-strrchr-ifunc.c: Likewise.
76272 * string/test-strspn-ifunc.c: Likewise.
76273 * string/test-strstr-ifunc.c: Likewise.
76274
76275 * debug/Makefile (tests-ifunc): New variable.
76276 (tests): Add $(tests-ifunc).
76277 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76278 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76279 * debug/test-stpcpy_chk-ifunc.c: New file.
76280 * debug/test-strcpy_chk-ifunc.c: Likewise.
76281
76282 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
76283
76284 [BZ #13601]
76285 * elf/dl-load.c (open_verify): Retry read if the entire ELF
76286 header is not read in.
76287
76288 2012-10-19 Joseph Myers <joseph@codesourcery.com>
76289
76290 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
76291 script to $(SHELL) as $<. Pass $(common-objpfx) to script
76292 directly. Pass built executable to script as
76293 $(built-program-cmd).
76294 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
76295 $testprogram without using LD_LIBRARY_PATH and $ldso.
76296
76297 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76298 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76299 $(rtld-installed-name).
76300 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76301 (rtld_installed_name): Likewise.
76302 (library_path): Likewise.
76303 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
76304 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76305 $(run-program-prefix) to tst-tables.sh.
76306 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
76307 it to run tst-table-from and tst-table-to.
76308 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76309 Pass it to tst-table.sh.
76310 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76311 $(run-program-prefix) to tst-gettext.sh.
76312 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76313 tst-translit.sh.
76314 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76315 tst-gettext2.sh.
76316 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
76317 to run tst-gettext.
76318 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
76319 to run tst-gettext2.
76320 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
76321 to run tst-translit.
76322 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76323 $(run-program-prefix) to tst-mtrace.sh.
76324 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
76325 to run tst-mtrace.
76326 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76327 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76328 $(rtld-installed-name).
76329 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76330 (rtld_installed_name): Likewise.
76331 (run_program_prefix): New variable. Use it to run wordexp-test.
76332
76333 * Makeconfig (ARCH): Remove all definitions.
76334 (machine): Likewise.
76335 [ARCH]: Remove conditional code.
76336 [!objdir]: Give error.
76337 [!objdir] (objpfx): Remove.
76338 [!objdir] (common-objpfx): Likewise.
76339 [!objdir] (common-objdir): Likewise.
76340 * configure.in (config_makefile): Remove. Hardcode Makefile in
76341 AC_CONFIG_FILES call.
76342 * configure: Regenerated.
76343
76344 [BZ #13888]
76345 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76346 or TMPDIR.
76347 (testout): Likewise.
76348
76349 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76350 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76351 $(rtld-installed-name).
76352 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76353 (rtld_installed_name): Likewise.
76354 (runit): Remove function.
76355 (run_getconf): New variable, Use it for running getconf binary.
76356
76357 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
76358
76359 [BZ #14716]
76360 * string/test-memmem.c (check_result): New function.
76361 (do_one_test): Use it.
76362 (check1): New function.
76363 (test_main): Use it.
76364
76365 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76366
76367 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76368
76369 2012-10-18 Joseph Myers <joseph@codesourcery.com>
76370
76371 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76372 (_G_LSEEK64): Likewise.
76373 (_G_MMAP64): Likewise.
76374 (_G_FSTAT64): Likewise.
76375 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76376 (_G_LSEEK64): Likewise.
76377 (_G_MMAP64): Likewise.
76378 (_G_FSTAT64): Likewise.
76379 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76380 unconditional. Call __mmap64 directly.
76381 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76382 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76383 __lseek64 directly.
76384 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76385 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76386 __mmap64 directly.
76387 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76388 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76389 __lseek64 directly.
76390 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76391 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76392 __lseek64 directly.
76393 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76394 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76395 __lseek64 directly.
76396 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76397 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76398 __fxstat64 directly.
76399 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76400 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76401 unconditional.
76402 (freopen64) [!_G_OPEN64]: Remove conditional code.
76403 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76404 unconditional.
76405 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76406 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76407 unconditional.
76408 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76409 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76410 unconditional.
76411 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76412 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76413 unconditional.
76414 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76415 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76416 unconditional.
76417 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76418 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76419 unconditional.
76420 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76421 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76422 unconditional.
76423 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76424
76425 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76426
76427 [BZ #12140]
76428 * manual/memory.texi (Malloc Tunable Parameters): Add note
76429 about free list pointers overwriting some perturb bytes.
76430 Wording suggested by Roland McGrath.
76431
76432 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76433
76434 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76435 (lgamma_test): Likewise.
76436 (tgamma_test): Likewise.
76437
76438 2012-10-16 Florian Weimer <fweimer@redhat.com>
76439
76440 [BZ #14700]
76441 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76442 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76443
76444 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76445
76446 * NEWS: Mention BZ #14716.
76447 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76448 when removing AVAILABLE1_USES_J macro.
76449
76450 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76451
76452 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76453 (__bswap_64): __uint64_t for unsigned 64-bit int.
76454
76455 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76456
76457 * include/string.h (memmem): Declare libc hidden alias.
76458 * string/memmem.c (memmem): Define libc hidden alias.
76459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76460 __read, __close instead of open, read, close.
76461
76462 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76463
76464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76465 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76466 global and hidden.
76467 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76468 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76469 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76470 Likewise.
76471 (__rawmemchr_sse2): Likewise.
76472 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76473 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76474 (__strchr_sse2): Likewise.
76475 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76476 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76477 (__strcasecmp_sse2): Likewise.
76478 (__strncasecmp_sse2): Likewise.
76479 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76480 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76481 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76482 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76483 (__strrchr_sse2): Likewise.
76484 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76485 ifunc-impl-list.c.
76486 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76487 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76488 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76489 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76490 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76491 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76492 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76493 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76494 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76495 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76496 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76497 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76498 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76499 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76500 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76501 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76502 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76503 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76504 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76505 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76506 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76507 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76508 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76509 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76510 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76511 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76512 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76513 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76514 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76515 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76516
76517 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76518 global and hidden.
76519 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76520 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76521 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76522 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76523 Likewise.
76524 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76525 Likewise.
76526 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76527 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76528 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76529 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76530 ifunc-impl-list.c.
76531 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76532 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76533 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76540 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76544 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76545 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76548 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76549 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76550 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76551 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76552 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76553 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76554 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76556 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76557 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76558 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76559 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76560 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76561 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76562 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76563 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76564 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76565 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76566 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76567 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76568 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76569 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76570 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76571 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76572
76573 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76574 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76575 * include/ifunc-impl-list.h: New file.
76576 * misc/ifunc-impl-list.c: Likewise.
76577 * misc/Makefile (routines): Add ifunc-impl-list.
76578 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76579 * string/test-string.h: Include <ifunc-impl-list.h>.
76580 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76581 TEST_NAME]: New variables.
76582 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76583 are defined.
76584 (test_init): Call __libc_ifunc_impl_list to initialize
76585 func_list if TEST_IFUNC and TEST_NAME are defined.
76586
76587 * string/Makefile (strop-tests): Add bcopy and bzero.
76588 * string/test-bcopy.c: New file.
76589 * string/test-bzero.c: Likewise.
76590 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76591 defined.
76592 * string/test-memset.c: Support bzero test if TEST_BZERO is
76593 defined.
76594 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76595 __libc_memmove.
76596 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76597 __libc_memset.
76598 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76599 of memset.
76600
76601 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76602
76603 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76604 * configure: Regenerated.
76605
76606 * Makeconfig (+link-static-before-libc): Don't include
76607 $(link-static-libc).
76608
76609 * libio/libio.h (_IO_pos_t): Remove.
76610
76611 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76612
76613 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76614 McGrath.
76615
76616 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76617
76618 * crypt/crypt-entry.c: Include fips-private.h.
76619 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76620 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76621 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76622 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76623
76624 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76625
76626 * crypt/crypt-private.h: Include stdbool.h.
76627 (_ufc_setup_salt_r): Return bool.
76628 * crypt/crypt-entry.c: Include errno.h.
76629 (__crypt_r): Return NULL with EINVAL for bad salt.
76630 * crypt/crypt_util.c (bad_for_salt): New.
76631 (_ufc_setup_salt_r): Check that salt is long enough and within
76632 the specified alphabet.
76633 * crypt/badsalttest.c: New file.
76634 * crypt/Makefile (tests): Add it.
76635 ($(objpfx)badsalttest): New.
76636
76637 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76638
76639 * NEWS: Add entry for BZ #14602.
76640
76641 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76642
76643 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76644 type-generic.
76645 * math/libm-test.inc: Update comment listing what functions and
76646 macros are tested.
76647 (isgreater_test): New function.
76648 (isgreaterequal_test): Likewise.
76649 (isless_test): Likewise.
76650 (islessequal_test): Likewise.
76651 (islessgreater_test): Likewise.
76652 (isunordered_test): Likewise.
76653 (main): Call the new functions.
76654
76655 2012-10-09 Roland McGrath <roland@hack.frob.com>
76656
76657 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76658 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76659 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76660 * sysdeps/i386/configure: Regenerated.
76661 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76662 * sysdeps/mach/configure: Regenerated.
76663 * sysdeps/mach/hurd/configure: Regenerated.
76664 * sysdeps/powerpc/configure: Regenerated.
76665 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76666 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76667 * sysdeps/s390/s390-32/configure: Regenerated.
76668 * sysdeps/s390/s390-64/configure: Regenerated.
76669 * sysdeps/sh/configure: Regenerated.
76670 * sysdeps/sparc/configure: Regenerated.
76671 * sysdeps/unix/sysv/linux/configure: Regenerated.
76672 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76673 * sysdeps/x86_64/configure: Regenerated.
76674
76675 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76676 defined. Don't check if MAP is NULL.
76677
76678 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76679
76680 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76681 (_G_stat64): Likewise.
76682 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76683 (_G_stat64): Likewise.
76684 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76685 instead of struct _G_stat64.
76686 * libio/fileops.c (mmap_remap_check): Likewise.
76687 (decide_maybe_mmap): Likewise.
76688 (_IO_new_file_seekoff): Likewise.
76689 (_IO_file_stat): Likewise.
76690 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76691 _G_off64_t.
76692 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76693 instead of struct _G_stat64.
76694 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76695
76696 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76697
76698 [BZ #14602]
76699 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76700 Replace with ...
76701 (CHECK_EOL): New macro.
76702 (two_way_short_needle): Check beginning of haystack for EOL. Use
76703 CHECK_EOL.
76704 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76705 Replace with CHECK_EOL.
76706 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76707 Replace with CHECK_EOL.
76708
76709 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76710
76711 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76712 type-generic.
76713 * math/libm-test.inc: Update comment listing what functions and
76714 macros are tested.
76715 (finite_test): New function.
76716 (isinf_test): Likewise.
76717 (isnan_test): Likewise.
76718 (fpclassify_test): Test subnormal input.
76719 (isfinite_test): Likewise.
76720 (isnormal_test): Likewise.
76721 (main): Call the new functions.
76722
76723 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76724
76725 [BZ #14660]
76726 * Makerules (%.dynsym): Force C locale when running
76727 $(OBJDUMP) --dynamic-syms.
76728
76729 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76730
76731 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76732 <stdint.h>.
76733
76734 2012-10-06 David S. Miller <davem@davemloft.net>
76735
76736 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76737 upper 32-bits of the length value in %o2 since we use branch-on-register
76738 tests which consider the entire 64-bit register.
76739
76740 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76741
76742 * string/test-strstr.c (check2): Add a test for page boundary.
76743
76744 2012-10-05 David S. Miller <davem@davemloft.net>
76745
76746 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76747 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76748 file.
76749 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76750 sysdep_routines.
76751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76752 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76753 and bzero when HWCAP_SPARC_CRYPTO is present.
76754
76755 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76756
76757 [BZ #14602]
76758 * string/test-strstr.c (check2): New function.
76759 (test_main): Call check2.
76760
76761 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76762 and bug-strchr1.
76763 * string/bug-strcasestr1.c (do_test): Moved to ...
76764 * string/test-strcasestr.c (check1): Here. New function.
76765 (do_one_test): Break out result checking code into ...
76766 (check_result): This. New function.
76767 (do_one_test): Call check_result.
76768 (test_main): Call check1.
76769 * string/bug-strchr1.c (do_test): Moved to ...
76770 * string/test-strchr.c (check1): Here. New function.
76771 (do_one_test): Break out result checking code into ...
76772 (check_result): This. New function.
76773 (do_one_test): Call check_result.
76774 (test_main): Call check1.
76775 * string/bug-strstr1.c (main): Moved to ...
76776 * string/test-strstr.c (check1): Here. New function.
76777 (do_one_test): Break out result checking code into ...
76778 (check_result): This. New function.
76779 (do_one_test): Call check_result.
76780 (test_main): Call check1.
76781 * string/bug-strcasestr1.c: Removed.
76782 * string/bug-strchr1.c: Likewise.
76783 * string/bug-strstr1.c: Likewise.
76784
76785 * elf/Makefile (dl-routines): Add hwcaps.
76786 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76787 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76788 (_dl_important_hwcaps): Moved to ...
76789 * elf/dl-hwcaps.c: Here. New file.
76790 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76791
76792 [BZ #14557]
76793 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76794 if IS_IN_rtld isn't defined.
76795
76796 * elf/dl-support.c (_dl_sysinfo_map): New.
76797 Include "get-dynamic-info.h" and "setup-vdso.h".
76798 (_dl_non_dynamic_init): Call setup_vdso.
76799 * elf/dynamic-link.h: Don't include <assert.h>.
76800 (elf_get_dynamic_info): Moved to ...
76801 * elf/get-dynamic-info.h: Here. New file.
76802 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76803 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76804 * elf/setup-vdso.h: Here. New file.
76805 * elf/rtld.c: Include "setup-vdso.h".
76806 (dl_main): Call setup_vdso.
76807
76808 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76809
76810 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76811 creal in comment listing functions tested. List finite, isinf,
76812 isnan, isless, islessequal, isgreater, isgreaterequal,
76813 islessgreater, isunordered, lgamma_r and pow10 as functions and
76814 macros not tested. Mention which functions not tested are aliases
76815 for other functions. Fix typo. Note that signs of NaNs are not
76816 tested.
76817
76818 * scripts/config.guess: Update from config.git.
76819 * scripts/config.sub: Likewise.
76820
76821 2012-10-04 Roland McGrath <roland@hack.frob.com>
76822
76823 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76824 * misc/madvise.c (madvise): Renamed to __madvise.
76825 Make madvise a weak alias.
76826 * include/sys/mman.h: Declare __madvise.
76827 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76828 * sysdeps/unix/syscalls.list
76829 (madvise): Make __madvise the strong name, and madvise a weak alias.
76830 * sysdeps/unix/sysv/linux/syscalls.list
76831 (madvise, mmap): Remove redundant entries.
76832 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76833 * malloc/malloc.c (mtrim): Likewise.
76834 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76835
76836 2012-10-03 Roland McGrath <roland@hack.frob.com>
76837
76838 * sysdeps/mach/hurd/dl-cache.c: File removed.
76839 * config.h.in (USE_LDCONFIG): New #undef.
76840 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76841 * configure: Regenerated.
76842 * elf/Makefile (dl-routines): Add dl-cache only under
76843 [$(use-ldconfig) = yes].
76844 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76845 cache on [USE_LDCONFIG].
76846 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76847 [USE_LDCONFIG].
76848 * elf/rtld.c (dl_main): Likewise.
76849
76850 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76851
76852 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76853 _SC_LEVEL4_CACHE_LINESIZE.
76854
76855 2012-10-03 Roland McGrath <roland@hack.frob.com>
76856
76857 * sysdeps/unix/bsd/confstr.h: File removed.
76858
76859 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76860
76861 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76862 sys/sdt-config.h.
76863
76864 2012-10-02 Roland McGrath <roland@hack.frob.com>
76865
76866 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76867 Make 'mapoff' field ElfW(Off) rather than off_t.
76868
76869 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76870
76871 * nscd/Makefile: Remove nscd-cflags and all its users.
76872 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76873 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76874
76875 [BZ #10631]
76876 * malloc.c (malloc_printerr): Clarify error message.
76877
76878 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76879
76880 [BZ #14648]
76881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76882 Set bit_FMA_Usable if FMA is supported.
76883 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76884 macro.
76885 (bit_FMA4_Usable): Updated.
76886 (index_FMA_Usable): New macro.
76887 (CPUID_FMA): Likewise.
76888 (HAS_FMA): Defined with bit_FMA_Usable.
76889
76890 2012-10-01 Roland McGrath <roland@hack.frob.com>
76891
76892 * bits/types.h (__swblk_t): Type removed.
76893 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76894 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76896 (__SWBLK_T_TYPE): Likewise.
76897 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76898 (__SWBLK_T_TYPE): Likewise.
76899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76900 (__SWBLK_T_TYPE): Likewise.
76901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76902 (__SWBLK_T_TYPE): Likewise.
76903
76904 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76905 Honza Horak <hhorak@redhat.com>
76906
76907 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76908 (xdr_mapname): Use YPMAXMAP as maxsize.
76909 (xdr_peername): Use YPMAXPEER as maxsize.
76910 (xdr_keydat): Use YPAXRECORD as maxsize.
76911 (xdr_valdat): Use YPMAXRECORD as maxsize.
76912
76913 2012-10-01 Roland McGrath <roland@hack.frob.com>
76914
76915 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76916
76917 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76918 * csu/init-first.c: ... here.
76919 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76920 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76921 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76922 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76923 * sysdeps/i386/init-first.c: File removed.
76924 * sysdeps/sh/init-first.c: File removed.
76925
76926 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76927
76928 [BZ #14645]
76929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76930 if x * y might underflow to zero and z is zero.
76931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76933 * math/libm-test.inc (min_subnorm_value): New variable.
76934 (fma_test): Add more tests.
76935 (fma_test_towardzero): Likewise.
76936 (fma_test_downward): Likewise.
76937 (fma_test_upward): Likewise.
76938 (initialize): Set min_subnorm_value.
76939
76940 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76941
76942 [BZ #14638]
76943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76944 0 + 0.
76945 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76946 mode for addition resulting in exact zero.
76947 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76949 exact 0 + 0.
76950 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76952 * math/libm-test.inc (fma_test): Add more tests.
76953 (fma_test_towardzero): New function.
76954 (fma_test_downward): Likewise.
76955 (fma_test_upward): Likewise.
76956 (main): Call the new functions.
76957
76958 2012-09-28 David S. Miller <davem@davemloft.net>
76959
76960 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76961
76962 2012-09-28 Roland McGrath <roland@hack.frob.com>
76963
76964 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76965 instead of SIGALRM.
76966
76967 * sysdeps/gnu/_G_config.h: Moved to ...
76968 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76969 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76970 * sysdeps/generic/_G_config.h: ... here.
76971
76972 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76973
76974 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76975
76976 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76977 Conditionalize target on [libnss_test1.so-version].
76978
76979 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76980
76981 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76982 (elfobjdir): Move out of conditionals.
76983
76984 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76985 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76986 (__nss_lookup_function): Conditionalize label remove_from_tree on
76987 [!DO_STATIC_NSS || SHARED], matching its only use.
76988
76989 2012-09-28 David S. Miller <davem@davemloft.net>
76990
76991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76992 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76993 file.
76994 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76995 sysdep_routines.
76996 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76998 when HWCAP_SPARC_CRYPTO is present.
76999
77000 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
77001
77002 * io/tst-mknodat.c: Create a FIFO instead of a socket.
77003
77004 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
77005
77006 [BZ #6530]
77007 * stdio-common/vfprintf.c (process_string_arg): Revert
77008 2000-07-22 change.
77009
77010 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
77011
77012 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
77013 for testcase.
77014 * stdio-common/tst-sprintf.c: Include <locale.h>
77015 (main): Test sprintf's handling of incomplete multibyte
77016 characters.
77017
77018 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
77019
77020 * elf/dl-runtime.c (VERSYMIDX): Removed.
77021 * elf/dl-version.c (VERSYMIDX): Likewise.
77022 * elf/do-rel.h (VERSYMIDX): Likewise.
77023 (VALIDX): Likewise.
77024 * elf/dynamic-link.h (VERSYMIDX): Likewise.
77025 * elf/rtld.c (VALIDX): Likewise.
77026 (ADDRIDX): Likewise.
77027 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
77028 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
77029 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
77030 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
77031 (VALIDX): Likewise.
77032 (ADDRIDX): Likewise.
77033
77034 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
77035
77036 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
77037
77038 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
77039
77040 [BZ #11438]
77041 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
77042 to global scope.
77043 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
77044 addresses are in the same scope as 192.0.2/24.
77045 * posix/gai.conf: Document new scope table defaults.
77046
77047 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
77048
77049 [BZ #5298]
77050 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
77051 for ftell. Compute offsets from write pointers instead.
77052 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
77053
77054 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
77055
77056 [BZ #14543]
77057 * libio/Makefile (tests): New test case tst-fseek.
77058 * libio/tst-fseek.c: New test case to verify that fseek/ftell
77059 combination works in wide mode.
77060 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
77061 state when the external buffer state changes.
77062
77063 2012-09-27 David S. Miller <davem@davemloft.net>
77064
77065 [BZ #14376]
77066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
77067 pass reloc->r_addend in as the 'high' argument to
77068 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
77069
77070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77071
77072 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
77073
77074 * rt/tst-aio2.c: Include <pthread.h>.
77075 * rt/tst-aio3.c: Likewise.
77076
77077 2012-09-27 Steve Ellcey <sellcey@mips.com>
77078
77079 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
77080
77081 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
77082
77083 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
77084 contents on [SHARED].
77085
77086 2012-09-26 Marek Polacek <polacek@redhat.com>
77087
77088 [BZ #14530]
77089 [BZ #13741]
77090 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
77091 for C++ and GCC <4.3 as well as for non GCC compilers.
77092
77093 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
77094
77095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77096
77097 2012-09-25 Roland McGrath <roland@hack.frob.com>
77098
77099 * Makefile.in (all, install): Declare with .PHONY.
77100 Reported by Michael Hope <michael.hope@linaro.org>.
77101
77102 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77103
77104 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
77105 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
77106 system header.
77107 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
77108 Likewise.
77109 (sydep_routines): Add the new and the internal functions.
77110 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
77111 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
77112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
77113 (GLIBC_2.17): Add the new function.
77114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77115 (GLIBC_2.17): Likewise.
77116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
77117 (GLIBC_2.17): Likewise.
77118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
77119 (GLIBC_2.17): Likewise.
77120 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
77121
77122 2012-09-25 Alan Modra <amodra@gmail.com>
77123
77124 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
77125 Add release barrier before setting once_control to say
77126 initialisation is done. Add hints on lwarx. Use macro in
77127 place of isync.
77128 (clear_once_control): Add release barrier.
77129
77130 2012-09-25 Joseph Myers <joseph@codesourcery.com>
77131
77132 [BZ #13629]
77133 * math/s_clog.c (__clog): Handle more values close to |z| = 1
77134 specially.
77135 * math/s_clog10.c (__clog10): Likewise.
77136 * math/s_clog10f.c (__clog10f): Likewise.
77137 * math/s_clog10l.c (__clog10l): Likewise.
77138 * math/s_clogf.c (__clogf): Likewise.
77139 * math/s_clogl.c (__clogl): Likewise.
77140 * math/Makefile (libm-calls): Add x2y2m1.
77141 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
77142 (__x2y2m1): Likewise.
77143 (__x2y2m1l): Likewise.
77144 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
77145 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
77146 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
77147 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
77148 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
77149 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77150 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77151 * sysdeps/i386/fpu/libm-test-ulps: Update.
77152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77153
77154 [BZ #14621]
77155 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77156 int as type of variable DEPTH.
77157 (glob): Use size_t instead of int as type of variables NEWCOUNT
77158 and OLD_PATHC.
77159
77160 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77161
77162 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77163 Add s_sincosf-sse2.
77164 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77165 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77166 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77167 macros for using routine as __sincosf_ia32.
77168 Use macro for function declaration and weak_alias.
77169 * sysdeps/i386/fpu/libm-test-ulps: Update.
77170
77171 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77173
77174 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77175 subnormal argument.
77176 * math/s_cexpf.c (__cexpf): Likewise.
77177 * math/s_csinf.c (__csinf): Likewise.
77178 * math/s_csinhf.c (__csinhf): Likewise.
77179 * math/s_ctanf.c (__ctanf): Likewise.
77180 * math/s_ctanhf.c (__ctanhf): Likewise.
77181 * math/s_ccosh.c (__ccoshf): Likewise.
77182 * math/s_cexp.c (__cexpl): Likewise.
77183 * math/s_csin.c (__csin): Likewise.
77184 * math/s_csinh.c (__csinh): Likewise.
77185 * math/s_ctan.c (__ctan): Likewise.
77186 * math/s_ctanh.c (ctanh): Likewise.
77187 * math/s_ccoshl.c (__ccoshl): Likewise.
77188 * math/s_cexpl.c (__cexpl): Likewise.
77189 * math/s_csinl.c (__csinl): Likewise.
77190 * math/s_csinhl.c (__csinhl): Likewise.
77191 * math/s_ctanl.c (__ctanl): Likewise.
77192 * math/s_ctanhl.c (__ctanhl): Likewise.
77193
77194 2012-09-25 Joseph Myers <joseph@codesourcery.com>
77195
77196 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77197 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77198 (_IO_off_t): Define to __off_t, not _G_off_t.
77199 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77200 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77201 (_IO_wint_t): Define to wint_t, not _G_wint_t.
77202 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77203 type of __dummy and __dummy2 fields.
77204 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77205 (_G_ssize_t): Likewise.
77206 (_G_off_t): Likewise.
77207 (_G_pid_t): Likewise.
77208 (_G_uid_t): Likewise.
77209 (_G_wchar_t): Likewise.
77210 (_G_wint_t): Likewise.
77211 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77212 (_G_ssize_t): Likewise.
77213 (_G_off_t): Likewise.
77214 (_G_pid_t): Likewise.
77215 (_G_uid_t): Likewise.
77216 (_G_wchar_t): Likewise.
77217 (_G_wint_t): Likewise.
77218 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77219 (_G_ssize_t): Likewise.
77220 (_G_off_t): Likewise.
77221 (_G_pid_t): Likewise.
77222 (_G_uid_t): Likewise.
77223 (_G_wchar_t): Likewise.
77224 (_G_wint_t): Likewise.
77225
77226 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77227
77228 * malloc/arena.c: Include malloc-sysdep.h.
77229 (shrink_heap): Use check_may_shrink_heap to decide if madvise
77230 is sufficient to shrink the heap or an unmap is needed.
77231 * sysdeps/generic/malloc-sysdep.h: New file. Define
77232 new function check_may_shrink_heap.
77233 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
77234 new function check_may_shrink_heap.
77235
77236 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77237
77238 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77239 comments.
77240
77241 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
77242
77243 * catgets/test-gencat.sh: Add "set -e".
77244 * elf/tst-pathopt.sh: Likewise.
77245 * grp/tst_fgetgrent.sh: Likewise.
77246 * iconvdata/run-iconv-test.sh: Likewise.
77247 * intl/tst-gettext.sh: Likewise.
77248 * intl/tst-gettext2.sh: Likewise.
77249 * intl/tst-gettext4.sh: Likewise.
77250 * intl/tst-gettext6.sh: Likewise.
77251 * intl/tst-translit.sh: Likewise.
77252 * io/ftwtest-sh: Likewise.
77253 * libio/test-freopen.sh: Likewise.
77254 * malloc/tst-mtrace.sh: Likewise.
77255 * posix/globtest.sh: Likewise.
77256 * posix/tst-getconf.sh: Likewise.
77257 * posix/wordexp-tst.sh: Likewise.
77258 * stdio-common/tst-printf.sh: Likewise.
77259 * stdio-common/tst-unbputc.sh: Likewise.
77260 * stdlib/tst-fmtmsg.sh: Likewise.
77261 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77262 * catgets/Makefile: Do not specify -e option when running
77263 testsuite shell scripts.
77264 * elf/Makefile: Likewise.
77265 * grp/Makefile: Likewise.
77266 * iconvdata/Makefile: Likewise.
77267 * intl/Makefile: Likewise.
77268 * io/Makefile: Likewise.
77269 * libio/Makefile: Likewise.
77270 * malloc/Makefile: Likewise.
77271 * posix/Makefile: Likewise.
77272 * stdio-common/Makefile: Likewise.
77273 * stdlib/Makefile: Likewise.
77274 * sysdeps/x86_64/Makefile: Likewise.
77275
77276 * io/ftwtest-sh: Add copyright header.
77277 * posix/globtest.sh: Likewise.
77278 * posix/tst-getconf.sh: Likewise.
77279 * posix/wordexp-tst.sh: Likewise.
77280 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77281
77282 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
77283
77284 [BZ #13679]
77285 * Makeconfig (+link): Defined as $(+link-static) if
77286 $(build-shared) isn't yes.
77287 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77288 isn't yes.
77289 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77290
77291 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77292
77293 [BZ #14562]
77294 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77295 new chunk size with MALLOC_ALIGN_MASK.
77296
77297 2012-09-24 Joseph Myers <joseph@codesourcery.com>
77298
77299 [BZ #5044]
77300 * stdio-common/printf_fphex.c: Include <stdbool.h> and
77301 <rounding-mode.h>.
77302 (__printf_fphex): Determine rounding using get_rounding_mode and
77303 round_away.
77304 * stdio-common/tst-printf-round.c (struct hex_test): New
77305 structure.
77306 (hex_tests): New variable.
77307 (test_hex_in_one_mode): New function.
77308 (do_test): Also run tests for hex float output.
77309
77310 2012-09-21 Joseph Myers <joseph@codesourcery.com>
77311
77312 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77313 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77314 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77315 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77316 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77317 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77318 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77320
77321 2012-09-20 Joseph Myers <joseph@codesourcery.com>
77322
77323 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77324 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77325 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77326 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77327
77328 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
77329
77330 [BZ #14579]
77331 * elf/rtld.c (dl_main): Limit the check for self loading to normal
77332 mode only.
77333 * elf/tst-rtld-load-self.sh: New test.
77334 * elf/Makefile: Run it.
77335
77336 2012-09-18 Joseph Myers <joseph@codesourcery.com>
77337
77338 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77339 (tst-writev-ENV): Remove.
77340 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77341
77342 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
77343
77344 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77345
77346 2012-09-17 Joseph Myers <joseph@codesourcery.com>
77347
77348 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77349 unconditional.
77350 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77351 Likewise.
77352 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77353 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77354 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77355 Likewise.
77356
77357 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
77358
77359 [BZ #14587]
77360 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77361 * config.make.in (have-cpp-asm-debuginfo): Removed.
77362 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77363 * configure: Regenerated.
77364
77365 2012-09-14 Joseph Myers <joseph@codesourcery.com>
77366
77367 [BZ #5044]
77368 * stdio-common/printf_fp.c: Include <stdbool.h> and
77369 <rounding-mode.h>.
77370 (___printf_fp): Determine rounding using get_rounding_mode and
77371 round_away.
77372 * stdio-common/tst-printf-round.c: New file.
77373 * stdio-common/Makefile (tests): Add tst-printf-round.
77374 (link-libm): New variable.
77375 ($(objpfx)tst-printf-round): Depend in $(link-libm).
77376
77377 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
77378
77379 [BZ #14576]
77380 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77381 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77382 Likewise.
77383 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77384 Likewise.
77385
77386 2012-09-13 Joseph Myers <joseph@codesourcery.com>
77387
77388 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77389 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77390 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77391 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77392
77393 2012-09-12 Joseph Myers <joseph@codesourcery.com>
77394
77395 [BZ #14518]
77396 * include/rounding-mode.h: New file.
77397 * sysdeps/generic/get-rounding-mode.h: Likewise.
77398 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77399 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77400 (MAX_VALUE): New macro.
77401 (MIN_VALUE): Likewise.
77402 (overflow_value): New function.
77403 (underflow_value): Likewise.
77404 (round_and_return): Use overflow_value and underflow_value to
77405 determine return values in overflow and underflow cases. Use
77406 round_away to determine rounding depending on rounding mode.
77407 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77408 determine return values in overflow and underflow cases.
77409 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77410 (struct test_results): New structure.
77411 (struct test): Use struct test_results to store expected results
77412 for all rounding modes.
77413 (TEST): Include expected results for all rounding modes.
77414 (test_in_one_mode): New function.
77415 (do_test): Use test_in_one_mode to compute and check results.
77416 Check results for all rounding modes.
77417 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77418 $(link-libm).
77419
77420 2012-12-09 Allan McRae <allan@archlinux.org>
77421
77422 * sysdeps/i386/fpu/libm-test-ulps: Update
77423
77424 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77425
77426 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77427 (_G_int32_t): Likewise.
77428 (_G_uint16_t): Likewise.
77429 (_G_uint32_t): Likewise.
77430 (_G_HAVE_BOOL): Likewise.
77431 (_G_HAVE_ATEXIT): Likewise.
77432 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77433 (_G_HAVE_IO_FILE_OPEN): Likewise.
77434 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77435 (_G_int32_t): Likewise.
77436 (_G_uint16_t): Likewise.
77437 (_G_uint32_t): Likewise.
77438 (_G_HAVE_BOOL): Likewise.
77439 (_G_HAVE_ATEXIT): Likewise.
77440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77441 (_G_HAVE_IO_FILE_OPEN): Likewise.
77442 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77443 (_G_int32_t): Likewise.
77444 (_G_uint16_t): Likewise.
77445 (_G_uint32_t): Likewise.
77446 (_G_HAVE_BOOL): Likewise.
77447 (_G_HAVE_ATEXIT): Likewise.
77448 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77449 (_G_HAVE_IO_FILE_OPEN): Likewise.
77450
77451 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77452
77453 * csu/libc-tls.c: Update copyright years.
77454
77455 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77456
77457 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77458 [!_G_USING_THUNKS]: Remove conditional code.
77459 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77460 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77461
77462 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77463 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77464 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77465 (_G_VTABLE_LABEL_PREFIX): Likewise.
77466 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77467 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77468 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77469 (_G_VTABLE_LABEL_PREFIX): Likewise.
77470 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77471 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77472 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77473 (_G_VTABLE_LABEL_PREFIX): Likewise.
77474 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77475
77476 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77477
77478 * libio/Makefile: Include ../Makeconfig before tests.
77479 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77480 only if $(build-shared) is yes.
77481
77482 * iconv/gconv_db.c: Update copyright years.
77483
77484 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77485
77486 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77487 unwind info if defined PIC. Fix special cases description.
77488 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77489
77490 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77491 DP_HI_MASK entry.
77492 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77493
77494 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77495
77496 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77497
77498 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77499 is NULL.
77500
77501 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77502 (LDLIBS-tst-chk4): This.
77503 (LDFLAGS-tst-chk5): Renamed to ...
77504 (LDLIBS-tst-chk5): This.
77505 (LDFLAGS-tst-chk6): Renamed to ...
77506 (LDLIBS-tst-chk6): This.
77507 (LDFLAGS-tst-lfschk4): Renamed to ...
77508 (LDLIBS-tst-lfschk4): This.
77509 (LDFLAGS-tst-lfschk5): Renamed to ...
77510 (LDLIBS-tst-lfschk5): This.
77511 (LDFLAGS-tst-lfschk6): Renamed to ...
77512 (LDLIBS-tst-lfschk6): This.
77513
77514 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77515 on $(common-objpfx)soversions.mk.
77516
77517 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77518
77519 [BZ #10014]
77520 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77521 example host name.
77522
77523 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77524
77525 * malloc/arena.c (arena_get_retry): New function that gets
77526 another arena for the caller to try its request on.
77527 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77528 current arena cannot fulfill the request.
77529 (__libc_memalign): Likewise.
77530 (__libc_memalign): Likewise.
77531 (__libc_pvalloc): Likewise.
77532 (__libc_calloc): Likewise.
77533
77534 2012-09-05 John Tobey <john.tobey@gmail.com>
77535
77536 [BZ #13542]
77537 * manual/arith.texi (Operations on Complex): Fix description
77538 of carg branch cut.
77539
77540 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77541
77542 [BZ #10014]
77543 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77544 host name.
77545
77546 [BZ #10038]
77547 * manual/memory.texi (Memory): Make order of menu items match
77548 order of sections.
77549
77550 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77551
77552 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77553 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77554 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77555
77556 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77557
77558 * csu/libc-tls.c (static_dtv): Renamed to ...
77559 (_dl_static_dtv): This. Make it global.
77560 (_dl_initial_dtv): Removed.
77561 (__libc_setup_tls): Updated.
77562 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77563 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77564 DL_INITIAL_DTV.
77565
77566 2012-09-06 Petr Machata <pmachata@redhat.com>
77567
77568 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77569 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77570 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77571 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77572
77573 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77574
77575 [BZ #14545]
77576 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77577 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77578 freeing dtv[-1].
77579
77580 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77581
77582 [BZ #14544]
77583 * Makeconfig (link-static-before-libc): Replace $(+prector)
77584 with $(+prectorT).
77585 (link-static-after-libc): Replace $(+postctor) with
77586 $(+postctorT).
77587 (link-bounded): Replace $(+prector)/$(+postctor) with
77588 $(+prectorT)/$(+postctorT).
77589 (+prectorT): New macro.
77590 (+postctorT): Likewise.
77591
77592 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77593
77594 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77595 (round_str): Handle values above the maximum for IBM long double
77596 as inexact.
77597 * stdlib/tst-strtod-round.c (tests): Regenerated.
77598
77599 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77600
77601 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77602 assembler flag.
77603 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77604 zarch_nohighgprs around the zarch optimized routines.
77605 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77606 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77607 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77608 for zarch.
77609
77610 2012-09-05 David S. Miller <davem@davemloft.net>
77611
77612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77613
77614 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77615 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77616 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77617 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77618 entries.
77619
77620 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77621
77622 * malloc/arena.c: Fold copyright years.
77623 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77624
77625 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77626
77627 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77628
77629 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77630
77631 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77632
77633 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77634
77635 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77636 change internal state upon failure.
77637
77638 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77639
77640 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77641 * malloc/memusage.c (mmap): Likewise.
77642 (mmap64, mremap): Likewise. Adjust name in comment.
77643
77644 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77645
77646 * libio/fileops.c: Fix typos in comments.
77647 * libio/oldfileops.c: Likewise.
77648 * libio/wfileops.c: Likewise.
77649
77650 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77651
77652 [BZ #1349]
77653 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77654 (tst-malloc-usable-ENV): Set environment for test case.
77655 * malloc/hooks.c (malloc_check_get_size): New function to get
77656 requested size.
77657 * malloc/malloc.c (musable): Use malloc_check_get_size.
77658 * malloc/tst-malloc-usable.c: New test case.
77659
77660 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77661
77662 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77663
77664 2012-09-05 Allan McRae <allan@archlinux.org>
77665
77666 [BZ #13966]
77667 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77668 determine header location.
77669 * configure: Regenerated.
77670
77671 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77672
77673 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77674 float format.
77675 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77676 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77677 format.
77678 (test): Regenerate.
77679
77680 2012-09-04 David S. Miller <davem@davemloft.net>
77681
77682 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77683 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77685
77686 2012-09-04 Florian Weimer <fweimer@redhat.com>
77687
77688 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77689 failures.
77690
77691 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77692
77693 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77694
77695 [BZ #9914]
77696 * libio/iogetdelim.c: Include <limits.h>.
77697 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77698 + len + 1 would overflow.
77699
77700 2012-09-03 Andreas Jaeger <aj@suse.de>
77701
77702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77703 * sysdeps/i386/fpu/libm-test-ulps: Update.
77704
77705 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77706
77707 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77708 Add s_sinf-sse2, s_conf-sse2.
77709
77710 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77711 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77712 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77713 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77714
77715 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77716 for using routine as __sinf_ia32.
77717 Use macro for function declaration and weak_alias.
77718 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77719 for using routine as __cosf_ia32.
77720 Use macro for function declaration and weak_alias.
77721
77722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77723 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77724
77725 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77726 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77728
77729 * math/libm-test.inc (cos_test): Add more test cases.
77730 (sin_test): Likewise.
77731 (sincos_test): Likewise.
77732
77733 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77734
77735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77736 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77737 hidden.
77738 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77739
77740 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77741
77742 [BZ #14538]
77743 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77744 first element of the GOT.
77745 (elf_machine_load_address): Return the difference between
77746 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77747
77748 2012-09-01 Allan McRae <allan@archlinux.org>
77749
77750 [BZ #13412]
77751 * configure.in (AWK): Require gawk version 3.0 or later.
77752 * configure: Regenerated.
77753
77754 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77755
77756 * sysdeps/unix/sysv/linux/kernel-features.h
77757 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77759 [__NR_clock_getres]: Make code unconditional.
77760 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77761 (clock_getcpuclockid): Remove code left unreachable by removal of
77762 conditionals.
77763 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77764 code unconditional.
77765 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77766 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77767 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77768 Make code unconditional.
77769 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77770 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77771 * sysdeps/unix/sysv/linux/clock_settime.c
77772 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77773 conditional code.
77774 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77775 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77776
77777 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77778
77779 [BZ #14476]
77780 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77781 scripts/test-installation.pl.
77782
77783 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77784 and $ld_so_version if it is set.
77785
77786 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77787
77788 [BZ #14516]
77789 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77790 failure if reading from procfs failed.
77791 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77792
77793 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77794
77795 * sysdeps/unix/sysv/linux/kernel-features.h
77796 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77797 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77798 Remove conditional code.
77799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77800 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77801 Remove conditional code.
77802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77803 * sysdeps/unix/sysv/linux/i386/fxstat.c
77804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77806 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77807 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77809 * sysdeps/unix/sysv/linux/i386/lxstat.c
77810 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77812 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77813 Remove conditional code.
77814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77815 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77816 Remove conditional code.
77817 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77818 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77819 <kernel-features.h>.
77820 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77821 Remove.
77822 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77823 Remove conditional code.
77824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77825 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77826 Remove conditional.
77827
77828 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77829
77830 [BZ #5400]
77831 * NEWS: Add fixed bug number.
77832
77833 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77834
77835 [BZ #14519]
77836 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77837 underflowing exponent in case of negative sign.
77838 * stdlib/tst-strtod-round-data: Add more tests.
77839 * stdlib/tst-strtod-round.c (tests): Regenerated.
77840
77841 [BZ #3479]
77842 * stdlib/strtod_l.c (NDIG): Remove.
77843 (HEXNDIG): Likewise.
77844 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77845 smallest representable value.
77846 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77847 lie within an exact representation of 1/2 ulp of the result.
77848 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77849 unconditionally.
77850 (TENS_P9_IDX): Define unconditionally.
77851 (TENS_P9_SIZE): Likewise.
77852 (TENS_P10_IDX): Likewise.
77853 (TENS_P10_SIZE): Likewise.
77854 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77855 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77856 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77857 entries for 10^2^13 and 10^2^14.
77858 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77859 (TENS_P13_IDX): Define.
77860 (TENS_P13_SIZE): Likewise.
77861 (TENS_P14_IDX): Likewise.
77862 (TENS_P14_SIZE): Likewise.
77863 (_fpioconst_pow10): Change array size to
77864 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77865 unconditional.
77866 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77867 1024]: Add entries for 10^2^13 and 10^2^14.
77868 [LAST_POW10 > _LAST_POW10]: Remove #error.
77869 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77870 (_fpioconst_pow10): Change array size to
77871 FPIOCONST_POW10_ARRAY_SIZE.
77872 * stdlib/gen-fpioconst.c: New file.
77873 * stdlib/gen-tst-strtod-round.c: Likewise.
77874 * stdlib/tst-strtod-round-data: Likewise.
77875 * stdlib/tst-strtod-round.c: Likewise.
77876 * stdlib/Makefile (tests): Add tst-strtod-round.
77877
77878 [BZ #14459]
77879 * stdlib/strtod_l.c: Include <stdint.h>.
77880 (NDEBUG): Do not define.
77881 (round_and_return): Change EXPONENT parameter to type intmax_t.
77882 Rearrange calculations to avoid internal overflow possibilities.
77883 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77884 Rearrange calculations to avoid internal overflow possibilities.
77885 Assert that number fits inside MPNSIZE limbs.
77886 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77887 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77888 calculations and add assertions to avoid internal overflow
77889 possibilities. Add casts to avoid signed/unsigned operations.
77890 * stdlib/tst-strtod-overflow.c: New file.
77891 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77892
77893 2012-08-25 Marek Polacek <polacek@redhat.com>
77894
77895 * time/time.h: Fix some typos in comments.
77896
77897 2012-08-23 Roland McGrath <roland@hack.frob.com>
77898
77899 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77900 * posix/tst-rfc3484-2.c: Likewise.
77901 * posix/tst-rfc3484-3.c: Likewise.
77902
77903 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77904
77905 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77906 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77907
77908 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77909
77910 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77911 #include of fxstatat64.c.
77912
77913 2012-08-22 Roland McGrath <roland@hack.frob.com>
77914
77915 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77916 * shadow/getspent_r.c: Likewise.
77917 * shadow/getspnam.c: Likewise.
77918 * shadow/getspnam_r.c: Likewise.
77919 * gshadow/getsgent.c: Likewise.
77920 * gshadow/getsgent_r.c: Likewise.
77921 * gshadow/getsgnam.c: Likewise.
77922 * gshadow/getsgnam_r.c: Likewise.
77923 * inet/getnetbyad.c: Likewise.
77924 * inet/getnetbyad_r.c: Likewise.
77925 * inet/getnetbynm.c: Likewise.
77926 * inet/getnetbynm_r.c: Likewise.
77927 * inet/getnetent.c: Likewise.
77928 * inet/getnetent_r.c: Likewise.
77929 * inet/getproto.c: Likewise.
77930 * inet/getproto_r.c: Likewise.
77931 * inet/getprtent.c: Likewise.
77932 * inet/getprtent_r.c: Likewise.
77933 * inet/getprtname.c: Likewise.
77934 * inet/getprtname_r.c: Likewise.
77935 * inet/getrpcbyname.c: Likewise.
77936 * inet/getrpcbyname_r.c: Likewise.
77937 * inet/getrpcbynumber.c: Likewise.
77938 * inet/getrpcbynumber_r.c: Likewise.
77939 * inet/getrpcent.c: Likewise.
77940 * inet/getrpcent_r.c: Likewise.
77941 * inet/getaliasent.c: Likewise.
77942 * inet/getaliasent_r.c: Likewise.
77943 * inet/getaliasname.c: Likewise.
77944 * inet/getaliasname_r.c: Likewise.
77945 * nscd/getgrgid_r.c: Likewise.
77946 * nscd/getgrnam_r.c: Likewise.
77947 * nscd/gethstbyad_r.c: Likewise.
77948 * nscd/gethstbynm3_r.c: Likewise.
77949 * nscd/getpwnam_r.c: Likewise.
77950 * nscd/getpwuid_r.c: Likewise.
77951 * nscd/getsrvbynm_r.c: Likewise.
77952 * nscd/getsrvbypt_r.c: Likewise.
77953 * nscd/gai.c: Likewise.
77954
77955 * configure.in (build_nscd): New substituted variable, set
77956 by --disable-build-nscd and defaults to $use_nscd.
77957 * configure: Regenerated.
77958 * config.make.in (build-nscd): New substituted variable.
77959 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77960 Change conditional to require [$(build-nscd) = yes] as well.
77961 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77962
77963 [BZ #13696]
77964 * configure.in (use_nscd): New substituted variable, set by
77965 --disable-nscd. If enabled, define USE_NSCD.
77966 * configure: Regenerated.
77967 * config.h.in: Add USE_NSCD.
77968 * config.make.in (use-nscd): New substituted variable.
77969 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77970 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77971 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77972 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77973 (CFLAGS-getgrnam_r.c): Likewise.
77974 (CFLAGS-initgroups.c): Likewise.
77975 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77976 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77977 Variables removed.
77978 * inet/getnetgrent_r.c
77979 (nscd_setnetgrent): New function, broken out of ...
77980 (setnetgrent): ... here. Call it.
77981 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77982 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77983 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77984 * nscd/Makefile (routines, aux): Move definitions after include of
77985 Makeconfig. Conditionalize on [$(use-nscd) != no].
77986 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77987 Conditionalize on [USE_NSCD].
77988 (is_nscd, nscd_init_cb): Likewise.
77989 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77990 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77991 * nss/nss_db/db-init.c: Likewise.
77992 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77993 [USE_NSCD].
77994 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77995 (make_request): Use it.
77996 (cache_valid_p): New function.
77997 (__check_pf): Use it.
77998 * NEWS: Add item for --disable-nscd.
77999
78000 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
78001
78002 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
78003 to support sed >= 4.2.1-20-ga9bf076.
78004 * configure: Regenerated.
78005
78006 2012-08-22 Roland McGrath <roland@hack.frob.com>
78007
78008 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
78009 Conditionalize whole body on [IREL].
78010
78011 2012-08-22 Jeff Law <law@redhat.com>
78012
78013 [BZ #14505]
78014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
78015 if the family is PF_UNSPEC.
78016
78017 2012-08-22 Mike Frysinger <vapier@gentoo.org>
78018
78019 * Makerules (lib-version): Rename from V.
78020 (install-lib-nosubdir): Change V to lib-version.
78021
78022 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
78023
78024 [BZ #14252]
78025 * powerpc32/power6/wcschr.c: New file.
78026 * powerpc32/power6/wcscpy.c: New file.
78027 * powerpc32/power6/wcsrchr.c: New file.
78028 * powerpc64/power6/wcschr.c: New file.
78029 * powerpc64/power6/wcscpy.c: New file.
78030 * powerpc64/power6/wcsrchr.c: New file.
78031
78032 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
78033
78034 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
78035 (two_way_short_needle): Use it.
78036 * string/strstr.c (AVAILABLE1_USES_J): Define.
78037 * string/strcasestr.c: Likewise.
78038
78039 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
78040 array references.
78041 * string/strcasestr.c (TOLOWER): Make side-effect safe.
78042
78043 [BZ #11607]
78044 * NEWS: Add an entry.
78045 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
78046 define their defaults.
78047 (two_way_short_needle): Detect end-of-string on-the-fly.
78048 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
78049 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
78050 * string/bug-strcasestr1.c: New test.
78051 * string/Makefile: Run it.
78052
78053 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
78054
78055 [BZ #11607]
78056 * string/str-two-way.h (two_way_short_needle): Optimize matching of
78057 the first character.
78058
78059 2012-08-21 Roland McGrath <roland@hack.frob.com>
78060
78061 * csu/elf-init.c (__libc_csu_irel): Function removed.
78062 * csu/libc-start.c (apply_irel): New function.
78063 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
78064
78065 2012-08-21 Joseph Myers <joseph@codesourcery.com>
78066
78067 * sysdeps/unix/sysv/linux/kernel-features.h
78068 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
78069 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
78070 <kernel-features.h>.
78071 [__NR_fadvise64_64]: Make code unconditional.
78072 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
78073 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78074 !__NR_fadvise64_64)]: Likewise.
78075 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78076 !__NR_fadvise64_64))]: Likewise.
78077 [__NR_fadvise64]: Make code unconditional.
78078 [!__NR_fadvise64]: Remove conditional code.
78079 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
78080 <kernel-features.h>.
78081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78082 unconditional.
78083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78084 conditional code.
78085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
78086 not include <kernel-features.h>.
78087 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78088 unconditional.
78089 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78090 conditional code.
78091 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
78092 include <kernel-features.h>.
78093 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78094 unconditional.
78095 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78096 conditional code.
78097
78098 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78099
78100 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
78101 slight instruction rearrangements per scrollpipe analysis.
78102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
78103
78104 2012-08-20 Roland McGrath <roland@hack.frob.com>
78105
78106 * manual/syslog.texi (syslog; vsyslog, closelog):
78107 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
78108 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
78109
78110 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
78111 DSOCAPS to match condition on defining it.
78112
78113 2012-08-20 Joseph Myers <joseph@codesourcery.com>
78114
78115 * sysdeps/unix/sysv/linux/kernel-features.h
78116 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
78117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
78118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
78121 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78122 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
78124 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78125 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78126
78127 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
78128 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
78129
78130 * sysdeps/unix/sysv/linux/kernel-features.h
78131 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
78132 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
78133 unconditional.
78134 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78135 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
78136 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78137 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78138 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
78139 Make code unconditional.
78140 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78141 (__mmap64) [!__NR_mmap2]: Likewise.
78142 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
78143 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78144 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78145 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
78146 [__NR_mmap2]: Make code unconditional.
78147 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78148 (__mmap64) [!__NR_mmap2]: Likewise.
78149
78150 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78151
78152 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
78153
78154 2012-08-18 Andreas Jaeger <aj@suse.de>
78155
78156 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
78157
78158 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78159
78160 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78161 * include/unistd.h (__have_sock_cloexec): Likewise.
78162 (__have_pipe2): Likewise.
78163 (__have_dup3): Likewise.
78164
78165 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78166
78167 [BZ #9685]
78168 * include/unistd.h (__have_pipe2): Change define into an extern int.
78169 (__have_dup3): Likewise.
78170 * socket/have_sock_cloexec.c: Include fcntl.h.
78171 (__have_pipe2): New variable.
78172 (__have_dup3): Likewise.
78173
78174 2012-08-17 Mike Frysinger <vapier@gentoo.org>
78175
78176 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78177
78178 2012-08-17 Marek Polacek <polacek@redhat.com>
78179
78180 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78181 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78182
78183 2012-08-17 Roland McGrath <roland@hack.frob.com>
78184
78185 * configure.in: Add AC_SUBST for sysheaders.
78186 * configure: Regenerated.
78187 * config.make.in (sysheaders): New substituted variable.
78188
78189 * sysdeps/unix/mkfifo.c: Moved ...
78190 * sysdeps/posix/mkfifo.c: ... here.
78191 * sysdeps/unix/mkfifoat.c: Moved ...
78192 * sysdeps/posix/mkfifoat.c: ... here.
78193
78194 * sysdeps/unix/utime.c: Moved ...
78195 * sysdeps/posix/utime.c: ... here.
78196
78197 * sysdeps/unix/time.c: Moved ...
78198 * sysdeps/posix/time.c: ... here.
78199 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78200 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78201
78202 * sysdeps/unix/nice.c: Moved ...
78203 * sysdeps/posix/nice.c: ... here.
78204
78205 * sysdeps/unix/alarm.c: Moved ...
78206 * sysdeps/posix/alarm.c: ... here.
78207
78208 * intl/Makefile ($(codeset_mo)): Depend on the input file.
78209
78210 2012-08-17 Jeff Law <law@redhat.com>
78211
78212 * intl/Makefile (codeset_mo): New variable.
78213 ($(codeset_mo)): New target.
78214 (tst-codeset.out): Depend on that. Remove explicit rule.
78215 (tst-gettext3.out, tst-gettext5.out): Likewise.
78216 (LOCPATH-ENV, tst-codeset-ENV): New variables.
78217 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78218 * intl/tst-codeset.sh: Remove.
78219 * intl/tst-gettext3.sh: Likewise.
78220 * intl/tst-gettext5.sh: Likewise.
78221
78222 2012-08-17 Roland McGrath <roland@hack.frob.com>
78223
78224 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
78225 * sysdeps/unix/syscalls.list: ... here.
78226
78227 * sysdeps/posix/getaddrinfo.c
78228 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78229 (gaiconf_init, gaiconf_reload): Use them.
78230 [!_STATBUF_ST_NSEC]
78231 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78232 Define using time_t rather than struct timespec.
78233
78234 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78235 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78236 Macros removed.
78237 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78238 [!NO_THREADS].
78239 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78240 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78241 Likewise.
78242
78243 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78244 __libc_cleanup_push argument.
78245
78246 * bits/param.h: New file.
78247 * misc/sys/param.h: New file.
78248 * include/sys/param.h: New file.
78249 * misc/Makefile (headers): Add bits/param.h.
78250 * sysdeps/generic/sys/param.h: File removed.
78251 * sysdeps/unix/sysv/linux/bits/param.h: New file.
78252 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78253 * sysdeps/mach/hurd/bits/param.h: New file.
78254 * sysdeps/mach/hurd/sys/param.h: File removed.
78255
78256 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78257 last change.
78258
78259 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78260 [_IO_MTSAFE_IO].
78261 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78262 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78263 New macros.
78264
78265 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78266 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78267 rather than -D_IO_MTSAFE_IO conditionally.
78268 * stdio-common/Makefile (CPPFLAGS): Likewise.
78269 * wcsmbs/Makefile (CPPFLAGS): Likewise.
78270 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78271 Use $(libio-mtsafe).
78272 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78273 of -D_IO_MTSAFE_IO.
78274 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78275 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78276 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78277 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78278 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78279 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78280 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78281 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78282 (CFLAGS-fread_u_chk.c): Likewise.
78283 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78284 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78285 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78286 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78287 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78288 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78289 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78290 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78291 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78292
78293 * libio/Makefile: Test [$(libc-reentrant) = yes]
78294 instead of [$(filter %REENTRANT, $(defines)) nonempty].
78295
78296 * Makeconfig
78297 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78298 * sysdeps/pthread/configure: File removed.
78299 * sysdeps/pthread/Makeconfig: New file.
78300 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78301 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78302
78303 2012-08-16 Gary Benson <gbenson@redhat.com>
78304
78305 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78306 unmapping the first object in a namespace.
78307
78308 2012-08-16 Roland McGrath <roland@hack.frob.com>
78309
78310 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78311 (__internal_setnetgrent): ... this. Add internal_function to
78312 definition. Add libc_hidden_def.
78313 (setnetgrent): Update caller.
78314 (internal_endnetgrent): Renamed to ...
78315 (__internal_endnetgrent): ... this. Add internal_function to
78316 definition. Add libc_hidden_def.
78317 (endnetgrent): Update caller.
78318 (internal_getnetgrent_r): Renamed to ...
78319 (__internal_getnetgrent_r): ... this. Add internal_function to
78320 definition. Add libc_hidden_def.
78321 (__getnetgrent_r): Update caller.
78322 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
78323
78324 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78325
78326 * stdlib/longlong.h: Update from GCC.
78327
78328 2012-08-16 Roland McGrath <roland@hack.frob.com>
78329
78330 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78331 on _QL, which is set by umul_ppmm but never used.
78332 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78333 variables, which are set by GMP macros but never used.
78334 * stdio-common/_itowa.c (_itowa): Likewise.
78335 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78336 * stdlib/mod_1.c (mpn_mod_1): Likewise.
78337
78338 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
78339
78340 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78341 struct La_sh_regs is not constant.
78342 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78343 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78344 and struct La_sparc64_regs are not constant.
78345
78346 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78347
78348 * sysdeps/unix/sysv/linux/kernel-features.h
78349 (__ASSUME_POSIX_TIMERS): Remove.
78350 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78352 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78353 Make code unconditional.
78354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78355 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78356 Make code unconditional.
78357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78358 * sysdeps/unix/sysv/linux/clock_nanosleep.c
78359 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78361 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78362 Make code unconditional.
78363 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78364 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78365 (__libc_missing_posix_timers): Remove.
78366
78367 2012-08-15 Roland McGrath <roland@hack.frob.com>
78368
78369 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78370 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78371
78372 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78373
78374 * elf/dl-sym.c: Include <stdlib.h>.
78375
78376 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78377 constants, which avoids warnings in 32-bit builds.
78378
78379 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78380 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78381
78382 * misc/lseek.c: File moved to ...
78383 * io/lseek.c: ... here.
78384
78385 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78386
78387 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78388 shifting LEN more than 31 bits at once.
78389
78390 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78391
78392 [BZ #14195]
78393 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78394 segmentation fault for a case of two empty input strings.
78395 * string/test-strncasecmp.c (check1): Renamed to...
78396 (bz12205): ...this.
78397 (bz14195): Add new testcase for two empty input strings and N > 0.
78398 (test_main): Call new testcase, adapt for renamed function.
78399
78400 2012-08-15 Andreas Jaeger <aj@suse.de>
78401
78402 [BZ #14090]
78403 * crypt/md5test2.c: New test, based on test supplied by Serge
78404 Belyshev <belyshev@depni.sinp.msu.ru>.
78405 * crypt/Makefile (xtests): Add md5test-giant..
78406 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78407
78408 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78409
78410 [BZ #14090]
78411 * crypt/md5.c (md5_process_block): Don't assume the buffer
78412 length is less than 2**32.
78413 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78414 length is less than 2**64.
78415
78416 2012-08-15 Roland McGrath <roland@hack.frob.com>
78417
78418 * string/str-two-way.h: Include <sys/param.h>.
78419 (MAX): Macro removed.
78420
78421 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78422 Move #define and #undef of memmove to just before and after
78423 including <string.h>.
78424
78425 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78426 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78427 and after including <string.h>. Move declarations of
78428 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78429 to before #include "string/memmove.c".
78430
78431 * include/dirent.h: Declare __getdirentries.
78432
78433 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78434 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78435
78436 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78437
78438 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78439 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78440 * sysdeps/i386/configure: Regenerated.
78441 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78442 STABS_CURRENT_FILE, and STABS_FUN.
78443 (END): Remove call to STABS_FUN_END.
78444 (STABS_CURRENT_FILE1): Delete.
78445 (STABS_CURRENT_FILE): Likewise.
78446 (STABS_FUN): Likewise.
78447 (STABS_FUN_END): Likewise.
78448 (STABS_FUN2): Likewise.
78449 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78450 * sysdeps/x86_64/configure: Regenerated.
78451
78452 2012-08-14 Roland McGrath <roland@hack.frob.com>
78453
78454 * elf/dl-open.c: Include <atomic.h>.
78455 * elf/dl-lookup.c: Likewise.
78456
78457 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78458
78459 * sysdeps/unix/sysv/linux/kernel-features.h
78460 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78461 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78462 unconditionally.
78463 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78464 unconditionally.
78465 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78466 condition on __ASSUME_CLONE_THREAD_FLAGS.
78467
78468 2012-08-14 Andreas Jaeger <aj@suse.de>
78469
78470 * sysdeps/i386/fpu/libm-test-ulps: Update.
78471
78472 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78473
78474 * include/atomic.h (atomic_exchange_and_add): Split into ...
78475 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78476 New atomic macros.
78477
78478 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78479
78480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78481
78482 2012-08-13 Jeff Law <law@redhat.com>
78483
78484 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78485 null byte in the output string.
78486
78487 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78488
78489 * sysdeps/unix/sysv/linux/kernel-features.h
78490 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78491 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78492 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78493 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78494 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78495 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78496 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78497
78498 2012-08-09 Jeff Law <law@redhat.com>
78499
78500 [BZ #13939]
78501 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78502 When avoid_arena is set, don't retry in the that arena. Pick the
78503 next one, whatever it might be.
78504 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78505 (arena_lock): Pass in new parameter to arena_get2.
78506 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78507 arena_get2.
78508 (__libc_malloc): Unify retrying after main arena failure with
78509 __libc_memalign version.
78510 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78511
78512 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78513
78514 [BZ #14166]
78515 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78516 to __redirect_strstr.
78517 (__strstr_sse42): Use typeof __redirect_strstr.
78518 (__strstr_ia32): Likewise.
78519 (__libc_strstr): New prototype.
78520 (strstr): Renamed to ...
78521 (__libc_strstr): This.
78522 (strstr): New strong alias of __libc_strstr.
78523 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78524 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78525 __redirect_time.
78526 Include <time.h>.
78527 (__libc_time): New prototype.
78528 (time_ifunc): Replace time with __libc_time.
78529 (time): New strong alias and hidden definition of __libc_time.
78530 (__GI_time): Remove strong alias.
78531 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78532 Include <stddef.h>.
78533 (memmove): Redefined to __redirect_memmove.
78534 (__memmove_sse2): Use typeof __redirect_memmove.
78535 (__memmove_ssse3): Likewise.
78536 (__memmove_ssse3_back): Likewise.
78537 (__libc_memmove): New prototype.
78538 (memmove): Renamed to ...
78539 (__libc_memmove): This.
78540 (memmove): New strong alias of __libc_memmove.
78541
78542 2012-08-08 Mark Salter <msalter@redhat.com>
78543
78544 * elf/elf.h
78545 (R_MN10300_TLS_GD): Define.
78546 (R_MN10300_TLS_LD): Likewise.
78547 (R_MN10300_TLS_LDO): Likewise.
78548 (R_MN10300_TLS_GOTIE): Likewise.
78549 (R_MN10300_TLS_IE): Likewise.
78550 (R_MN10300_TLS_LE): Likewise.
78551 (R_MN10300_TLS_DTPMOD): Likewise.
78552 (R_MN10300_TLS_DTPOFF): Likewise.
78553 (R_MN10300_TLS_TPOFF): Likewise.
78554 (R_MN10300_SYM_DIFF): Likewise.
78555 (R_MN10300_ALIGN): Likewise.
78556 (R_MN10300_NUM): Update.
78557
78558 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78559
78560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78561 Remove.
78562
78563 2012-08-08 Roland McGrath <roland@hack.frob.com>
78564
78565 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78566
78567 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78568 sysdeps/unix -> sysdeps/posix move.
78569 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78570
78571 2012-08-07 Allan McRae <allan@archlinux.org>
78572
78573 [BZ #14303]
78574 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78575 (SUNOS_CPP): Likewise.
78576 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78577 not found.
78578 (open_input): Call CPP using execvp.
78579
78580 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78581
78582 * sysdeps/unix/sysv/linux/kernel-features.h
78583 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78584 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78585 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78586 (__ASSUME_WAITID_SYSCALL): Likewise.
78587 * sysdeps/unix/sysv/linux/dl-execstack.c
78588 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78589 code unconditional.
78590 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78591 conditional code.
78592 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78593 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78594 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78595 code.
78596 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78597 unconditional.
78598 [__ASSUME_WAITID_SYSCALL]: Likewise.
78599 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78600
78601 2012-08-07 Roland McGrath <roland@hack.frob.com>
78602
78603 * sysdeps/unix/closedir.c: Renamed to ...
78604 * sysdeps/posix/closedir.c: ... here.
78605 * sysdeps/unix/dirfd.c: Renamed to ...
78606 * sysdeps/posix/dirfd.c: ... here.
78607 * sysdeps/unix/dirstream.h: Renamed to ...
78608 * sysdeps/posix/dirstream.h: ... here.
78609 * sysdeps/unix/fdopendir.c: Renamed to ...
78610 * sysdeps/posix/fdopendir.c: ... here.
78611 * sysdeps/unix/opendir.c: Renamed to ...
78612 * sysdeps/posix/opendir.c: ... here.
78613 * sysdeps/unix/readdir.c: Renamed to ...
78614 * sysdeps/posix/readdir.c: ... here.
78615 * sysdeps/unix/readdir_r.c: Renamed to ...
78616 * sysdeps/posix/readdir_r.c: ... here.
78617 * sysdeps/unix/rewinddir.c: Renamed to ...
78618 * sysdeps/posix/rewinddir.c: ... here.
78619 * sysdeps/unix/seekdir.c: Renamed to ...
78620 * sysdeps/posix/seekdir.c: ... here.
78621 * sysdeps/unix/telldir.c: Renamed to ...
78622 * sysdeps/posix/telldir.c: ... here.
78623 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78624 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78625 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78626 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78627
78628 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78629 * bits/fcntl.h: ... here.
78630
78631 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78632 not 0.
78633 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78634 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78635 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78636 (struct flock): Move l_start, l_len to the beginning.
78637 Use __pid_t for l_pid.
78638 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78639 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78640 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78641 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78642 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78643 [__USE_LARGEFILE64] (struct flock64): New type.
78644 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78645
78646 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78647 * bits/dirent.h: ... here.
78648
78649 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78650 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78651
78652 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78653
78654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78655 Change from 2.6.0 to 2.6.16.
78656 * sysdeps/unix/sysv/linux/configure: Regenerated.
78657 * sysdeps/unix/sysv/linux/kernel-features.h
78658 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78659 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78660 version.
78661 (__ASSUME_UTIMES): Likewise.
78662 (__ASSUME_CLONE_STOPPED): Remove.
78663 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78664 architectures, not kernel version.
78665 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78666 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78667 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78668 (__ASSUME_WAITID_SYSCALL): Likewise.
78669 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78670 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78671 * README: State 2.6.16 as minimum Linux kernel version. Do not
78672 refer to older versions.
78673
78674 2012-08-06 Roland McGrath <roland@hack.frob.com>
78675
78676 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78677 Define alphasort64 as an alias.
78678 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78679 Define versionsort64 as an alias.
78680 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78681 Define scandir64 as an alias.
78682 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78683 Define scandirat64 as an alias.
78684 * dirent/alphasort64.c (alphasort64):
78685 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78686 * dirent/versionsort64.c: Likewise.
78687 * dirent/scandir64.c: Likewise.
78688 * dirent/scandirat64.c: Likewise.
78689 * sysdeps/wordsize-64/alphasort.c: File removed.
78690 * sysdeps/wordsize-64/alphasort64.c: File removed.
78691 * sysdeps/wordsize-64/scandir.c: File removed.
78692 * sysdeps/wordsize-64/scandir64.c: File removed.
78693 * sysdeps/wordsize-64/scandirat.c: File removed.
78694 * sysdeps/wordsize-64/scandirat64.c: File removed.
78695 * sysdeps/wordsize-64/versionsort.c: File removed.
78696 * sysdeps/wordsize-64/versionsort64.c: File removed.
78697 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78698 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78703 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78705
78706 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78708 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78710 [defined __arch64__ || defined __sparcv9]
78711 (__INO_T_MATCHES_INO64_T): New macro.
78712 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78713 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78714 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78715 * sysdeps/unix/sysv/linux/bits/dirent.h
78716 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78717 (_DIRENT_MATCHES_DIRENT64): New macro.
78718
78719 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78720 Define lockf64 as an alias.
78721 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78722 Define fseeko64 as an alias.
78723 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78724 Define ftello64 as an alias.
78725 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78726 Define _IO_fgetpos64 and fgetpos64 as aliases.
78727 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78728 Define _IO_fsetpos64 and fsetpos64 as aliases.
78729 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78730 Conditionalize body on this.
78731 * libio/fseeko64.c: Likewise.
78732 * libio/ftello64.c: Likewise.
78733 * libio/iofgetpos64.c: Likewise.
78734 * libio/iofsetpos64.c: Likewise.
78735 * sysdeps/wordsize-64/lockf.c: File removed.
78736 * sysdeps/wordsize-64/lockf64.c: File removed.
78737 * sysdeps/wordsize-64/fseeko.c: File removed.
78738 * sysdeps/wordsize-64/fseeko64.c: File removed.
78739 * sysdeps/wordsize-64/ftello.c: File removed.
78740 * sysdeps/wordsize-64/ftello64.c: File removed.
78741 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78742 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78743 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78744 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78755
78756 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78758 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78760 [defined __arch64__ || defined __sparcv9]
78761 (__OFF_T_MATCHES_OFF64_T): New macro.
78762 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78763 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78765 (__OFF_T_MATCHES_OFF64_T): New macro.
78766
78767 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78768
78769 * stdlib/secure-getenv.c (__secure_getenv): Replace
78770 GLIBC_2_16 with GLIBC_2_17.
78771
78772 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78773
78774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78775 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78776
78777 2012-08-03 David S. Miller <davem@davemloft.net>
78778
78779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78780
78781 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78782
78783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78784 Remove.
78785 (__ASSUME_CORRECT_SI_PID): Likewise.
78786 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78787 (__ASSUME_TMPFS_NAME): Likewise.
78788 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78789 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78790 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78791 (HAVE_AUX_SECURE): Make definition unconditional.
78792 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78793 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78794
78795 2012-08-03 Roland McGrath <roland@hack.frob.com>
78796
78797 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78798 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78799 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78800 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78801 __eloop_threshold instead of SYMLOOP_MAX.
78802
78803 * sysdeps/generic/eloop-threshold.h: New file.
78804 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78805 of MAXSYMLINKS.
78806 * elf/chroot_canon.c (chroot_canon): Likewise.
78807
78808 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78809
78810 [BZ #13717]
78811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78812 Change to 2.6.0 everywhere.
78813 * sysdeps/unix/sysv/linux/configure: Regenerated.
78814 * sysdeps/unix/sysv/linux/kernel-features.h
78815 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78816 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78817 kernel versions.
78818 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78819 (__ASSUME_FUTEX_REQUEUE): Remove.
78820 (__ASSUME_STATFS64): Define unconditionally.
78821 (__ASSUME_AT_SECURE): Likewise.
78822 (__ASSUME_CORRECT_SI_PID): Likewise.
78823 (__ASSUME_TGKILL): Define without depending on kernel version for
78824 i386.
78825 (__ASSUME_UTIMES): Likewise.
78826 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78827 kernel version.
78828 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78829 (__ASSUME_TMPFS_NAME): Likewise.
78830 * README: Update reference to Linux kernel versions.
78831
78832 2012-08-02 Marek Polacek <polacek@redhat.com>
78833
78834 [BZ #14150]
78835 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78836 libc_cv_asm_type_prefix with %.
78837 * configure: Regenerated.
78838 * include/libc-symbols.h: Remove comment about
78839 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78840 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78841 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78842 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78843 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78844 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78845 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78846 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78847 * elf/tst-unique2mod1.c: Likewise.
78848 * elf/tst-unique1mod2.c: Likewise.
78849 * elf/tst-unique1mod1.c: Likewise.
78850 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78851 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78852 Replace ASM_TYPE_DIRECTIVE with .type.
78853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78854 * sysdeps/i386/sysdep.h: Likewise.
78855 * sysdeps/x86_64/sysdep.h: Likewise.
78856 * sysdeps/sh/sysdep.h: Likewise.
78857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78858 Do not define ASM_TYPE_DIRECTIVE.
78859 * sysdeps/powerpc/sysdep.h: Likewise.
78860 * sysdeps/powerpc/powerpc32/sysdep.h:
78861 Replace ASM_TYPE_DIRECTIVE with .type.
78862 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78863 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78864 * sysdeps/i386/fpu/e_powf.S: Likewise.
78865 * sysdeps/i386/fpu/e_expl.S: Likewise.
78866 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78867 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78868 * sysdeps/i386/fpu/e_pow.S: Likewise.
78869 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78870 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78871 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78872 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78873 * sysdeps/i386/fpu/e_log2.S: Likewise.
78874 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78875 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78876 * sysdeps/i386/fpu/e_powl.S: Likewise.
78877 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78878 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78879 * sysdeps/i386/fpu/e_logl.S: Likewise.
78880 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78881 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78882 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78883 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78885 * sysdeps/i386/fpu/e_log.S: Likewise.
78886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78887 * sysdeps/i386/fpu/e_logf.S: Likewise.
78888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78890 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78891 * sysdeps/i386/fpu/e_log10.S: Likewise.
78892 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78893 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78894 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78895 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78896 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78897 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78898 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78899 * sysdeps/i386/i686/strtok.S: Likewise.
78900 * sysdeps/i386/i386-mcount.S: Likewise.
78901 * sysdeps/i386/strtok.S: Likewise.
78902 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78903 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78905 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78906 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78911 * sysdeps/x86_64/_mcount.S: Likewise.
78912 * sysdeps/x86_64/strtok.S: Likewise.
78913 * sysdeps/sh/_mcount.S: Likewise.
78914
78915 2012-08-01 Roland McGrath <roland@hack.frob.com>
78916
78917 * libio/iofopen.c: Include <fcntl.h>.
78918 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78919 (_IO_fopen64, fopen64): Define as aliases.
78920 * libio/iofopen64.c: Include <fcntl.h>.
78921 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78922 Conditionalize body on this.
78923 * sysdeps/wordsize-64/iofopen.c: File removed.
78924 * sysdeps/wordsize-64/iofopen64.c: File removed.
78925
78926 2012-08-01 Marek Polacek <polacek@redhat.com>
78927
78928 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78929 Use dlfcn directly instead of a variable.
78930 (binfmt-subdir): Do not define.
78931 (dlfcn): Likewise.
78932
78933 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78934
78935 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78936 Remove all definitions.
78937 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78938 <kernel-features.h>.
78939 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78940 (miss_F_GETOWN_EX): Remove all definitions.
78941 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78942 macro definition.
78943 [!__ASSUME_FCNTL64]: Remove conditional code.
78944 [__ASSUME_FCNTL64]: Make code unconditional.
78945 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78946 <kernel-features.h>.
78947 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78948 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78949 (lockf64) [__NR_fcntl64]: Make code unconditional.
78950 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78951
78952 * sysdeps/unix/sysv/linux/kernel-features.h
78953 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78954 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78955 Make code unconditional.
78956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78959 [__NR_vfork]: Make code unconditional.
78960 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78961 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78963 [__NR_vfork]: Make code unconditional.
78964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78966
78967 2012-08-01 Roland McGrath <roland@hack.frob.com>
78968
78969 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78970 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78971
78972 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78973 Define mkstemp64 as an alias.
78974 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78975 Define mkstemps64 as an alias.
78976 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78977 Define mkostemp64 as an alias.
78978 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78979 Define mkostemps64 as an alias.
78980 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78981 Conditionalize body on this.
78982 * misc/mkostemp64.c: Likewise.
78983 * misc/mkostemps64.c: Likewise.
78984 * misc/mkstemps64.c: Likewise.
78985 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78986 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78987 * sysdeps/wordsize-64/mkostemp.c: File removed.
78988 * sysdeps/wordsize-64/mkstemp.c: File removed.
78989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78992 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78993
78994 [BZ #14138]
78995 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78996 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78997 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78998 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78999
79000 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
79001 compat_symbol macros from <shlib-compat.h> rather than the underlying
79002 default_symbol_version and symbol_version macros, so that DEFAULT
79003 lines in shlib-versions are respected.
79004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
79005
79006 2012-08-01 Florian Weimer <fweimer@redhat.com>
79007
79008 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
79009 Declare with warn_unused_result.
79010 (setgid, setregid, setegid, setresgid): Likewise.
79011 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
79012 Likewise.
79013 * WUR-REPORT: Remove set*id functions.
79014
79015 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
79016
79017 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
79018
79019 2012-07-31 Roland McGrath <roland@hack.frob.com>
79020
79021 [BZ #10191]
79022 * include/sys/socket.h (__libc_accept, __libc_accept4):
79023 Add attribute_hidden.
79024 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
79025
79026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
79027 use of PTR_MANGLE.
79028 * inet/getnetgrent_r.c (setup): Likewise.
79029
79030 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
79031
79032 2012-07-31 David S. Miller <davem@davemloft.net>
79033
79034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79035
79036 2012-07-31 Joseph Myers <joseph@codesourcery.com>
79037
79038 [BZ #13629]
79039 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
79040 value between 1.0 and 2.0 and smaller part has absolute value less
79041 than 1.0.
79042 * math/s_clog10.c (__clog10): Likewise.
79043 * math/s_clog10f.c (__clog10f): Likewise.
79044 * math/s_clog10l.c (__clog10l): Likewise.
79045 * math/s_clogf.c (__clogf): Likewise.
79046 * math/s_clogl.c (__clogl): Likewise.
79047 * math/libm-test.inc (clog_test): Add more tests.
79048 (clog10_test): Likewise.
79049 * sysdeps/i386/fpu/libm-test-ulps: Update.
79050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79051
79052 2012-07-31 Florian Weimer <fweimer@redhat.com>
79053
79054 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
79055 Exit with zero in case no suitable GID is found, and write a
79056 message to standard error.
79057
79058 2012-07-30 Roland McGrath <roland@hack.frob.com>
79059
79060 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
79061 rather than to 1.
79062 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
79063 (MAXPATHLEN): Removed.
79064 (NOGROUP, NODEV): New macros.
79065 (setbit, clrbit, isset, isclr): New macros.
79066 (howmany, roundup, powerof2): New macros.
79067 (DEV_BSIZE): New macro.
79068
79069 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
79070 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
79071
79072 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
79073 definition on [!__NO_LONG_DOUBLE_MATH].
79074
79075 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
79076 PTR_MANGLE and PTR_DEMANGLE.
79077
79078 * socket/accept4.c (accept4): Rename to __libc_accept4.
79079 Define accept4 as a weak alias.
79080
79081 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
79082 on [_DIRENT_HAVE_D_TYPE].
79083 * io/ftw.c (ftw_dir): Likewise.
79084
79085 * io/xmknod.c (__xmknod): Don't check PATH for being null.
79086
79087 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
79088
79089 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
79090 Use the BSD numbers rather than the arbitrary ones we had.
79091 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
79092 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
79093 (SIGXCPU, SIGXFSZ): New macros.
79094 (_NSIG): Now 32.
79095
79096 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
79097 initializer on [_LIBC_REENTRANT].
79098
79099 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
79100 definitions inside [_POSIX_MAPPED_FILES].
79101
79102 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
79103
79104 * dirent/opendir.c: Include <fcntl.h>.
79105
79106 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
79107 (__libc_getspecific): Likewise.
79108 (__libc_key_create): Likewise.
79109
79110 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
79111 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
79112 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
79113 (tmpfile64): Define as alias.
79114 * sysdeps/wordsize-64/tmpfile.c: File removed.
79115 * sysdeps/wordsize-64/tmpfile64.c: File removed.
79116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
79117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
79118
79119 * stdio-common/vfscanf.c: Include <stdbool.h>.
79120 * nss/makedb.c: Likewise.
79121 * stdio-common/_i18n_number.h: Likewise.
79122 * argp/argp-help.c: Likewise.
79123 * posix/wordexp.c: Likewise.
79124 * sysdeps/posix/spawni.c: Likewise.
79125 * nss/nss_files/files-initgroups.c: Likewise.
79126 * stdio-common/reg-modifier.c: Include <stdlib.h>.
79127 * nss/nss_files/files-initgroups.c: Likewise.
79128 * nss/nss_db/db-netgrp.c: Likewise.
79129 * nss/nss_db/db-initgroups.c: Likewise.
79130 * io/fchmodat.c: Include <sys/stat.h>.
79131
79132 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
79133 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
79134
79135 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
79136 [HAVE_MMAP].
79137
79138 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
79139 Add multiple inclusion protection.
79140
79141 2012-07-27 David S. Miller <davem@davemloft.net>
79142
79143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79144
79145 2012-07-27 Gary Benson <gbenson@redhat.com>
79146
79147 [BZ #14298]
79148 * elf/rtld.c: Include <stap-probe.h>.
79149 (dl_main): Added static probes "init_start" and "init_complete".
79150 * elf/dl-load.c: Include <stap-probe.h>.
79151 (lose): Take new parameter "nsid".
79152 Added static probe "map_failed".
79153 (_dl_map_object_from_fd): Pass namespace id to lose.
79154 Added static probe "map_start".
79155 (open_verify): Pass namespace id to lose.
79156 * elf/dl-open.c: Include <stap-probe.h>.
79157 (dl_open_worker) Added static probes "map_complete", "reloc_start"
79158 and "reloc_complete".
79159 * elf/dl-close.c: Include <stap-probe.h>.
79160 (_dl_close_worker): Added static probes "unmap_start" and
79161 "unmap_complete".
79162 * elf/rtld-debugger-interface.txt: New file documenting the above.
79163
79164 2012-07-26 Roland McGrath <roland@hack.frob.com>
79165
79166 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79167 rather than a string variable.
79168 * sunrpc/rpc_main.c (h_output): Likewise.
79169 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79170
79171 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
79172
79173 * inet/check_native.c: New file.
79174
79175 2012-07-26 Joseph Myers <joseph@codesourcery.com>
79176
79177 [BZ #13629]
79178 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79179 if larger part has absolute value 1.0.
79180 * math/s_clog10.c (__clog10): Likewise.
79181 * math/s_clog10f.c (__clog10f): Likewise.
79182 * math/s_clog10l.c (__clog10l): Likewise.
79183 * math/s_clogf.c (__clogf): Likewise.
79184 * math/s_clogl.c (__clogl): Likewise.
79185 * math/libm-test.inc (clog_test): Add more tests.
79186 (clog10_test): Likewise.
79187 * sysdeps/i386/fpu/libm-test-ulps: Update.
79188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79189
79190 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79191 (pltexit): Likewise.
79192 (La_regs): Likewise.
79193 (La_retval): Likewise.
79194 (int_retval): Likewise.
79195 Update #error for removed macros to refer only to definitions in
79196 tst-audit.h.
79197 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79198 macro.
79199 (pltexit): Likewise.
79200 (La_regs): Likewise.
79201 (La_retval): Likewise.
79202 (int_retval): Likewise.
79203 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79204 macro.
79205 (pltexit): Likewise.
79206 (La_regs): Likewise.
79207 (La_retval): Likewise.
79208 (int_retval): Likewise.
79209 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79210 macro.
79211 (pltexit): Likewise.
79212 (La_regs): Likewise.
79213 (La_retval): Likewise.
79214 (int_retval): Likewise.
79215 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79216 macro.
79217 (pltexit): Likewise.
79218 (La_regs): Likewise.
79219 (La_retval): Likewise.
79220 (int_retval): Likewise.
79221 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79222 macro.
79223 (pltexit): Likewise.
79224 (La_regs): Likewise.
79225 (La_retval): Likewise.
79226 (int_retval): Likewise.
79227 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79228 macro.
79229 (pltexit): Likewise.
79230 (La_regs): Likewise.
79231 (La_retval): Likewise.
79232 (int_retval): Likewise.
79233 * sysdeps/generic/tst-audit.h: Update comment to refer only to
79234 macro definitions in tst-audit.h.
79235 * sysdeps/i386/tst-audit.h: New file.
79236 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79237 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79238 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79239 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79240 * sysdeps/sh/tst-audit.h: Likewise.
79241 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79242 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79243 * sysdeps/x86_64/tst-audit.h: Likewise.
79244
79245 2012-07-26 Andreas Jaeger <aj@suse.de>
79246
79247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79248 ptrace.
79249
79250 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79251 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79252 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79253 PTRACE_O_MASK.
79254 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79255 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79256 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79257
79258 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79259 value.
79260
79261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79262 _sigsys.
79263 (si_call_addr, si_syscall, si_arch): Define new macro.
79264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79265 _sigsys.
79266 (si_call_addr, si_syscall, si_arch): Define new marcro.
79267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79268 _sigsys.
79269 (si_call_addr, si_syscall, si_arch): Define new macro.
79270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79271 _sigsys.
79272 (si_call_addr, si_syscall, si_arch): Define new macro.
79273
79274 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79275
79276 [BZ #13717]
79277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79278 Change to 2.4.21 where previously 2.4.1.
79279 * sysdeps/unix/sysv/linux/configure: Regenerated.
79280 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79281 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79282 Linux kernel version.
79283 (__ASSUME_STD_AUXV): Remove.
79284 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79285 kernel version.
79286 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79287 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79288 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79289 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79290 (__ASSUME_NETLINK_SUPPORT): Likewise.
79291 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79292 (__no_netlink_support): Remove conditional definition.
79293 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79294 Remove.
79295 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79296 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79297 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79298 (if_nameindex_ioctl): Remove.
79299 (if_nameindex_netlink): Do not handle __no_netlink_support.
79300 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79301 code.
79302 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79303 Remove conditional code.
79304 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79305 code.
79306 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79307 unconditional.
79308 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79309 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79310 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79311 Remove.
79312 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79313 [!__ASSUME_STD_AUXV]: Remove conditional code.
79314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79315 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79316 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79318 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79319 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79320 code.
79321 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79323 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79325 conditional code.
79326 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79328 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79329 code.
79330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79331 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79332 conditional code.
79333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79334 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79335 code unconditional.
79336 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79337 conditional code.
79338 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79339 unconditional.
79340 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79341 conditional code.
79342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79343 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79344 unconditional.
79345 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79346 conditional code.
79347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79348 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79349 code unconditional.
79350 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79351 conditional code.
79352 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79353 unconditional.
79354 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79355 conditional code.
79356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79357 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79358 code unconditional.
79359 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79360 conditional code.
79361 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79362 unconditional.
79363 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79364 conditional code.
79365
79366 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79367
79368 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79369 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79370 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79371 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79372 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79373 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79374 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79375 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79376 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79377 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79378 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79379 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79380 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79381 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79382 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79384 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79385 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79386 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79388 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79389 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79391
79392 2012-07-25 Florian Weimer <fweimer@redhat.com>
79393
79394 * Versions.def: Add GLIBC_2.17.
79395 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79396 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79397 Introduce __libc_secure_getenv.
79398 * stdlib/Versions (2.17): Add secure_getenv
79399 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79400 * stdlib/secure-getenv.c: Rename __secure_getenv to
79401 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79402 symbol __secure_getenv for GLIBC_2.0.
79403 * stdlib/tst-secure-getenv.c: New.
79404 * stdlib/Makefile (tests): Add testcase.
79405 * manual/startup.texi (Environment Access): Document
79406 secure_getenv.
79407 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79408 __libc_secure_getenv.
79409 * inet/ruserpass.c (ruserpass): Likewise.
79410 * malloc/mtrace.c (mtrace): Likewise.
79411 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79412 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79413 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79414 * sysdeps/posix/tempname.c: Likewise. Evaluate
79415 HAVE_SECURE_GETENV.
79416 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79417 __secure_getenv to __libc_secure_getenv.
79418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79420 Likewise.
79421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79422 Likewise.
79423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79430
79431 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79432
79433 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79434 (struct La_i86_retval): Likewise.
79435 (struct La_x86_64_regs): Likewise.
79436 (struct La_x86_64_retval): Likewise.
79437 (struct La_x32_regs): Likewise.
79438 (struct La_x32_retval): Likewise.
79439 (struct La_ppc32_regs): Likewise.
79440 (struct La_ppc32_retval): Likewise.
79441 (struct La_ppc64_regs): Likewise.
79442 (struct La_ppc64_retval): Likewise.
79443 (struct La_sh_regs): Likewise.
79444 (struct La_sh_retval): Likewise.
79445 (struct La_s390_32_regs): Likewise.
79446 (struct La_s390_32_retval): Likewise.
79447 (struct La_s390_64_regs): Likewise.
79448 (struct La_s390_64_retval): Likewise.
79449 (struct La_sparc32_regs): Likewise.
79450 (struct La_sparc32_retval): Likewise.
79451 (struct La_sparc64_regs): Likewise.
79452 (struct La_sparc64_retval): Likewise.
79453 (struct audit_ifaces): Remove architecture-specific pltenter and
79454 pltexit members.
79455 * sysdeps/i386/ldsodefs.h: New file.
79456 * sysdeps/powerpc/ldsodefs.h: Likewise.
79457 * sysdeps/s390/ldsodefs.h: Likewise.
79458 * sysdeps/sh/ldsodefs.h: Likewise.
79459 * sysdeps/sparc/ldsodefs.h: Likewise.
79460 * sysdeps/x86_64/ldsodefs.h: Likewise.
79461
79462 2012-07-25 Marek Polacek <polacek@redhat.com>
79463
79464 [BZ #6808]
79465 * math/libm-test.inc (yn_test): Add another test.
79466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79467 to ERANGE when the result is +-Inf.
79468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79469 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79472
79473 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79474
79475 * conform/data/time.h-data (NULL): Use macro-constant. Require
79476 equal to 0.
79477 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79478 clock_t.
79479 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79480
79481 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79482
79483 * configure.in <sysdeps resolving>: Correct printing
79484 Implies_before.
79485 * configure: Regenerate.
79486
79487 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79488
79489 * math/w_ilogb.c: Include <limits.h>.
79490 * math/w_ilogbl.c: Likewise.
79491
79492 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79493
79494 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79495 va_copy. Document allowing for unavailable va_copy only as
79496 pre-C99 compatibility.
79497 * manual/string.texi (Copying and Concatenation): Use va_copy
79498 instead of __va_copy in concat example.
79499
79500 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79501
79502 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79503 (__sendto): Use create_address_port. Initialize APORT and deallocate
79504 it if not null.
79505
79506 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79507 with O_NOLINK passed to __file_name_lookup.
79508
79509 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79510 with O_NOLINK passed to __file_name_lookup.
79511
79512 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79513 negative N or less than NGIDS.
79514
79515 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79516 type to string_t. Set ERANGE as errno and return it if NAME is not big
79517 enough. Use memcpy instead of strncpy.
79518
79519 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79520
79521 * elf/Makefile (check-data): Remove.
79522 (localplt.data): New vpath directive.
79523 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79524 instead of $(check-data).
79525 * scripts/data/localplt-generic.data: Move to ...
79526 * sysdeps/generic/localplt.data: ... here.
79527 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79528 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79529 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79531 ... here.
79532 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79534 ... here.
79535 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79537 ... here.
79538 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79540 ... here.
79541 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79543 ... here.
79544 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79546 ... here.
79547
79548 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79549
79550 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79551 PPC32 and PPC64 files.
79552 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79553 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79554
79555 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79556
79557 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79558 __makecontext_ret to ...
79559 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79560 ... here and call exit if uc_link is NULL. New file.
79561 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79562 __makecontext_ret.S.
79563 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79564 __makecontext_ret to ...
79565 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79566 ... here and call exit if uc_link is NULL. New file.
79567 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79568 __makecontext_ret.S.
79569
79570 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79571
79572 * elf/elf.h (R_390_IRELATIVE): New definition.
79573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79574 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79575 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79577 (elf_machine_lazy_rel): Likewise.
79578 * sysdeps/s390/dl-irel.h: New file.
79579 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79580 * sysdeps/s390/s390-64/memset.S: New asm code.
79581 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79582 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79583 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79584 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79585 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79586 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79587 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79588 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79589 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79590 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79591 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79592 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79593 * sysdeps/s390/s390-32/memset.S: New asm code.
79594 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79595
79596 2012-07-17 Marek Polacek <polacek@redhat.com>
79597
79598 [BZ #14349]
79599 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79600 * sysdeps/s390/s390-64/configure.in: Likewise.
79601 * sysdeps/sparc/configure.in: Likewise.
79602 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79603 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79604 * sysdeps/i386/configure.in: Likewise.
79605 * sysdeps/x86_64/configure.in: Likewise.
79606 * sysdeps/sh/configure.in: Likewise.
79607 * sysdeps/s390/s390-32/configure: Regenerated.
79608 * sysdeps/s390/s390-64/configure: Likewise.
79609 * sysdeps/x86_64/configure: Likewise.
79610 * sysdeps/sh/configure: Likewise.
79611 * sysdeps/powerpc/powerpc64/configure: Likewise.
79612 * sysdeps/powerpc/powerpc32/configure: Likewise.
79613 * sysdeps/sparc/configure: Likewise.
79614 * sysdeps/i386/configure: Likewise.
79615
79616 * elf/dl-open.c: Comment fixes.
79617
79618 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79619
79620 * Makefile [CXX] (check-data): Remove.
79621 [CXX] (c++-types.data): New vpath directive.
79622 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79623 vpath. Do not allow for C++ type data being missing.
79624 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79625 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79626 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79627 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79628 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79629 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79630 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79632 ... here.
79633 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79635 ... here.
79636 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79638 ... here.
79639 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79641 ... here.
79642 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79644 ... here.
79645 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79647 ... here.
79648 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79650 ... here.
79651 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79653
79654 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79655 definitions to architecture-specific files.
79656 (TLS_IE): Likewise.
79657 (TLS_LD): Likewise.
79658 (TLS_GD): Likewise.
79659 * sysdeps/i386/tls-macros.h: New file.
79660 * sysdeps/powerpc/tls-macros.h: Likewise.
79661 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79662 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79663 * sysdeps/sh/tls-macros.h: Likewise.
79664 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79665 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79666 * sysdeps/x86_64/tls-macros.h: Likewise.
79667
79668 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79669
79670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79671 zero value for regular exit case.
79672
79673 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79674 (__start_context): Preserve zero value for regular exit case.
79675
79676 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79677 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79678
79679 * manual/setjmp.texi (setcontext): Clarify normal process
79680 termination when uc_link is the null pointer.
79681 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79682 exit call.
79683
79684 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79685
79686 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79687 preprocessor. Test for each exception mask separately.
79688
79689 2012-07-16 Andreas Jaeger <aj@suse.de>
79690
79691 * po/ru.po: Update from translation team.
79692
79693 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79694
79695 * conform/data/string.h-data (NULL): Use macro-constant. Require
79696 equal to 0.
79697 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79698 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79699 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79700 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79702
79703 2012-07-13 Andreas Jaeger <aj@suse.de>
79704
79705 * po/fr.po: Update from translation team.
79706
79707 2012-07-12 Marek Polacek <polacek@redhat.com>
79708
79709 [BZ #14173]
79710 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79711 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79712 loop condition.
79713
79714 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79715
79716 [BZ #13717]
79717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79718 Change to 2.4.1 where previously 2.4.0.
79719 * sysdeps/unix/sysv/linux/configure: Regenerated.
79720 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79721 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79722 version.
79723 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79724 (__ASSUME_AT_CLKTCK): Remove.
79725 (__ASSUME_AT_PAGESIZE): Likewise.
79726 (__ASSUME_AT_XID): Likewise.
79727 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79728 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79729 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79730 unconditionally.
79731 (HAVE_AUX_PAGESIZE): Likewise.
79732 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79733 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79734 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79735
79736 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79737
79738 [BZ #14307]
79739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79740 the temporary buffer used to invoke __gethostbyname2_r,
79741 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79742 host_data / struct gaih_addrtuple.
79743 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79744 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79745 header file nss/nsswitch.h.
79746 * nss/nsswitch.h (global scope): Add definition of implementation
79747 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79748 resolv/nss_dns/dns-host.c).
79749
79750 2012-07-11 Andreas Jaeger <aj@suse.de>
79751
79752 * po/fr.po: Update from translation team.
79753
79754 * po/sv.po: Update from translation team
79755 * po/fr.po: Another update from translation team.
79756
79757 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79758
79759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79760 for subnormals or multiply small sinh result by itself.
79761 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79763
79764 2012-07-11 David S. Miller <davem@davemloft.net>
79765
79766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79767
79768 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79769
79770 [BZ #14347]
79771 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79772 (INTERNAL_MARK): Shift it here.
79773
79774 2012-07-10 Marek Polacek <polacek@redhat.com>
79775
79776 [BZ #14151]
79777 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79778 libc_cv_asm_global_directive with .globl.
79779 * configure: Regenerated.
79780 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79781 with .globl.
79782 * sysdeps/i386/configure: Regenerated.
79783 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79784 with .globl.
79785 * sysdeps/x86_64/configure: Regenerated.
79786 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79787 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79788 * elf/tst-unique2mod2.c: Likewise.
79789 * elf/tst-unique2mod1.c: Likewise.
79790 * elf/tst-unique1mod2.c: Likewise.
79791 * elf/tst-unique1mod1.c: Likewise.
79792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79793 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79795 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79796 * sysdeps/mach/sysdep.h: Likewise.
79797 * sysdeps/i386/sysdep.h: Likewise.
79798 * sysdeps/i386/i386-mcount.S: Likewise.
79799 * sysdeps/x86_64/_mcount.S: Likewise.
79800 * sysdeps/x86_64/sysdep.h: Likewise.
79801 * sysdeps/sh/_mcount.S: Likewise.
79802 * sysdeps/sh/sysdep.h: Likewise.
79803 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79804 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79805 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79807 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79808 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79809 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79810 * locale/localeinfo.h: Likewise.
79811 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79812 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79813
79814 2012-07-09 Roland McGrath <roland@hack.frob.com>
79815
79816 [BZ #14336]
79817 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79818 system".
79819 * manual/message.texi (The Uniforum approach): Likewise.
79820 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79821 (glibc iconv Implementation): Likewise.
79822
79823 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79824
79825 [BZ #14337]
79826 * math/s_clog.c (__clog): Avoid scaling a value down where that
79827 could result in underflow.
79828 * math/s_clog10.c (__clog10): Likewise.
79829 * math/s_clog10f.c (__clog10f): Likewise.
79830 * math/s_clog10l.c (__clog10l): Likewise.
79831 * math/s_clogf.c (__clogf): Likewise.
79832 * math/s_clogl.c (__clogl): Likewise.
79833 * math/libm-test.inc (clog_test): Add more tests.
79834 (clog10_test): Likewise.
79835 * sysdeps/i386/fpu/libm-test-ulps: Update.
79836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79837
79838 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79839
79840 [BZ #14283]
79841 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79842 by 7 not 8 to examine high bit of fractional part.
79843
79844 [BZ #14042]
79845 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79846 for call to __mcount_internal.
79847 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79848 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79849 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79850
79851 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79852
79853 [BZ #14154]
79854 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79855 approximation for values within 0x1p-13f of an odd multiple of
79856 pi/4.
79857 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79858 exception. Add more tests.
79859 * sysdeps/i386/fpu/libm-test-ulps: Update.
79860
79861 [BZ #6778]
79862 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79863 inputs and return -1 for them. Do not check for +Inf in case not
79864 reachable for +Inf.
79865 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79866 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79868 and return -1 for them. Do not check for +Inf in case not
79869 reachable for +Inf.
79870 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79871 define.
79872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79873 and return -1 for them. Do not check for +Inf in case not
79874 reachable for +Inf.
79875 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79876 spurious underflow.
79877 * sysdeps/i386/fpu/libm-test-ulps: Update.
79878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79879
79880 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79881
79882 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79883
79884 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79885
79886 [BZ #14157]
79887 [BZ #14331]
79888 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79889 could result in spurious underflow. Scale down values above
79890 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79891 * math/s_csqrtf.c (__csqrtf): Likewise.
79892 * math/s_csqrtl.c (__csqrtl): Likewise.
79893 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79894 spurious underflow.
79895 * sysdeps/i386/fpu/libm-test-ulps: Update.
79896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79897
79898 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79899
79900 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79901 xopen-msg.sed.
79902 * catgets/xopen-msg.awk: New file.
79903 * catgets/xopen-msg.sed: Removed.
79904
79905 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79906 po2text.sed.
79907 * intl/po2test.awk: New file.
79908 * intl/po2test.sed: Removed.
79909
79910 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79911
79912 [BZ #14328]
79913 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79914 or multiply small sinh result by itself.
79915 * math/s_ctanf.c (__ctanf): Likewise.
79916 * math/s_ctanh.c (__ctanh): Likewise.
79917 * math/s_ctanhf.c (__ctanhf): Likewise.
79918 * math/s_ctanhl.c (__ctanhl): Likewise.
79919 * math/s_ctanl.c (__ctanl): Likewise.
79920 * math/libm-test.inc (ctan_test_tonearest): New function.
79921 (ctan_test_towardzero): Likewise.
79922 (ctan_test_downward): Likewise.
79923 (ctan_test_upward): Likewise.
79924 (ctanh_test_tonearest): Likewise.
79925 (ctanh_test_towardzero): Likewise.
79926 (ctanh_test_downward): Likewise.
79927 (ctanh_test_upward): Likewise.
79928 (main): Call these new functions.
79929 * sysdeps/i386/fpu/libm-test-ulps: Update.
79930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79931
79932 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79933
79934 * .gitignore: Delete /ports entry.
79935
79936 2012-07-03 Andreas Jaeger <aj@suse.de>
79937
79938 * po/bg.po: Update from translation team.
79939 * po/cs.po: Likewise.
79940 * po/de.po: Likewise.
79941 * po/hr.po: Likewise.
79942 * po/nl.pl: Likewise.
79943 * po/pl.po: Likewise.
79944 * po/vi.po: Likewise.
79945
79946 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79947
79948 * Makeconfig [!+link] (+link-before-libc): New variable.
79949 [!+link] (+link-after-libc): Likewise.
79950 [!+link] (+link-tests): Likewise.
79951 [!+link] (+link): Define in terms of $(+link-before-libc) and
79952 $(+link-after-libc).
79953 [!+link-static] (+link-static-before-libc): New variable.
79954 [!+link-static] (+link-static-after-libc): Likewise.
79955 [!+link-static] (+link-static-tests): Likewise.
79956 [!+link-static] (+link-static): Define in terms of
79957 $(+link-static-before-libc) and $(+link-static-after-libc).
79958 [build-shared] (link-libc-before-gnulib): New variable.
79959 [build-shared] (link-libc-tests): Likewise.
79960 [build-shared] (link-libc): Define in terms of
79961 $(link-libc-before-gnulib).
79962 [!build-shared] (link-libc-tests): New variable.
79963 (link-libc-static-tests): New variable.
79964 [!gnulib] (gnulib-arch): New variable.
79965 [!gnulib] (gnulib-tests): Likewise.
79966 [!gnulib] (static-gnulib-arch): Likewise.
79967 [!gnulib] (static-gnulib-tests): Likewise.
79968 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79969 Define with "=" instead of ":=".
79970 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79971 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79972 * Rules (binaries-all-notests): New variable.
79973 (binaries-all-tests): Likewise.
79974 (binaries-static-notests): Likewise.
79975 (binaries-static-tests): Likewise.
79976 (binaries-all): Define using $(binaries-all-notests) and
79977 $(binaries-all-tests).
79978 (binaries-static): Define using $(binaries-static-notests) and
79979 $(binaries-static-tests).
79980 (binaries-shared-tests): New variable.
79981 (binaries-shared-notests): Likewise.
79982 (binaries-shared): Remove variable.
79983 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79984 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79985 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79986 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79987 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79988 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79989 * elf/Makefile (sln-modules): New variable.
79990 (extra-objs): Add $(sln-modules:=.o).
79991 (ldconfig-modules): Add static-stubs.
79992 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79993 * elf/static-stubs.c: New file.
79994
79995 [BZ #14283]
79996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79997 by 7 not 8 to examine high bit of fractional part. Use volatile
79998 variables when splitting into final array of floats if
79999 __FLT_EVAL_METHOD__ != 0.
80000 * math/libm-test.inc (cos_test): Add another test.
80001 (sin_test): Likewise.
80002 * sysdeps/i386/fpu/libm-test-ulps: Update.
80003
80004 [BZ #14273]
80005 * math/libm-test.inc (cosh_test): Add more tests.
80006
80007 * version.h (RELEASE): Set to "development".
80008 (VERSION): Set to "2.16.90".
80009
80010 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
80011
80012 * NEWS: Update copyright. Remove last-updated date.
80013 Mention math library bug fixes and timezone data changes.
80014 * README: Mention GNU/Hurd, x32, and HPPA support status.
80015
80016 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
80017
80018 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
80019
80020 2012-06-27 Andreas Jaeger <aj@suse.de>
80021
80022 * manual/contrib.texi (Contributors): Add Samuel Thibault.
80023
80024 2012-06-25 Andreas Jaeger <aj@suse.de>
80025
80026 * sysdeps/s390/fpu/libm-test-ulps: Update.
80027
80028 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
80029 Thomas Schwinge <thomas@codesourcery.com>
80030
80031 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
80032 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
80033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
80034 fanotify_mark.
80035
80036 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
80037
80038 * sysdeps/mach/start.c: Remove file.
80039 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
80040 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
80041 * sysdeps/sh/init-first.c: Likewise.
80042
80043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
80044 registers for frame unwinding purposes, add CFI directives.
80045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80046 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
80047 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
80048 Likewise.
80049
80050 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
80051 __fortify_fail returning.
80052 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80053
80054 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
80055 sysdeps/sh/____longjmp_chk.S.
80056 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
80057 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
80058 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
80059 (gen-as-const-headers): Append sigaltstack-offsets.sym.
80060
80061 * sysdeps/sh/abort-instr.h: New file.
80062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
80063 process in case exit returns.
80064
80065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
80066 initialize the GOT register before use.
80067
80068 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
80069 calculation of ARGC > 4.
80070
80071 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
80072 meaningful names to some local labels.
80073
80074 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
80075 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80076
80077 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
80078 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
80079 (__arch_compare_and_exchange_val_16_acq): Likewise.
80080 (__arch_compare_and_exchange_val_32_acq): Likewise.
80081 (atomic_exchange_and_add): Fix gUSA sequence.
80082 (atomic_add): Likewise.
80083 (atomic_add_negative): Likewise.
80084 (atomic_add_zero): Likewise.
80085 (atomic_bit_test_set): Likewise.
80086
80087 2012-06-22 Andreas Schwab <schwab@redhat.com>
80088
80089 [BZ #13579]
80090 * include/link.h (struct link_map): Add l_free_initfini.
80091 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
80092 l_initfini.
80093 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
80094 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
80095 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
80096 set.
80097
80098 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
80099
80100 * configure.in: Use AC_LANG_SOURCE.
80101 * configure: Regenerate.
80102
80103 2012-06-22 Roland McGrath <roland@hack.frob.com>
80104
80105 * configure.in (libc_cv_localstatedir): New substituted variable.
80106 * configure: Regenerated.
80107 * config.make.in (localstatedir): New variable, substituted from
80108 libc_cv_localstatedir.
80109 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
80110 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
80111 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
80112 * sysdeps/gnu/configure: Regenerated.
80113
80114 2012-06-21 Jeff Law <law@redhat.com>
80115
80116 [BZ #14277]
80117 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
80118 free. Simplify list management for _LIBC case.
80119
80120 2012-06-21 Joseph Myers <joseph@codesourcery.com>
80121
80122 [BZ #14273]
80123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
80124 Clear sign bit of 64-bit integer value before comparing against
80125 overflow value.
80126
80127 * sysdeps/mach/configure: Regenerated.
80128
80129 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
80130
80131 [BZ #14278]
80132 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
80133
80134 2012-06-21 Jeff Law <law@redhat.com>
80135
80136 [BZ #13882]
80137 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
80138 uint16_t for elements in the "seen" array to avoid char overflows.
80139 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80140 * elf/dl-open.c (dl_open_worker): Likewise.
80141
80142 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
80143
80144 * scripts/list-sources.sh: Scan PORTS for translations.
80145 * po/libc.pot: Regenerated.
80146
80147 2012-06-21 Andreas Jaeger <aj@suse.de>
80148
80149 [BZ #12194]
80150 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80151 warning.
80152 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80153 * bits/byteswap-16.h (__bswap_16): Likewise.
80154 * bits/byteswap.h (__bswap_constant_16): Likewise.
80155
80156 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
80157
80158 [BZ #14117]
80159 * sysdeps/i386/fpu_control.h: Removed.
80160 * sysdeps/x86_64/fpu_control.h: Moved to ...
80161 * sysdeps/x86/fpu_control.h: Here.
80162
80163 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80164 (_FPU_SETCW): Likewise.
80165
80166 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
80167
80168 [BZ #14117]
80169 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80170 * sysdeps/x86/fpu/bits/mathinline.h: This.
80171 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80172
80173 [BZ #14050]
80174 [BZ #14117]
80175 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80176 functions if __x86_64__ is defined.
80177
80178 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
80179
80180 * string/endian.h: Add !__ASSEMBLER__ condition for including
80181 conversion interfaces.
80182
80183 2012-06-15 Joseph Myers <joseph@codesourcery.com>
80184
80185 [BZ #14241]
80186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80187 of ABS(x) in calculating zero to negative powers other than odd
80188 integers.
80189 * math/libm-test.inc (pow_test): Add more tests.
80190
80191 2012-06-15 Andreas Jaeger <aj@suse.de>
80192
80193 * manual/contrib.texi (Contributors): Update entry of Liubov
80194 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80195 Machado Filho.
80196
80197 2012-06-15 Cyril Hrubis <metan@ucw.cz>
80198
80199 * string/string.h: Add __wur to GNU version of strerror_r.
80200
80201 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
80202
80203 [BZ #14229]
80204 * string/Makefile (tests): Add tst-strtok_r.
80205 * string/tst-strtok_r.c: New file.
80206 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80207 RAX_LP/RDX_LP on SAVE_PTR.
80208
80209 2012-06-14 Roland McGrath <roland@hack.frob.com>
80210
80211 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80212
80213 2012-06-14 Joseph Myers <joseph@codesourcery.com>
80214
80215 * libm_test.inc (csqrt_test): Allow more spurious underflow
80216 exceptions.
80217 (j0_test): Likewise.
80218 (j1_test): Likewise.
80219 (y0_test): Likewise.
80220 (y1_test): Likewise.
80221
80222 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
80223
80224 * po/Makefile (libc.pot): Use UTF-8 charset.
80225
80226 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
80227
80228 [BZ #14210]
80229 Suppress sign-conversion warning from FD_SET.
80230 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80231 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80232 not unsigned long int.
80233 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80234
80235 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
80236
80237 [BZ #14050]
80238 [BZ #14117]
80239 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80240 __extern_always_inline instead of __extern_inline.
80241 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80242 (__signbit): Likewise.
80243 (__signbitl): Support C++ namespace.
80244 (lrintf): New inline function.
80245 (lrint): Likewise.
80246 (llrintf): Likewise.
80247 (llrint): Likewise.
80248 (fmaxf): Likewise.
80249 (fmax): Likewise.
80250 (fminf): Likewise.
80251 (fmin): Likewise.
80252 (rint): Likewise.
80253 (rintf): Likewise.
80254 (ceil): Likewise.
80255 (ceilf): Likewise.
80256 (floor): Likewise.
80257 (floorf): Likewise.
80258 (nearbyint): Likewise.
80259 (nearbyintf): Likewise.
80260
80261 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
80262
80263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80264 non-default versions.
80265
80266 2012-06-11 Roland McGrath <roland@hack.frob.com>
80267
80268 [BZ #14218]
80269 * manual/argp.texi (Argp): Reword argp_parse description slightly.
80270
80271 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
80272
80273 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80274 (FE_UPWARD, FE_DOWNWARD): Don't define.
80275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80276 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80277
80278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80279 reading it.
80280 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80282
80283 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80284
80285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80289
80290 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
80291
80292 [BZ #14117]
80293 * sysdeps/i386/fpu/bits/fenv.h: Removed.
80294 * sysdeps/i386/fpu/Implies: New file.
80295 * sysdeps/x86_64/fpu/Implies: Likewise.
80296 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80297 * sysdeps/x86/fpu/bits/fenv.h: This.
80298
80299 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80300 __SSE_MATH__.
80301
80302 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
80303
80304 [BZ #14134]
80305 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80306 character 0xffff that matches the last element of the
80307 conversion table.
80308
80309 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80310
80311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80312 fmodl commit.
80313
80314 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80315
80316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80317 values higher than 25.6283.
80318
80319 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80320
80321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80322 subnormal exponent extraction and add some __builtin_expect.
80323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80324 Fix for subnormal mantissa calculation.
80325
80326 2012-06-04 Mike Frysinger <vapier@gentoo.org>
80327
80328 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80329 cpu2 is -1 and errno is not ENOSYS.
80330
80331 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
80332
80333 [BZ #14117]
80334 * sysdeps/i386/i486/bits/string.h: Renamed to ...
80335 * sysdeps/x86/bits/string.h: This.
80336 * sysdeps/x86_64/bits/string.h: Removed.
80337
80338 * sysdeps/i386/i486/bits/string.h: Define inline functions only
80339 if not compiling for x86-64, but compiling for >= i486.
80340
80341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80342 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80343
80344 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80345 New macro from Linux kernel 3.4.0.
80346 (FP_XSTATE_MAGIC2): Likewise.
80347 (FP_XSTATE_MAGIC2_SIZE): Likewise.
80348 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80349 (struct _fpx_sw_bytes): New struct.
80350 (struct _xsave_hdr): Likewise.
80351 (struct _ymmh_state): Likewise.
80352 (struct _xstate): Likewise.
80353
80354 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80355 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80357 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80359 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80360
80361 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80363 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80364 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80365 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80366 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80367
80368 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80369
80370 [BZ #13743]
80371 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80372 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80373 (sysdep_headers): Include sys/platform/ppc.h.
80374 * sysdeps/powerpc/test-gettimebase.c: Test for
80375 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80376 * manual/Makefile (appendices): Include platform.texi.
80377 * manual/contrib.texi (Contributors): Update @node pointers.
80378 * manual/maint.texi (Maintenance): Likewise.
80379 (Platform): New node.
80380 * manual/platform.texi: New file. Document the new features.
80381
80382 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80383 Jakub Jelinek <jakub@redhat.com>
80384
80385 [BZ #14188]
80386 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80387 where __builtin_expect is unavailable.
80388
80389 2012-06-03 David S. Miller <davem@davemloft.net>
80390
80391 * stdlib/longlong.h: Updated from GCC.
80392
80393 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
80394
80395 [BZ #14042]
80396 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80397 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80398 __mcount_internal.
80399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80400 (GLIBC_2.16): Likewise.
80401
80402 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80403
80404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80405
80406 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80407
80408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80409 (default-abi): New variable.
80410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80412 variable.
80413 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80414 Likewise.
80415 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80416 Likewise.
80417 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80418 Likewise.
80419
80420 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80421 definition. Document in comment.
80422
80423 2012-06-01 David S. Miller <davem@davemloft.net>
80424
80425 * stdlib/longlong.h: Updated from GCC.
80426
80427 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80428
80429 [BZ #14117]
80430 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80431 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80432 sys/debugreg.h sys/io.h here.
80433 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80434 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80435 sys/io.h.
80436 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80437 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80438 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80439 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80440 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80441 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80442
80443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80444 Define only if __x86_64__ is defined.
80445
80446 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80447
80448 [BZ #14048]
80449 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80450 Use int64_t for variable i.
80451 * math/libm-test.inc (fmod_test): Add more tests.
80452
80453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80454 z computation is not scheduled after fetestexcept.
80455 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80456 Use math_force_eval instead of asm to ensure calculation scheduled
80457 before exception test.
80458 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80459 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80460
80461 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80462
80463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80464 computation is not scheduled after fetestexcept.
80465
80466 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80467
80468 [BZ #14117]
80469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80470 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80471
80472 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80473
80474 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80476
80477 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80478
80479 [BZ #14117]
80480 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80481 <bits/wordsize.h>.
80482 (__WCHAR_MIN): Support __WORDSIZE == 64.
80483 (__WCHAR_MAX): Likewise.
80484
80485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80486 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80487
80488 [BZ #14183]
80489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80490 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80491
80492 [BZ #14117]
80493 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80494 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80495
80496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80497 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80498
80499 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80500 Defined to 1 if __x86_64__ isn't defined.
80501 (_STAT_VER_LINUX_OLD): New.
80502 (st_atime): Remove duplicate.
80503 (st_mtime): Likewise.
80504 (st_ctime): Likewise.
80505
80506 2012-05-31 David S. Miller <davem@davemloft.net>
80507
80508 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80509 entries.
80510
80511 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80512
80513 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80514 gen-libm-test.pl.
80515
80516 [BZ #14132]
80517 * elf/dl-reloc.c: Include <_itoa.h>.
80518 (_dl_reloc_bad_type): Remove use of INTUSE.
80519 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80520 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80521 * stdio-common/psiginfo.c (psiginfo): Likewise.
80522 * stdio-common/psignal.c (psignal): Likewise.
80523 * string/strsignal.c (strsignal): Likewise.
80524 * include/signal.h (_sys_siglist): Declare hidden proto.
80525 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80526 INTVARDEF with libc_hidden_data_def.
80527 * stdio-common/itoa-udigits.c: Likewise.
80528 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80529 (_itoa_lower_digits_internal): Remove declaration.
80530 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80531 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80532 (_sys_sigabbrev_internal): Remove aliases.
80533 (_sys_siglist): Define hidden alias.
80534
80535 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80536
80537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80538 bits/sysctl.h.
80539
80540 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80541
80542 [BZ #14117]
80543 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80544 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80545
80546 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80547 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80548 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80549 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80551 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80552
80553 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80554 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80556
80557 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80558 with __addr.
80559 (insw): Likewise.
80560 (insl): Likewise.
80561 (outsb): Likewise.
80562 (outsw): Likewise.
80563 (outsl): Likewise.
80564
80565 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80568
80569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80570 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80571 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80572 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80573 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80574 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80575
80576 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80577 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80578
80579 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80580 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80581
80582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80585
80586 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80587 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80588 to ...
80589 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80590
80591 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80593 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80594
80595 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80596 for x86-64.
80597 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80598
80599 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80600
80601 * math/math.h (M_El): Use two more decimal places.
80602 (M_LOG2El): Likewise.
80603 (M_LOG10El): Likewise.
80604 (M_LN2l): Likewise.
80605 (M_LN10l): Likewise.
80606 (M_PIl): Likewise.
80607 (M_PI_2l): Likewise.
80608 (M_PI_4l): Likewise.
80609 (M_1_PIl): Likewise.
80610 (M_2_PIl): Likewise.
80611 (M_2_SQRTPIl): Likewise.
80612 (M_SQRT2l): Likewise.
80613 (M_SQRT1_2l): Likewise.
80614
80615 2012-05-31 David S. Miller <davem@davemloft.net>
80616
80617 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80618 values between float registers.
80619 * sysdeps/sparc/sparc64/memset.S: Likewise.
80620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80621
80622 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80623
80624 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80625 -D_FORTIFY_SOURCE=1.
80626 (CPPFLAGS-tst-longjmp_chk.c): Define.
80627 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80628 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80629 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80630 CFLAGS-tst-wchar-h.c.
80631
80632 2012-05-31 Marek Polacek <polacek@redhat.com>
80633
80634 [BZ #14132]
80635 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80636 __endmntent_internal): Remove declaration.
80637 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80638 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80639 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80640
80641 2012-05-30 David S. Miller <davem@davemloft.net>
80642
80643 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80644 (___Q_simulate_exceptions): Use real FP ops rather than writing
80645 into the %fsr.
80646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80647 Likewise.
80648
80649 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80650
80651 [BZ #14117]
80652 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80653 * sysdeps/x86/bits/xtitypes.h: This.
80654
80655 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80656 * sysdeps/x86/bits/wordsize.h: This.
80657
80658 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80659 * sysdeps/x86/bits/huge_vall.h: This.
80660
80661 * sysdeps/i386/bits/select.h: Removed.
80662 * sysdeps/x86_64/bits/select.h: Renamed to ...
80663 * sysdeps/x86/bits/select.h: This.
80664
80665 * sysdeps/i386/bits/setjmp.h: Removed.
80666 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80667 * sysdeps/x86/bits/setjmp.h: This.
80668
80669 * sysdeps/i386/bits/mathdef.h: Removed.
80670 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80671 * sysdeps/x86/bits/mathdef.h: This.
80672
80673 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80674
80675 [BZ #14132]
80676 * include/sys/socket.h (__connect_internal)
80677 (__libc_sa_len_internal): Remove declaration.
80678 (__connect, __libc_sa_len): Declare hidden_proto.
80679 (SA_LEN): Remove use of INTUSE.
80680 * socket/connect.c: Add libc_hidden_def.
80681 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80682 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80683 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80684 alias.
80685 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80687 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80688 of adding _internal alias.
80689
80690 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80691
80692 [BZ #14117]
80693 * sysdeps/i386/bits/link.h: Removed.
80694 * sysdeps/i386/bits/linkmap.h: Likewise.
80695 * sysdeps/x86_64/bits/link.h: Renamed to ...
80696 * sysdeps/x86/bits/link.h: This.
80697 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80698 * sysdeps/x86/bits/linkmap.h: This.
80699
80700 * sysdeps/i386/bits/endian.h: Removed.
80701 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80702 * sysdeps/x86/bits/endian.h: This.
80703
80704 * sysdeps/i386/bits/byteswap.h: Removed.
80705 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80706 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80707 * sysdeps/x86/bits/byteswap.h: This.
80708 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80709 * sysdeps/x86/bits/byteswap-16.h: This.
80710 * sysdeps/i386/Implies: Add x86.
80711 * sysdeps/x86_64/Implies: Likewise.
80712
80713 2012-05-30 David S. Miller <davem@davemloft.net>
80714
80715 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80716 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80717 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80718 (FP_TRAPPING_EXCEPTIONS): Define.
80719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80720 (FP_TRAPPING_EXCEPTIONS): Define.
80721 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80722 subnormals only when inexact has been signalled or underflow
80723 exceptions are enabled.
80724 (_FP_PACK_CANONICAL): Likewise.
80725
80726 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80727
80728 [BZ #14183]
80729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80730 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80731
80732 2012-05-30 Richard Henderson <rth@twiddle.net>
80733
80734 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80735 with #ifndef NOT_IN_libc.
80736
80737 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80738 marked to avoid plt entry.
80739
80740 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80741
80742 [BZ #14112]
80743 * Makeconfig (default-abi): New macro.
80744 (abi-includes): Likewise.
80745 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80746 $(abi-$(default-abi)-lib-soname) for soname if defined.
80747 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80748 abi-variants.
80749 * Makefile (installed-stubs): Likewise.
80750 * include/stubs-biarch.h: Removed.
80751 * scripts/lib-names.awk: Only handle one library at a time.
80752 * scripts/soversions.awk: Remove WORDSIZE support.
80753 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80754 entries.
80755 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80756 Removed.
80757 (syscall-list-default-condition): Likewise.
80758 (syscall-list-default-condition): Likewise.
80759 (syscall-list-includes): Likewise.
80760 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80761 syscall-list-* with abi-*. Handle undefined abi-variants.
80762 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80763 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80764 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80765 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80766 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80767 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80768 Removed.
80769 (syscall-list-32-options): Likewise.
80770 (syscall-list-32-condition): Likewise.
80771 (syscall-list-64-options): Likewise.
80772 (syscall-list-64-condition): Likewise.
80773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80774 macro.
80775 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80776 Renamed to ...
80777 (abi-*): This.
80778 (abi-64-ld-soname): New macro.
80779 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80780 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80781 Renamed to ...
80782 (abi-*): This.
80783 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80784 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80785
80786 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80787
80788 * sysdeps/unix/sysv/linux/kernel-features.h
80789 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80790 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80791 include <kernel-features.h>.
80792 [!__NR_ftruncate64]: Remove conditional code.
80793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80794 [__NR_ftruncate64]: Make code unconditional.
80795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80796 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80797 include <kernel-features.h>.
80798 [!__NR_ftruncate64]: Remove conditional code.
80799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80800 [__NR_ftruncate64]: Make code unconditional.
80801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80803 include <kernel-features.h>.
80804 [!__NR_ftruncate64]: Remove conditional code.
80805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80806 [__NR_ftruncate64]: Make code unconditional.
80807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80809 include <kernel-features.h>.
80810 [!__NR_ftruncate64]: Remove conditional code.
80811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80812 [__NR_ftruncate64]: Make code unconditional.
80813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80814
80815 * configure.in (libc_cv_fpie): Weaken to a compile test using
80816 LIBC_TRY_CC_OPTION.
80817 * configure: Regenerated.
80818
80819 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80820
80821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80825 Refreshed.
80826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80832 Refreshed.
80833
80834 2012-05-27 David S. Miller <davem@davemloft.net>
80835
80836 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80837 (___Q_zero): New.
80838 (__Q_simulate_exceptions): Return void. Change to simulate
80839 exceptions by writing into the %fsr.
80840 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80841 (__Qp_handle_exceptions): Likewise.
80842 (numbers): Delete.
80843 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80844 __Qp_handle_exceptions.
80845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80846 __Qp_handle_exceptions.
80847 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80848 as unused and give dummy FP_RND_NEAREST initializer.
80849 (FP_INHIBIT_RESULTS): Define.
80850 (___Q_simulate_exceptions): Update declaration.
80851 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80852 formatting.
80853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80854 as unused and give dummy FP_RND_NEAREST initializer.
80855 (__Qp_handle_exceptions): Update declaration.
80856 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80857 formatting.
80858
80859 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80860
80861 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80862 the temporary FPU control word.
80863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80864 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80866 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80867 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80868 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80869 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80870 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80872 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80873 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80874
80875 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80876
80877 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80878 fields.
80879
80880 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80881
80882 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80883 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80886 Likewise.
80887 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80888 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80889 Likewise.
80890
80891 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80892
80893 * po/h.po: Update from translation team.
80894
80895 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80896
80897 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80898
80899 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80900 handling of denormals.
80901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80902 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80908 Likewise.
80909
80910 2012-05-26 Marek Polacek <polacek@redhat.com>
80911
80912 [BZ #14152]
80913 * math/libm-test.inc (fma_test): Don't always expect underflow
80914 exception.
80915
80916 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80917
80918 [BZ #12416]
80919 * elf/tst-execstack.c: Include stackinfo.h.
80920 (do_test): Adjust test case to ensure that pthread_getattr_np
80921 behaviour remains the same after marking stack executable.
80922
80923 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80924
80925 * sysdeps/unix/sysv/linux/kernel-features.h
80926 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80927 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80928 kernel-features.h.
80929 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80930 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80931 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80932 kernel-features.h.
80933 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80934 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80935
80936 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80937
80938 * configure.in: Define the default includes to being none.
80939 * configure: Regenerated.
80940
80941 2012-05-25 Roland McGrath <roland@hack.frob.com>
80942
80943 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80944 * sysdeps/x86_64/setjmp.S: Likewise.
80945 * sysdeps/i386/bsd-setjmp.S: Likewise.
80946 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80947 * sysdeps/i386/setjmp.S: Likewise.
80948 * sysdeps/i386/__longjmp.S: Likewise.
80949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80950 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80951
80952 * include/stap-probe.h: New file.
80953 * configure.in: Handle --enable-systemtap.
80954 * configure: Regenerated.
80955 * config.h.in (USE_STAP_PROBE): New #undef.
80956 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80957 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80958 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80959
80960 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80961
80962 [BZ #13717]
80963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80964 to 2.4.0 where earlier.
80965 * sysdeps/unix/sysv/linux/configure: Regenerated.
80966 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
80975 [__ASSUME_32BITUIDS]: Make code unconditional.
80976 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80977 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80978 <kernel-features.h>.
80979 [__ASSUME_32BITUIDS]: Make code unconditional.
80980 [!__ASSUME_32BITUIDS]: Remove conditional code.
80981 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80982 <kernel-features.h>.
80983 [__ASSUME_32BITUIDS]: Make code unconditional.
80984 [!__ASSUME_32BITUIDS]: Remove conditional code.
80985 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80986 <kernel-features.h>.
80987 [__ASSUME_32BITUIDS]: Make code unconditional.
80988 [!__ASSUME_32BITUIDS]: Remove conditional code.
80989 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80990 <kernel-features.h>.
80991 [__ASSUME_32BITUIDS]: Make code unconditional.
80992 [!__ASSUME_32BITUIDS]: Remove conditional code.
80993 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80994 <kernel-features.h>.
80995 [__ASSUME_32BITUIDS]: Make code unconditional.
80996 [!__ASSUME_32BITUIDS]: Remove conditional code.
80997 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80998 <kernel-features.h>.
80999 [__ASSUME_32BITUIDS]: Make code unconditional.
81000 [!__ASSUME_32BITUIDS]: Remove conditional code.
81001 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
81002 <kernel-features.h>.
81003 [__ASSUME_32BITUIDS]: Make code unconditional.
81004 [!__ASSUME_32BITUIDS]: Remove conditional code.
81005 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
81006 <kernel-features.h>.
81007 [__ASSUME_32BITUIDS]: Make code unconditional.
81008 [!__ASSUME_32BITUIDS]: Remove conditional code.
81009 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
81010 <kernel-features.h>.
81011 [__ASSUME_32BITUIDS]: Make code unconditional.
81012 [!__ASSUME_32BITUIDS]: Remove conditional code.
81013 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
81014 <kernel-features.h>.
81015 [__ASSUME_32BITUIDS]: Make code unconditional.
81016 [!__ASSUME_32BITUIDS]: Remove conditional code.
81017 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
81018 <kernel-features.h>.
81019 [__NR_setresgid] (__setresgid): Do not declare.
81020 [__ASSUME_32BITUIDS]: Make code unconditional.
81021 [!__ASSUME_32BITUIDS]: Remove conditional code.
81022 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
81023 <kernel-features.h>.
81024 [__NR_setresuid] (__setresuid): Do not declare.
81025 [__ASSUME_32BITUIDS]: Make code unconditional.
81026 [!__ASSUME_32BITUIDS]: Remove conditional code.
81027 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
81028 <kernel-features.h>.
81029 [__ASSUME_32BITUIDS]: Make code unconditional.
81030 [!__ASSUME_32BITUIDS]: Remove conditional code.
81031 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
81032 <kernel-features.h>.
81033 [__ASSUME_32BITUIDS]: Make code unconditional.
81034 [!__ASSUME_32BITUIDS]: Remove conditional code.
81035 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
81036 <kernel-features.h>.
81037 [__ASSUME_32BITUIDS]: Make code unconditional.
81038 [!__ASSUME_32BITUIDS]: Remove conditional code.
81039 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
81040 <kernel-features.h>.
81041 [__ASSUME_32BITUIDS]: Make code unconditional.
81042 [!__ASSUME_32BITUIDS]: Remove conditional code.
81043 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
81044 <kernel-features.h>.
81045 [__ASSUME_32BITUIDS]: Make code unconditional.
81046 [!__ASSUME_32BITUIDS]: Remove conditional code.
81047 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
81048 <kernel-features.h>.
81049 [__ASSUME_32BITUIDS]: Make code unconditional.
81050 [!__ASSUME_32BITUIDS]: Remove conditional code.
81051 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
81052 <kernel-features.h>.
81053 [__ASSUME_32BITUIDS]: Make code unconditional.
81054 [!__ASSUME_32BITUIDS]: Remove conditional code.
81055 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
81056 <kernel-features.h>.
81057 [__ASSUME_32BITUIDS]: Make code unconditional.
81058 [!__ASSUME_32BITUIDS]: Remove conditional code.
81059 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
81060 <kernel-features.h>.
81061 [__ASSUME_32BITUIDS]: Make code unconditional.
81062 [!__ASSUME_32BITUIDS]: Remove conditional code.
81063 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
81064 <kernel-features.h>.
81065 [__ASSUME_32BITUIDS]: Make code unconditional.
81066 [!__ASSUME_32BITUIDS]: Remove conditional code.
81067 * sysdeps/unix/sysv/linux/kernel-features.h
81068 (__ASSUME_SETRESUID_SYSCALL): Remove.
81069 (__ASSUME_SETRESGID_SYSCALL): Likewise.
81070 (__ASSUME_32BITUIDS): Likewise.
81071 (__ASSUME_LDT_WORKS): Likewise.
81072 (__ASSUME_O_DIRECTORY): Likewise.
81073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
81074 architecture but not kernel version.
81075 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
81076 (__ASSUME_MMAP2_SYSCALL): Likewise.
81077 (__ASSUME_STAT64_SYSCALL): Likewise.
81078 (__ASSUME_IPC64): Likewise.
81079 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
81080 <kernel-features.h>.
81081 [__ASSUME_32BITUIDS]: Make code unconditional.
81082 [!__ASSUME_32BITUIDS]: Remove conditional code.
81083 * sysdeps/unix/sysv/linux/opendir.c: Do not include
81084 <kernel-features.h>.
81085 [__ASSUME_O_DIRECTORY]: Make code unconditional.
81086 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
81087 132096]: Remove conditional code.
81088 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
81089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
81090 <kernel-features.h>.
81091 [__ASSUME_32BITUIDS]: Make code unconditional.
81092 [!__ASSUME_32BITUIDS]: Remove conditional code.
81093 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
81094 <kernel-features.h>.
81095 [__ASSUME_32BITUIDS]: Make code unconditional.
81096 [!__ASSUME_32BITUIDS]: Remove conditional code.
81097 * sysdeps/unix/sysv/linux/setegid.c: Do not include
81098 <kernel-features.h>.
81099 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
81100 unconditional.
81101 (__setresgid): Do not declare.
81102 [__ASSUME_32BITUIDS]: Make code unconditional.
81103 [!__ASSUME_32BITUIDS]: Remove conditional code.
81104 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
81105 <kernel-features.h>.
81106 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
81107 unconditional.
81108 (__setresuid): Do not declare.
81109 [__ASSUME_32BITUIDS]: Make code unconditional.
81110 [!__ASSUME_32BITUIDS]: Remove conditional code.
81111 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
81112 <kernel-features.h>.
81113 [__ASSUME_32BITUIDS]: Make code unconditional.
81114 [!__ASSUME_32BITUIDS]: Remove conditional code.
81115 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
81116 <kernel-features.h>.
81117 [__ASSUME_32BITUIDS]: Make code unconditional.
81118 [!__ASSUME_32BITUIDS]: Remove conditional code.
81119
81120 2012-05-25 Richard Henderson <rth@twiddle.net>
81121
81122 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
81123 dl_hwcap to ifunc resolver.
81124 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
81125 elf_ifunc_invoke.
81126 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
81127 dl_hwcap to ifunc resolver.
81128 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
81129
81130 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81131
81132 [BZ #14153]
81133 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
81134 for |x| <= 2**-26, not 2**-57.
81135 * math/libm-test.inc (acos_test): Do not allow spurious underflow
81136 exception.
81137
81138 2012-05-24 Jeff Law <law@redhat.com>
81139
81140 * stdio-common/Makefile (tests): Add bug25.
81141 * stdio-common/bug25.c: New test.
81142
81143 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81144
81145 [BZ #13576]
81146 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
81147 multiple of MALLOC_ALIGNMENT in size.
81148 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
81149
81150 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81151
81152 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81153 Require >= 256.
81154 (FILENAME_MAX): Use macro-int-constant.
81155 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
81156 (_IOFBF): Use macro-int-constant.
81157 (_IOLBF): Likewise.
81158 (_IONBF): Likewise.
81159 (SEEK_CUR): Likewise.
81160 (SEEK_END): Likewise.
81161 (SEEK_SET): Likewise.
81162 (TMP_MAX): Likewise.
81163 (EOF): Use macro-int-constant. Require < 0.
81164 (NULL): Use macro-constant. Require == 0.
81165 (stdin): Require type to be FILE *.
81166 (stdout): Likewise.
81167 (stderr): Likewise.
81168 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81169 macro-int-constant.
81170 (EXIT_SUCCESS): Likewise.
81171 (NULL): Use macro-constant. Require == 0.
81172 (RAND_MAX): Use macro-int-constant.
81173 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81174 [C99-based standards] (strtof): Require function.
81175 [C99-based standards] (strtold): Likewise.
81176 [C99-based standards] (strtoll): Likewise.
81177 [C99-based standards] (strtoull): Likewise.
81178 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81179 [ISO || ISO99 || ISO11] (limits.h): Likewise.
81180 [ISO || ISO99 || ISO11] (math.h): Likewise.
81181 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81182 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81184
81185 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
81186
81187 [BZ #14132]
81188 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81189 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81190 * intl/dgettext.c (DCGETTEXT): Likewise.
81191 * intl/gettext.c (DCGETTEXT): Likewise.
81192 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81193 * posix/regex_internal.h (gettext): Likewise.
81194 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81195 Remove declaration.
81196 * include/argz.h (__argz_count_internal)
81197 (__argz_stringify_internal): Remove declaration.
81198 (__argz_count, __argz_stringify): Declare hidden proto.
81199 * intl/dcgettext.c: Remove use of INTDEF.
81200 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81201 * string/argz-stringify.c: Likewise.
81202 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81203 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81204 Declare hidden proto.
81205 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81206 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81207 Declare hidden proto.
81208 * include/stdio.h (__asprintf_internal): Don't declare.
81209 (__asprintf): Don't define as macro. Declare hidden proto.
81210 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81211 (__fsetlocking): Declare hidden proto.
81212 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81213 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81214 hidden proto.
81215 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81216 (_IO_setlinebuf): Remove use of INTUSE.
81217 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81218 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81219 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81220 Remove declaration.
81221 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81222 (_IO_do_flush): Remove use of INTUSE.
81223 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81224 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81225 (_IO_adjust_column, _IO_least_wmarker)
81226 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81227 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81228 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81229 (_IO_default_doallocate, _IO_wdefault_doallocate)
81230 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81231 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81232 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81233 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81234 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81235 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81236 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81237 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81238 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81239 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81240 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81241 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81242 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81243 proto.
81244 (_IO_flush_all_internal, _IO_adjust_column_internal)
81245 (_IO_default_uflow_internal, _IO_default_finish_internal)
81246 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81247 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81248 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81249 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81250 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81251 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81252 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81253 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81254 (_IO_file_close_internal, _IO_file_close_it_internal)
81255 (_IO_file_underflow_internal, _IO_file_overflow_internal)
81256 (_IO_file_init_internal, _IO_file_attach_internal)
81257 (_IO_file_fopen_internal, _IO_file_read_internal)
81258 (_IO_file_sync_internal, _IO_file_seek_internal)
81259 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81260 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81261 (_IO_str_underflow_internal, _IO_str_overflow_internal)
81262 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81263 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81264 (_IO_list_all_internal, _IO_link_in_internal)
81265 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81266 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81267 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81268 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81269 (_IO_do_write_internal, _IO_padn_internal)
81270 (_IO_getline_info_internal, _IO_getline_internal)
81271 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81272 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81273 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81274 (_IO_vfscanf_internal, _IO_vfprintf_internal)
81275 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81276 (_IO_init_internal, _IO_un_link_internal): Don't declare.
81277 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81278 with libc_hidden_ver, remove use of INTUSE.
81279 * libio/genops.c: Likewise.
81280 * libio/freopen.c: Likewise.
81281 * libio/freopen64.c: Likewise.
81282 * libio/iofclose.c: Likewise.
81283 * libio/iofdopen.c: Likewise.
81284 * libio/iofflush.c: Likewise.
81285 * libio/iofflush_u.c: Likewise.
81286 * libio/iofgets.c: Likewise.
81287 * libio/iofgets_u.c: Likewise.
81288 * libio/iofopen.c: Likewise.
81289 * libio/iofopncook.c: Likewise.
81290 * libio/iofread.c: Likewise.
81291 * libio/iofread_u.c: Likewise.
81292 * libio/ioftell.c: Likewise.
81293 * libio/iofwrite.c: Likewise.
81294 * libio/iogetline.c: Likewise.
81295 * libio/iogets.c: Likewise.
81296 * libio/iogetwline.c: Likewise.
81297 * libio/iopadn.c: Likewise.
81298 * libio/iopopen.c: Likewise.
81299 * libio/ioseekoff.c: Likewise.
81300 * libio/ioseekpos.c: Likewise.
81301 * libio/iosetbuffer.c: Likewise.
81302 * libio/iosetvbuf.c: Likewise.
81303 * libio/ioungetc.c: Likewise.
81304 * libio/ioungetwc.c: Likewise.
81305 * libio/iovdprintf.c: Likewise.
81306 * libio/iovsprintf.c: Likewise.
81307 * libio/iovsscanf.c: Likewise.
81308 * libio/memstream.c: Likewise.
81309 * libio/obprintf.c: Likewise.
81310 * libio/oldfileops.c: Likewise.
81311 * libio/oldiofclose.c: Likewise.
81312 * libio/oldiofdopen.c: Likewise.
81313 * libio/oldiofopen.c: Likewise.
81314 * libio/oldiopopen.c: Likewise.
81315 * libio/oldstdfiles.c: Likewise.
81316 * libio/putc.c: Likewise.
81317 * libio/setbuf.c: Likewise.
81318 * libio/setlinebuf.c: Likewise.
81319 * libio/stdfiles.c: Likewise.
81320 * libio/strops.c: Likewise.
81321 * libio/vasprintf.c: Likewise.
81322 * libio/vscanf.c: Likewise.
81323 * libio/vsnprintf.c: Likewise.
81324 * libio/vswprintf.c: Likewise.
81325 * libio/wfiledoalloc.c: Likewise.
81326 * libio/wfileops.c: Likewise.
81327 * libio/wgenops.c: Likewise.
81328 * libio/wmemstream.c: Likewise.
81329 * libio/wstrops.c: Likewise.
81330 * libio/__fpurge.c: Likewise.
81331 * libio/__fsetlocking.c: Likewise.
81332 * assert/assert.c: Likewise.
81333 * debug/fgets_chk.c: Likewise.
81334 * debug/fgets_u_chk.c: Likewise.
81335 * debug/fread_chk.c: Likewise.
81336 * debug/fread_u_chk.c: Likewise.
81337 * debug/gets_chk.c: Likewise.
81338 * debug/obprintf_chk.c: Likewise.
81339 * debug/vasprintf_chk.c: Likewise.
81340 * debug/vdprintf_chk.c: Likewise.
81341 * debug/vsnprintf_chk.c: Likewise.
81342 * debug/vsprintf_chk.c: Likewise.
81343 * malloc/mtrace.c: Likewise.
81344 * misc/error.c: Likewise.
81345 * misc/syslog.c: Likewise.
81346 * stdio-common/asprintf.c: Likewise.
81347 * stdio-common/fxprintf.c: Likewise.
81348 * stdio-common/getw.c: Likewise.
81349 * stdio-common/isoc99_fscanf.c: Likewise.
81350 * stdio-common/isoc99_scanf.c: Likewise.
81351 * stdio-common/isoc99_vfscanf.c: Likewise.
81352 * stdio-common/isoc99_vscanf.c: Likewise.
81353 * stdio-common/isoc99_vsscanf.c: Likewise.
81354 * stdio-common/printf-prs.c: Likewise.
81355 * stdio-common/printf_fp.c: Likewise.
81356 * stdio-common/printf_fphex.c: Likewise.
81357 * stdio-common/printf_size.c: Likewise.
81358 * stdio-common/putw.c: Likewise.
81359 * stdio-common/scanf.c: Likewise.
81360 * stdio-common/sprintf.c: Likewise.
81361 * stdio-common/tmpfile.c: Likewise.
81362 * stdio-common/vfprintf.c: Likewise.
81363 * stdio-common/vfscanf.c: Likewise.
81364 * stdlib/strfmon_l.c: Likewise.
81365 * sunrpc/openchild.c: Likewise.
81366 * sunrpc/xdr_stdio.c: Likewise.
81367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81368 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81369
81370 2012-05-24 Roland McGrath <roland@hack.frob.com>
81371
81372 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81373
81374 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81375 in the third column, to generate for the shared library an IFUNC
81376 that uses _dl_vdso_vsym.
81377 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81378 * Makeconfig (object-suffixes-noshared): New variable.
81379
81380 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81381 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81382 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81383 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81384
81385 [BZ #14132]
81386 * include/sys/time.h (__gettimeofday): Remove macro.
81387 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81388 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81389 Remove INTDEF.
81390 (__gettimeofday): Add libc_hidden_def.
81391 (gettimeofday): Add libc_hidden_weak.
81392 * sysdeps/mach/gettimeofday.c: Likewise.
81393 * sysdeps/posix/gettimeofday.c: Likewise.
81394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81395 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81397 (__gettimeofday_internal): Remove strong_alias.
81398 (__gettimeofday): Add libc_hidden_def.
81399 (gettimeofday): Add libc_hidden_weak.
81400 * sysdeps/unix/syscalls.list (gettimeofday):
81401 Remove __gettimeofday_internal alias.
81402
81403 2012-05-24 Daniel Jacobowitz <drow@false.org>
81404 H.J. Lu <hongjiu.lu@intel.com>
81405
81406 [BZ #12495]
81407 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81408 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81409 (largebin_index_32_big): New.
81410 (largebin_index): Use it for 16-byte alignment.
81411 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81412 correction with front_misalign.
81413
81414 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81415
81416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81418 Likewise.
81419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81420 Likewise.
81421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81422 Likewise.
81423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81424 Likewise.
81425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81426 Likewise.
81427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81428 Likewise.
81429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81430 Likewise.
81431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81432 Likewise.
81433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81434 Likewise.
81435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81436 Likewise.
81437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81438 Likewise.
81439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81440 Likewise.
81441
81442 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81443 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81444
81445 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81446
81447 [BZ #10846]
81448 [BZ #14036]
81449 * math/libm-test.inc (exp_test): Add test from bug 14036.
81450 (pow_test): Add test from bug 10846.
81451
81452 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81453 and other flags.
81454 (special_function): Do not include flags in test name.
81455 (parse_args): Likewise.
81456 * sysdeps/i386/fpu/libm-test-ulps: Update.
81457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81461
81462 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81463 exceptions.
81464 * math/libm-test.inc ("Philosophy"): Update comment about
81465 exception testing.
81466 (UNDERFLOW_EXCEPTION): New macro.
81467 (UNDERFLOW_EXCEPTION_OK): Likewise.
81468 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81469 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81470 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81471 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81472 (INVALID_EXCEPTION_OK): Update value.
81473 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81474 (OVERFLOW_EXCEPTION_OK): Likewise.
81475 (IGNORE_ZERO_INF_SIGN): Likewise.
81476 (test_exceptions): Handle underflow exceptions.
81477 (acos_test): Update for underflow exception expectations.
81478 (cexp_test): Likewise.
81479 (clog_test): Likewise.
81480 (clog10_test): Likewise.
81481 (csqrt_test): Likewise.
81482 (ctan_test): Likewise.
81483 (ctanh_test): Likewise.
81484 (exp_test): Likewise.
81485 (exp10_test): Likewise.
81486 (exp2_test): Likewise.
81487 (expm1_test): Likewise.
81488 (fma_test): Likewise.
81489 (j0_test): Likewise.
81490 (jn_test): Likewise.
81491 (nexttoward_test): Likewise.
81492 (pow_test): Likewise.
81493 (scalbn_test): Likewise.
81494 (scalbln_test): Likewise.
81495 (tan_test): Likewise.
81496 (y1_test): Likewise.
81497 * sysdeps/i386/fpu/libm-test-ulps: Update.
81498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81499
81500 2012-05-23 David S. Miller <davem@davemloft.net>
81501
81502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81503 (__libc_sigaction): Remove unused local variables.
81504
81505 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81506
81507 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81508
81509 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81510
81511 mktime: avoid signed integer overflow
81512 * time/mktime.c (__mktime_internal): Do not mishandle the case
81513 where diff == INT_MIN.
81514
81515 mktime: simplify computation of average
81516 * time/mktime.c (ranged_convert): Use new time_t_avg function
81517 instead of rolling our own (probably-slower) code.
81518
81519 mktime: do not assume signed right shift propagates sign bit
81520 * time/mktime.c (isdst_differ): New static function.
81521 (__mktime_internal): No need to normalize tm_isdst now.
81522 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81523 tm_isdst values.
81524
81525 mktime: merge another wrapv change from gnulib
81526 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81527 from some compilers.
81528
81529 mktime: remove incorrect attempt at unusual arithmetics
81530 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81531 The code didn't really work on such machines anyway.
81532 (TYPE_MINIMUM): Assume two's complement.
81533 (twos_complement_arithmetic): Verify that long_int and time_t
81534 are two's complement (or unsigned, in the latter case).
81535
81536 mktime: check signed shifts on long_int and time_t, too
81537 * time/mktime.c (SHR): Check that shifts work as desired
81538 on the types long_int and time_t too, as SHR is used on
81539 such types.
81540
81541 mktime: do not assume 'long' is wide enough
81542 * time/mktime.c (verify): Move decl up.
81543 (long_int): New type.
81544 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81545 to remove assumption in the code that 'long' is wide enough to
81546 store year values. This assumption is not true on x32 and on
81547 some non-glibc platforms.
81548
81549 mktime: merge wrapv change from gnulib
81550 * time/mktime.c (WRAPV): New macro.
81551 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81552 (guess_time_tm, __mktime_internal): Do not assume that signed
81553 integer overflow wraps around; modern compilers generate code
81554 where this assumption is no longer valid.
81555
81556 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81557
81558 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81559 Replace "jmp L(pseudo_end)" with "ret".
81560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81561 Likewise.
81562
81563 2012-05-23 Andreas Jaeger <aj@suse.de>
81564
81565 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81566 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81567
81568 2012-05-23 Andreas Jaeger <aj@suse.de>
81569 Maximilian Attems <max@stro.at>
81570
81571 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81572 New macros.
81573
81574 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81575
81576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81577 code so that pseudo_end is just ret and the stack pointer is
81578 correct also for static library in error case.
81579
81580 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81581
81582 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81583 move to syscalls.list.
81584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81588
81589 * manual/install.texi (Running make install): Do not mention Linux
81590 kernel version for which pt_chown is not needed.
81591 (Linux): Do not mention problems with nscd with 2.0 kernels.
81592 * INSTALL: Regenerated.
81593
81594 2012-05-23 Andreas Jaeger <aj@suse.de>
81595
81596 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81597 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81598 macro.
81599 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81601 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81603 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81609 * sysdeps/unix/sysv/linux/bits/in.h
81610 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81611
81612 2012-05-22 Roland McGrath <roland@hack.frob.com>
81613
81614 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81615 (PREPARE_VERSION): Just use assert instead, it will be elided
81616 under [NDEBUG] anyway.
81617
81618 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81619
81620 * sysdeps/unix/sysv/linux/Makefile: Include
81621 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81622 (sysdep_routines): Remove sysctl.
81623 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81624 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81625 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81626 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81627 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81628
81629 2012-05-22 Andreas Jaeger <aj@suse.de>
81630
81631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81632 that pseudo_end is just ret and the stack pointer is correct also
81633 for static library in error case.
81634
81635 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81636
81637 [BZ #14122]
81638 * nss/nsswitch.c (defconfig_entries): New variable.
81639 (__nss_database_lookup): Don't leak defconfig entries.
81640 (nss_parse_service_list): Don't leak on error paths.
81641 (free_database_entries): New function.
81642 (free_defconfig): New function.
81643 (free_mem): Move common code to free_database_entries.
81644
81645 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81646
81647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81648 Add arch_prctl.
81649 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81650
81651 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81652 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81654 New macro.
81655 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81656 (INTERNAL_SYSCALL_TYPES): Likewise.
81657 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81658 (LOAD_REGS_TYPES_[1-6]): Likewise.
81659 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81660 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81661
81662 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81663
81664 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81665 copysignl for GLIBC_2_0.
81666 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81667 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81669 logbl for GLIBC_2_0.
81670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81671 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81672
81673 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81674
81675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81677
81678 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81679 Use "neg %eax".
81680
81681 * time/mktime.c: Update copyright years.
81682
81683 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81684
81685 mktime: merge comment-quoting-style change from gnulib
81686 * time/mktime.c: Quote 'like this' in comments.
81687 The GNU coding standards suggest that we no longer quote `like this',
81688 as "`" and "'" are typically rendered asymmetrically nowadays.
81689 The typical gnulib style is to quote 'like this' when quoting
81690 code, and "like this" when quoting English.
81691
81692 * time/mktime.c (compile-command): Add "-I.".
81693
81694 mktime: merge mktime-internal.h change from gnulib
81695 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81696
81697 mktime: merge time_r change from gnulib
81698 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81699
81700 mktime: merge DEBUG change from gnulib
81701 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81702 case system <time.h> has a #define.
81703
81704 mktime: merge <sys/types.h> change from gnulib
81705 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81706 since <time.t> is now guaranteed to define time_t.
81707
81708 mktime: merge HAVE_CONFIG_H change from gnulib
81709 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81710
81711 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81712
81713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81714 Use "neg %eax".
81715
81716 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81717 __rlim_t cast.
81718 (struct rusage): Use anonymous union to pad each field to
81719 __syscall_slong_t.
81720
81721 2012-05-21 David S. Miller <davem@davemloft.net>
81722
81723 * Makefules (o-iterator): Remove .s cases.
81724 (compile-command.s): Delete.
81725 (COMPILE.s): Delete.
81726 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81727
81728 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81729
81730 * configure.in (libc_cv_predef_stack_protector): Only consider
81731 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81732 * configure: Regenerated.
81733
81734 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81735
81736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81737 New macro. Use R*LP on int and pointer.
81738 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81739 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81740 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81741 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81742
81743 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81744 [__WORDSIZE_TIME64_COMPAT32] instead of
81745 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81746 (struct utmp): Likewise.
81747 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81748 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81749 Renamed to ...
81750 (__WORDSIZE_TIME64_COMPAT32): This.
81751 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81752 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81753 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81754 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81755 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81756 (__WORDSIZE_TIME64_COMPAT32): New macro.
81757
81758 2012-05-21 Andreas Jaeger <aj@suse.de>
81759
81760 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81761 only if [SHARED]. Add prototype for __wcschr_ia32.
81762
81763 2012-05-21 Roland McGrath <roland@hack.frob.com>
81764
81765 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81766 of %rbp unmolested in the jmp_buf while mangling the low bits.
81767 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81768 unmolested high bits of %rbp while demangling the low bits.
81769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81770
81771 2012-05-21 Andreas Jaeger <aj@suse.de>
81772
81773 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81774 * sunrpc/svc_simple.c: Use it for registerrpc.
81775 * sunrpc/xcrypt.c: Use it for passwd2des.
81776
81777 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81778
81779 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81780
81781 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81782 Don't define if [__SYSCALL_WORDSIZE != 32].
81783 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81784 New macro.
81785
81786 2012-05-21 Bruno Haible <bruno@clisp.org>
81787 Andreas Jaeger <aj@suse.de>
81788
81789 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81790 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81791 inptr and inend for must_buffer_ch.
81792 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81793 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81794 * stdio-common/Makefile (tests): Remove bug15.
81795 (bug15-ENV): Remove macro.
81796 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81797 anymore.
81798
81799 2012-05-19 Andreas Jaeger <aj@suse.de>
81800 Roland McGrath <roland@hack.frob.com>
81801
81802 * manual/contrib.texi: Completely rewritten. It contains now an
81803 alphabetical list of contributors and their contributions.
81804
81805 2012-05-21 Richard Henderson <rth@twiddle.net>
81806
81807 * misc/getauxval.c (__getauxval): Use unsigned long int.
81808 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81809 (getauxval): Use unsigned long int.
81810
81811 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81812
81813 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81814
81815 2012-05-21 Roland McGrath <roland@hack.frob.com>
81816
81817 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81818 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81819 __alignof__ (long double).
81820
81821 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81822
81823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81824
81825 2012-05-20 Richard Henderson <rth@twiddle.net>
81826
81827 * misc/getauxval.c: New file.
81828 * misc/sys/auxv.h: New file.
81829 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81830 (routines): Add getauxval.
81831 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81832 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81833 * elf/dl-sysdep.c (_dl_auxv): Remove.
81834 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81835 * elf/dl-support.c (_dl_auxv): New variable.
81836 (_dl_aux_init): Initialize it.
81837 * manual/startup.texi (Auxiliary Vector): New node.
81838 * sysdeps/generic/bits/hwcap.h: New file.
81839 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81840 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81841 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81842 * sysdeps/sparc/sysdep.h: ... here. Include it.
81843 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81846 Update.
81847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81855
81856 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81857
81858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81859
81860 2012-05-19 David S. Miller <davem@davemloft.net>
81861
81862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81863
81864 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81865
81866 [BZ #14123]
81867 * math/s_ccosh.c: Include <float.h>
81868 (__ccosh): Avoid internal overflow calculating sinh and cosh
81869 values before multiplying by sin and cos values.
81870 * math/s_ccoshf.c: Likewise.
81871 * math/s_ccoshl.c: Likewise.
81872 * math/s_csin.c: Likewise.
81873 * math/s_csinf.c: Likewise.
81874 * math/s_csinl.c: Likewise.
81875 * math/s_csinh.c: Likewise.
81876 * math/s_csinhf.c: Likewise.
81877 * math/s_csinhl.c: Likewise.
81878 * math/libm-test.inc (ccos_test): Add more tests.
81879 (ccosh_test): Likewise.
81880 (csin_test): Likewise.
81881 (csinh_test): Likewise.
81882 * sysdeps/i386/fpu/libm-test-ulps: Update.
81883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81884
81885 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81886
81887 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81888 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81889
81890 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81891
81892 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81893
81894 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81895 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81896 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81897 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81898 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81899 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81900 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81901 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81902 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81903 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81904 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81905 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81906 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81907 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81908 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81909 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81910 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81911 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81912 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81913 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81914 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81915 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81916 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81917 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81918 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81919 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81920 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81921 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81922 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81923 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81924 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81925
81926 2012-05-18 Andreas Jaeger <aj@suse.de>
81927
81928 * csu/.gitignore: Delete.
81929
81930 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81931
81932 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81933 (timex): Use __syscall_slong_t.
81934
81935 2012-05-18 Andreas Jaeger <aj@suse.de>
81936 Carlos O'Donell <carlos_odonell@mentor.com>
81937
81938 * manual/install.texi (Configuring and compiling): Update
81939 description about files modified in the source directory.
81940 * INSTALL: Regenerated.
81941
81942 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81943
81944 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81945 value. Use "or" to set return value to -1.
81946 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81947 negate return value.
81948
81949 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81950
81951 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81952 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81953 failure if the compiler has Graphite support disabled.
81954 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81955 Likewise.
81956 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81957 (CFLAGS-memmove.c): Likewise.
81958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81959 Likewise.
81960
81961 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81962
81963 * sysdeps/x86_64/x32/_itoa.h: New file.
81964
81965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81966 getdents system call only if kernel and user dirents have the
81967 same d_ino and d_off.
81968
81969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81970 LLONG_MAX != LONG_MAX.
81971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81972 (_fitoa_word): Likewise.
81973
81974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81975 years.
81976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81978 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81979
81980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81981 include <bits/wordsize.h>. Check __x86_64__ instead of
81982 __WORDSIZE.
81983 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81984 if __x86_64__ is defined. Use anonymous union on fpstate.
81985
81986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81987 anonymous union.
81988
81989 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81990
81991 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81992 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81994 Refer to _rtld_local_ro instead of _rtld_global_ro.
81995 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81996 Likewise.
81997 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81998 Likewise.
81999 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
82000 Likewise.
82001 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
82002 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
82003 of _rtld_global, and rtld_progname instead of _dl_argv[0].
82004
82005 [BZ #10882]
82006 * sysdeps/powerpc/powerpc32/dl-machine.c
82007 (__elf_machine_runtime_setup) [PROF]: Don't reference
82008 _dl_prof_resolve.
82009
82010 2012-05-18 Andreas Jaeger <aj@suse.de>
82011
82012 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
82013 function only available for GCCs before 3.4 since GCC 3.4
82014 introduced a builtin.
82015 (lrint): Likewise.
82016 (llrintf): Likewise.
82017 (llrint): Likewise.
82018 (fmaxf): Likewise.
82019 (fmax): Likewise.
82020 (fminf): Likewise.
82021 (fmin): Likewise.
82022 (rint): Likewise.
82023 (rintf): Likewise.
82024 (nearbyint): Likewise.
82025 (nearbyintf): Likewise.
82026 (ceil): Likewise.
82027 (ceilf): Likewise.
82028 (floor): Likewise.
82029 (floorf): Likewise.
82030
82031 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
82032
82033 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
82034 on both fields and cast pointer to __syscall_ulong_t.
82035
82036 * bits/types.h (__fsword_t): New type.
82037 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
82038 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
82039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82040 (__FSWORD_T_TYPE): Likewise.
82041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82042 (__FSWORD_T_TYPE): Likewise.
82043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82044 (__FSWORD_T_TYPE): Likewise.
82045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
82046 (__FSWORD_T_TYPE): Likewise.
82047 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
82048 __SWORD_TYPE with __fsword_t.
82049 (statfs64): Likewise.
82050
82051 2012-05-17 David S. Miller <davem@davemloft.net>
82052
82053 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
82054
82055 2012-05-17 Andreas Jaeger <aj@suse.de>
82056
82057 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
82058 warning.
82059
82060 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
82061
82062 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
82063
82064 2012-05-17 Andreas Jaeger <aj@suse.de>
82065
82066 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
82067 when it is used.
82068
82069 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
82070
82071 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
82072
82073 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
82074
82075 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
82076 * sysdeps/x86_64/tst-mallocalign1.c: New file.
82077
82078 2012-05-17 Andreas Jaeger <aj@suse.de>
82079 Carlos O'Donell <carlos_odonell@mentor.com>
82080
82081 [BZ #14059]
82082 * sysdeps/x86_64/multiarch/init-arch.h
82083 (bit_YMM_Usable): Rename to...
82084 (bit_AVX_Usable): ... this.
82085 (bit_FMA4_Usable): New macro.
82086 (bit_XMM_state): New macro.
82087 (bit_YMM_state): New macro.
82088 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
82089 [__ASSEMBLER__] (index_AVX_Usable): ... this.
82090 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
82091 (CPUID_OSXSAVE): New macro.
82092 (CPUID_AVX): New macro.
82093 (CPUID_FMA4): New macro.
82094 (index_YMM_Usable): Rename to...
82095 (index_AVX_Usable): ... this.
82096 (HAS_AVX): Use HAS_ARCH_FEATURE.
82097 (HAS_FMA4): Likewise.
82098 (HAS_YMM_USABLE): Remove.
82099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82100 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
82101 are present.
82102 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
82103 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
82104 * sysdeps/x86_64/multiarch/Makefile: Likewise.
82105 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
82106 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
82107
82108 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
82109
82110 * math/libm-test.c: Support platforms without multiple rounding modes.
82111 * math/bug-nextafter.c: Support platforms without FP exceptions.
82112 * math/bug-nexttoward.c: Likewise.
82113 * math/test-fenv.c: Likewise.
82114 * math/test-misc.c: Likewise.
82115 * stdlib/bug-getcontext.c: Likewise.
82116
82117 2012-05-17 Andreas Jaeger <aj@suse.de>
82118
82119 * manual/examples/search.c (critter_cmp): Change signature to
82120 avoid warnings.
82121 * manual/string.texi (Collation Functions): Likewise.
82122
82123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82124
82125 * bits/types.h: Fold copyright years.
82126 * bits/typesizes.h: Likewise.
82127 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
82128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
82129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
82130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
82131 * time/time.h: Likewise.
82132
82133 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
82134
82135 [BZ #208]
82136 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
82137 in instead of returning them. Return void.
82138 (__libc_mallinfo): Accumulate over all arenas.
82139 (__malloc_stats): Adjust for change in int_mallinfo interface.
82140
82141 2012-05-16 Roland McGrath <roland@hack.frob.com>
82142
82143 [BZ #10375]
82144 * configure.in (NM): Add AC_CHECK_TOOL for it.
82145 (libc_extra_cflags): New substituted variable.
82146 Check for -fstack-protector being used implicitly.
82147 * configure: Regenerated.
82148 * config.make.in (config-extra-cflags): New variable,
82149 gets @libc_extra_cflags@.
82150 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
82151
82152 [BZ #10375]
82153 * configure.in: Check for _FORTIFY_SOURCE being predefined.
82154 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82155 * configure: Regenerated.
82156 * config.make.in (CPPUNDEFS): New substituted variable.
82157 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82158 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82159 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
82160
82161 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82162
82163 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82164 (mq_attr): Use __syscall_slong_t.
82165
82166 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82167
82168 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82169 Check __x86_64__ instead of __WORDSIZE.
82170 (_STAT_VER_LINUX): Likewise.
82171 (stat): Check __x86_64__ instead of __WORDSIZE. Use
82172 __syscall_ulong_t and __syscall_slong_t.
82173 (stat64): Likewise.
82174
82175 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82176
82177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82178
82179 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82180
82181 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82182
82183 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82184
82185 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82186 __syscall_ulong_t.
82187
82188 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82189 include <bits/wordsize.h>. Check __x86_64__ instead of
82190 __WORDSIZE.
82191 (greg_t): Use "__extension__ long long int" if __x86_64__ is
82192 defined.
82193 (mcontext_t): Replace "unsigned long" with "unsigned long long".
82194
82195 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82196 include <bits/wordsize.h>. Check __x86_64__ instead of
82197 __WORDSIZE.
82198 (user_regs_struct): Use "__extension__ unsigned long long"
82199 instead of "unsigned long" if __x86_64__ is defined.
82200 (user): Likewise. Pad after pointer field if __ILP32__ is
82201 defined.
82202
82203 2012-05-16 Joseph Myers <joseph@codesourcery.com>
82204
82205 * configure.in (makeinfo): Require version 4.5 or later. Allow
82206 versions 5 to 9.
82207 * configure: Regenerated.
82208 * manual/install.texi (texinfo): Increase version requirement to
82209 4.5 or later.
82210 * INSTALL: Regenerated.
82211
82212 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82213
82214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82215
82216 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82217
82218 * sysdeps/x86_64/x32/ffs.c: New file.
82219
82220 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82221 __syscall_ulong_t.
82222 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82223 defined. Use __syscall_ulong_t.
82224 (shminfo): Use __syscall_ulong_t.
82225 (shm_info): Likewise.
82226
82227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82228 __syscall_ulong_t.
82229
82230 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82231 <bits/wordsize.h>.
82232 (msgqnum_t): Use __syscall_ulong_t.
82233 (msglen_t): Likewise.
82234 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
82235 __syscall_ulong_t.
82236
82237 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82238 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82239
82240 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82241
82242 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82243 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82244
82245 * sysvipc/sys/msg.h (msgbuf): Replace long int with
82246 __syscall_slong_t.
82247
82248 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82249 include <bits/wordsize.h>. Check __x86_64__ instead of
82250 __WORDSIZE.
82251
82252 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82253 "unsigned long long int" if __x86_64__ is defined.
82254 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82255
82256 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82257 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82258 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82259
82260 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82261 <stdint.h>.
82262 (GET_PC): Cast to uintptr_t first.
82263 (GET_FRAME): Likewise.
82264 (GET_STACK): Likewise.
82265
82266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82267 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82268 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82269 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82270 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82271 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82272 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82273 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82274 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82282 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82284 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82286 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82288 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82290 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82291 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82292 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82294 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82295
82296 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
82297
82298 * Makerules (+depfiles): Also collect depfiles from .oS in
82299 $(extra-objs).
82300 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82301 .oS, $(libnldbl-routines)).
82302
82303 * Makerules (native-compile-mkdep-flags): Define.
82304 * sunrpc/Makefile (extra-objs): Add $(addprefix
82305 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82306 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82307 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
82308 calling $(make-target-directory).
82309
82310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82311
82312 * bits/types.h (__snseconds_t): Removed.
82313 * time/time.h (struct timespec): Replace __snseconds_t with
82314 __syscall_slong_t.
82315 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82316 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82317 Likewise.
82318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82319 (__SNSECONDS_T_TYPE): Likewise.
82320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82321 (__SNSECONDS_T_TYPE): Likewise.
82322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82323 (__SNSECONDS_T_TYPE): Likewise.
82324
82325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82326
82327 * sysdeps/mach/hurd/bits/typesizes.h
82328 (__SYSCALL_SLONG_TYPE): New macro.
82329 (__SYSCALL_ULONG_TYPE): Likewise.
82330
82331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82332
82333 * bits/types.h (__syscall_slong_t): New type.
82334 (__syscall_ulong_t): Likewise.
82335
82336 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82337 (__SYSCALL_ULONG_TYPE): Likewise.
82338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82339 (__SYSCALL_SLONG_TYPE): Likewise.
82340 (__SYSCALL_ULONG_TYPE): Likewise.
82341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82342 (__SYSCALL_SLONG_TYPE): Likewise.
82343 (__SYSCALL_ULONG_TYPE): Likewise.
82344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82345 (__SYSCALL_SLONG_TYPE): Likewise.
82346 (__SYSCALL_ULONG_TYPE): Likewise.
82347
82348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82349
82350 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82351 Add sigaltstack-offsets.sym.
82352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82353 <sigaltstack-offsets.h>.
82354 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
82355 longjmp_msg pointer.
82356 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
82357 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82358 signal stack.
82359 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82360
82361 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82362
82363 * elf/stackguard-macros.h: Remove file.
82364 * sysdeps/generic/stackguard-macros.h: New file.
82365 * sysdeps/i386/stackguard-macros.h: Likewise.
82366 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82367 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82368 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82369 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82370 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82371 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82372 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82373 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82374 <elf/stackguard-macros.h>.
82375
82376 [BZ #14109]
82377 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82378 __aligned__ in attribute.
82379 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82380 (gregset_t): Likewise.
82381
82382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82383
82384 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82385 * sysdeps/x86_64/64/Implies-after: Here. New file.
82386 * sysdeps/x86_64/x32/Implies-after: New file.
82387
82388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82389
82390 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82391 and access return value for _dl_profile_fixup. Use R10_LP to
82392 load frame size.
82393
82394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82395
82396 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82397
82398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82399
82400 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82401 * sysdeps/x86_64/x32/sysdep.h: New file.
82402
82403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82404
82405 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82406 * sysdeps/x86_64/setjmp.S: Likewise.
82407
82408 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82409
82410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82411 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82412 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82413 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82414 remove unused global constant.
82415
82416 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82417
82418 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82419 include of <not-cancel.h>.
82420
82421 2012-05-15 Roland McGrath <roland@hack.frob.com>
82422
82423 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82424
82425 2012-05-15 Jeff Law <law@redhat.com>
82426 Andreas Jaeger <aj@suse.de>
82427
82428 [BZ #13594]
82429 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82430 out from...
82431 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82432 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82433 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82434 code changing __hst_map_handle.map.
82435
82436 2012-05-15 Roland McGrath <roland@hack.frob.com>
82437
82438 * configure.in (sysnames): Look for Implies-before and Implies-after
82439 files.
82440 * configure: Regenerated.
82441
82442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82443
82444 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82445 8-byte data alignment with LP_SIZE alignment.
82446
82447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82448
82449 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82450 into R10_LP.
82451
82452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82453
82454 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82455
82456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82457
82458 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82459 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82460 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82461 Likewise.
82462 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82463
82464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82465
82466 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82467 (stackinfo_sub_sp): Likewise.
82468
82469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82470
82471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82472 RAX_LP.
82473
82474 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82475
82476 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82477 into R*_LP.
82478
82479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82480
82481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82482 sizes into R*_LP.
82483
82484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82485
82486 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82487
82488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82489
82490 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82491 into R11_LP and load __x86_64_shared_cache_size_half into
82492 R8_LP.
82493
82494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82495
82496 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82497 R8_LP.
82498
82499 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82500
82501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82502 logb for POWER7.
82503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82504 logbf for POWER7.
82505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82506 logbl for POWER7.
82507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82508 powerpc32/power7/fpu/s_logb.c via #include.
82509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82510 powerpc32/power7/fpu/s_logbf.c via #include.
82511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82512 powerpc32/power7/fpu/s_logbl.c via #include.
82513
82514 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82515
82516 * README.libm: Remove file.
82517
82518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82519
82520 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82521 count for x32. Use R*_LP and omit operand-size suffix.
82522
82523 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82524
82525 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82526 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82527 * sysdeps/x86_64/x32/shlib-versions: New file.
82528
82529 2012-05-14 Roland McGrath <roland@hack.frob.com>
82530
82531 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82532 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82533 Use _dl_fatal_printf instead.
82534
82535 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82536
82537 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82538 set if not set by the user. Do not allow for being unset.
82539 * sysdeps/unix/sysv/linux/configure: Regenerated.
82540
82541 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82542
82543 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82544 the `q' suffix from lea and replace .quad with ASM_ADDR.
82545
82546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82547
82548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82549 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82550 instead of $17.
82551 (PTR_DEMANGLE): Likewise.
82552
82553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82554
82555 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82556 (LP_OP): Likewise.
82557 (ASM_ADDR): Likewise.
82558 (RAX_LP): Likewise.
82559 (RBP_LP): Likewise.
82560 (RBX_LP): Likewise.
82561 (RCX_LP): Likewise.
82562 (RDI_LP): Likewise.
82563 (RSI_LP): Likewise.
82564 (RSP_LP): Likewise.
82565 (R8_LP): Likewise.
82566 (R9_LP): Likewise.
82567 (R10_LP): Likewise.
82568 (R10_LP): Likewise.
82569 (R11_LP): Likewise.
82570 (R12_LP): Likewise.
82571 (R13_LP): Likewise.
82572 (R14_LP): Likewise.
82573 (R15_LP): Likewise.
82574
82575 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82576
82577 * sysdeps/x86_64/x32/dl-machine.h: New file.
82578
82579 2012-05-14 Andreas Jaeger <aj@suse.de>
82580
82581 * manual/Makefile (subdir): Remove export of subdir.
82582 (all): Remove target.
82583 (.PHONY): Remove all from list.
82584 (mkinstalldirs): Remove.
82585 (.PHONY): Remove installdirs from list.
82586 ($(inst_infodir)/libc.info): Use make-target-directory.
82587 (installdirs): Remove.
82588 (subdir_%): Remove.
82589 (glibc-targets): Remove.
82590 (lib): Remove.
82591 (stubs): Remove.
82592 ($(objpfx)stubs ../po/manual.pot): Remove.
82593 ($(objpfx)stamp%): Remove.
82594 (make-target-directory): Remove.
82595 (subdir_install): Remove.
82596 (routines): Remove.
82597 (aux): Remove.
82598 (sources): Remove.
82599 (objects): Remove.
82600 (headers): Remove.
82601
82602 [BZ #13750]
82603 * manual/.gitignore: Remove, it's not needed anymore.
82604 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82605 all files in it.
82606 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82607 directory.
82608 (texis): Renamed to $(objpfx)texis.
82609 (texis-path): New, contains path to generated files.
82610 (chapters.%): Use texis-path for complete path, add extra argument
82611 libc-texinfo.sh.
82612 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82613 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82614 (summary,texi, stamp-summary): Use complete path of
82615 files. Generate files in build dir.
82616 (dir-add.texi): Build in build dir.
82617 (libm-err.texi,stamp-libm-err): Likewise.
82618 (version.texi, stamp-version): Likewise.
82619 (.%c.texi): Likewise.
82620 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82621 (mostlyclean): Remove target.
82622 (realclean): Remove target.
82623 (generated): Add new variable with contents from mostlyclean and
82624 realclean, remove entries duplicated in common-mostlyclean, add
82625 stamp-libm-err and stamp-version.
82626 (generated-dirs): Add libc directory.
82627 ($(inst_infodir)/libc.info): Install files from build dir.
82628
82629 * manual/install.texi (Configuring and compiling): Adjust since
82630 the info files are not part of the tar ball anymore.
82631
82632 2012-05-14 Andreas Jaeger <aj@suse.de>
82633
82634 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82635 variable.
82636
82637 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82638
82639 [BZ #13717]
82640 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82641 to 2.2.0 where earlier.
82642 * sysdeps/unix/sysv/linux/configure: Regenerated.
82643 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82644 Remove conditional code.
82645 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82646 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82647 Remove conditional code.
82648 [!__NR_lchown]: Likewise.
82649 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82650 [__NR_lchown]: Likewise.
82651 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82652 comment referencing __ASSUME_LCHOWN_SYSCALL.
82653 * sysdeps/unix/sysv/linux/i386/sigaction.c
82654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82656 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82657 Remove conditional code.
82658 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82659 (__protocol_available): Remove #if 0 code.
82660 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82661 conditional code.
82662 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82663 * sysdeps/unix/sysv/linux/kernel-features.h
82664 (__ASSUME_GETCWD_SYSCALL): Don't define.
82665 (__ASSUME_REALTIME_SIGNALS): Likewise.
82666 (__ASSUME_PREAD_SYSCALL): Likewise.
82667 (__ASSUME_PWRITE_SYSCALL): Likewise.
82668 (__ASSUME_POLL_SYSCALL): Likewise.
82669 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82670 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82671 non-SPARC.
82672 (__ASSUME_SIOCGIFNAME): Don't define.
82673 (__ASSUME_MSG_NOSIGNAL): Likewise.
82674 (__ASSUME_SENDFILE): Define unconditionally.
82675 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82676 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82677 conditional code.
82678 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82679 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82680 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82681 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82682 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82683 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82684 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82686 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82692 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82698 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82709 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82710 Remove conditional code.
82711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82712 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82713 Remove conditional code.
82714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82715 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82716 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82717 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82718 Remove conditional code.
82719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82720 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82721 Remove conditional code.
82722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82723 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82724 Remove conditional code.
82725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82726 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82727 Remove conditional code.
82728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82729 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82730 Remove conditional code.
82731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82732 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82735 * sysdeps/unix/sysv/linux/sigaction.c
82736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82738 * sysdeps/unix/sysv/linux/sigpending.c
82739 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82740 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82741 * sysdeps/unix/sysv/linux/sigprocmask.c
82742 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82743 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82744 * sysdeps/unix/sysv/linux/sigsuspend.c
82745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82747 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82748 (__libc_missing_rt_sigs): Remove.
82749 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82750 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82751 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82752 Remove conditional code.
82753 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82754 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82755 return 1.
82756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82757 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82758 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82759 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82760
82761 2012-05-14 Andreas Jaeger <aj@suse.de>
82762
82763 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82764 it's not used in glibc.
82765 (__coshm1): Likewise.
82766 (__acosh1p): Likewise.
82767 (__sgn): Likewise.
82768
82769 * manual/string.texi (Copying and Concatenation): Add missing
82770 variable in concat example.
82771 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82772
82773 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82774
82775 [BZ #14103]
82776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82777 __builtin_clzl with __builtin_clzll.
82778
82779 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82780
82781 [BZ #14104]
82782 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82783 libc_freeres_ptr.
82784
82785 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82786
82787 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82788 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82789 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82790 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82791
82792 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82793
82794 * NEWS: Update ia64 info.
82795
82796 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82797
82798 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82799 used as bcopy.
82800
82801 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82802
82803 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82804 * sysdeps/unix/syscalls.list (dup3): Likewise.
82805 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82806 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82807
82808 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82809
82810 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82811 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82812
82813 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82814
82815 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82816 thread pointer.
82817 (TLS_IE): Use mov/add instead of movq/addq to load thread
82818 pointer.
82819 (TLS_GD_PREFIX): New.
82820 (TLS_GD): Use it.
82821
82822 2012-05-11 David S. Miller <davem@davemloft.net>
82823
82824 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82825 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82826 (_FPU_SETCW): Likewise.
82827
82828 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82829
82830 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82831 is 32-byte aligned.
82832
82833 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82834
82835 [BZ #11837]
82836 * iconvdata/gb18030.c: Update tables.
82837 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82838 characters specially.
82839 (BODY for TO_LOOP): Add encoding of missing ranges.
82840
82841 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82842
82843 [BZ #13673]
82844 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82845 * sysdeps/mach/hurd/dup3.c: Likewise.
82846 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82847 * sysdeps/powerpc/memmove.c:: Likewise.
82848
82849 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82850
82851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82852 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82853
82854 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82855
82856 * elf/elf.h (R_X86_64_RELATIVE64): New.
82857 (R_X86_64_NUM): Updated.
82858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82859 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82860 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82861 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82862 tst-quad1pie tst-quad2pie
82863 (modules-names): Add tst-quadmod1 tst-quadmod2.
82864 ($(objpfx)tst-quad1): New dependency.
82865 ($(objpfx)tst-quad2): Likewise.
82866 ($(objpfx)tst-quad1pie): Likewise.
82867 ($(objpfx)tst-quad2pie): Likewise.
82868 * sysdeps/x86_64/tst-quad1.c: New file.
82869 * sysdeps/x86_64/tst-quad1pie.c: New file.
82870 * sysdeps/x86_64/tst-quad2.c: Likewise.
82871 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82872 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82873 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82874 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82875 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82876
82877 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82878
82879 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82880 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82881 * streams/stropts.h (t_scalar_t): Define type.
82882
82883 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82884 (_PATH_PRESERVE): Set to "/var/lib".
82885 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82886
82887 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82888 instead of int.
82889
82890 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82891 if __dir_mkfile succeeded.
82892
82893 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82894 checking for _hurd_dtablesize. Unlock it right after having
82895 finished _hurd_dtable allocation.
82896
82897 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82898
82899 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82900 * sysdeps/mach/hurd/configure: Regenerated.
82901 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82902 special-casing to...
82903 * sysdeps/gnu/configure.in: ... this new file.
82904 * sysdeps/unix/sysv/linux/configure: Regenerated.
82905 * sysdeps/gnu/configure: New generated file.
82906
82907 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82908 for Linux: use nsec instead of usec, as well as:
82909 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82910 members of type struct timespec.
82911 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82912 New macros.
82913 (struct stat64): Likewise.
82914 (_STATBUF_ST_NSEC): New macro.
82915 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82916
82917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82918 __strtoul_internal rather than strtoul.
82919
82920 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82921
82922 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82923 and reject them.
82924
82925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82926
82927 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82928 which preserves existing values.
82929 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82930
82931 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82932
82933 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82934 TIMEOUT values. Return EINVAL for NFDS values either negative or
82935 greater than FD_SETSIZE.
82936
82937 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82938
82939 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82940 allocated, call __vm_protect to finish enabling the existing space, and
82941 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82942 allocate the remainder.
82943
82944 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82945
82946 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82947 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82948
82949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82950
82951 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82952 sysdeps/mach/hurd/readlink.c.
82953
82954 * posix/tst-sysconf.c (posix_options): Only use
82955 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82956 _POSIX_SYNCHRONIZED_IO when they are defined
82957 * sysdeps/mach/hurd/bits/posix_opt.h:
82958 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82959 (_XOPEN_REALTIME): Undefine macro.
82960 (_XOPEN_REALTIME_THREADS): Undefine macro.
82961 (_XOPEN_SHM): Undefine macro.
82962 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82963 macro to -1.
82964 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82965 macro to -1.
82966 (_POSIX_ASYNC_IO): Undefine macro.
82967 (_POSIX_PRIORITIZED_IO): Undefine macro.
82968 (_POSIX_SPIN_LOCKS): Define macro to -1.
82969
82970 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82971 SA_NODEFER, SA_RESETHAND.
82972 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82973 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82974 F_DUPFD_CLOEXEC.
82975
82976 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82977
82978 * elf/Makefile (pldd-modules): Define unconditionally.
82979
82980 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82981
82982 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82983
82984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82985
82986 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82987 Return ENOENT when name is empty.
82988 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82989
82990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82991
82992 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82993
82994 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82995
82996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82997
82998 Fix mlock in all cases except non-readable pages.
82999 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
83000 instead of VM_PROT_ALL as parameter to __vm_wire function.
83001
83002 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
83003 (__mkdir): When path is `/', just fail with EEXIST.
83004 * sysdeps/mach/hurd/mkdirat.c: Likewise.
83005
83006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83007
83008 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
83009 <sys/uio.h> (for writev).
83010 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
83011 and <sys/param.h> (for MIN).
83012
83013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
83014
83015 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
83016 REQUESTED_TIME. Properly set the remaining time and return EINTR
83017 if interrupted.
83018
83019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83020
83021 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
83022 Depend on against $(link-rpcuserlibs).
83023
83024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83025
83026 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
83027 (__libc_stack_end): Do not use attribute_relro.
83028 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
83029 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
83030 to libthread-provided value.
83031 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
83032 attribute_relro.
83033
83034 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83035
83036 [BZ #3748]
83037 * bits/libc-lock.h (__libc_once_get): New macro.
83038 * sysdeps/mach/bits/libc-lock.h: Likewise.
83039 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
83040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
83041 instead of using implementation details.
83042
83043 * libio/fileops.c: Unconditionally include <kernel-features.h>.
83044 * libio/freopen.c: Likewise.
83045 * libio/freopen64.c: Likewise.
83046 * misc/syslog.c: Likewise.
83047 * nscd/connections.c: Likewise.
83048 * nscd/netgroupcache.c: Likewise.
83049 * sysdeps/posix/getcwd.c: Likewise.
83050
83051 2012-05-10 Roland McGrath <roland@hack.frob.com>
83052
83053 * math/w_ilogbf.c: Add #include <limits.h>.
83054
83055 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83056
83057 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
83058 path instead of returning without unlocking.
83059
83060 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
83061 immediate-write ioctls.
83062 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
83063
83064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83065
83066 * sysdeps/mach/hurd/i386/init-first.c (init): Use
83067 __builtin_frame_address instead of making assumptions about the
83068 location of the return address relative to DATA. Force early load of
83069 the return address.
83070 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
83071 __builtin_frame_address.
83072
83073 dup3 for GNU Hurd.
83074 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
83075 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
83076 implement dup3 and do some further code clean-ups.
83077 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
83078 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
83079
83080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83081
83082 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
83083
83084 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
83085 HURD_CRITICAL_END around holding _hurd_dtable_lock.
83086 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
83087 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
83088 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
83089 d->port.lock.
83090
83091 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
83092 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
83093 when handler == SIG_ERR, not when handler != SIG_ERR.
83094
83095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83096
83097 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
83098 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
83099 definitions.
83100
83101 accept4 for GNU Hurd.
83102 * include/sys/socket.h (__libc_accept4): New prototype.
83103 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
83104 to implement __libc_accept4.
83105 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
83106 __libc_accept4.
83107 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
83108
83109 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
83110 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
83111 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
83112 signal-defines.sym.
83113
83114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83115
83116 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
83117
83118 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
83119
83120 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
83121 assertion on O_CLOEXEC flag.
83122 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
83123 * hurd/intern-fd.c: Likewise.
83124 * hurd/port2fd.c: Likewise.
83125
83126 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83127
83128 [BZ #3906]
83129 * bits/in.h (IPV6_PKTINFO): Define new macro.
83130 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
83131
83132 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83133
83134 [BZ #13954]
83135 [BZ #13955]
83136 [BZ #13956]
83137 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
83138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
83139 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
83140 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
83141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
83142 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
83143 * math/libm-test.inc (logb_test) : Additional logb tests.
83144
83145 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
83146 Andreas Jaeger <aj@suse.de>
83147
83148 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
83149 * configure: Regenerated.
83150 * config.h.in (LINK_OBSOLETE_RPC): New macro.
83151 * config.make.in (link-obsolete-rpc): New substituted variable.
83152 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83153 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83154 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83155 (shared-only-routines): Don't set it under [link-obsolete-rpc],
83156 so that libc.a contains the symbols.
83157 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83158 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83159 * sunrpc/auth_none.c: Likewise.
83160 * sunrpc/auth_unix.c: Likewise.
83161 * sunrpc/authdes_prot.c: Likewise.
83162 * sunrpc/authuxprot.c: Likewise.
83163 * sunrpc/clnt_gen.c: Likewise.
83164 * sunrpc/clnt_perr.c: Likewise.
83165 * sunrpc/clnt_raw.c: Likewise.
83166 * sunrpc/clnt_simp.c: Likewise.
83167 * sunrpc/clnt_tcp.c: Likewise.
83168 * sunrpc/clnt_udp.c: Likewise.
83169 * sunrpc/clnt_unix.c: Likewise.
83170 * sunrpc/des_crypt.c: Likewise.
83171 * sunrpc/des_soft.c: Likewise.
83172 * sunrpc/get_myaddr.c: Likewise.
83173 * sunrpc/key_call.c: Likewise.
83174 * sunrpc/key_prot.c: Likewise.
83175 * sunrpc/netname.c: Likewise.
83176 * sunrpc/pm_getmaps.c: Likewise.
83177 * sunrpc/pm_getport.c: Likewise.
83178 * sunrpc/pmap_clnt.c: Likewise.
83179 * sunrpc/pmap_prot.c: Likewise.
83180 * sunrpc/pmap_prot2.c: Likewise.
83181 * sunrpc/pmap_rmt.c: Likewise.
83182 * sunrpc/publickey.c: Likewise.
83183 * sunrpc/rpc_cmsg.c: Likewise.
83184 * sunrpc/rpc_common.c: Likewise.
83185 * sunrpc/rpc_dtable.c: Likewise.
83186 * sunrpc/rpc_prot.c: Likewise.
83187 * sunrpc/rpc_thread.c: Likewise.
83188 * sunrpc/rtime.c: Likewise.
83189 * sunrpc/svc.c: Likewise.
83190 * sunrpc/svc_auth.c: Likewise.
83191 * sunrpc/svc_raw.c: Likewise.
83192 * sunrpc/svc_run.c: Likewise.
83193 * sunrpc/svc_tcp.c: Likewise.
83194 * sunrpc/svc_udp.c: Likewise.
83195 * sunrpc/svc_unix.c: Likewise.
83196 * sunrpc/svcauth_des.c: Likewise.
83197 * sunrpc/xcrypt.c: Likewise.
83198 * sunrpc/xdr.c: Likewise.
83199 * sunrpc/xdr_array.c: Likewise.
83200 * sunrpc/xdr_float.c: Likewise.
83201 * sunrpc/xdr_intXX_t.c: Likewise.
83202 * sunrpc/xdr_mem.c: Likewise.
83203 * sunrpc/xdr_rec.c: Likewise.
83204 * sunrpc/xdr_ref.c: Likewise.
83205 * sunrpc/xdr_sizeof.c: Likewise.
83206 * sunrpc/xdr_stdio.c: Likewise.
83207
83208 2012-05-10 Roland McGrath <roland@hack.frob.com>
83209
83210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83211 change. Update copyright years.
83212
83213 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83214
83215 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83216
83217 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
83218 Joseph Myers <joseph@codesourcery.com>
83219 Paul Pluzhnikov <ppluzhnikov@google.com>
83220
83221 [BZ #14012]
83222 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83223 requiring rpcgen.
83224 [cross-compiling] (extra-libs): Likewise.
83225 [cross-compiling] (extra-libs-others): Likewise.
83226 [cross-compiling] (librpcsvc-routines): Likewise.
83227 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83228 [cross-compiling] (omit-deps): Likewise.
83229 (sunrpc-CPPFLAGS): New variable.
83230 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83231 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83232 (cross-rpcgen-objs): New variable.
83233 (extra-objs): Append $(cross-rpcgen-objs).
83234 ($(cross-rpcgen-objs)): New rule.
83235 ($(objpfx)cross-rpcgen): Likewise.
83236 (rpcgen-cmd): Define to use $(built-program-file). Expand
83237 comment.
83238 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83239 ($(objpfx)x%.stmp): Likewise.
83240 * sunrpc/proto.h [IS_IN_build] (_): Define.
83241 [IS_IN_build] (_libc_intl_domainname): Likewise.
83242
83243 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
83244
83245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83246 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83247 and R_X86_64_TPOFF64.
83248
83249 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83250
83251 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83252 sysdeps/unix/sysv/syscalls.list.
83253 (stime): Likewise.
83254 (utime): Likewise.
83255 * sysdeps/unix/sysv/syscalls.list: Remove file.
83256
83257 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
83258
83259 [BZ #3440]
83260 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83261 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83262 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83263 (__LC_IDENTIFICATION): Make these macros useful in #if
83264 expressions, as required by C99.
83265
83266 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
83267
83268 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83269 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
83270 after this.
83271
83272 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
83273
83274 * stdlib/longlong.h: Updated from GCC.
83275
83276 2012-05-09 Andreas Jaeger <aj@suse.de>
83277
83278 * nscd/nscd.c (run_modes): Make named enum, reorder so that
83279 default is first entry.
83280 (run_mode): Set type.
83281 (main): Remove informal message about syslog.
83282 (options): Fix typo.
83283
83284 [BZ #14053]
83285 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83286 to asm.
83287 (lrint): Likewise.
83288 (llrintf): Likewise.
83289 (llrint): Likewise.
83290 (rint): Likewise.
83291 (rintf): Likewise.
83292 (nearbyint): Likewise.
83293 (nearbyintf): Likewise.
83294
83295 2012-05-09 Andreas Jaeger <aj@suse.de>
83296 Pedro Alves <palves@redhat.com>
83297
83298 * nscd/nscd.c (run_mode): Use enum.
83299 (main): Cleanup coding style issue.
83300
83301 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
83302 Andreas Jaeger <aj@suse.de>
83303
83304 * nscd/nscd.c (go_background): Replaced with...
83305 (run_mode): ... this.
83306 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83307 (options): Add -F --foreground.
83308 (main): Implement it.
83309 (parse_opt): Parse it.
83310
83311 2012-05-09 Andreas Jaeger <aj@suse.de>
83312
83313 [BZ #14083]
83314 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83315 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83316 -Wconversion warning.
83317 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83318 Likewise.
83319
83320 2012-05-09 Joseph Myers <joseph@codesourcery.com>
83321
83322 * conform/data/locale.h-data (NULL): Use macro-constant. Require
83323 == 0.
83324 (LC_ALL): Use macro-int-constant.
83325 (LC_COLLATE): Likewise.
83326 (LC_CTYPE): Likewise.
83327 (LC_MESSAGES): Likewise.
83328 (LC_MONETARY): Likewise.
83329 (LC_NUMERIC): Likewise.
83330 (LC_TIME): Likewise.
83331 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83332 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83334 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83335 Specify type.
83336 [C99-based standards] (float_t): Expect type.
83337 [C99-based standards] (double_t): Expect type.
83338 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
83339 type.
83340 [C99-based standards] (HUGE_VALL): Likewise.
83341 [C99-based standards] (INFINITY): Likewise.
83342 [C99-based standards] (NAN): Likewise.
83343 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83344 [C99-based standards] (FP_NAN): Likewise.
83345 [C99-based standards] (FP_NORMAL): Likewise.
83346 [C99-based standards] (FP_SUBNORMAL): Likewise.
83347 [C99-based standards] (FP_ZERO): Likewise.
83348 [C99-based standards] (FP_FAST_FMA): Use
83349 optional-macro-int-constant. Specify type. Require == 1.
83350 [C99-based standards] (FP_FAST_FMAF): Likewise.
83351 [C99-based standards] (FP_FAST_FMAL): Likewise.
83352 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83353 [C99-based standards] (FP_ILOGBNAN): Likewise.
83354 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83355 Specify type.
83356 [C99-based standards] (MATH_ERREXCEPT): Likewise.
83357 [C99-based standards] (math_errhandling): Specify type.
83358 [ISO99 || ISO11] (signgam): Do not allow.
83359 [non-C99-based standards] (copysignf): Do not allow.
83360 [non-C99-based standards] (exp2f): Likewise.
83361 [non-C99-based standards] (log2f): Likewise.
83362 [non-C99-based standards] (modff): Allow.
83363 [non-C99-based standards] (erff): Do not allow.
83364 [non-C99-based standards] (erfcf): Likewise.
83365 [non-C99-based standards] (gammaf): Likewise.
83366 [non-C99-based standards] (hypotf): Likewise.
83367 [non-C99-based standards] (j0f): Likewise.
83368 [non-C99-based standards] (j1f): Likewise.
83369 [non-C99-based standards] (jnf): Likewise.
83370 [non-C99-based standards] (lgammaf): Likewise.
83371 [non-C99-based standards] (tgammaf): Likewise.
83372 [non-C99-based standards] (y0f): Likewise.
83373 [non-C99-based standards] (y1f): Likewise.
83374 [non-C99-based standards] (ynf): Likewise.
83375 [non-C99-based standards] (isnanf): Likewise.
83376 [non-C99-based standards] (acoshf): Likewise.
83377 [non-C99-based standards] (asinhf): Likewise.
83378 [non-C99-based standards] (atanhf): Likewise.
83379 [non-C99-based standards] (cbrtf): Likewise.
83380 [non-C99-based standards] (expm1f): Likewise.
83381 [non-C99-based standards] (ilogbf): Likewise.
83382 [non-C99-based standards] (log1pf): Likewise.
83383 [non-C99-based standards] (logbf): Likewise.
83384 [non-C99-based standards] (nextafterf): Likewise.
83385 [non-C99-based standards] (remainderf): Likewise.
83386 [non-C99-based standards] (rintf): Likewise.
83387 [non-C99-based standards] (scalbf): Likewise.
83388 [non-C99-based standards] (copysignl): Likewise.
83389 [non-C99-based standards] (exp2l): Likewise.
83390 [non-C99-based standards] (log2l): Likewise.
83391 [non-C99-based standards] (modfl): Allow.
83392 [non-C99-based standards] (erfl): Do not allow.
83393 [non-C99-based standards] (erfcl): Likewise.
83394 [non-C99-based standards] (gammal): Likewise.
83395 [non-C99-based standards] (hypotl): Likewise.
83396 [non-C99-based standards] (j0l): Likewise.
83397 [non-C99-based standards] (j1l): Likewise.
83398 [non-C99-based standards] (jnl): Likewise.
83399 [non-C99-based standards] (lgammal): Likewise.
83400 [non-C99-based standards] (tgammal): Likewise.
83401 [non-C99-based standards] (y0l): Likewise.
83402 [non-C99-based standards] (y1l): Likewise.
83403 [non-C99-based standards] (ynl): Likewise.
83404 [non-C99-based standards] (isnanl): Likewise.
83405 [non-C99-based standards] (acoshl): Likewise.
83406 [non-C99-based standards] (asinhl): Likewise.
83407 [non-C99-based standards] (atanhl): Likewise.
83408 [non-C99-based standards] (cbrtl): Likewise.
83409 [non-C99-based standards] (expm1l): Likewise.
83410 [non-C99-based standards] (ilogbl): Likewise.
83411 [non-C99-based standards] (log1pl): Likewise.
83412 [non-C99-based standards] (logbl): Likewise.
83413 [non-C99-based standards] (nextafterl): Likewise.
83414 [non-C99-based standards] (remainderl): Likewise.
83415 [non-C99-based standards] (rintl): Likewise.
83416 [non-C99-based standards] (scalbl): Likewise.
83417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83418 [non-C99-based standards] (FP_*): Do not allow.
83419 [C99-based standards] (FP_*): Change to
83420 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83421 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83422 allow.
83423 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83424 (SIG_ERR): Likewise.
83425 [X/Open-based standards] (SIG_HOLD): Likewise.
83426 (SIG_IGN): Likewise.
83427 (SIGABRT): Use macro-int-constant. Specify type. Require
83428 positive value.
83429 (SIGFPE): Likewise.
83430 (SIGILL): Likewise.
83431 (SIGINT): Likewise.
83432 (SIGSEGV): Likewise.
83433 (SIGTER): Likewise.
83434 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83435 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83436 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83437 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83438 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83439 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83440 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83441 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83442 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83443 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83444 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83445 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83446 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83447 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83448 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83449 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83450 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83451 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83452 [X/Open-based standards] (SIGTRAP): Likewise.
83453 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83454 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83455 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83456 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83457 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83458 allow.
83459
83460 2012-05-08 Ian Wienand <ianw@vmware.com>
83461
83462 [BZ #14080]
83463 * time/tzset.c (__tzset_parse_tz): Update default rules for
83464 daylight time changes in the Energy Policy Act of 2005.
83465
83466 2012-05-09 Andreas Jaeger <aj@suse.de>
83467
83468 [BZ #13983]
83469 * elf/ldconfig.c (parse_conf): Change string to make clear that
83470 ldconfig only issued a warning if ld.so.conf does not exist.
83471
83472 2012-05-08 David S. Miller <davem@davemloft.net>
83473
83474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83475 movxtod instead of popping the value on the stack.
83476
83477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83478
83479 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83480
83481 * config.h.in: Add HAVE_ARM_PCS_VFP.
83482
83483 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83484
83485 [BZ #13979]
83486 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83487 checking but the checks are disabled for any reason.
83488
83489 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83490
83491 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83492 and ELF64_R_TYPE with ELFW(R_TYPE).
83493
83494 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83495
83496 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83497 (ulimit): Likewise.
83498
83499 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83500 (settimeofday): Likewise.
83501
83502 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83503
83504 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83505 a struct th_u2 inside the union, and move tu_block/tu_code into
83506 a new th_u3 union of tu_block/tu_code inside of that. Move
83507 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83508 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83509 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83510 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83511 (th_stuff): Change to th_u1.tu_stuff.
83512 (th_data): Define.
83513 (th_msg): Change to th_u1.th_u2.tu_data.
83514
83515 2012-05-07 David S. Miller <davem@davemloft.net>
83516
83517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83518
83519 [BZ #14074]
83520 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83521 (SETUP_PIC_REG): Use it.
83522 (SETUP_PIC_REG_LEAF): Use it.
83523
83524 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83525
83526 [BZ #13885]
83527 [BZ #13923]
83528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83529 USE_AS_EXPM1L.
83530 (EXPL_FINITE): Likewise.
83531 (FLDLOG): Likewise.
83532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83533 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83534 e_expl.S.
83535 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83536 USE_AS_EXPM1L.
83537 (EXPL_FINITE): Likewise.
83538 (FLDLOG): Likewise.
83539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83540 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83541 e_expl.S.
83542 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83543 test of -max_value argument for long double.
83544 * sysdeps/i386/fpu/libm-test-ulps: Update.
83545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83546
83547 2012-05-06 David S. Miller <davem@davemloft.net>
83548
83549 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83550 quad soft-float symbols whose references which are compiler
83551 generated.
83552 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83553
83554 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83555
83556 [BZ #13884]
83557 [BZ #13914]
83558 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83559 USE_AS_EXP10L.
83560 (EXPL_FINITE): Likewise.
83561 (FLDLOG): Likewise.
83562 (c0): Likewise.
83563 (c1): Likewise.
83564 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83565 Adjust comments for base varying.
83566 (__expl_finite): Change alias to EXPL_FINITE.
83567 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83568 e_expl.S.
83569 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83570 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83571 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83572 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83574 USE_AS_EXP10L.
83575 (EXPL_FINITE): Likewise.
83576 (FLDLOG): Likewise.
83577 (c0): Likewise.
83578 (c1): Likewise.
83579 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83580 Adjust comments for base varying.
83581 (__expl_finite): Change alias to EXPL_FINITE.
83582 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83583 tests for bugs.
83584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83585
83586 [BZ #14064]
83587 * math/libm-test.inc (check_float_internal): Correct ulp
83588 calculation for subnormal expected results.
83589
83590 2012-05-06 Andreas Jaeger <aj@suse.de>
83591
83592 * Makeconfig (+math-flags): New, set to -frounding-math.
83593 (+cflags): Add +math-flags so that all of glibc gets compiled with
83594 it.
83595
83596 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83597
83598 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83599
83600 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83601 Disable one test.
83602
83603 [BZ #13787]
83604 [BZ #13922]
83605 [BZ #14036]
83606 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83607 (__ieee754_expl): Allow for and saturate large arguments.
83608 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83609 (u_threshold): Likewise.
83610 (__exp): Call __ieee754_exp before checking for overflow and
83611 underflow.
83612 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83613 (u_threshold): Likewise.
83614 (__expf): Call __ieee754_expf before checking for overflow and
83615 underflow.
83616 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83617 (u_threshold): Likewise.
83618 (__expl): Call __ieee754_expl before checking for overflow and
83619 underflow.
83620 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83621 (__ieee754_expl): Allow for and saturate large arguments.
83622 * math/libm-test.inc (exp_test): Add another test. Do not allow
83623 missing overflow exception on overflow.
83624 (expm1_test): Do not allow missing overflow exception on overflow.
83625
83626 * sysdeps/i386/fpu/e_expl.c: Move to ...
83627 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83628 rather than using inline asm.
83629 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83630 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83631 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83632
83633 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83634 (nice): Likewise.
83635 (poll): Likewise.
83636 (signal): Likewise.
83637 (time): Likewise.
83638 (times): Likewise.
83639
83640 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83641
83642 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83643 sysdeps/unix/common/syscalls.list.
83644 (fchmod): Likewise.
83645 (fchown): Likewise.
83646 (ftruncate): Likewise.
83647 (getrusage): Likewise.
83648 (gettimeofday): Likewise.
83649 (setpgid): Likewise.
83650 (setregid): Likewise.
83651 (setreuid): Likewise.
83652 (sigaction): Likewise.
83653 (truncate): Likewise.
83654 (vhangup): Likewise.
83655 * sysdeps/unix/common/syscalls.list: Remove file.
83656 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83657 * sysdeps/unix/sysv/linux/Implies: Likewise.
83658
83659 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83660
83661 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83663 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83664 Moved to ...
83665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83666 Here.
83667 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83668 to ...
83669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83670 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83671 to ...
83672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83673 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83674 to ...
83675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83676 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83677 to ...
83678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83679 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83680 to ...
83681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83682 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83683 to ...
83684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83685 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83686 to ...
83687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83688 Here.
83689 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83690 to ...
83691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83692 Here.
83693 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83694 to ...
83695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83696 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83697 Moved to ...
83698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83699 Here.
83700 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83701 to ...
83702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83703
83704 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83705
83706 * sysdeps/unix/common/bits/dirent.h: Remove file.
83707 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83708
83709 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83710 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83711 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83712 * sysdeps/unix/bsd/isatty.c: Likewise.
83713 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83714 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83715 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83716
83717 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83718
83719 [BZ #13563]
83720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83721 long double comparison inaccuracies.
83722 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83724
83725 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83726
83727 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83728 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83729
83730 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83731
83732 [BZ #14049]
83733 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83734 nonzero digits before rounding a hex value.
83735 * stdlib/tst-strtod.c (tests): Add another test.
83736
83737 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83738
83739 * sysdeps/s390/fpu/libm-test-ulps: Update.
83740
83741 2012-05-03 Andreas Jaeger <aj@suse.de>
83742
83743 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83744 does not get optimized out.
83745 (malloc_opt_barrier): New.
83746
83747 2012-05-03 Andreas Jaeger <aj@suse.de>
83748 Roland McGrath <roland@hack.frob.com>
83749
83750 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83751 intermediate file deletion.
83752 (generated): Add .symlist files.
83753
83754 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83755
83756 [BZ #13775]
83757 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83758 Redirect under this condition.
83759 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83760 [__USE_GNU] (__dprintf_chk): Not under this condition.
83761 [__USE_GNU] (__vdprintf_chk): Likewise.
83762 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83763 under this condition.
83764 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83765 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83766 [__USE_XOPEN2K8] (vdprintf): Likewise.
83767 [__USE_GNU] (__dprintf_chk): Not under this condition.
83768 [__USE_GNU] (__vdprintf_chk): Likewise.
83769 [__USE_GNU] (dprintf): Likewise.
83770 [__USE_GNU] (vdprintf): Likewise.
83771
83772 2012-05-03 Roland McGrath <roland@hack.frob.com>
83773
83774 * elf/Makefile (common-generated): Set this instead of generated for
83775 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83776 $(all-built-dso)-derived lists.
83777
83778 2012-05-03 Andreas Jaeger <aj@suse.de>
83779
83780 * sysdeps/i386/fpu/libm-test-ulps: Update.
83781
83782 * FAQ: Removed.
83783 * FAQ.in: Likewise.
83784 * scripts/gen-FAQ.pl: Likewise.
83785 * manual/install.texi (Installation): Point to online location of
83786 FAQ.
83787 * Makefile (files-for-dist): Remove FAQ.
83788 (FAQ): Remove.
83789
83790 2012-05-02 Allan McRae <allan@archlinux.org>
83791
83792 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83793 (LDFLAGS-reldepmod5.so): Likewise.
83794 (LDFLAGS-reldep6mod1.so): Likewise.
83795 (LDFLAGS-reldep6mod4.so): Likewise.
83796 (LDFLAGS-reldep8mod3.so): Likewise.
83797 (LDFLAGS-unload4mod1.so): Likewise.
83798 (LDFLAGS-unload4mod2.so): Likewise.
83799 (LDFLAGS-tst-initorder): Likewise.
83800 (LDFLAGS-tst-initordera2.so): Likewise.
83801 (LDFLAGS-tst-initordera3.so): Likewise.
83802 (LDFLAGS-tst-initordera4.so): Likewise.
83803 (LDFLAGS-tst-initorderb2.so): Likewise.
83804 (LDFLAGS-noload): Likewise.
83805 (LDFLAGS-next): Likewise.
83806 (LDFLAGS-order2mod1.so): Likewise.
83807 (LDFLAGS-order2mod2.so): Likewise.
83808 (LDFLAGS-tst-initorder2): Likewise.
83809 (LDFLAGS-tst-initorder2a.so): Likewise.
83810 (LDFLAGS-tst-initorder2b.so): Likewise.
83811 (LDFLAGS-tst-initorder2c.so): Likewise.
83812 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83813
83814 2012-05-02 David S. Miller <davem@davemloft.net>
83815
83816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83817
83818 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83819
83820 [BZ #14055]
83821 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83822
83823 2012-05-02 Andreas Jaeger <aj@suse.de>
83824
83825 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83826 since we manipulate rounding mode.
83827 (CPPFLAGS-test-idouble.c): Likewise.
83828 (CPPFLAGS-test-ifloat.c): Likewise.
83829 (CFLAGS-test-ldouble.c): Likewise.
83830 (CFLAGS-test-double.c): Likewise.
83831 (CFLAGS-test-float.c): Likewise.
83832 (CFLAGS-test-misc.c): Likewise.
83833 (CFLAGS-test-test-fenv.c): Likewise.
83834
83835 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83836
83837 [BZ #2550]
83838 [BZ #2570]
83839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83840 comparisons to determine direction to adjust input.
83841
83842 2012-05-01 Roland McGrath <roland@hack.frob.com>
83843
83844 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83845 output to the target.
83846
83847 * scripts/localplt.awk: New file.
83848 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83849 (check-localplt-CFLAGS): Variable removed.
83850 ($(all-built-dso:=.jmprel)): New static pattern rule.
83851 (generated): Add those targets.
83852 (localplt-built-dso): New variable.
83853 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83854
83855 * elf/check-localplt.c: File removed.
83856
83857 * scripts/check-execstack.awk: New file.
83858 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83859 (check-execstack-CFLAGS): Variable removed.
83860 ($(objpfx)check-execstack.h): Target removed.
83861 ($(objpfx)execstack-default): New target.
83862 (generated): Add that instead of check-execstack.h.
83863 ($(all-built-dso:=.phdr)): New static pattern rule.
83864 (generated): Add those targets.
83865 * elf/check-execstack.c: File removed.
83866
83867 * scripts/check-textrel.awk: New file.
83868 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83869 (check-textrel-CFLAGS): Variable removed.
83870 (all-built-dso): Use := to define.o
83871 ($(all-built-dso:=.dyn)): New static pattern rule.
83872 (generated): Add those targets.
83873 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83874 * config.make.in (READELF): New substituted variable.
83875 * elf/check-textrel.c: File removed.
83876
83877 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83878
83879 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83880 allow.
83881 * conform/data/ctype.h-data [C99-based standards] (isblank):
83882 Expect function.
83883 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83884 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83886 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83887 Specify type. Require positive value.
83888 (EILSEQ): Likewise.
83889 (ERANGE): Likewise.
83890 [ISO || POSIX] (EILSEQ): Do not expect.
83891 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83892 Specify type. Require positive value.
83893 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83894 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83895 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83896 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83897 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83898 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83899 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83900 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83901 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83902 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83903 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83904 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83905 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83906 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83907 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83908 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83909 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83910 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83911 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83912 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83913 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83914 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83915 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83916 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83917 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83918 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83919 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83920 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83921 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83922 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83923 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83924 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83925 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83926 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83927 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83928 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83929 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83930 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83931 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83932 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83933 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83934 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83935 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83936 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83937 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83938 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83939 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83940 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83941 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83942 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83943 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83944 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83945 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83946 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83947 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83948 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83949 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83950 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83951 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83952 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83953 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83954 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83955 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83956 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83957 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83958 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83959 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83960 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83961 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83962 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83963 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83964 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83965 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83966 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83967 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83968 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83969 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83970 Require >= 2.
83971 (FLT_ROUNDS): Expect as macro, not constant.
83972 (FLT_MANT_DIG): Use macro-int-constant.
83973 (DBL_MANT_DIG): Likewise.
83974 (LDBL_MANT_DIG): Likewise.
83975 (FLT_DIG): Likewise.
83976 (DBL_DIG): Likewise.
83977 (LDBL_DIG): Likewise.
83978 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83979 (DBL_MIN_EXP): Likewise.
83980 (LDBL_MIN_EXP): Likewise.
83981 (FLT_MAX_EXP): Use macro-int-constant.
83982 (DBL_MAX_EXP): Likewise.
83983 (LDBL_MAX_EXP): Likewise.
83984 (FLT_MAX_10_EXP): Likewise.
83985 (DBL_MAX_10_EXP): Likewise.
83986 (LDBL_MAX_10_EXP): Likewise.
83987 (FLT_MAX): Use macro-constant.
83988 (DBL_MAX): Likewise.
83989 (LDBL_MAX): Likewise.
83990 (FLT_EPSILON): Use macro-constant. Give upper bound.
83991 (DBL_EPSILON): Likewise.
83992 (LDBL_EPSILON): Likewise.
83993 (FLT_MIN): Likewise.
83994 (DBL_MIN): Likewise.
83995 (LDBL_MIN): Likewise.
83996 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83997 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83998 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83999 [ISO11] (FLT_HAS_SUBNORM): Likewise.
84000 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
84001 [ISO11] (DBL_DECIMAL_DIG): Likewise.
84002 [ISO11] (FLT_DECIMAL_DIG): Likewise.
84003 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
84004 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
84005 [ISO11] (FLT_TRUE_MIN): Likewise.
84006 [ISO11] (LDBL_TRUE_MIN): Likewise.
84007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
84008 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
84009 (SCHAR_MIN): Use macro-int-constant. Specify type.
84010 (SCHAR_MAX): Likewise.
84011 (UCHAR_MAX): Likewise.
84012 (CHAR_MIN): Likewise.
84013 (CHAR_MAX): Likewise.
84014 (MB_LEN_MAX): Use macro-int-constant.
84015 (SHRT_MIN): Use macro-int-constant. Specify type.
84016 (SHRT_MAX): Likewise.
84017 (USHRT_MAX): Likewise.
84018 (INT_MAX): Likewise.
84019 (INT_MIN): Use macro-int-constant. Specify type. Make upper
84020 bound negative.
84021 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
84022 bound with "U".
84023 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
84024 bound with "L".
84025 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
84026 bound negative. Suffix upper bound with "L".
84027 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
84028 bound with "UL".
84029 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
84030 Specify type.
84031 [C99-based standards] (LLONG_MAX): Likewise.
84032 [C99-based standards] (ULLONG_MAX): Likewise.
84033 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
84034 == 0.
84035 [ISO11] (max_align_t): Require type.
84036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
84037
84038 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
84039 from $CFLAGS, without defining away __attribute__ calls.
84040 (checknamespace): Use $CFLAGS_namespace.
84041
84042 * conform/conformtest.pl (@keywords): Only include C99 keywords
84043 for standards based on C99 or C11.
84044
84045 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
84046 Disable tests.
84047 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
84048 UNIX98]: Likewise.
84049
84050 * conform/conformtest.pl: Handle "macro-int-constant" and test for
84051 usability of symbols in #if.
84052
84053 * conform/conformtest.pl: If macro or constant types start
84054 "promoted:", expect the symbol to be of the following type
84055 promoted by the integer promotions.
84056
84057 * conform/conformtest.pl: Parse all "constant" and "macro" lines
84058 in one place. Also handle "macro-constant".
84059
84060 * conform/conformtest.pl: Only accept expected macro values with
84061 "==". Parse all "macro" lines in one place.
84062 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
84063
84064 * conform/conformtest.pl: Handle braced types on "constant" lines
84065 instead of handling "typed-constant".
84066 * conform/data/signal.h-data: Use "constant" instead of
84067 "typed-constant".
84068
84069 * conform/conformtest.pl: Handle "optional-" at start of lines in
84070 one place rather than duplicating several cases. Handle each
84071 format of "macro" line with initial "optional-".
84072
84073 * conform/conformtest.pl: Only accept expected constant or
84074 optional-constant values with "==". Parse all "constant" lines in
84075 one place. Parse all "optional-constant" lines in one place.
84076 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
84077 * conform/data/fmtmsg.h-data: Likewise.
84078 * conform/data/netinet/in.h-data: Likewise.
84079 * conform/data/tar.h-data: Likewise.
84080 * conform/data/limits.h-data: Use "==" form on "constant" and
84081 "optional-constant" lines.
84082
84083 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
84084 Use -std=c99 for XOPEN2K.
84085 (@knownproblems): Remove.
84086 (newtoken): Don't check %isknown.
84087
84088 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
84089 Do not expect macro.
84090 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
84091 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
84092 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
84093 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
84094 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
84095 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
84096 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
84097 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
84098 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
84099 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
84100 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
84101 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
84102 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
84103 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
84104 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
84105 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
84106 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
84107 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
84108 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
84109 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
84110 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
84111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
84112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
84113 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
84114 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
84115 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
84116 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
84117 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
84118 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
84119 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
84120 [XPG3] (acosh): Likewise.
84121 [XPG3] (asinh): Likewise.
84122 [XPG3] (atanh): Likewise.
84123 [XPG3] (cbrt): Likewise.
84124 [XPG3] (expm1): Likewise.
84125 [XPG3] (ilogb): Likewise.
84126 [XPG3] (log1p): Likewise.
84127 [XPG3] (logb): Likewise.
84128 [XPG3] (nextafter): Likewise.
84129 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
84130 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84131 [XPG3] (remainder): Likewise.
84132 [XPG3] (rint): Likewise.
84133 [XPG3 || XPG4 || UNIX98] (round): Likewise.
84134 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
84135 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
84136 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
84137 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
84138 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
84139 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
84140 [UNIX98 || XOPEN2K] (scalb): Expect.
84141 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
84142 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
84143 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
84144 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84145 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
84146 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
84147 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
84148 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
84149 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84150 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84151 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84152 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84153 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84154 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84155 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84156 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84157 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84158 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84159 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84160 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84161 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84162 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84163 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84164 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84165 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84166 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84167 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84168 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84169 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84170 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84171 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84172 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84173 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84174 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84175 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84176 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84177 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84178 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84179 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84180 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84181 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84182 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84183 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84184 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84185 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84186 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84187 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84188 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84189 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84190 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84191 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84192 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84193 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84194 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84195 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84196 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84197 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84198 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84199 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84200 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84201 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84202 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84203 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84204 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84205 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84206 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84207 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84208 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84209 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84210 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84211 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84212 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84213 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84214 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84215 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84216 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84217 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84218 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84219 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84220 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84221 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84222 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84223 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84224 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84225 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84226 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84227 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84228 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84229 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84230 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84231 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84232 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84233 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84234 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84235 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84236 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84237 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84238 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84239 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84240 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84241 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84242 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84243 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84244 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84245 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84246 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84247 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84248 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84249 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84250 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84251 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84252 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84253 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84254 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84255 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84256 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84257 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84258 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84259 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84260 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84261 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84262 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84263 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84264 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84265 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84266 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84267 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84268 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84269 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84270 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84271 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84272 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84273 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84274 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84275 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84276 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84277 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84278
84279 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84280 _XOPEN_SOURCE_EXTENDED for XPG4.
84281
84282 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84283
84284 * Makeconfig (localtime): Remove variable.
84285 (inst_localtime-file): Likewise.
84286
84287 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84288
84289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84290 Update.
84291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84292 Update.
84293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84294 Update.
84295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84296 Update.
84297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84298 Update.
84299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84300 Update.
84301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84302 Update.
84303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84304 Update.
84305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84306 Update.
84307
84308 2012-05-01 Joseph Myers <joseph@codesourcery.com>
84309
84310 [BZ #2550]
84311 [BZ #2570]
84312 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84313 comparisons to determine direction to adjust input.
84314 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84315 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84316 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84317 Likewise.
84318 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84319 Likewise.
84320 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84321 Likewise.
84322 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84323 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84324 Likewise.
84325 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84326 Likewise.
84327 * math/libm-test.inc (nexttoward_test): Add more tests.
84328
84329 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84330
84331 [BZ #14040]
84332 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84333 in version GLIBC_2.1, not GLIBC_2.0.
84334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84335 Likewise.
84336
84337 2012-04-30 Joseph Myers <joseph@codesourcery.com>
84338
84339 [BZ #13942]
84340 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84341 (1 - x) * (1 + x).
84342 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84343 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84344 * math/libm-test.inc (acos_test): Add more tests.
84345 (asin_test): Likewise.
84346 * sysdeps/i386/fpu/libm-test-ulps: Update.
84347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84348
84349 [BZ #14034]
84350 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84351 of square root.
84352 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84353 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84354 * math/libm-test.inc (acos_test_tonearest): New function.
84355 (acos_test_towardzero): Likewise.
84356 (acos_test_downward): Likewise.
84357 (acos_test_upward): Likewise.
84358 (asin_test_tonearest): Likewise.
84359 (asin_test_towardzero): Likewise.
84360 (asin_test_downward): Likewise.
84361 (asin_test_upward): Likewise.
84362 (main): Call the new functions.
84363 * sysdeps/i386/fpu/libm-test-ulps: Update.
84364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84365
84366 [BZ #13884]
84367 [BZ #13924]
84368 * math/e_exp10.c: Include <float.h>.
84369 (__ieee754_exp10): Handle underflow here rather than multiplying
84370 large negative argument by M_LN10.
84371 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84372 of __ieee754_expf.
84373 * math/e_exp10l.c: Include <float.h>.
84374 (__ieee754_exp10l): Handle underflow here rather than multiplying
84375 large negative argument by M_LN10l.
84376 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84377 spurious overflow exception on underflow.
84378
84379 2012-04-29 Marek Polacek <polacek@redhat.com>
84380
84381 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84382 (__fortify_function): New macro.
84383 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84384 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84385 __extern_always_inline.
84386 * libio/bits/stdio2.h: Likewise.
84387 * libio/bits/stdio.h: Likewise.
84388 * string/string.h: Likewise.
84389 * string/bits/string3.h: Likewise.
84390 * include/stdio.h: Likewise.
84391 * stdlib/bits/stdlib.h: Likewise.
84392 * stdlib/stdlib.h: Likewise.
84393 * rt/bits/mqueue2.h: Likewise.
84394 * rt/mqueue.h: Likewise.
84395 * posix/bits/unistd.h: Likewise.
84396 * posix/unistd.h: Likewise.
84397 * io/bits/poll2.h: Likewise.
84398 * io/bits/fcntl2.h: Likewise.
84399 * io/fcntl.h: Likewise.
84400 * io/sys/poll.h: Likewise.
84401 * misc/bits/syslog.h: Likewise.
84402 * misc/bits/syslog-ldbl.h: Likewise.
84403 * misc/sys/syslog.h: Likewise.
84404 * socket/bits/socket2.h: Likewise.
84405 * socket/sys/socket.h: Likewise.
84406 * debug/tst-chk1.c: Likewise.
84407 * wcsmbs/bits/wchar2.h: Likewise.
84408 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84409 * wcsmbs/wchar.h: Likewise.
84410
84411 2012-04-29 Andreas Jaeger <aj@suse.de>
84412
84413 * Makerules (tests): Remove enable-check-abi protection.
84414 (check-abi-warn): Remove.
84415 (check-abi-%): Remove check-abi-warn usage.
84416
84417 * configure.in: Remove check-abi configure option.
84418 * configure: Regenerated.
84419 * config.make.in (enable-check-abi): Remove.
84420
84421 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84422
84423 [BZ #14033]
84424 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84425 double functions to double *_finite functions.
84426
84427 [BZ #13941]
84428 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84429 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84430 LDBL_MIN_EXP.
84431 * stdio-common/Makefile (tests): Add tst-sprintf3.
84432 * stdio-common/tst-sprintf3.c: New file.
84433
84434 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84435 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84436
84437 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84438
84439 * conform/conformtest.pl: Remove duplicate typed-constant
84440 handling.
84441
84442 2012-04-28 David S. Miller <davem@davemloft.net>
84443
84444 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84445 (check-abi-%): Remove AWK script prerequisite and explicit
84446 abilist directory.
84447 (check-abi): Rewrite to just diff the symlist with the abilist.
84448 (config-tls, config-abi-config): Delete, no longer used.
84449 (update-abi-%): Remove AWK script and explicit abilist directory.
84450 (update-abi): Rewrite to simply compare and conditionally copy the
84451 symlist and the sysdep abilist file. Remove update-abi-config
84452 checks.
84453 * abilist/ld.abilist: Remove.
84454 * abilist/libBrokenLocale.abilist: Remove.
84455 * abilist/libanl.abilist: Remove.
84456 * abilist/libcrypt.abilist: Remove.
84457 * abilist/libdl.abilist: Remove.
84458 * abilist/librt.abilist: Remove.
84459 * abilist/libthread_db.abilist: Remove.
84460 * abilist/libutil.abilist: Remove.
84461 * scripts/extract-abilist.awk: Remove.
84462 * scripts/merge-abilist.awk: Remove.
84463 * sysdeps/generic/libcidn.abilist: New file.
84464 * sysdeps/generic/libnss_compat.abilist: New file.
84465 * sysdeps/generic/libnss_db.abilist: New file.
84466 * sysdeps/generic/libnss_dns.abilist: New file.
84467 * sysdeps/generic/libnss_files.abilist: New file.
84468 * sysdeps/generic/libnss_hesiod.abilist: New file.
84469 * sysdeps/generic/libnss_nis.abilist: New file.
84470 * sysdeps/generic/libnss_nisplus.abilist: New file.
84471 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84472 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84473 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84474 file.
84475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84476 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84477 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84478 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84479 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84480 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84481 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84482 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84483 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84484 file.
84485 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84486 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84487 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84488 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84489 file.
84490 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84491 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84492 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84493 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84494 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84495 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84496 file.
84497 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84498 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84499 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84500 file.
84501 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84503 New file.
84504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84505 New file.
84506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84507 New file.
84508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84509 New file.
84510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84511 New file.
84512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84513 New file.
84514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84515 New file.
84516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84517 New file.
84518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84519 New file.
84520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84521 New file.
84522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84523 New file.
84524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84525 New file.
84526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84527 New file.
84528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84529 file.
84530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84531 New file.
84532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84533 New file.
84534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84535 file.
84536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84537 New file.
84538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84539 New file.
84540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84541 file.
84542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84543 New file.
84544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84545 New file.
84546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84547 New file.
84548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84549 New file.
84550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84551 New file.
84552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84553 New file.
84554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84556 file.
84557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84558 New file.
84559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84560 file.
84561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84562 file.
84563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84564 file.
84565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84566 file.
84567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84568 file.
84569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84570 New file.
84571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84572 file.
84573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84574 file.
84575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84576 New file.
84577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84578 file.
84579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84581 file.
84582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84583 New file.
84584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84585 file.
84586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84587 file.
84588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84589 file.
84590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84591 file.
84592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84593 file.
84594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84595 New file.
84596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84597 file.
84598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84599 file.
84600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84601 New file.
84602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84603 file.
84604 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84605 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84606 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84607 file.
84608 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84609 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84610 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84611 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84612 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84613 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84614 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84615 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84616 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84617 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84620 file.
84621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84622 New file.
84623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84624 file.
84625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84626 file.
84627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84628 file.
84629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84630 file.
84631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84632 file.
84633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84634 New file.
84635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84636 New file.
84637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84638 file.
84639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84640 New file.
84641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84642 file.
84643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84645 file.
84646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84647 New file.
84648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84649 file.
84650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84651 file.
84652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84653 file.
84654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84655 file.
84656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84657 file.
84658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84659 New file.
84660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84661 New file.
84662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84663 file.
84664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84665 New file.
84666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84667 file.
84668
84669 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84670
84671 * conform/conformtest.pl: Fix typo in handling typed-constant from
84672 allow-header.
84673
84674 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84675
84676 * README: Cut down references to pre-2.6 Linux kernels and
84677 Linuxthreads. Update lists of configurations in libc and ports
84678 and sort alphabetically. Say "or newer" with Linux kernel version
84679 requirements.
84680
84681 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84682
84683 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84684
84685 [BZ #887]
84686 * math/libm-test.inc (logb_test_downward): New test to expose
84687 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84688 rounding mode.
84689
84690 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84691
84692 [BZ #14027]
84693 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84694 to be done.
84695 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84696 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84697
84698 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84699
84700 * sysdeps/unix/i386/brk.S: Remove file.
84701 * sysdeps/unix/i386/dl-brk.S: Likewise.
84702 * sysdeps/unix/i386/pipe.S: Likewise.
84703 * sysdeps/unix/i386/sigreturn.S: Likewise.
84704 * sysdeps/unix/i386/syscall.S: Likewise.
84705 * sysdeps/unix/i386/vfork.S: Likewise.
84706 * sysdeps/unix/i386/wait.S: Likewise.
84707
84708 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84709 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84710
84711 * configure.in (arm*-none*): Do not allow without
84712 --enable-hacker-mode.
84713 (netbsd*): Remove case setting base_os.
84714 (386bsd*): Likewise.
84715 (freebsd*): Likewise.
84716 (bsdi*): Likewise.
84717 (osf*): Likewise.
84718 (sunos*): Likewise.
84719 (ultrix*): Likewise.
84720 (newsos*): Likewise.
84721 (dynix*): Likewise.
84722 (*bsd*): Likewise.
84723 (sysv*): Likewise.
84724 (isc*): Likewise.
84725 (esix*): Likewise.
84726 (sco*): Likewise.
84727 (minix*): Likewise.
84728 (irix4*): Likewise.
84729 (irix6*): Likewise.
84730 (solaris[2-9]*): Likewise.
84731 (none): Likewise.
84732 * configure: Regenerated.
84733
84734 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84735
84736 [BZ #11521]
84737 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84738 overflow or cancellation in calculating denominator.
84739 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84741 down expression to avoid unexpected rounding in newer GCCs.
84742 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84743
84744 2012-04-26 David S. Miller <davem@davemloft.net>
84745
84746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84747 long-double compat symbols.
84748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84761
84762 2012-04-25 David S. Miller <davem@davemloft.net>
84763
84764 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84765 HWCAP_* values only after the memory barriers have been defined.
84766 (atomic_full_barrier): Define.
84767 (atomic_read_barrier): Define.
84768 (atomic_write_barrier): Define.
84769
84770 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84771
84772 * shlib-versions: Add libgcc_s version information.
84773 * sysdeps/generic/libgcc_s.h: Remove.
84774 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84775 libgcc_s.h.
84776 * sysdeps/gnu/unwind-resume.c: Likewise.
84777 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84778
84779 2012-04-25 David S. Miller <davem@davemloft.net>
84780
84781 * sysdeps/unix/sparc/brk.S: Delete.
84782 * sysdeps/unix/sparc/dl-brk.S: Delete.
84783 * sysdeps/unix/sparc/pipe.S: Delete.
84784 * sysdeps/unix/sparc/sysdep.S: Delete.
84785 * sysdeps/unix/sparc/sysdep.h: Delete.
84786 * sysdeps/unix/sparc/vfork.S: Delete.
84787 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84788 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84790 (ret_ERRVAL, r0, r1, MOVE): Define.
84791 (JUMPTARGET): Remove.
84792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84793 sysdeps/unix/sparc/sysdep.h
84794 (ENTRY, END): Remove.
84795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84796
84797 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84798
84799 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84800 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84801 -DIS_IN_build.
84802
84803 * timezone/README: Update upstream location and email address for
84804 tzcode and tzdata.
84805 * timezone/zdump.c: Update from tzcode 2012b.
84806 * timezone/zic.c: Likewise.
84807
84808 * configure.in (libc_cv_as_needed): Remove test.
84809 * configure: Regenerated.
84810 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84811 conditional definition.
84812 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84813 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84814 * config.make.in (have-as-needed): Remove variable.
84815
84816 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84817 Paul Pluzhnikov <ppluzhnikov@google.com>
84818
84819 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84820 strings correctly.
84821
84822 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84823
84824 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84825 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84826 * sysdeps/sh/strlen.S: Likewise.
84827
84828 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84829
84830 * sysdeps/unix/fork.S: Remove file.
84831 * sysdeps/unix/i386/fork.S: Likewise.
84832 * sysdeps/unix/sparc/fork.S: Likewise.
84833
84834 * sysdeps/unix/system.c: Remove file.
84835 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84836
84837 * sysdeps/unix/getegid.S: Remove file.
84838 * sysdeps/unix/geteuid.S: Likewise.
84839
84840 2012-04-24 Roland McGrath <roland@hack.frob.com>
84841
84842 * scripts/check-localplt.awk: New file.
84843 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84844 of diff.
84845 * scripts/data/localplt-generic.data: Add a comment.
84846
84847 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84848 NODE when __dir_mkfile failed.
84849 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84850 Reported by Ludovic Courtès <ludo@gnu.org>.
84851
84852 2012-04-24 Andreas Jaeger <aj@suse.de>
84853
84854 * Makerules (common-clean): Also remove gen-as-const-headers
84855 files.
84856
84857 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84858
84859 * Makerules (native-compile): Do not change working directory for
84860 build. Use $(OUTPUT_OPTION) in command.
84861 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84862
84863 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84864
84865 [BZ #13886]
84866 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84867 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84868 * math/libm-test.inc (floor_test): Add more tests.
84869 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84870
84871 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84872
84873 * sysdeps/unix/getdents.c: Remove file.
84874 * sysdeps/unix/sysv/getdents.c: Likewise.
84875 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84876
84877 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84878 sysdeps/unix/mman/syscalls.list.
84879 (mmap): Likewise.
84880 (mprotect): Likewise.
84881 (msync): Likewise.
84882 (munmap): Likewise.
84883 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84884 * sysdeps/unix/mman/syscalls.list: Remove.
84885 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84886
84887 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84888 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84889 * configure: Regenerated.
84890 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84891 $(libgcc_s_suffix).
84892 * config.make.in (libgcc_s_suffix): Remove variable.
84893
84894 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84895
84896 * sysdeps/unix/sysv/gethostname.c: Move to ...
84897 * sysdeps/posix/gethostname.c: ... here.
84898
84899 * sysdeps/unix/execve.S: Remove file.
84900
84901 * sysdeps/unix/_exit.S: Remove file.
84902
84903 2012-04-23 Andreas Jaeger <aj@suse.de>
84904
84905 [BZ #13739]
84906 * manual/Makefile: Remove make dist support, there's no
84907 need for a stand-alone documentation tar ball.
84908 (TEXI2DVI): Define always, it's not in Makeconfig.
84909 (dist): Removed.
84910 (tar-it): Removed.
84911 (edition): Removed.
84912 (glibc-doc-$(edition).tar): Removed
84913 (%.Z): Removed.
84914 (%.gz): Removed.
84915 (%.uu): Removed.
84916 (ETAGS): Remove, it's in Makeconfig.
84917 (move-if-change): Remove, it's in Makeconfig.
84918
84919 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84920
84921 [BZ #13970]
84922 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84923 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84924 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84925 (strtod_l, strtof_l, strtold_l): Remove __wur.
84926 It is not necessarily an error to ignore strtol's return value.
84927 One can reliably look at the stored endptr to decide whether
84928 the number had valid syntax.
84929
84930 2012-04-21 Andreas Jaeger <aj@suse.de>
84931
84932 [BZ #13739]
84933 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84934
84935 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84936
84937 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84938 * sysdeps/unix/sysv/Versions: Remove file.
84939
84940 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84941
84942 [BZ #13927]
84943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84944
84945 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84946
84947 [BZ #7064]
84948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84949 version from __vm86.
84950
84951 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84952
84953 * sysdeps/unix/common/lxstat.c: Remove file.
84954 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84955
84956 * sysdeps/unix/sysv/Makefile: Remove file.
84957
84958 * sysdeps/unix/sysv/direct.h: Remove file.
84959
84960 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84961 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84962 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84963 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84964 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84965 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84966 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84967
84968 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84969
84970 * sysdeps/unix/xmknod.c: Remove file.
84971 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84972
84973 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84974
84975 * sysdeps/unix/sysv/i386/time.S: Remove file.
84976
84977 * sysdeps/unix/fxstat.c: Remove file.
84978 * sysdeps/unix/xstat.c: Likewise.
84979 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84980
84981 * sysdeps/unix/sysv/sigaction.c: Remove file.
84982
84983 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84984 (sysdep_headers): Remove variable.
84985 [termio.h not in sysdep_headers] (generated): Likewise.
84986 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84987 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84988 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84989 * sysdeps/unix/sysv/tcflow.c: Likewise.
84990 * sysdeps/unix/sysv/tcflush.c: Likewise.
84991 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84992 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84993 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84994 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84995 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84996
84997 * sysdeps/unix/siglist.c: Remove file.
84998
84999 * sysdeps/unix/getppid.S: Remove file.
85000
85001 * sysdeps/unix/mkdir.c: Remove file.
85002 * sysdeps/unix/rmdir.c: Likewise.
85003
85004 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
85005
85006 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
85007 ERR_MAX value.
85008 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
85009 errlist-compat value.
85010
85011 2012-04-18 David S. Miller <davem@davemloft.net>
85012
85013 * sysdeps/generic/memcopy.h (reg_char): Delete.
85014 * debug/strcat_chk.c: Use char, not reg_char.
85015 * debug/strcpy_chk.c: Likewise.
85016 * debug/strncat_chk.c: Likewise.
85017 * debug/strncpy_chk.c: Likewise.
85018 * string/memchr.c: Likewise.
85019 * string/memrchr.c: Likewise.
85020 * string/rawmemchr.c: Likewise.
85021 * string/strcat.c: Likewise.
85022 * string/strchr.c: Likewise.
85023 * string/strchrnul.c: Likewise.
85024 * string/strcmp.c: Likewise.
85025 * string/strcpy.c: Likewise.
85026 * string/strncat.c: Likewise.
85027 * string/strncmp.c: Likewise.
85028 * string/strncpy.c: Likewise.
85029
85030 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85031
85032 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
85033 __builtin_memcopy is called when src and dest ranges are known to not
85034 overlap.
85035
85036 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85037
85038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
85039 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
85040 fwd_align_merge macro call.
85041 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
85042 bwd_align_merge macro call.
85043 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85044
85045 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85046
85047 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
85048 bwd_align_merge macros.
85049 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
85050 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
85051 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85052
85053 2012-04-18 David S. Miller <davem@davemloft.net>
85054
85055 * sysdeps/sparc/sparc64/memcopy.h: Delete.
85056
85057 2012-04-18 Andreas Jaeger <aj@suse.de>
85058
85059 [BZ #6794]
85060 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
85061 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
85062 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85063
85064 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
85065 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
85066 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85067
85068 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
85069 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
85070 Adjust for changed ldbl-128 files.
85071
85072 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
85073 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
85074 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85075
85076 2012-04-17 David S. Miller <davem@davemloft.net>
85077
85078 * sysdeps/sparc/sparc32/memcopy.h: Delete.
85079
85080 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
85081
85082 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
85083 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
85084 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
85085 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
85086 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
85087 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
85088
85089 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85090
85091 [BZ #6794]
85092 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
85093 * math/libm-test.inc: Add ilogb errno and exception tests.
85094 * math/w_ilogb.c: New file: ilogb wrapper.
85095 * math/w_ilogbf.c: New file: ilogbf wrapper.
85096 * math/w_ilogbl.c: New file: ilogbl wrapper.
85097 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
85098 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
85099 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
85100 exception being thrown with 0.0 as argument.
85101 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
85102 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
85103 exception being thrown with 0.0 as argument.
85104 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
85105 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85106 exception being thrown with 0.0 as argument.
85107 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
85108 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85109 exception being thrown with 0.0 as argument.
85110 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
85111 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
85112 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
85113 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
85114 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
85115 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
85116 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
85117 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
85118 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
85119
85120 2012-04-17 Petr Baudis <pasky@ucw.cz>
85121
85122 * include/sys/uio.h: Change __vector to __iovec to avoid clash
85123 with altivec.
85124
85125 2012-04-16 Marek Polacek <polacek@redhat.com>
85126
85127 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
85128
85129 2012-04-16 Marek Polacek <polacek@redhat.com>
85130
85131 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
85132 operands of fdivp instruction.
85133
85134 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
85135
85136 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
85137 * elf/tst-auditmod3b.c: Likewise.
85138 * elf/tst-auditmod4b.c: Likewise.
85139 * elf/tst-auditmod5b.c: Likewise.
85140 * elf/tst-auditmod6b.c: Likewise.
85141 * elf/tst-auditmod6c.c: Likewise.
85142 * elf/tst-auditmod7b.c: Likewise.
85143 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
85144 * sysdeps/x86_64/preconfigure.in: Likewise.
85145 * sysdeps/x86_64/preconfigure: Regenerated.
85146
85147 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
85148
85149 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85150 __ILP32__.
85151
85152 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
85153
85154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85155 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
85156
85157 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
85158
85159 [BZ #13973]
85160 * locale/iso-639.def: Fix gl language name. Spotted by
85161 Yaron Shahrabani.
85162
85163 2012-04-12 Roland McGrath <roland@hack.frob.com>
85164
85165 [BZ #2074]
85166 * libio/libio.h (__io_write_fn): Update comment.
85167
85168 2012-04-12 Petr Baudis <pasky@ucw.cz>
85169
85170 [BZ #2074]
85171 * stdio.texi (Hook Functions): The user provided writer function
85172 is not allowed to return -1.
85173
85174 2012-04-11 David S. Miller <davem@davemloft.net>
85175
85176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85177
85178 2012-04-11 Mike Frysinger <vapier@gentoo.org>
85179
85180 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85181 Add a leading slash to rtkaio.
85182
85183 2012-04-11 Jim Meyering <meyering@redhat.com>
85184
85185 [BZ #11959]
85186 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85187 It is not necessarily an error to ignore fwrite's return
85188 value. One can reliably use ferror to test for errors after
85189 the fact.
85190
85191 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85192
85193 * bits/types.h (__snseconds_t): New type.
85194 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85195
85196 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85198 (__SNSECONDS_T_TYPE): Likewise.
85199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85200 (__SNSECONDS_T_TYPE): Likewise.
85201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85202 (__SNSECONDS_T_TYPE): Likewise.
85203
85204 2012-04-10 Andreas Jaeger <aj@suse.de>
85205
85206 [BZ #2636]
85207 * manual/time.texi (Processor Time): Return type of times is
85208 elapsed real time since an arbitrary point in the past.
85209 (CPU Time): Move CLK_TCK from here...
85210 (Processor Time): ...to here. Correct description.
85211 * manual/conf.texi (Constants for Sysconf): Correct description of
85212 _SC_CLK_TCK.
85213
85214 2012-04-10 David S. Miller <davem@davemloft.net>
85215
85216 [BZ #13967]
85217 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85218 where the is a gap between DT_REL(A) and DT_JMPREL.
85219
85220 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85221
85222 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85223 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85224 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85225
85226 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
85227
85228 * elf/dl-support.c (_dl_inhibit_cache): New variable.
85229 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85230 (dl_main): Handle --inhibit-cache.
85231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85232 _dl_inhibit_cache.
85233 * elf/dl-load.c (_dl_map_object): Use it.
85234 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85235
85236 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85237
85238 [BZ #13872]
85239 * sysdeps/i386/fpu/e_powl.S (p78): New object.
85240 (__ieee754_powl): Saturate large exponents rather than testing for
85241 overflow of y*log2(x).
85242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85243 * math/libm-test.inc (pow_test): Do not permit spurious overflow
85244 exceptions.
85245
85246 [BZ #11521]
85247 * math/s_ctan.c: Include <float.h>.
85248 (__ctan): Avoid internal overflow or cancellation in calculating
85249 denominator.
85250 * math/s_ctanf.c: Likewise.
85251 * math/s_ctanl.c: Likewise.
85252 * math/s_ctanh.c: Likewise.
85253 * math/s_ctanhf.c: Likewise.
85254 * math/s_ctanhl.c: Likewise.
85255 * math/libm-test.inc (ctan_test): Add more tests.
85256 (ctanh_test): Likewise.
85257 * sysdeps/i386/fpu/libm-test-ulps: Update.
85258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85259
85260 2012-04-09 Andreas Jaeger <aj@suse.de>
85261
85262 [BZ #6894]
85263 * manual/filesys.texi (Directory Entries): Mention that d_namlen
85264 is an optional BSD extension.
85265
85266 [BZ #10254]
85267 * manual/stdio.texi (Opening Streams): Document additional fopen
85268 parameters.
85269
85270 2012-04-09 Roland McGrath <roland@hack.frob.com>
85271
85272 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85273 %eax without telling the compiler.
85274
85275 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
85276
85277 [BZ # 13963]
85278 * manual/install.texi: Use sourceware.org.
85279
85280 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85281
85282 [BZ #13873]
85283 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85284 (__ieee754_pow): Generate overflow and underflow using huge*huge
85285 and tiny*tiny rather than just returning constant infinity or zero
85286 for large exponents.
85287 * math/libm-test.inc (pow_test): Require overflow exceptions for
85288 applicable cases of large exponents.
85289
85290 [BZ #706]
85291 * sysdeps/i386/fpu/e_pow.S (p10): New object.
85292 (__ieee754_pow): Use iterative multiplication algorithm only for
85293 integer exponents with absolute value below 1024. Check for odd
85294 integer exponents when using algorithm for real exponents.
85295 * math/libm-test.inc (pow_test): Add more tests.
85296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85297
85298 2012-04-08 Joseph Myers <joseph@codesourcery.com>
85299
85300 [BZ #13705]
85301 * math/libm-test.inc (exp_test): Do not allow overflow exception
85302 on underflow test.
85303
85304 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
85305
85306 [BZ #13705]
85307 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85308 instead of __kernel_standard_f.
85309
85310 2012-04-08 Mike Frysinger <vapier@gentoo.org>
85311
85312 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85313 * sysdeps/x86_64/memset_chk.S: Likewise.
85314
85315 2012-04-08 Andreas Jaeger <aj@suse.de>
85316
85317 [BZ #10153]
85318 * manual/startup.texi (Environment Access): Describe return value
85319 for putenv and setenv.
85320
85321 [BZ #6895]
85322 * manual/filesys.texi (Directory Entries): Add description for
85323 DT_LNK.
85324
85325 [BZ #6890]
85326 * manual/filesys.texi (Directory Entries): Clarify that it's file
85327 system not operating system in the description of DT_UNKNOWN.
85328
85329 [BZ #6578]
85330 * manual/syslog.texi (closelog): Fix reference, it's openlog.
85331
85332 2012-04-08 Stephen Compall <s11@member.fsf.org>
85333
85334 [BZ #6649]
85335 * manual/llio.texi (Opening and Closing Files): Add cross
85336 reference to explain mode argument.
85337
85338 2012-04-07 Mike Frysinger <vapier@gentoo.org>
85339
85340 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85341 * sysdeps/x86_64/memset_chk.S: Likewise.
85342
85343 2012-04-07 David S. Miller <davem@davemloft.net>
85344
85345 * elf/elf.h (R_SPARC_WDISP10): Define.
85346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85347 R_SPARC_SIZE32.
85348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85349 R_SPARC_SIZE64 and R_SPARC_H34.
85350
85351 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
85352
85353 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85354 conditions and remove no longer applicable assertion.
85355
85356 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85357
85358 * bits/byteswap.h: Include <features.h>.
85359 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85360 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85361
85362 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85363
85364 * bits/byteswap.h (__bswap_16): Removed.
85365 Include <bits/byteswap-16.h> to get __bswap_16.
85366 * sysdeps/i386/bits/byteswap.h: Likewise.
85367 * sysdeps/s390/bits/byteswap.h: Likewise.
85368 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85369 * bits/byteswap-16.h: New file.
85370 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85371 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85372 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85373 * string/Makefile (headers): Add bits/byteswap-16.h.
85374
85375 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
85376
85377 [BZ #13895]
85378 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85379 extra indirection.
85380 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85381 * nss/tst-nss-static.c: New.
85382
85383 2012-04-06 Robert Millan <rmh@gnu.org>
85384
85385 [BZ #6486]
85386 * manual/llio.texi (File Position Primitive): lseek
85387 refers to WHENCE when it really means OFFSET.
85388
85389 2012-04-06 Andreas Jaeger <aj@suse.de>
85390
85391 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85392 strncmp declarations.
85393
85394 * abilist/libc.abilist: Add __poll and __ppoll.
85395
85396 2012-04-05 David S. Miller <davem@davemloft.net>
85397
85398 * scripts/check-local-headers.sh: Accept a host triplet in the
85399 path matched by the exclude regexp.
85400
85401 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85402 definition.
85403 * sysdeps/powerpc/powerpc32/dl-machine.h
85404 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85405 * sysdeps/s390/s390-32/dl-machine.h
85406 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85407 * sysdeps/sparc/sparc32/dl-machine.h
85408 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85409 * sysdeps/sparc/sparc64/dl-machine.h
85410 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85411
85412 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85413 lazy binding.
85414 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85415 undefined symbol errors.
85416
85417 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85418 DT_NEEDED entries.
85419
85420 2012-04-05 Michael Matz <matz@suse.de>
85421
85422 [BZ #13592]
85423 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85424
85425 2012-04-05 Andreas Jaeger <aj@suse.de>
85426
85427 [BZ #13908]
85428 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85429 comment.
85430
85431 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85432
85433 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85434 which ROUND is no valid rounding mode.
85435
85436 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85437
85438 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85439 read again.
85440 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85441
85442 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85443
85444 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85445 an exception using FPU order intentionally.
85446
85447 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85448
85449 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85450 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85451 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85452 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85453
85454 2012-04-05 Simon Josefsson <simon@josefsson.org>
85455
85456 [BZ #12340]
85457 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85458 EINVAL when BUFLEN is too smal.
85459
85460 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85461
85462 [BZ #13553]
85463 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85464 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85465
85466 2012-04-03 Andreas Jaeger <aj@suse.de>
85467
85468 [BZ #13938]
85469 * manual/setjmp.texi (System V contexts): Fix sentence.
85470
85471 [BZ #13926]
85472 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85473 New macro for this case.
85474 [!__GNUC__] (__bswap_64): New inline function for this case.
85475 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85476 * bits/byteswap.h: Likewise.
85477 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85478 ull, guard with __GLIBC_HAVE_LONG_LONG.
85479
85480 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85481 __GLIBC_HAVE_LONG_LONG.
85482
85483 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85484 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85485
85486 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85487
85488 [BZ #13691]
85489 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85490 inptr and inend, rather than using last_ch.
85491
85492 2012-04-02 David S. Miller <davem@davemloft.net>
85493
85494 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85495 * stdio-common/printf-parse.h (read_int): Change return type to
85496 'int', return -1 on INT_MAX overflow.
85497 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85498 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85499 overflows INT_MAX. Check for overflow of in-format-string precision
85500 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85501 SIZE_MAX not INT_MAX for integer overflow test.
85502 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85503 skip the construct in the format string but do not record anything.
85504 * stdio-common/bug22.c: Adjust to test both width/prevision
85505 INT_MAX overflow as well as total length INT_MAX overflow. Check
85506 explicitly for proper errno values.
85507
85508 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85509
85510 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85511 CHAR_MAX.
85512 * string/test-strcmp.c [! WIDE]: Likewise.
85513 * time/tst-mktime2.c: Likewise for INT_MAX.
85514 * string/test-string.h: #include <sys/param.h> for MIN.
85515
85516 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85517 * sysdeps/i386/init-first.c (init): Likewise.
85518 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85519 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85520 * sysdeps/sh/init-first.c (init): Likewise.
85521
85522 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85523
85524 * po/ru.po: Update from translation team.
85525 * po/vi.po: Likewise.
85526
85527 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85528
85529 * resolv/nss_dns/dns-host.c: Merge copyright years.
85530
85531 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85532
85533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85534 Optimize memcpy with prefetch if
85535 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85536 src, dst pointers have unequal 16 byte alignments.
85537
85538 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85539
85540 [BZ #13928]
85541 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85542 from a CNAME entry and return the minimum ttl for the query.
85543 (gaih_getanswer_slice): Likewise.
85544
85545 2012-03-30 Jeff Law <law@redhat.com>
85546
85547 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85548 due to long keys.
85549 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85550 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85551
85552 * resolv/nss_dns/dns-host.c: Update copyright year.
85553
85554 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85555
85556 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85557 requests to save a system call. Fix check that all bytes are sent.
85558
85559 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85560 comments for sendmmsg.
85561
85562 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85563
85564 [BZ #13691]
85565 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85566 with only 1 character between 0x0041 and 0x01b0.
85567 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85568 * wcsmbs/tst-mbsnrtowcs.c: New file.
85569
85570 2012-03-29 David S. Miller <davem@davemloft.net>
85571
85572 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85573 small copies by hand.
85574
85575 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85576
85577 [BZ #13761]
85578 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85579 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85580 group memberships.
85581
85582 2012-03-28 David S. Miller <davem@davemloft.net>
85583
85584 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85585 that branches into memcpy.
85586 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85589 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85591 bits.
85592 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85593 implementation too.
85594 * sysdeps/sparc/mempcpy.S: New file.
85595
85596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85597 the IFUNC routine in the libc case.
85598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85599
85600 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85601 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85602 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85603 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85604 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85605 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85606 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85607 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85608
85609 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85610 loop to 256 bytes instead of 64 bytes and fix test signedness.
85611
85612 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85613 * sysdeps/sparc/sparc32/Makefile: rather than here...
85614 * sysdeps/sparc/sparc64/Makefile: and here.
85615
85616 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85617
85618 * malloc/mallocbug.c: Avoid warnings about unused variables.
85619
85620 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85621
85622 [BZ #13760]
85623 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85624 in the right place. Discard and retry query if response is
85625 larger than input buffer size.
85626
85627 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85628
85629 [BZ #369]
85630 [BZ #2678]
85631 [BZ #3866]
85632 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85633 x for large integer exponent.
85634 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85635 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85636 sign of result as needed afterwards.
85637 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85638 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85639 result for underflowing pow the same as for overflow.
85640 (__kernel_standard_l): Handle powl overflow and underflow here
85641 rather than calling __kernel_standard.
85642 * math/libm-test.inc (pow_test): Add more tests.
85643
85644 [BZ #3868]
85645 [BZ #13879]
85646 [BZ #13910]
85647 [BZ #13911]
85648 [BZ #13912]
85649 [BZ #13913]
85650 [BZ #13915]
85651 [BZ #13916]
85652 [BZ #13917]
85653 [BZ #13918]
85654 [BZ #13919]
85655 [BZ #13920]
85656 [BZ #13921]
85657 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85658 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85659 (__kernel_standard_l): New function.
85660 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85661 __kernel_standard.
85662 * math/w_acosl.c (__acosl): Likewise.
85663 * math/w_asinl.c (__asinl): Likewise.
85664 * math/w_atan2l.c (__atan2l): Likewise.
85665 * math/w_atanhl.c (__atanhl): Likewise.
85666 * math/w_coshl.c (__coshl): Likewise.
85667 * math/w_exp10l.c (__exp10l): Likewise.
85668 * math/w_exp2l.c (__exp2l): Likewise.
85669 * math/w_fmodl.c (__fmodl): Likewise.
85670 * math/w_hypotl.c (__hypotl): Likewise.
85671 * math/w_j0l.c (__j0l, __y0l): Likewise.
85672 * math/w_j1l.c (__j1l, __y1l): Likewise.
85673 * math/w_jnl.c (__jnl, __ynl): Likewise.
85674 * math/w_lgammal.c (__lgammal): Likewise.
85675 * math/w_log10l.c (__log10l): Likewise.
85676 * math/w_log2l.c (__log2l): Likewise.
85677 * math/w_logl.c (__logl): Likewise.
85678 * math/w_powl.c (__powl): Likewise.
85679 * math/w_remainderl.c (__remainderl): Likewise.
85680 * math/w_scalbl.c (sysv_scalbl): Likewise.
85681 * math/w_sinhl.c (__sinhl): Likewise.
85682 * math/w_sqrtl.c (__sqrtl): Likewise.
85683 * math/w_tgammal.c (__tgammal): Likewise.
85684 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85685 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85686 * math/libm-test.inc (acos_test): Add more tests.
85687 (acosh_test): Likewise.
85688 (asin_test): Likewise.
85689 (atanh_test): Likewise.
85690 (exp_test): Likewise.
85691 (exp10_test): Likewise.
85692 (exp2_test): Likewise.
85693 (expm1_test): Likewise.
85694 (lgamma_test): Likewise.
85695 (log_test): Likewise.
85696 (log10_test): Likewise.
85697 (log1p_test): Likewise.
85698 (log2_test): Likewise.
85699 (pow_test): Do not allow some spurious overflow exceptions.
85700 (sqrt_test): Add more tests.
85701 (tgamma_test): Likewise.
85702 (y0_test): Likewise.
85703 (y1_test): Likewise.
85704 (yn_test): Likewise.
85705
85706 2012-03-27 Anton Blanchard <anton@samba.org>
85707
85708 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85709 MAP_HUGETLB.
85710 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85711 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85713
85714 2012-03-27 David S. Miller <davem@davemloft.net>
85715
85716 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85717
85718 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85719 have-as-vis3 check.
85720
85721 2012-03-27 Andreas Jaeger <aj@suse.de>
85722
85723 * sysdeps/x86_64/elf/configure.in: Moved to ...
85724 * sysdeps/x86_64/configure.in: ... here.
85725 * sysdeps/x86_64/elf/start.S: Moved to ...
85726 * sysdeps/x86_64/start.S: ... here.
85727 * sysdeps/x86_64/elf/configure: Delete.
85728
85729 * sysdeps/x86_64/configure.in: Merge contents from
85730 sysdeps/i386/configure.in (without i686 check).
85731
85732 * sysdeps/i386/elf/Versions: Merge into ...
85733 * sysdeps/i386/Versions: ... this.
85734 * sysdeps/i386/elf/Versions: Delete file.
85735 * sysdeps/i386/elf/start.S: Moved to ...
85736 * sysdeps/i386/start.S: ...here.
85737 * sysdeps/i386/elf/configure.in: Merge into...
85738 * sysdeps/i386/configure.in: ...here.
85739 * sysdeps/i386/elf/configure.in: Delete file.
85740 * sysdeps/i386/elf/configure: Delete file.
85741
85742 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85743 * debug/backtracesyms.c: ... here.
85744 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85745 * debug/backtracesymsfd.c: ... here.
85746 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85747 * sysdeps/generic/ifunc-sel.h: ... here.
85748
85749 * sysdeps/unix/i386/start.c: Delete file.
85750 * sysdeps/unix/sparc/start.c: Delete file.
85751 * sysdeps/unix/start.c: Delete file.
85752
85753 * sysdeps/sh/elf/configure.in: Moved to ...
85754 * sysdeps/sh/configure.in: ... here.
85755 * sysdeps/sh/elf/start.S: Moved to ...
85756 * sysdeps/sh/start.S: ... here.
85757 * sysdeps/sh/elf/configure: Delete file.
85758
85759 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85760 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85761 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85762 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85763 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85764 * sysdeps/powerpc/powerpc64/start.S: here.
85765 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85766 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85767 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85768 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85769 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85770
85771 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85772 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85773 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85774 * sysdeps/powerpc/powerpc32/start.S: ... here.
85775 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85776 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85777 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85778
85779 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85780 * sysdeps/powerpc/ifunc-sel.h: ... here.
85781 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85782 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85783
85784 * sysdeps/sparc/elf/configure.in: Moved to ...
85785 * sysdeps/sparc/configure.in: ... here.
85786 * sysdeps/sparc/elf/configure: Delete file.
85787 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85788 * sysdeps/sparc/sparc32/start.S: ... here.
85789 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85790 * sysdeps/sparc/sparc64/start.S: ... here.
85791 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85792 * sysdeps/sparc/sparc32/Makefile: ... this.
85793 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85794 * sysdeps/sparc/sparc64/Makefile: ... this.
85795
85796 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85797 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85798 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85799 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85800 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85801 * sysdeps/s390/s390-32/setjmp.S: ... here.
85802 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85803 * sysdeps/s390/s390-32/configure.in: ... here.
85804 * sysdeps/s390/s390-32/elf/configure: Delete file.
85805 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85806 * sysdeps/s390/s390-32/start.S: ... here.
85807
85808 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85809 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85810 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85811 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85812 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85813 * sysdeps/s390/s390-64/setjmp.S: ... here.
85814 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85815 * sysdeps/s390/s390-64/configure.in: ... here
85816 * sysdeps/s390/s390-64/elf/configure: Delete file.
85817 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85818 * sysdeps/s390/s390-64/start.S: ... here.
85819 * sysdeps/s390/s390-64/elf/configure: Delete.
85820
85821 * configure.in: Remove support for elf directories in sysdeps.
85822
85823 * configure: Regenerated.
85824 * sysdeps/i386/configure: Regenerated.
85825 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85826 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85827 * sysdeps/s390/s390-32/configure: Regenerated.
85828 * sysdeps/s390/s390-64/configure: Regenerated.
85829 * sysdeps/sh/configure: Regenerated.
85830 * sysdeps/sparc/configure: Regenerated.
85831 * sysdeps/x86_64/configure: Regenerated.
85832
85833 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85834
85835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85836
85837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85838 denormal result into account.
85839
85840 2012-03-25 Roland McGrath <roland@hack.frob.com>
85841
85842 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85843 Reported by Allan McRae <allan@archlinux.org>.
85844
85845 2012-03-23 Jeff Law <law@redhat.com>
85846
85847 * nss/getnssent.c (__nss_getent): Fix typo.
85848
85849 2012-03-23 David S. Miller <davem@davemloft.net>
85850
85851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85852
85853 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85854
85855 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85856 to pad to uint64_t for each field.
85857 (dl_tls_index): Replace unsigned long with uint64_t.
85858
85859 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85860 Paul Pluzhnikov <ppluzhnikov@google.com>
85861
85862 [BZ #6528]
85863 * grp/Makefile (otherlibs): Don't set it.
85864 * inet/Makefile (otherlibs): Likewise.
85865 * login/Makefile (otherlibs): Likewise.
85866 * nscd/Makefile (otherlibs): Likewise.
85867 * posix/Makefile (otherlibs): Likewise.
85868 * pwd/Makefile (otherlibs): Likewise.
85869 * rt/Makefile (otherlibs): Likewise.
85870 * sunrpc/Makefile (otherlibs): Likewise.
85871 * nss/Makefile (otherlibs): Likewise.
85872 Add libnss_files to routines and static-only-routines.
85873 ($(objpfx)getent): Remove rule.
85874 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85875 static-only-routines.
85876
85877 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85878
85879 [BZ #13892]
85880 * math/s_cexp.c: Include <float.h>.
85881 (__cexp): Handle exp result overflowing not necessarily
85882 overflowing both real and imaginary parts of result.
85883 * math/s_cexpf.c: Likewise.
85884 * math/s_cexpl.c: Likewise.
85885 * math/libm-test.inc (cexp_test): Add more tests.
85886 * sysdeps/i386/fpu/libm-test-ulps: Update.
85887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85888
85889 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85890
85891 * include/link.h (ELFW): New macro.
85892 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85893 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85894
85895 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85896
85897 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85898 with uint64_t.
85899
85900 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85901
85902 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85903 declaration.
85904 (struct La_x32_retval): Likewise.
85905
85906 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85907
85908 * sysdeps/x86_64/preconfigure.in: New file.
85909 * sysdeps/x86_64/preconfigure: New generated file.
85910
85911 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85912
85913 [BZ #13824]
85914 * math/e_exp2l.c: Include <float.h>.
85915 (__ieee754_exp2l): Handle overflow and underflow cases
85916 separately. Only pass fractional part of argument to
85917 __ieee754_expl.
85918 * math/libm-test.inc (exp2_test): Add more tests.
85919
85920 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85921 negating x to take absolute value.
85922 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85923 Likewise.
85924 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85925 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85926 Likewise.
85927 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85928 computing low part if x was negated.
85929 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85930
85931 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85932
85933 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85934 la_x32_gnu_pltexit.
85935 (pltexit): Cast int_retval to ptrdiff_t.
85936 * elf/tst-auditmod3b.c: Likewise.
85937 * elf/tst-auditmod4b.c: Likewise.
85938 * elf/tst-auditmod5b.c: Likewise.
85939 * elf/tst-auditmod6b.c: Likewise.
85940 * elf/tst-auditmod6c.c: Likewise.
85941 * elf/tst-auditmod7b.c: Likewise.
85942
85943 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85944 and x32_gnu_pltexit.
85945
85946 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85947 __ELF_NATIVE_CLASS.
85948 (La_x32_regs): New macro.
85949 (La_x32_retval): Likewise.
85950 (la_x32_gnu_pltenter): New function prototype.
85951 (la_x32_gnu_pltexit): Likewise.
85952
85953 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85954
85955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85956 exponent.
85957
85958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85959
85960 * configure.in (libc_cv_cc_nofma): Check for option to disable
85961 generation of FMA instructions.
85962 * configure: Regenerate.
85963 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85964 * sysdeps/ieee754/dbl-64/Makefile: New file.
85965 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85966 Remove brandred-fma4.
85967 (CFLAGS-brandred-fma4.c): Remove.
85968 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85969 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85970 define.
85971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85972 define.
85973
85974 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85975
85976 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85977 LLONG_MAX != LONG_MAX.
85978 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85979 (_fitoa_word): Likewise.
85980 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85981 LLONG_MAX != LONG_MAX.
85982 * stdio-common/_itowa.h: Include <_itoa.h>.
85983 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85984 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85985 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85986 only if not defined.
85987 (_ITOA_WORD_TYPE): Likewise.
85988 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85989 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85990
85991 2012-03-21 David S. Miller <davem@davemloft.net>
85992
85993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85994
85995 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85996
85997 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85998 of x86_64 when setting libc_cv_slibdir, libdir and
85999 libc_cv_localedir.
86000 * sysdeps/unix/sysv/linux/configure: Regenerated.
86001
86002 2012-03-21 Joseph Myers <joseph@codesourcery.com>
86003
86004 * manual/lang.texi (Old Varargs): Remove section.
86005 (How Variadic): Update menu.
86006 (va_start): Do not mention varargs.h.
86007
86008 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
86009 Joseph Myers <joseph@codesourcery.com>
86010
86011 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
86012 link test.
86013 * configure: Regenerated.
86014
86015 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
86016
86017 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
86018 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
86019 conformtest.pl
86020
86021 2012-03-21 Joseph Myers <joseph@codesourcery.com>
86022
86023 * NOTES: Remove.
86024 * Makefile (files-for-dist): Remove NOTES.
86025 (NOTES): Remove rule.
86026 * README: Don't refer to NOTES.
86027 * manual/creature.texi: Don't include macros.texi.
86028 * manual/intro.texi (creature.texi): Remove comment referring to
86029 NOTES.
86030
86031 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
86032 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
86033 * configure: Regenerated.
86034 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
86035 LIBC_TRY_CC_OPTION.
86036 (libc_cv_as_i686): Likewise.
86037 (libc_cv_cc_avx): Likewise.
86038 (libc_cv_cc_sse2avx): Likewise.
86039 (libc_cv_cc_fma4): Likewise.
86040 (libc_cv_cc_novzeroupper): Likewise.
86041 * sysdeps/i386/configure: Regenerated.
86042
86043 [BZ #13883]
86044 * sysdeps/i386/fpu/s_cexp.S: Remove.
86045 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86046 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86047 * math/libm-test.inc (cexp_test): Add more tests.
86048 * sysdeps/i386/fpu/libm-test-ulps: Update.
86049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86050
86051 2012-03-21 Allan McRae <allan@archlinux.org>
86052
86053 * timezone/Makefile: Do not install iso3166.tab and zone.tab
86054
86055 2012-03-21 Joseph Myers <joseph@codesourcery.com>
86056
86057 [BZ #13871]
86058 * math/w_exp2.c: Do not include <float.h>.
86059 (o_threshold, u_threshold): Remove.
86060 (__exp2): Calculate result before checking finiteness and calling
86061 __kernel_standard.
86062 * math/w_exp2f.c: Likewise.
86063 * math/w_exp2l.c: Likewise.
86064 * math/libm-test.inc (exp2_test): Require overflow exception for
86065 1e6 input.
86066
86067 [BZ #3866]
86068 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
86069 range of signed 64-bit integers before using fistpll. Remove
86070 checks for whether integers fit in mantissa bits.
86071 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
86072 the range of signed 32-bit integers before using fistpl. Remove
86073 checks for whether integers fit in mantissa bits.
86074 * sysdeps/i386/fpu/e_powl.S (p64): New object.
86075 (__ieee754_powl): Test for y outside the range of signed 64-bit
86076 integers before using fistpll. Reduce 64-bit values to 63-bit
86077 ones as needed.
86078 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
86079 divide-by-zero is raised for zero to large negative powers.
86080 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
86081 (__ieee754_powl): Test for y outside the range of signed 64-bit
86082 integers before using fistpll. Reduce 64-bit values to 63-bit
86083 ones as needed.
86084 * math/libm-test.inc (pow_test): Add more tests.
86085
86086 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86087
86088 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
86089 <stdio-common/_itoa.h>.
86090 * debug/segfault.c: Likewise.
86091 * elf/dl-cache.c: Likewise.
86092 * elf/dl-minimal.c: Likewise.
86093 * elf/dl-misc.c: Likewise.
86094 * elf/dl-sysdep.c: Likewise.
86095 * elf/dl-version.c: Likewise.
86096 * elf/rtld.c: Likewise.
86097 * hurd/hurdsock.c: Likewise.
86098 * hurd/lookup-retry.c: Likewise.
86099 * malloc/malloc.c: Likewise.
86100 * malloc/mtrace.c: Likewise.
86101 * nscd/nscd_getgr_r.c: Likewise.
86102 * nscd/nscd_getpw_r.c: Likewise.
86103 * nscd/nscd_getserv_r.c: Likewise.
86104 * posix/getopt_init.c: Likewise.
86105 * posix/wordexp.c: Likewise.
86106 * stdio-common/_itoa.c: Likewise.
86107 * stdio-common/printf_fphex.c: Likewise.
86108 * stdio-common/vfprintf.c: Likewise.
86109 * string/_strerror.c: Likewise.
86110 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
86111 * sysdeps/i386/i686/hp-timing.h: Likewise.
86112 * sysdeps/mach/_strerror.c: Likewise.
86113 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
86114 * sysdeps/mach/hurd/sethostid.c: Likewise.
86115 * sysdeps/mach/hurd/xmknodat.c: Likewise.
86116 * sysdeps/mach/xpg-strerror.c: Likewise.
86117 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
86118 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
86119 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
86120 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
86121 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
86122 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
86123 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
86124 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
86125 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
86126 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
86127 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
86128 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
86129 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
86130 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
86131 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
86132 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
86133 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
86134 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
86135 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
86136 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
86137 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
86138
86139 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
86140
86141 * stdio-common/_itoa.h: Moved to ...
86142 * sysdeps/generic/_itoa.h: Here.
86143
86144 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
86145
86146 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
86147 instead of "_itoa.h" and "_itowa.h".
86148 * stdio-common/vfprintf.: Likewise.
86149
86150 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86151
86152 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86153 <bits/wordsize.h>.
86154 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86155 (__signbit): Likewise.
86156 (llrintf): Likewise.
86157 (llrint): Likewise.
86158
86159 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86160
86161 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86162 __WORDSIZE != 64.
86163
86164 2012-03-20 Joseph Myers <joseph@codesourcery.com>
86165
86166 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86167 OVERFLOW_EXCEPTION_OK.
86168 * math/libm-test.inc ("Philosophy"): Update comment about
86169 exception testing.
86170 (OVERFLOW_EXCEPTION): Define.
86171 (OVERFLOW_EXCEPTION_OK): Likewise.
86172 (INVALID_EXCEPTION_OK): Renumber.
86173 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86174 (IGNORE_ZERO_INF_SIGN): Likewise.
86175 (test_exceptions): Handle FE_OVERFLOW.
86176 (exp10_test): Expect overflow exceptions.
86177 (exp2_test): Likewise.
86178 (expm1_test): Likewise.
86179 (nextafter_test): Likewise.
86180 (pow_test): Likewise.
86181 (scalbn_test): Likewise.
86182 (scalbln_test): Likewise.
86183
86184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86185
86186 * sysdeps/x86_64/bits/atomic.h
86187 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86188 64bit integer.
86189 (atomic_exchange_acq): Likewise.
86190 (__arch_exchange_and_add_body): Likewise.
86191 (__arch_add_body): Likewise.
86192 (atomic_add_negative): Likewise.
86193 (atomic_add_zero): Likewise.
86194
86195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86196
86197 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86198 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86199
86200 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86201
86202 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86203 Check __x86_64__ instead of __WORDSIZE.
86204
86205 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86206
86207 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86208
86209 2012-03-19 David S. Miller <davem@davemloft.net>
86210
86211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86212
86213 * sysdeps/sparc/fpu/fenv_private.h: New file.
86214 * sysdeps/sparc/fpu/math_private.h: Use it.
86215 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86216 Remove.
86217 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86218 (libc_feholdexcept_setroundl): Remove.
86219 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86220 Remove.
86221 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86222 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86223
86224 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86225
86226 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86227 int64_t instead of long int.
86228 (INSERT_WORDS64): Likewise.
86229
86230 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86231
86232 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86233 _Unwind_GetCFA return to _Unwind_Ptr first.
86234
86235 2012-03-19 Joseph Myers <joseph@codesourcery.com>
86236
86237 [BZ #13629]
86238 * math/s_clog.c: Include <float.h>.
86239 (__clog): Scale large or subnormal inputs.
86240 * math/s_clogf.c: Likewise.
86241 * math/s_clogl.c: Likewise.
86242 * math/s_clog10.c: Include <float.h>.
86243 (M_LOG10_2): Define.
86244 (__clog10): Scale large or subnormal inputs.
86245 * math/s_clog10f.c: Likewise.
86246 * math/s_clog10l.c: Likewise.
86247 * math/libm-test.inc (clog_test): Add more tests.
86248 (clog10_test): Likewise.
86249 * sysdeps/i386/fpu/libm-test-ulps: Update.
86250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86251
86252 [BZ #11451]
86253 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86254 x and y.
86255 * math/libm-test.inc (atan2_test): Add another test.
86256
86257 * Makerules (common-objdir-compile): Remove.
86258 * sysdeps/unix/Makefile (config-generated): Do not add
86259 $(unix-generated) to variable.
86260 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86261 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86262 Remove rule.
86263 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86264 Likewise.
86265 [generic bits/local_lim.h] (before-compile): Do not append to
86266 variable.
86267 [generic bits/local_lim.h] (common-generated): Likewise.
86268 [generic sys/param.h] (before-compile): Do not append to variable.
86269 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86270 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86271 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86272 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86273 include.
86274 [generic sys/param.h] (sys/param.h-includes): Remove variable.
86275 [generic sys/param.h] (sys/param.h-includes): Remove rule.
86276 [generic sys/param.h] ($(addprefix
86277 $(common-objpfx),$(sys/param.h-includes))): Likewise.
86278 [generic sys/param.h] (common-generated): Do not append to
86279 variable.
86280 [generic sys/param.h] (sysdep_headers): Likewise.
86281 [generic bits/errno.h] (before-compile): Do not append to
86282 variable.
86283 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86284 rule.
86285 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86286 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86287 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86288 [generic bits/errno.h] (common-generated): Do not append to
86289 variable.
86290 [generic bits/ioctls.h] (before-compile): Do not append to
86291 variable.
86292 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86293 rule.
86294 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86295 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86296 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86297 rule.
86298 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86299 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86300 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86301 [generic bits/ioctls.h] (common-generated): Do not append to
86302 variable.
86303 [generic sys/syscall.h] (syscall.h): Remove variable.
86304 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86305 rule.
86306 [generic sys/syscall.h] (before-compile): Do not append to
86307 variable.
86308 [generic sys/syscall.h] (common-generated): Likewise.
86309 * sysdeps/unix/errnos-tmpl.c: Remove file.
86310 * sysdeps/unix/errnos.awk: Likewise.
86311 * sysdeps/unix/ioctls-tmpl.c: Likewise.
86312 * sysdeps/unix/ioctls.awk: Likewise.
86313 * sysdeps/unix/mk-local_lim.c: Likewise.
86314 * sysdeps/unix/snarf-ioctls: Likewise.
86315
86316 2012-03-19 Richard Henderson <rth@twiddle.net>
86317
86318 * sysdeps/i386/fpu/fenv_private.h: New file.
86319 * sysdeps/i386/fpu/math_private.h: Use it.
86320 (math_opt_barrier, math_force_eval): Remove.
86321 (libc_feholdexcept_setround_53bit): Remove.
86322 (libc_feupdateenv_53bit): Remove.
86323 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86324 (math_opt_barrier, math_force_eval): Remove.
86325 (libc_feholdexcept): Remove.
86326 (libc_feholdexcept_setround): Remove.
86327 (libc_fetestexcept, libc_fesetenv): Remove.
86328 (libc_feupdateenv_test): Remove.
86329 (libc_feupdateenv, libc_feholdsetround): Remove.
86330 (libc_feresetround): Remove.
86331
86332 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86333 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86334
86335 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86336 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86337 (libc_feupdateenv_testl): New.
86338 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86339 (libc_feupdateenv_testf): New.
86340 (libc_feupdateenv): Use libc_feupdateenv_test.
86341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86342 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86343
86344 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86345 (libc_feholdsetroundf, libc_feholdsetroundl): New.
86346 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86347 (libc_feresetround_noex): New.
86348 (libc_feresetround_noexf): New.
86349 (libc_feresetround_noexl): New.
86350 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86351 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86352 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86353 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86354 SET_RESTORE_ROUND.
86355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86357 (__cos): Likewise.
86358 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86359 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86360 SET_RESTORE_ROUND_NOEX.
86361 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86362 SET_RESTORE_ROUND_NOEXF.
86363 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86364 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86365 (libc_feholdsetroundf): New.
86366 (libc_feresetround, libc_feresetroundf): New.
86367
86368 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86369 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86370 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86371
86372 * sysdeps/generic/math_private.h: Include <fenv.h>.
86373 (default_libc_feholdexcept): New.
86374 (default_libc_feholdexcept_setround): New.
86375 (default_libc_fesetenv, default_libc_feupdateenv): New.
86376 (libc_feholdexcept): Only define if undefined.
86377 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86378 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86379 (libc_feholdexcept_setroundl): Likewise.
86380 (libc_feholdexcept_setround_53bit): Likewise.
86381 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86382 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86383 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86384 (libc_feupdateenv_53bit): Likewise.
86385 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86386 (libc_feholdexcept): Convert from macro to inline function.
86387 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86388 (libc_fesetenv, libc_feupdateenv): Likewise.
86389
86390 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86391 not previously defined.
86392 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86393 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86394 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86395 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86396 * sysdeps/ieee754/flt-32/math_private.h: New file.
86397 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86398 math_private.h below SET_FLOAT_WORD.
86399 (__isnan, __isinf_ns, __finite): Remove.
86400 (__isnanf, __isinf_nsf, __finitef): Remove.
86401
86402 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86403
86404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86405
86406 2012-03-17 David S. Miller <davem@davemloft.net>
86407
86408 [BZ #6471]
86409 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86410 for 2.16.
86411
86412 2012-03-16 David S. Miller <davem@davemloft.net>
86413
86414 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86415 warnings.
86416
86417 [BZ #6471]
86418 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86419 properly.
86420 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86421 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86422 sysdep_routines when subdir is sysvipc.
86423 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86424 __getshmlba helper.
86425
86426 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86427
86428 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86429
86430 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86431 [__LP64__].
86432
86433 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86434
86435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86436 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86437 (__lround): Renamed to ...
86438 (__llround): This. Replace long int with long long int.
86439 Define lround functions as aliases of llround functions.
86440 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86441
86442 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86443
86444 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86445 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86446 adresses to uintptr_t. Replace "long int" and "unsigned long
86447 int" with "greg_t" on va_arg.
86448
86449 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86450
86451 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86452 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86453
86454 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86455 Move e_machine check before EI_CLASS check. Handle x32
86456 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86457 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86458 SKIP_EM_IA_64 and include
86459 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86460
86461 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86462 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86463 (add_system_dir): New macro.
86464
86465 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86466 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86467
86468 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86469
86470 [BZ #2551]
86471 [BZ #2552]
86472 [BZ #2553]
86473 [BZ #2554]
86474 [BZ #2562]
86475 [BZ #2563]
86476 [BZ #2565]
86477 [BZ #2566]
86478 [BZ #2576]
86479 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86480 (y0): Likewise.
86481 * math/w_j0f.c (j0f): Likewise.
86482 (y0f): Likewise.
86483 * math/w_j0l.c (__j0l): Likewise.
86484 (__y0l): Likewise.
86485 * math/w_j1.c (j1): Likewise.
86486 (y1): Likewise.
86487 * math/w_j1f.c (j1f): Likewise.
86488 (y1f): Likewise.
86489 * math/w_j1l.c (__j1l): Likewise.
86490 (__y1l): Likewise.
86491 * math/w_jn.c (jn): Likewise.
86492 (yn): Likewise.
86493 * math/w_jnf.c (jnf): Likewise.
86494 (ynf): Likewise.
86495 * math/w_jnl.c (__jnl): Likewise.
86496 (__ynl): Likewise.
86497 * math/libm-test.inc (j0_test): Add more tests.
86498 (j1_test): Likewise.
86499 (jn_test): Likewise. Add trailing semicolon to existing test.
86500 (y0_test): Likewise.
86501 (y1_test): Likewise.
86502 * sysdeps/i386/fpu/libm-test-ulps: Update.
86503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86504
86505 [BZ #13851]
86506 [BZ #13854]
86507 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86508 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86509 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86510 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86511 (__tanl): Set errno for infinite argument.
86512 * sysdeps/i386/fpu/mptan.c: Remove.
86513 * sysdeps/i386/fpu/s_tan.S: Likewise.
86514 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86515 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86516 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86517 * math/libm-test.inc (tan_test): Add more tests and enable more
86518 tests for double and long double.
86519 * sysdeps/i386/fpu/libm-test-ulps: Update.
86520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86521
86522 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86523
86524 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86525 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86526
86527 2012-03-16 Roland McGrath <roland@hack.frob.com>
86528
86529 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86530 * configure.in: Use it for both main tree and add-ons.
86531 * configure: Regenerated.
86532
86533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86534
86535 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86536
86537 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86538
86539 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86540 in comment.
86541
86542 [BZ #13851]
86543 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86544 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86545 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86546 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86547 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86548 infinite argument.
86549 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86551 != 0 for prec == 2.
86552 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86553 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86554 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86555 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86556 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86557 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86558 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86559 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86560 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86561 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86562 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86563 * math/libm-test.inc (cos_test): Add more tests and enable more
86564 tests for long double.
86565 (sin_test): Likewise.
86566 (sincos_test): Likewise.
86567 * sysdeps/i386/fpu/libm-test-ulps: Update.
86568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86569
86570 2012-03-16 David S. Miller <davem@davemloft.net>
86571
86572 * sysdeps/sparc/fpu/math_private.h: New file.
86573
86574 2012-03-15 David S. Miller <davem@davemloft.net>
86575
86576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86577 file.
86578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86580 file.
86581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86587 sysdep routines.
86588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86589
86590 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86591 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86592
86593 * sysdeps/sparc/sparc-ifunc.h: New file.
86594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86595 sparc-ifunc.h
86596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86598 Likewise.
86599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86600 Likewise.
86601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86605 Likewise.
86606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86611 Likewise.
86612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86613 Likewise.
86614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86638
86639 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86640
86641 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86642 scaling.
86643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86644
86645 2012-03-15 Andreas Jaeger <aj@suse.de>
86646
86647 [BZ #13852]
86648 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86649 ieee754/flt-32 implementation for sin, cos and sincos.
86650 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86651 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86652 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86653 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86654 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86655 ieee754/flt-32 implementation for tan.
86656
86657 * math/libm-test.inc (cos_test): Enable some large input tests for
86658 float as well
86659 (sin_test): Likewise.
86660 (sincos_test): Likewise.
86661 (tan_test): Add tests for large input.
86662
86663 * sysdeps/i386/fpu/libm-test-ulps: Update.
86664
86665 2012-03-15 Andreas Jaeger <aj@suse.de>
86666
86667 [BZ #13658]
86668 * math/libm-test.inc (cos_test): Add more test cases.
86669 (sin_test): Likewise.
86670 (sincos_test): Likewise.
86671
86672 2012-03-15 Andreas Jaeger <aj@suse.de>
86673
86674 [BZ #13837]
86675 * math/libm-test.inc (cos_test): Add a test case for large input
86676 value.
86677 (sin_test): Likewise.
86678 (sincos_test): Likewise.
86679
86680 2012-03-15 Andreas Jaeger <aj@suse.de>
86681 Joseph Myers <joseph@codesourcery.com>
86682
86683 [BZ #13658]
86684 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86685 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86686 * sysdeps/i386/fpu/branred.c: Likewise.
86687 * sysdeps/i386/fpu/dosincos.c: Likewise.
86688 * sysdeps/i386/fpu/mpa.c: Likewise.
86689 * sysdeps/i386/fpu/s_cos.S: Likewise.
86690 * sysdeps/i386/fpu/s_sin.S: Likewise.
86691 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86692 * sysdeps/i386/fpu/sincos32.c: Likewise.
86693
86694 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86695 Define.
86696 (libc_feupdateenv_53bit): Define.
86697 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86698 Define.
86699 (libc_feupdateenv_53bit): Define.
86700
86701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86702 53 bit (without extend i386 double precision).
86703
86704 * math/libm-test.inc (sincos_test): Add tests for large input.
86705 (sin): Likewise.
86706 (cos): Likewise.
86707
86708 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86709
86710 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86711
86712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86713
86714 2012-03-15 David S. Miller <davem@davemloft.net>
86715
86716 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86717 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86718 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86719 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86732 file.
86733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86735 file.
86736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86738 file.
86739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86741 file.
86742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86743 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86744 fmin/fmax sysdep routines.
86745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86746
86747 2012-03-14 David S. Miller <davem@davemloft.net>
86748
86749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86778 routines.
86779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86780 file.
86781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86783 file.
86784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86786 file.
86787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86789 file.
86790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86792 file.
86793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86795 file.
86796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86797 file.
86798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86799 file.
86800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86801 file.
86802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86803 New file.
86804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86805 file.
86806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86807 file.
86808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86810 file.
86811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86813 file.
86814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86816 file.
86817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86819 VIS3 routines.
86820
86821 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86822 New file.
86823
86824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86825
86826 * sysdeps/sparc/configure.in: New file.
86827 * sysdeps/sparc/configure: Generate.
86828 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86829 * configure: Regenerate.
86830 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86831 * config.make.in (have-as-vis3): New.
86832 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86833 available use -Av9d instead of -Av9a.
86834 * sysdeps/sparc/sparc64/Makefile: Likewise.
86835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86837 New file.
86838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86839 file.
86840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86841 New file.
86842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86843 file.
86844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86849
86850 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86851 fzeros/fnegs to load 0x80000000 into a float register instead of
86852 using the stack.
86853 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86854
86855 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86856
86857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86858 bits/syscall.h.
86859 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86860 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86861 ($(inst_includedir)/bits/syscall.h): Remove rule.
86862 ($(objpfx)bits/syscall.d): Include instead of
86863 $(objpfx)syscall-list.d.
86864 (generated): Change syscall-list.h and syscall-list.d to
86865 bits/syscall.h and bits/syscall.d.
86866
86867 2012-03-14 Roland McGrath <roland@hack.frob.com>
86868
86869 [BZ #13846]
86870 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86871
86872 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86873
86874 [BZ #13841]
86875 * math/s_csqrt.c: Include <float.h>.
86876 (__csqrt): Scale large or subnormal inputs.
86877 * math/s_csqrtf.c: Likewise.
86878 * math/s_csqrtl.c: Likewise.
86879 * math/libm-test.inc (csqrt_test): Add more tests.
86880 * sysdeps/i386/fpu/libm-test-ulps: Update.
86881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86882
86883 [BZ #13840]
86884 * math/libm-test.inc (hypot_test): Add more tests.
86885
86886 2012-03-13 David S. Miller <davem@davemloft.net>
86887
86888 [BZ #13840]
86889 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86890 double-precision for the calculation instead of scaling.
86891
86892 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86893
86894 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86895 manipulate bits before adding and subtracting TWO52[sx].
86896 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86898 Likewise.
86899 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86900
86901 2012-03-13 David S. Miller <davem@davemloft.net>
86902
86903 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86904 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86906 rtld-global-offsets.h
86907 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86908
86909 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86910 large parameters.
86911
86912 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86913
86914 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86915 'err' in the ifdef scope in which it is actually used.
86916
86917 * nss/nss_db/db-init.c: Include string.h
86918
86919 2012-03-12 David S. Miller <davem@davemloft.net>
86920
86921 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86922 masking out of the most significant byte of random value used.
86923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86924 Fix coding style in previous change.
86925
86926 * sysdeps/unix/sysv/linux/kernel-features.h
86927 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86928 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86929 expression.
86930 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86931 later.
86932
86933 2012-03-11 David S. Miller <davem@davemloft.net>
86934
86935 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86936 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86937 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86938 for 'resultvar' otherwise things get truncated on 64-bit.
86939
86940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86941 Fix masking out of the most significant byte of random value used.
86942
86943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86944
86945 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86946
86947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86948
86949 2012-03-09 David S. Miller <davem@davemloft.net>
86950
86951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86952 variables with appropriate CPP guards.
86953 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86954 from the frame pointer, not the stack pointer. Correct layout
86955 comments. Fix test on resulting framesize and the management of
86956 the outregs buffer for pltexit. Preserve floating point return
86957 values across _dl_call_pltexit call.
86958 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86959 framesize and the management of the outregs buffer for pltexit.
86960 Preserve floating point return values across _dl_call_pltexit
86961 call.
86962 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86963 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86964 (la_sparc64_gnu_pltexit): New functions.
86965 (print_exit): Fix format string for return register value.
86966
86967 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86968
86969 * sunrpc/Makefile (others): Add rpcgen.
86970 ($(objpfx)rpcgen): Remove special build rule and dependency on
86971 libc.
86972 * sunrpc/rpcgen.c: New file.
86973
86974 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86975
86976 [BZ #13673]
86977 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86978 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86979 * sysdeps/i386/crti.S: Likewise.
86980 * sysdeps/i386/crtn.S: Likewise.
86981 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86982 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86983 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86984 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86985 * sysdeps/sh/crti.S: Likewise.
86986 * sysdeps/sh/crtn.S: Likewise.
86987 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86988
86989 [BZ #13673]
86990 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86991 with URL.
86992 * locale/programs/locfile-kw.gperf: Likewise.
86993 * locale/programs/charmap-kw.h: Regenerated.
86994 * locale/programs/locfile-kw.h: Likewise.
86995
86996 [BZ #13673]
86997 * intl/plural.y: Replace FSF snail mail address with URL.
86998 * intl/plural.c: Regenerated.
86999
87000 2012-03-09 Richard Henderson <rth@twiddle.net>
87001
87002 * include/math_private.h: Remove file.
87003 * math/math_private.h: Move file ...
87004 * sysdeps/generic/math_private.h: ... here.
87005
87006 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
87007 * sysdeps/powerpc/fpu/math_private.h: Likewise.
87008 * sysdeps/x86_64/fpu/math_private.h: Likewise.
87009
87010 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
87011 and <math_private.h>.
87012 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87013 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87014 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87015 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87016 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87017 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
87018 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87020 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87023 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87024 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87026 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87029 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87031 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87036 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
87037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87038 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87042 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87044 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
87045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87046 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87047 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87048 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87049 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87050 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87052 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
87053 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87055 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
87056 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
87057 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87058 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
87059 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
87060 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87061 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87062 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
87063 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
87064 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
87065 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87066 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
87067 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87068 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87069 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
87070 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
87071 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
87072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87073 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
87074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87075 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87076 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
87077 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87078 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87079 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87080 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
87081 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
87082 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
87083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
87085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87086 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
87087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
87088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
87089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
87091 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
87092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
87093 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
87094 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
87095 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87096 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
87098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
87099 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
87100 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87101 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87102 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87103 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87104 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87105 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87106 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87107 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87109 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87110 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87112 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87113 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87114 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87115 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87116 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87117 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87118 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87119 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87120 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87121 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87122 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87123 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87124 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87125 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87126 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
87127 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87128 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87129 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87130 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87132 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87133 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87134 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87135 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
87136 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87137 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87138 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87139 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
87140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87141 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
87142 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
87143 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87144 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87145 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
87146 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
87147 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87150 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87151 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87153 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87154 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87155 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87156 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87157 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87158 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87159 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87160 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87161 * sysdeps/ieee754/k_standard.c: Likewise.
87162 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87163 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87165 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87166 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87167 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87168 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87169 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87170 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87171 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87172 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87173 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87174 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87175 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87176 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87177 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87178 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87179 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87180 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87181 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87182 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87183 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87187 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87188 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87189 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87190 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87191 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87192 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87193 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87194 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87195 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87196 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87197 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87198 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87199 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87200 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87201 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87202 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87203 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87204 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87205 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87206 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87207 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87208 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87210 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87211 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87213 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87214 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87215 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87217 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87218 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87219 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87220 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87221 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87223 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87224 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87225 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87227 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87229 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87230 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87232 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87234 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87236 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87238 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87239 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87241 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87242 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87243 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87246 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87247 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87248 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87250 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87252 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87253 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87254 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87255 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87257 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87258 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87259 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87260 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87261 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87264 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87265 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87266 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87269 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87270 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87271 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87274 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87276 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87277 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87278 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87279 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87280 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87281 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87282 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87283 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87284 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87285 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87286 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87287 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87289 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87290 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87292 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87293 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87294 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87295 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87296 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87297 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87298 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87299 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87300 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87301 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87302 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87303 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87304 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87305 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87306 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87307 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87308 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87311 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87312 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87313 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87314 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87316 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87317 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87318 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87321 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87322 * sysdeps/ieee754/s_lib_version.c: Likewise.
87323 * sysdeps/ieee754/s_matherr.c: Likewise.
87324 * sysdeps/ieee754/s_signgam.c: Likewise.
87325 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87326 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87327 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87328 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87329 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87330 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87331 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87332 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87333 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87334 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87335 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87336 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87337 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87338 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87339 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87340 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87341 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87342 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87343 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87346
87347 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87348
87349 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87350 * sunrpc/rpc_main.c: Likewise.
87351 * sunrpc/rpc_svcout.c: Likewise.
87352
87353 2012-03-09 David S. Miller <davem@davemloft.net>
87354
87355 * include/math_private.h: New file.
87356
87357 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87358
87359 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87360 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87361 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87362 from <bits/socket_type.h>.
87363 (enum __socket_type): Don't define here.
87364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87366 bits/socket_type.h.
87367
87368 [BZ #13566]
87369 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87370 checking __USE_GNU.
87371
87372 * Makerules ($(inst_includedir)/%.h): New rule.
87373 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87374 (install-others): Remove variable setting.
87375 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87376
87377 2012-03-08 Richard Henderson <rth@twiddle.net>
87378
87379 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87380 from macro to inline function; merge with the
87381 !__LIBC_INTERNAL_MATH_INLINES version.
87382 (__ieee754_sqrtf): Likewise.
87383
87384 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87385 to inline function.
87386 (__rintf, __floor, __floorf): Likewise.
87387
87388 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87389 macro to inline function.
87390 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87391
87392 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87393 not <math/math_private.h>.
87394
87395 2012-03-08 David S. Miller <davem@davemloft.net>
87396
87397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87398 copyright year.
87399 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87400
87401 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
87402
87403 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87404 normalization.
87405 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87406 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87407
87408 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87409
87410 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87411 be defined individually, they must be defined as a block. Define
87412 S for printing a string instead of hidint the different by using a
87413 macro for adding the 'l'.
87414 * stdio-common/tst-fphex-wide.c: Adjust.
87415
87416 2012-03-07 Marek Polacek <polacek@redhat.com>
87417
87418 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87419
87420 2012-03-08 Marek Polacek <polacek@redhat.com>
87421
87422 [BZ #13806]
87423 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87424 * stdio-common/tst-fphex.c: Define a few macros to make the
87425 test reusable. Use them.
87426 * stdio-common/tst-fphex-wide.c: New file.
87427
87428 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87429
87430 [BZ #6911]
87431 * manual/macros.texi (gnusystems): New macro.
87432 (nongnusystems): Likewise.
87433 (gnulinuxhurdsystems): Likewise.
87434 (gnuhurdsystems): Likewise..
87435 (gnulinuxsystems): Likewise.
87436 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87437 variants of the GNU system, not "GNU system".
87438 * manual/conf.texi: Likewise.
87439 * manual/errno.texi: Likewise. Update example of errno macro
87440 expansion.
87441 * manual/filesys.texi: Likewise.
87442 (getumask): Document as specific to GNU/Hurd.
87443 * manual/install.texi: Likewise. Reword some references to
87444 GNU/Linux.
87445 * manual/intro.texi: Likewise.
87446 * manual/io.texi: Likewise.
87447 (File Name Portability): Detail which constraints are inapplicable
87448 to all GNU systems and which are only inapplicable to GNU/Hurd.
87449 * manual/job.texi: Likewise.
87450 * manual/llio.texi: Likewise.
87451 (O_NOCTTY): Document as present on GNU/Linux.
87452 * manual/maint.texi: Likewise.
87453 * manual/memory.texi: Likewise.
87454 * manual/pattern.texi: Likewise.
87455 * manual/pipe.texi: Likewise.
87456 * manual/process.texi: Likewise.
87457 * manual/resource.texi: Likewise.
87458 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87459 child on GNU/Hurd.
87460 * manual/setjmp.texi: Likewise.
87461 * manual/signal.texi: Likewise.
87462 * manual/startup.texi: Likewise.
87463 * manual/stdio.texi: Likewise.
87464 * manual/terminal.texi: Likewise.
87465 (ONLCR): Document as POSIX.
87466 (OXTABS): Document availability on GNU/Linux as XTABS.
87467 (ONOEOT): Document availability separately from other bits.
87468 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87469 * manual/time.texi: Likewise.
87470 * manual/users.texi: Likewise.
87471 * INSTALL: Regenerated.
87472 * sysdeps/gnu/errlist.c: Regenerated.
87473
87474 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87475 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87476 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87477 puts.
87478 * configure: Regenerated.
87479
87480 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87481
87482 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87483 default includes instead of AC_HEADER_CHECK.
87484 * sysdeps/i386/configure: Regenerated.
87485
87486 [BZ #10716]
87487 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87488 * math/s_cacoshf.c (__cacoshf): Likewise.
87489 * math/s_cacoshl.c (__cacoshl): Likewise.
87490 * math/s_casinh.c (__casinh): Set signs of result from argument.
87491 * math/s_casinhf.c (__casinhf): Likewise.
87492 * math/s_casinhl.c (__casinhl): Likewise.
87493 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87494 (casinh_test): Add more tests.
87495 * sysdeps/i386/fpu/libm-test-ulps: Update.
87496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87497
87498 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87499
87500 * po/zh_TW.po: Update from translation team.
87501
87502 * login/Makefile (distribute): Remove variable.
87503 * catgets/Makefile: Likewise.
87504 * mach/Makefile: Likewise.
87505 * malloc/Makefile: Likewise.
87506 * misc/Makefile: Likewise.
87507 * iconv/Makefile: Likewise.
87508 * nscd/Makefile: Likewise.
87509 * hurd/Makefile: Likewise.
87510 * manual/Makefile: Likewise.
87511 * locale/Makefile: Likewise.
87512 * intl/Makefile: Likewise.
87513 * conform/Makefile: Likewise.
87514 * nss/Makefile: Likewise.
87515 * time/Makefile: Likewise.
87516 * soft-fp/Makefile: Likewise.
87517 * dirent/Makefile: Likewise.
87518 * gmon/Makefile: Likewise.
87519 * po/Makefile: Likewise.
87520 * rt/Makefile: Likewise.
87521 * socket/Makefile: Likewise.
87522 * math/Makefile: Likewise.
87523 * signal/Makefile: Likewise.
87524 * debug/Makefile: Likewise.
87525 * elf/Makefile: Likewise.
87526 * timezone/Makefile: Likewise.
87527 * stdlib/Makefile: Likewise.
87528 * iconvdata/Makefile: Likewise.
87529 * sunrpc/Makefile: Likewise.
87530 * io/Makefile: Likewise.
87531 * argp/Makefile: Likewise.
87532 * inet/Makefile: Likewise.
87533 * hesiod/Makefile: Likewise.
87534 * grp/Makefile: Likewise.
87535 * csu/Makefile: Likewise.
87536 * wctype/Makefile: Likewise.
87537 * crypt/Makefile: Likewise.
87538 * libio/Makefile: Likewise.
87539 * string/Makefile: Likewise.
87540 * nis/Makefile: Likewise.
87541 * resolv/Makefile: Likewise.
87542 * stdio-common/Makefile: Likewise.
87543 * wcsmbs/Makefile: Likewise.
87544 * dlfcn/Makefile: Likewise.
87545 * posix/Makefile: Likewise.
87546
87547 [BZ #6959]
87548 * timezone/Makefile: Don't install timezone files, just the programs
87549 and scripts.
87550
87551 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87552
87553 * nss/databases.def: Add missing gshadow entry.
87554
87555 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87556
87557 2012-03-06 Marek Polacek <polacek@redhat.com>
87558
87559 [BZ #13726]
87560 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87561 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87562 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87563 * stdio-common/tst-long-dbl-fphex.c: New file.
87564
87565 2012-03-06 David S. Miller <davem@davemloft.net>
87566
87567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87568 (set_obp_int): New function.
87569 (get_obp_int): New function.
87570 (__get_clockfreq_via_dev_openprom): Likewise.
87571 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87572 Avoid unused variable warnings on 'val' and use builtin_expect.
87573 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87574 __builtin_expect.
87575 (INLINE_CLONE_SYSCALL): Likewise.
87576
87577 2012-03-05 David S. Miller <davem@davemloft.net>
87578
87579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87580
87581 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87582
87583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87584
87585 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87586 only for |x| >= 40.
87587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87588
87589 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87590
87591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87592 Replace gettimeofday with __vdso_gettimeofday.
87593
87594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87595 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87596 __vdso_clock_gettime and __vdso_getcpu.
87597
87598 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87599 time with __vdso_time.
87600
87601 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87602
87603 * manual/lang.texi (size_t): Note types to which size_t may be
87604 equivalent with the GNU C Library, but do not describe when
87605 differences between them are significant.
87606
87607 2012-03-05 Andreas Jaeger <aj@suse.de>
87608
87609 * sysdeps/i386/fpu/libm-test-ulps: Update.
87610
87611 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87612
87613 [BZ #3976]
87614 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87615 (__ieee754_pow): Save and restore rounding mode and use
87616 round-to-nearest for main computations.
87617 * math/libm-test.inc (pow_test_tonearest): New function.
87618 (pow_test_towardzero): Likewise.
87619 (pow_test_downward): Likewise.
87620 (pow_test_upward): Likewise.
87621 (main): Call the new functions.
87622 * sysdeps/i386/fpu/libm-test-ulps: Update.
87623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87624
87625 [BZ #3976]
87626 * math/libm-test.inc (cosh_test_tonearest): New function.
87627 (cosh_test_towardzero): Likewise.
87628 (cosh_test_downward): Likewise.
87629 (cosh_test_upward): Likewise.
87630 (sinh_test_tonearest): Likewise.
87631 (sinh_test_towardzero): Likewise.
87632 (sinh_test_downward): Likewise.
87633 (sinh_test_upward): Likewise.
87634 (main): Call the new functions.
87635 * sysdeps/i386/fpu/libm-test-ulps: Update.
87636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87637
87638 2012-03-05 Tom de Vries <tom@codesourcery.com>
87639
87640 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87641 default stack guard is set in last bytes.
87642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87643
87644 2012-03-05 Kees Cook <keescook@chromium.org>
87645
87646 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87647
87648 [BZ #13656]
87649 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87650 possibly allocate from heap instead of stack.
87651 * stdio-common/bug-vfprintf-nargs.c: New file.
87652 * stdio-common/Makefile (tests): Add nargs overflow test.
87653
87654 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87655
87656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87657
87658 2012-03-03 Marek Polacek <polacek@redhat.com>
87659
87660 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87661 * math/math_private.h: Likewise.
87662 * stdlib/tst-strtod.c: Likewise.
87663 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87664 * sysdeps/x86_64/bits/atomic.h: Likewise.
87665
87666 2012-03-02 David S. Miller <davem@davemloft.net>
87667
87668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87672 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87673 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87674 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87675 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87676
87677 2012-03-02 Roland McGrath <roland@hack.frob.com>
87678
87679 [BZ #13792]
87680 * manual/examples/README: New file, says the example source files
87681 can be used under GPL>=2.
87682 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87683 line containing just "*/".
87684 * manual/examples/add.c: Add copyright header (GPL>=2).
87685 * manual/examples/argp-ex1.c: Likewise.
87686 * manual/examples/argp-ex2.c: Likewise.
87687 * manual/examples/argp-ex3.c: Likewise.
87688 * manual/examples/argp-ex4.c: Likewise.
87689 * manual/examples/atexit.c: Likewise.
87690 * manual/examples/db.c: Likewise.
87691 * manual/examples/dir.c: Likewise.
87692 * manual/examples/dir2.c: Likewise.
87693 * manual/examples/execinfo.c: Likewise.
87694 * manual/examples/filecli.c: Likewise.
87695 * manual/examples/filesrv.c: Likewise.
87696 * manual/examples/fmtmsgexpl.c: Likewise.
87697 * manual/examples/genpass.c: Likewise.
87698 * manual/examples/inetcli.c: Likewise.
87699 * manual/examples/inetsrv.c: Likewise.
87700 * manual/examples/isockad.c: Likewise.
87701 * manual/examples/longopt.c: Likewise.
87702 * manual/examples/memopen.c: Likewise.
87703 * manual/examples/memstrm.c: Likewise.
87704 * manual/examples/mkfsock.c: Likewise.
87705 * manual/examples/mkisock.c: Likewise.
87706 * manual/examples/mygetpass.c: Likewise.
87707 * manual/examples/pipe.c: Likewise.
87708 * manual/examples/popen.c: Likewise.
87709 * manual/examples/rprintf.c: Likewise.
87710 * manual/examples/search.c: Likewise.
87711 * manual/examples/select.c: Likewise.
87712 * manual/examples/setjmp.c: Likewise.
87713 * manual/examples/sigh1.c: Likewise.
87714 * manual/examples/sigusr.c: Likewise.
87715 * manual/examples/stpcpy.c: Likewise.
87716 * manual/examples/strdupa.c: Likewise.
87717 * manual/examples/strftim.c: Likewise.
87718 * manual/examples/strncat.c: Likewise.
87719 * manual/examples/subopt.c: Likewise.
87720 * manual/examples/swapcontext.c: Likewise.
87721 * manual/examples/termios.c: Likewise.
87722 * manual/examples/testopt.c: Likewise.
87723 * manual/examples/testpass.c: Likewise.
87724 * manual/examples/timeval_subtract.c: Likewise.
87725
87726 [BZ #13792]
87727 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87728 function to ...
87729 * manual/timeval_subtract.c.texi: ... here, new file.
87730
87731 2012-03-02 David S. Miller <davem@davemloft.net>
87732
87733 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87734
87735 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87736
87737 [BZ #3976]
87738 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87739 (__sin): Save and restore rounding mode and use round-to-nearest
87740 for all computations.
87741 (__cos): Save and restore rounding mode and use round-to-nearest
87742 for all computations.
87743 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87744 <fenv.h>.
87745 (tan): Save and restore rounding mode and use round-to-nearest for
87746 all computations.
87747 * math/libm-test.inc (cos_test_tonearest): New function.
87748 (cos_test_towardzero): Likewise.
87749 (cos_test_downward): Likewise.
87750 (cos_test_upward): Likewise.
87751 (sin_test_tonearest): Likewise.
87752 (sin_test_towardzero): Likewise.
87753 (sin_test_downward): Likewise.
87754 (sin_test_upward): Likewise.
87755 (tan_test_tonearest): Likewise.
87756 (tan_test_towardzero): Likewise.
87757 (tan_test_downward): Likewise.
87758 (tan_test_upward): Likewise.
87759 (main): Call the new functions.
87760 * sysdeps/i386/fpu/libm-test-ulps: Update.
87761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87762
87763 [BZ #10135]
87764 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87765 small n, then large n, before computing and testing k+n.
87766 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87768 Likewise.
87769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87770 Likewise.
87771 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87772 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87779 * math/libm-test.inc (scalbn_test): Add more tests.
87780 (scalbln_test): Likewise.
87781
87782 * manual/filesys.texi (mode_t): Describe constraints on size and
87783 signedness, not exact equivalence to a particular type.
87784 (ino_t): Likewise.
87785 (ino64_t): Likewise.
87786 (dev_t): Likewise.
87787 (nlink_t): Likewise.
87788 (blkcnt_t): Likewise.
87789 (blkcnt64_t): Likewise.
87790 * manual/llio.texi (off_t): Likewise.
87791
87792 [BZ #3976]
87793 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87794 (__ieee754_exp): Save and restore rounding mode and use
87795 round-to-nearest for all computations.
87796 * math/libm-test.inc (exp_test_tonearest): New function.
87797 (exp_test_towardzero): Likewise.
87798 (exp_test_downward): Likewise.
87799 (exp_test_upward): Likewise.
87800 (main): Call the new functions.
87801 * sysdeps/i386/fpu/libm-test-ulps: Update.
87802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87803
87804 2012-03-01 Chris Demetriou <cgd@google.com>
87805
87806 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87807 have predictable order.
87808
87809 2012-03-01 David S. Miller <davem@davemloft.net>
87810
87811 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87812
87813 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87814 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87815 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87816 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87817
87818 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87819 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87820 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87822 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87823 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87824 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87825 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87826 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87827
87828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87829
87830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87831 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87833
87834 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87836 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87837 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87838 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87841 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87842 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87843 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87844 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87847 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87848 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87850 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87851 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87852 * sysdeps/sparc/elf/configure: Regenerated.
87853
87854 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87855
87856 * configure.in (AS, LD): Require binutils 2.20 or later.
87857 * configure: Regenerated.
87858 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87859 as required minimum version.
87860 * INSTALL: Regenerated.
87861
87862 [BZ #2541]
87863 [BZ #4108]
87864 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87865 before squaring exponent.
87866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87867 bottom long double and 27 bits of top long double before squaring
87868 exponent.
87869 * math/libm-test.inc (erfc_test): Add more tests.
87870 * sysdeps/i386/fpu/libm-test-ulps: Update.
87871 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87873
87874 2012-03-01 Kai Tietz <ktietz@redhat.com>
87875
87876 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87877 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87878 containing bit-fields.
87879 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87880 * soft-fp/single.h (_FP_UNION_S): Likewise.
87881 * soft-fp/double.h (_FP_UNION_D): Likewise.
87882
87883 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87884
87885 [BZ #13786]
87886 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87887 not include ../strcmp.S.
87888 [USE_AS_STRNCASECMP_L]: Likewise.
87889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87890 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87891 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87892 (__strncasecmp_l_ia32): Define as alias to
87893 __strncasecmp_l_nonascii.
87894
87895 [BZ #5794]
87896 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87897 * sysdeps/i386/fpu/libm-test-ulps: Update.
87898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87899
87900 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87902
87903 2012-02-29 Jeff Law <law@redhat.com>
87904
87905 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87906 out of bounds read.
87907
87908 2012-02-29 Marek Polacek <polacek@redhat.com>
87909
87910 [BZ #13706]
87911 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87912 * elf/Makefile: Add rules to run tst-unused-dep.out.
87913
87914 2012-02-28 David S. Miller <davem@davemloft.net>
87915
87916 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87917 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87919 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87920 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87921 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87922
87923 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87924
87925 * math/libm-test.inc (llround_test): Move one test from
87926 lround_test. Use TEST_f_L in moved test.
87927 (lround_test): Move misplaced test to llround_test. Add testcase
87928 from bug 2561.
87929
87930 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87931
87932 * sysdeps/x86_64/fpu/e_expf.S: New file.
87933 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87934
87935 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87936
87937 [BZ #13637]
87938 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87939 of remain_len that may cause incomplete multi-byte character and
87940 false match.
87941 * posix/bug-regex33.c: New file.
87942 * posix/Makefile (tests): Add bug-regex33.
87943
87944 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87945
87946 * manual/macros.texi: New file.
87947 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87948 * manual/libc.texinfo: Include macros.texi.
87949 * manual/creatute.texi: Likewise.
87950 * manual/install.texi: Likewise.
87951 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87952 @glibcadj{} in references to the GNU C Library.
87953 * manual/charset.texi: Likewise.
87954 * manual/conf.texi: Likewise.
87955 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87956 when not using those macros.
87957 * manual/creature.texi: Likewise.
87958 * manual/crypt.texi: Likewise.
87959 * manual/errno.texi: Likewise.
87960 * manual/filesys.texi: Likewise.
87961 * manual/header.texi: Likewise.
87962 * manual/install.texi: Likewise.
87963 * manual/intro.texi: Likewise.
87964 * manual/io.texi: Likewise.
87965 * manual/job.texi: Likewise.
87966 * manual/lang.texi: Likewise.
87967 * manual/libc.texiinfo: Likewise.
87968 * manual/llio.texi: Likewise.
87969 * manual/locale.texi: Likewise.
87970 * manual/maint.texi: Likewise.
87971 * manual/math.texi: Likewise.
87972 * manual/memory.texi: Likewise.
87973 * manual/message.texi: Likewise.
87974 * manual/nss.texi: Likewise.
87975 * manual/pattern.texi: Likewise.
87976 * manual/process.texi: Likewise.
87977 * manual/resource.texi: Likewise.
87978 * manual/search.texi: Likewise.
87979 * manual/setjmp.texi: Likewise.
87980 * manual/signal.texi: Likewise.
87981 * manual/socket.texi: Likewise.
87982 * manual/startup.texi: Likewise.
87983 * manual/stdio.texi: Likewise.
87984 * manual/string.texi: Likewise.
87985 * manual/sysinfo.texi: Likewise.
87986 * manual/syslog.texi: Likewise.
87987 * manual/terminal.texi: Likewise.
87988 * manual/time.texi: Likewise.
87989 * manual/users.texi: Likewise.
87990 * INSTALL: Regenerated.
87991 * NOTES: Regenerated.
87992 * sysdeps/gnu/errlist.c: Regenerated.
87993
87994 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87995
87996 * include/dirent.h: Include <dirstream.h> before
87997 <dirent/dirent.h>.
87998
87999 2012-02-28 David S. Miller <davem@davemloft.net>
88000
88001 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
88002 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
88003 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
88004 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
88005
88006 2012-02-27 David S. Miller <davem@davemloft.net>
88007
88008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
88009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
88010 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
88011 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
88012
88013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
88014 frame pointer instead of stack pointer relative arg slot.
88015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88016 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88017 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88018
88019 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
88020
88021 [BZ #3992]
88022 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
88023
88024 2012-02-27 David S. Miller <davem@davemloft.net>
88025
88026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
88027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
88029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
88030 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88031 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88032 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
88033 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
88034
88035 2012-02-27 Joseph Myers <joseph@codesourcery.com>
88036
88037 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
88038 later. Allow versions 5-9.
88039 * configure: Regenerated.
88040 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
88041 required minimum version and 4.6 as recommended version. Do not
88042 mention bugs in GCC 2.7 and 2.8.
88043 * INSTALL: Regenerated.
88044
88045 2012-02-27 David S. Miller <davem@davemloft.net>
88046
88047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
88048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
88049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
88050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
88051 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
88052 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
88053 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
88054 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
88055
88056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
88057 manipulate bits before adding and subtracting TWO112[sx].
88058 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
88059
88060 2012-02-27 Roland McGrath <roland@hack.frob.com>
88061
88062 [BZ #13775]
88063 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
88064 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
88065 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
88066 being in POSIX, because they are in 1003.1-2008.
88067
88068 * rt/tst-aio.c: Include <fcntl.h>.
88069 * rt/tst-aio7.c: Likewise.
88070 * rt/tst-aio64.c: Likewise.
88071
88072 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
88073
88074 2012-02-27 Joseph Myers <joseph@codesourcery.com>
88075
88076 * manual/install.texi (--with-headers): Describe headers as
88077 interface headers, not private headers.
88078 (Specific advice for GNU/Linux systems): Describe use of headers
88079 from "make headers_install", not private headers from older
88080 kernels.
88081 * INSTALL: Regenerated.
88082 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
88083 Change to 2.6.19.
88084 * sysdeps/unix/sysv/linux/configure: Regenerated.
88085
88086 * manual/llio.texi (fclean): Remove documentation.
88087
88088 * manual/Makefile (libc-texi-generated): New variable. Include
88089 version.texi.
88090 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
88091 $(libc-texi-generated), not duplicated list of files.
88092 (version.texi, stamp-version): New rules.
88093 (realclean): Remove $(libc-texi-generated), not individual files
88094 from that list. Do not remove dir-add.texinfo.
88095 * manual/libc.texinfo: Comment out uses of edition numbers and
88096 references to printed manual. Remove last-updated dates.
88097 (EDITION): Comment out.
88098 (ISBN): Likewise.
88099 (VERSION, UPDATED): Remove.
88100 (version.texi): Include.
88101
88102 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
88103
88104 * sysdeps/posix/spawni.c: Include <signal.h>.
88105 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
88106 * sysdeps/pthread/aio_fsync.c: Likewise.
88107
88108 2012-02-26 Ulrich Drepper <drepper@gmail.com>
88109
88110 * conform/Makefile (tests): Run only when not cross-compiling and
88111 when fast-check is not defined.
88112
88113 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
88114 * conform/data/limits.h-data: Fixes for POSIX2008.
88115 * conform/run-conformtest.sh: Run all tests.
88116 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
88117 headers.
88118 * include/bits/dlfcn.h: Likewise.
88119 * include/langinfo.h: Likewise.
88120 * include/monetary.h: Likewise.
88121 * include/sys/poll.h: Likewise.
88122
88123 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
88124 for __USE_GNU.
88125 * posix/spawn.h: Define __need_sigset_t.
88126 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
88127 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
88128 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
88129 to get sigevent_t only.
88130 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
88131 only for __USE_GNU.
88132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88133 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88134 process_vm_writev only for __USE_GNU.
88135 * termios/termios.h: Declare tcgetsid also for POSIX2008.
88136
88137 * conform/Makefile: For now ignore errors from run-conformtest.
88138 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
88139 POSIX to avoid namespace pollution. Don't prepend headers.
88140 * conform/data/aio.h-data: Fixes for POSIX testing.
88141 * conform/data/fcntl.h-data: Likewise.
88142 * conform/data/glob.h-data: Likewise.
88143 * conform/data/grp.h-data: Likewise.
88144 * conform/data/pthread.h-data: Likewise.
88145 * conform/data/pwd.h-data: Likewise.
88146 * conform/data/signal.h-data: Likewise.
88147 * conform/data/spawn.h-data: Likewise.
88148 * conform/data/stdio.h-data: Likewise.
88149 * conform/data/stdlib.h-data: Likewise.
88150 * conform/data/stropts.h-data: Likewise.
88151 * conform/data/sys/mman.h-data: Likewise.
88152 * conform/data/sys/stat.h-data: Likewise.
88153 * conform/data/sys/types.h-data: Likewise.
88154 * conform/data/sys/wait.h-data: Likewise.
88155 * conform/data/time.h-data: Likewise.
88156 * conform/data/unistd.h-data: Likewise.
88157 * conform/data/utime.h-data: Likewise.
88158
88159 * io/sys/stat.h: fchmod was always in POSIX.
88160 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88161 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88162 * rt/aio.h: Define __need_timespec before including <time.h>.
88163 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88164 struct. Add forward declaration of pthread_attr_t and use it in
88165 sigevent.
88166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88167 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88168 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88169 always remove CLK_TCK definition.
88170
88171 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
88172
88173 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88174
88175 2012-02-25 Ulrich Drepper <drepper@gmail.com>
88176
88177 * conform/run-conformtest.sh: New file.
88178 * conform/Makefile: Run run-conformtest for tests.
88179 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
88180 support.
88181
88182 * conform/data/uchar.h-data: New file.
88183 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88184 * conform/data/arpa/inet.h-data: Likewise.
88185 * conform/data/assert.h-data: Likewise.
88186 * conform/data/complex.h-data: Likewise.
88187 * conform/data/cpio.h-data: Likewise.
88188 * conform/data/ctype.h-data: Likewise.
88189 * conform/data/dirent.h-data: Likewise.
88190 * conform/data/dlfcn.h-data: Likewise.
88191 * conform/data/errno.h-data: Likewise.
88192 * conform/data/fcntl.h-data: Likewise.
88193 * conform/data/float.h-data: Likewise.
88194 * conform/data/fmtmsg.h-data: Likewise.
88195 * conform/data/fnmatch.h-data: Likewise.
88196 * conform/data/ftw.h-data: Likewise.
88197 * conform/data/glob.h-data: Likewise.
88198 * conform/data/grp.h-data: Likewise.
88199 * conform/data/iconv.h-data: Likewise.
88200 * conform/data/inttypes.h-data: Likewise.
88201 * conform/data/langinfo.h-data: Likewise.
88202 * conform/data/libgen.h-data: Likewise.
88203 * conform/data/limits.h-data: Likewise.
88204 * conform/data/locale.h-data: Likewise.
88205 * conform/data/math.h-data: Likewise.
88206 * conform/data/monetary.h-data: Likewise.
88207 * conform/data/mqueue.h-data: Likewise.
88208 * conform/data/ndbm.h-data: Likewise.
88209 * conform/data/net/if.h-data: Likewise.
88210 * conform/data/netdb.h-data: Likewise.
88211 * conform/data/netinet/in.h-data: Likewise.
88212 * conform/data/nl_types.h-data: Likewise.
88213 * conform/data/poll.h-data: Likewise.
88214 * conform/data/pthread.h-data: Likewise.
88215 * conform/data/pwd.h-data: Likewise.
88216 * conform/data/regex.h-data: Likewise.
88217 * conform/data/sched.h-data: Likewise.
88218 * conform/data/search.h-data: Likewise.
88219 * conform/data/semaphore.h-data: Likewise.
88220 * conform/data/setjmp.h-data: Likewise.
88221 * conform/data/signal.h-data: Likewise.
88222 * conform/data/spawn.h-data: Likewise.
88223 * conform/data/stdarg.h-data: Likewise.
88224 * conform/data/stdio.h-data: Likewise.
88225 * conform/data/stdlib.h-data: Likewise.
88226 * conform/data/string.h-data: Likewise.
88227 * conform/data/strings.h-data: Likewise.
88228 * conform/data/stropts.h-data: Likewise.
88229 * conform/data/sys/ipc.h-data: Likewise.
88230 * conform/data/sys/mman.h-data: Likewise.
88231 * conform/data/sys/msg.h-data: Likewise.
88232 * conform/data/sys/resource.h-data: Likewise.
88233 * conform/data/sys/select.h-data: Likewise.
88234 * conform/data/sys/sem.h-data: Likewise.
88235 * conform/data/sys/shm.h-data: Likewise.
88236 * conform/data/sys/socket.h-data: Likewise.
88237 * conform/data/sys/stat.h-data: Likewise.
88238 * conform/data/sys/statvfs.h-data: Likewise.
88239 * conform/data/sys/time.h-data: Likewise.
88240 * conform/data/sys/timeb.h-data: Likewise.
88241 * conform/data/sys/times.h-data: Likewise.
88242 * conform/data/sys/types.h-data: Likewise.
88243 * conform/data/sys/uio.h-data: Likewise.
88244 * conform/data/sys/un.h-data: Likewise.
88245 * conform/data/sys/utsname.h-data: Likewise.
88246 * conform/data/sys/wait.h-data: Likewise.
88247 * conform/data/syslog.h-data: Likewise.
88248 * conform/data/tar.h-data: Likewise.
88249 * conform/data/termios.h-data: Likewise.
88250 * conform/data/utime.h-data: Likewise.
88251 * conform/data/utmpx.h-data: Likewise.
88252 * conform/data/varargs.h-data: Likewise.
88253 * conform/data/wchar.h-data: Likewise.
88254 * conform/data/wctype.h-data: Likewise.
88255 * conform/data/wordexp.h-data: Likewise.
88256
88257 * include/stropts.h: New file.
88258 * include/uchar.h: New file.
88259 * include/aio.h: Changes to allow conformtest.pl to use the headers.
88260 * include/assert.h: Likewise.
88261 * include/ctype.h: Likewise.
88262 * include/dirent.h: Likewise.
88263 * include/dlfcn.h: Likewise.
88264 * include/fcntl.h: Likewise.
88265 * include/fnmatch.h: Likewise.
88266 * include/glob.h: Likewise.
88267 * include/grp.h: Likewise.
88268 * include/libio.h: Likewise.
88269 * include/locale.h: Likewise.
88270 * include/math.h: Likewise.
88271 * include/net/if.h: Likewise.
88272 * include/netdb.h: Likewise.
88273 * include/netinet/in.h: Likewise.
88274 * include/pthread.h: Likewise.
88275 * include/pwd.h: Likewise.
88276 * include/regex.h: Likewise.
88277 * include/sched.h: Likewise.
88278 * include/search.h: Likewise.
88279 * include/setjmp.h: Likewise.
88280 * include/signal.h: Likewise.
88281 * include/stdio.h: Likewise.
88282 * include/stdlib.h: Likewise.
88283 * include/string.h: Likewise.
88284 * include/sys/cdefs.h: Likewise.
88285 * include/sys/mman.h: Likewise.
88286 * include/sys/msg.h: Likewise.
88287 * include/sys/resource.h: Likewise.
88288 * include/sys/select.h: Likewise.
88289 * include/sys/socket.h: Likewise.
88290 * include/sys/stat.h: Likewise.
88291 * include/sys/statvfs.h: Likewise.
88292 * include/sys/time.h: Likewise.
88293 * include/sys/times.h: Likewise.
88294 * include/sys/uio.h: Likewise.
88295 * include/sys/utsname.h: Likewise.
88296 * include/sys/wait.h: Likewise.
88297 * include/termios.h: Likewise.
88298 * include/time.h: Likewise.
88299 * include/ulimit.h: Likewise.
88300 * include/unistd.h: Likewise.
88301 * include/utime.h: Likewise.
88302 * include/wchar.h: Likewise.
88303 * include/wctype.h: Likewise.
88304 * include/wordexp.h: Likewise.
88305
88306 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88307
88308 * time/time.h: TIME_UTC must be a macro.
88309 Make timespec_get available for ISO C11 only as well.
88310
88311 2012-02-24 Ulrich Drepper <drepper@gmail.com>
88312
88313 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88314 Reported by Peng Haitao <penght@cn.fujitsu.com>.
88315
88316 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88317
88318 * configure.in: Use -o not -a in test for unsupported multi-arch.
88319
88320 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88321
88322 * manual/texinfo.tex: Update to version 2012-01-19.16.
88323
88324 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88325
88326 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88327
88328 2012-02-24 Roland McGrath <roland@hack.frob.com>
88329
88330 [BZ #13738]
88331 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88332 * manual/fdl-1.3.texi: New file.
88333 * manual/fdl-1.1.texi: File removed.
88334
88335 [BZ #13738]
88336 * manual/libc.texinfo (FDL_VERSION): New @set.
88337 Use it for mention of FDL in cover text.
88338 (Documentation License): Use it in @include file name.
88339
88340 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88341 Roland McGrath <roland@hack.frob.com>
88342
88343 [BZ #5461]
88344 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88345 (not LONG_LONG_MAX and LONG_LONG_MIN.
88346 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88347 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
88348 name.
88349 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88350
88351 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88352
88353 [BZ #2547]
88354 [BZ #11365]
88355 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88356 manipulate bits before adding and subtracting TWO23[sx].
88357 * math/libm-test.inc (nearbyint_test): Add more tests.
88358
88359 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88360
88361 [BZ #2548]
88362 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88363 bits before adding and subtracting TWO23[sx].
88364 * math/libm-test.inc (rint_test): Add more tests.
88365 (rint_test_tonearest): Likewise.
88366 (rint_test_towardzero): Likewise.
88367 (rint_test_downward): Likewise.
88368 (rint_test_upward: Likewise.
88369
88370 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88371
88372 [BZ #10110]
88373 * include/stdc-predef.h: New file. Extracted from features.h.
88374 * include/features.h: Include stdc-predef.h.
88375 * Makefile (headers): Add stdc-predef.h.
88376 * CONFORMANCE (Compiler limitations): Update.
88377
88378 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88379
88380 * manual/libc.texinfo (VERSION, UPDATED): Revert.
88381
88382 2012-02-21 David S. Miller <davem@davemloft.net>
88383
88384 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88386
88387 2012-02-20 David S. Miller <davem@davemloft.net>
88388
88389 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88390 using a normal save/restore sequence, rather than allocating a
88391 dummy stack frame just to store a frame pointer and restore.
88392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88393
88394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88395
88396 * manual/install.texi: Fix stray word in line-wrapped comment.
88397
88398 2012-02-20 David S. Miller <davem@davemloft.net>
88399
88400 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88401 both binutils and gcc support GOTDATA.
88402
88403 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88404 "rd %pc" in the PIC register setup sequences.
88405
88406 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88407 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88408 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88409 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88410 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88415 (SYSCALL_ERROR_HANDLER): Likewise.
88416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88417 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88419 (SYSCALL_ERROR_HANDLER): Likewise.
88420
88421 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88422 (HAVE_GCC_GOTDATA): New.
88423 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88424 relocation support in both binutils and gcc.
88425 * sysdeps/sparc/elf/configure: Regenerate.
88426
88427 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88428 * sysdeps/sparc/sparc32/elf/configure: Delete.
88429 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88430 * sysdeps/sparc/sparc64/elf/configure: Delete.
88431 * sysdeps/sparc/elf/configure.in: New file.
88432 * sysdeps/sparc/elf/configure: Generate.
88433
88434 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88435 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88436 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88437 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88438 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88439
88440 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88441
88442 * manual/install.texi: Do not mention specific glibc version
88443 numbers.
88444 * manual/libc.texinfo (VERSION, UPDATED): Update.
88445 (@copying): Use @copyright{} and range of years.
88446
88447 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88448
88449 [BZ #13695]
88450 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88451 [crti.S not in sysdirs] (generated): Do not append.
88452 [crti.S not in sysdirs] (omit-deps): Likewise.
88453 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88454 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88455 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88456 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88457 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88458 Likewise.
88459 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88460 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88461 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88462 * csu/defs.awk: Remove file.
88463 * sysdeps/generic/initfini.c: Likewise.
88464 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88465 variable.
88466 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88467 Likewise.
88468
88469 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88470
88471 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88472 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88476 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88477 <bits/epoll.h>.
88478 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88479 (__EPOLL_PACKED): Define to empty if not defined by
88480 <bits/epoll.h>.
88481 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88483 bits/epoll.h.
88484
88485 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88486
88487 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88488 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88489 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88490 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88491 <bits/timerfd.h>.
88492 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88494 bits/timerfd.h.
88495
88496 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88497
88498 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88499 in C locale.
88500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88501 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88504
88505 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88506
88507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88508 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88509
88510 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88511
88512 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88513 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88514 defined.
88515 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88516 Likewise.
88517 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88518 entry for 2.16.
88519
88520 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88521
88522 * math/w_acos.c: Use non-signaling floating-point comparisons.
88523 * math/w_acosf.c: Likewise.
88524 * math/w_acosh.c: Likewise.
88525 * math/w_acoshf.c: Likewise.
88526 * math/w_acoshl.c: Likewise.
88527 * math/w_acosl.c: Likewise.
88528 * math/w_asin.c: Likewise.
88529 * math/w_asinf.c: Likewise.
88530 * math/w_asinl.c: Likewise.
88531 * math/w_atanh.c: Likewise.
88532 * math/w_atanhf.c: Likewise.
88533 * math/w_atanhl.c: Likewise.
88534 * math/w_exp2.c: Likewise.
88535 * math/w_exp2f.c: Likewise.
88536 * math/w_exp2l.c: Likewise.
88537 * math/w_j0.c: Likewise.
88538 * math/w_j0f.c: Likewise.
88539 * math/w_j0l.c: Likewise.
88540 * math/w_j1.c: Likewise.
88541 * math/w_j1f.c: Likewise.
88542 * math/w_j1l.c: Likewise.
88543 * math/w_jn.c: Likewise.
88544 * math/w_jnf.c: Likewise.
88545 * math/w_log.c: Likewise.
88546 * math/w_log10.c: Likewise.
88547 * math/w_log10f.c: Likewise.
88548 * math/w_log10l.c: Likewise.
88549 * math/w_log2.c: Likewise.
88550 * math/w_log2f.c: Likewise.
88551 * math/w_log2l.c: Likewise.
88552 * math/w_logf.c: Likewise.
88553 * math/w_logl.c: Likewise.
88554 * math/w_sqrt.c: Likewise.
88555 * math/w_sqrtf.c: Likewise.
88556 * math/w_sqrtl.c: Likewise.
88557 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88558 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88560 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88561 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88562
88563 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88564
88565 [BZ #9739]
88566 * manual/string.texi (strnlen): Use correct parameter name in
88567 equivalent expression.
88568
88569 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88570
88571 [BZ #11174]
88572 * manual/users.texi (seteuid): Consistently use neweuid for
88573 argument name.
88574
88575 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88576
88577 [BZ #13704]
88578 * manual/nss.texi (Services in the NSS configuration): Correct
88579 list of services in example configuration file.
88580
88581 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88582
88583 [BZ #11322]
88584 * manual/arith.texi: Remove statements about negative zero
88585 behaving identically to zero.
88586
88587 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88588
88589 [BZ #5993]
88590 * manual/install.texi: Do not document upgrading from libc5.
88591
88592 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88593
88594 [BZ #4596]
88595 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88596
88597 2012-02-18 David S. Miller <davem@davemloft.net>
88598
88599 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88600 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88601 %o7 across the call.
88602 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88603 instead.
88604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88605 SETUP_PIC_REG_LEAF.
88606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88607 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88608 * sysdeps/sparc/crtn.S: Likewise.
88609
88610 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88611
88612 * aout/Makefile: Remove.
88613
88614 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88615
88616 [BZ #13058]
88617 * manual/examples/argp-ex1.c (main): Format definition in GNU
88618 style.
88619 * manual/examples/argp-ex2.c (main): Likewise.
88620 * manual/examples/argp-ex3.c (main): Likewise.
88621 * manual/examples/argp-ex4.c (main): Likewise.
88622 * manual/examples/longopt.c (main): Use new-style prototype
88623 definition.
88624 * manual/examples/strncat.c (main): Specify return type and use
88625 (void) for arguments.
88626 * manual/examples/subopt.c (main): Use char **argv argument.
88627
88628 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88629
88630 [BZ #5077]
88631 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88632 rounding modes.
88633
88634 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88635
88636 [BZ #6907]
88637 * manual/string.texi (strchr): Change when strchrnul is
88638 recommended.
88639
88640 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88641
88642 [BZ #174]
88643 * manual/locale.texi (setlocale): Document LOCPATH.
88644
88645 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88646
88647 [BZ #10210]
88648 * manual/process.texi (execle): Move @dots{} before last argument.
88649
88650 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88651
88652 [BZ #12047]
88653 * manual/charset.texi (Generic Charset Conversion): Fix typo
88654 (LC_TYPE -> LC_CTYPE).
88655
88656 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88657
88658 [BZ #5805]
88659 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88660 (scalbnf): Likewise.
88661 (scalbnl): Likewise.
88662 (scalbln): Likewise.
88663 (scalblnf): Likewise.
88664 (scalblnl): Likewise.
88665 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88666 (vwarnx): Likewise.
88667 (verr): Likewise.
88668 (verrx): Likewise.
88669 * manual/filesys.texi (telldir): Use braces around return type.
88670 * manual/llio.texi (mmap): Add space after comma.
88671 (mmap64): Likewise.
88672 * manual/math.texi (jn): Use @var{} on parameter names.
88673 (jnf): Likewise.
88674 (jnl): Likewise.
88675 (yn): Likewise.
88676 (ynf): Likewise.
88677 (ynl): Likewise.
88678 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88679 line.
88680 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88681 "...".
88682 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88683 (sched_get_priority_max): Likewise.
88684 * manual/signal.texi (sigvec): Add space after comma.
88685 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88686 names.
88687 (if_indextoname): Likewise.
88688 (if_freenameindex): Likewise.
88689 (sendto): Use ',' instead of '.' in prototype.
88690 * manual/startup.texi (syscall): Use @dots{} instead of literal
88691 "...".
88692 * manual/stdio.texi (__fpending): Separate initial words of
88693 paragraph from @deftypefun line.
88694 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88695 "...".
88696 (vsyslog): Use @var{} on parameter names.
88697 * manual/terminal.texi (stty): Use @var{} on parameter names.
88698 * manual/users.texi (getutmp): Use @var{} on parameter names.
88699 (getutmpx): Likewise.
88700
88701 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88702
88703 [BZ #6884]
88704 * manual/stdio.texi (fopen): Fix typos in description of
88705 ",ccs=STRING".
88706
88707 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88708
88709 [BZ #4026]
88710 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88711 get clock_id definition.
88712
88713 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88714
88715 [BZ #4822]
88716 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88717 (madvise): Cast every argument to void on its own.
88718
88719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88720
88721 [BZ #9902]
88722 * manual/startup.texi (Exit Status): Fix typo.
88723
88724 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88725
88726 [BZ #10140]
88727 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88728 * manual/examples/argp-ex2.c: Likewise.
88729 * manual/examples/argp-ex3.c: Likewise.
88730
88731 2012-02-16 Richard Henderson <rth@redhat.com>
88732
88733 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88734 * sysdeps/s390/s390-32/initfini.c: Remove.
88735 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88736 * sysdeps/s390/s390-64/initfini.c: Remove.
88737
88738 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88739
88740 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88741 compiler output for sysdeps/generic/initfini.c.
88742 * sysdeps/sh/elf/initfini.c: Remove file.
88743
88744 2012-02-16 David S. Miller <davem@davemloft.net>
88745
88746 [BZ #11494]
88747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88748
88749 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88750 * sysdeps/sparc/crti.S: New file.
88751 * sysdeps/sparc/crtn.S: New file.
88752 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88753 * sysdeps/sparc/sparc64/Makefile: Likewise.
88754
88755 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88756
88757 [BZ #3335]
88758 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88759
88760 2012-02-15 Roland McGrath <roland@hack.frob.com>
88761
88762 [BZ #4822]
88763 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88764
88765 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88766 (write, read, close): Likewise.
88767 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88768
88769 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88770
88771 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88772 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88773 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88774 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88775 <bits/signalfd.h>.
88776 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88778 bits/signalfd.h.
88779
88780 2012-02-14 Marek Polacek <polacek@redhat.com>
88781
88782 * sysdeps/x86_64/crti.S: New file.
88783 * sysdeps/x86_64/crtn.S: New file.
88784 * sysdeps/x86_64/elf/initfini.c: Remove file.
88785
88786 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88787
88788 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88789 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88790 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88791 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88792 <bits/inotify.h>.
88793 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88795 bits/inotify.h.
88796
88797 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88798
88799 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88800 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88801 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88802 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88803 <bits/eventfd.h>.
88804 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88806 bits/eventfd.h.
88807
88808 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88809
88810 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88811 __feraiseexcept instead of feraiseexcept.
88812
88813 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88814 nanosleep invocations.
88815 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88816 strings, and add error checking for a nanosleep invocations.
88817
88818 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88819
88820 Replace FSF snail mail address with URLs, as per GNU coding standards.
88821 Most of the snail mail addresses were wrong anyway, and omitting
88822 them makes the source code easier to maintain. Almost all of the
88823 changes are to license notices and to locale LC_IDENTIFICATION
88824 addresses, except for this one:
88825 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88826 not its snail mail address.
88827
88828 2012-02-09 Richard Henderson <rth@twiddle.net>
88829
88830 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88831 of kernel-features.h.
88832
88833 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88834
88835 2012-02-08 Marek Polacek <polacek@redhat.com>
88836
88837 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88838 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88839 * sysdeps/gnu/_G_config.h: Likewise.
88840 * sysdeps/generic/_G_config.h: Likewise.
88841
88842 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88843
88844 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88845 tests.
88846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88847
88848 * sysdeps/powerpc/powerpc32/crti.S: New file.
88849 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88850 * sysdeps/powerpc/powerpc64/crti.S: New file.
88851 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88852
88853 * Makeconfig (have-initfini): Don't set.
88854 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88855 * configure.in (nopic_initfini): Don't substitute.
88856 * config.h.in (HAVE_INITFINI): Don't #undef.
88857 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88858 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88859
88860 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88861
88862 Support crti.S and crtn.S provided directly by architectures.
88863 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88864 [crti.S in sysdirs] (omit-deps): Likewise.
88865 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88866 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88867 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88868 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88869 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88870 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88871 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88872 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88873 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88874 compiler output for sysdeps/generic/initfini.c.
88875 * sysdeps/i386/elf/Makefile: Remove file.
88876 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88877
88878 2012-02-07 Marek Polacek <polacek@redhat.com>
88879
88880 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88881 * sysdeps/gnu/_G_config.h: Likewise.
88882 * sysdeps/mach/hurd/_G_config.h: Likewise.
88883
88884 2012-02-07 Marek Polacek <polacek@redhat.com>
88885
88886 * math/Makefile (tests): Add tst-CMPLX2.
88887 * math/tst-CMPLX2.c: New file.
88888
88889 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88890
88891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88892
88893 * math/libm-test.inc (jn_test): Add missing L suffix.
88894
88895 2012-02-06 Marek Polacek <polacek@redhat.com>
88896
88897 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88898 * sysdeps/i386/fpu/e_powf.S: Likewise.
88899 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88900 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88901 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88902 * sysdeps/i386/fpu/e_pow.S: Likewise.
88903 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88904 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88905 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88906 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88907 * sysdeps/i386/fpu/e_log2.S: Likewise.
88908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88910 * sysdeps/i386/fpu/e_powl.S: Likewise.
88911 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88912 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88913 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88914 * sysdeps/i386/fpu/e_logl.S: Likewise.
88915 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88916 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88917 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88918 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88919 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88920 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88921 * sysdeps/i386/fpu/e_log.S: Likewise.
88922 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88924 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88925 * sysdeps/i386/fpu/e_logf.S: Likewise.
88926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88927 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88928 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88929 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88930 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88931 * sysdeps/i386/fpu/e_log10.S: Likewise.
88932 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88933 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88934 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88935 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88936 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88937 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88938 * sysdeps/i386/asm-syntax.h: Likewise.
88939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88942 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88943 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88945 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88946 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88947 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88948 * sysdeps/powerpc/sysdep.h: Likewise.
88949 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88950 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88951
88952 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88953
88954 [BZ #411]
88955 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88956
88957 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88958
88959 * sysdeps/i386/sysdep.h: Include <features.h>.
88960 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88961 version.
88962
88963 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88964
88965 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88966 Define.
88967 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88968 LOAD_PIC_REG_STR.
88969
88970 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88971
88972 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88973 (SETUP_PIC_REG): Use GET_PC_THUNK.
88974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88975 macro.
88976
88977 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88978
88979 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88980 for non-PIC compilation.
88981 (SETUP_PIC_REG): Add .p2align directive.
88982 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88983 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88984 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88985 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88986 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88990 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88991 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88992 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88993 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88994 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88995 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88996 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88997 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88998 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88999 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
89000 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
89001 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
89002 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
89003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
89004 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
89005 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
89006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
89007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
89008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89009 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
89010 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
89011 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
89012 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
89013 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
89015 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
89016 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
89017 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
89018 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
89019 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
89020 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
89021 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
89022 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
89023
89024 2012-02-03 Joseph Myers <joseph@codesourcery.com>
89025
89026 * math/tst-CMPLX.c: Include <stdio.h>.
89027
89028 2012-01-31 Joseph Myers <joseph@codesourcery.com>
89029
89030 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
89031 float.
89032 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89033 * sysdeps/sparc/bits/mathdef.h: Likewise.
89034
89035 2012-01-31 Marek Polacek <polacek@redhat.com>
89036
89037 * libio/libio.h: Don't define _PARAMS.
89038 * locale/programs/config.h: Don't define PARAMS.
89039 * stdlib/strtol_l.c: Likewise.
89040 (__strtol_l): Remove PARAMS from the prototype.
89041
89042 2012-01-31 Ulrich Drepper <drepper@gmail.com>
89043
89044 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
89045 names. Just use the correct names. Remove unnecessary wrapper
89046 functions.
89047 * malloc/arena.c: Likewise.
89048 * malloc/hooks.c: Likewise.
89049
89050 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
89051 ARENA_TEST says not to. Simplify test for creation of a new arena.
89052 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
89053
89054 2012-01-30 Ulrich Drepper <drepper@gmail.com>
89055
89056 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
89057 into tail calls.
89058 (update_get_addr): New function.
89059 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
89060 GET_ADDR_MODULE parameter.
89061
89062 2012-01-30 Joseph Myers <joseph@codesourcery.com>
89063
89064 * crypt/cert.c: Remove __STDC__ conditionals.
89065 * crypt/crypt-entry.c: Likewise.
89066 * crypt/crypt_util.c: Likewise.
89067 * libio/filedoalloc.c: Likewise.
89068 * libio/fileops.c: Likewise.
89069 * libio/genops.c: Likewise.
89070 * libio/iofclose.c: Likewise.
89071 * libio/iofdopen.c: Likewise.
89072 * libio/iofopen.c: Likewise.
89073 * libio/iofopen64.c: Likewise.
89074 * libio/iogetdelim.c: Likewise.
89075 * libio/iopopen.c: Likewise.
89076 * libio/obprintf.c: Likewise.
89077 * libio/oldfileops.c: Likewise.
89078 * libio/oldiofclose.c: Likewise.
89079 * libio/oldiofdopen.c: Likewise.
89080 * libio/oldiofopen.c: Likewise.
89081 * libio/oldiopopen.c: Likewise.
89082 * libio/wfiledoalloc.c: Likewise.
89083 * libio/wgenops.c: Likewise.
89084 * locale/programs/xmalloc.c: Likewise.
89085 * misc/syslog.c: Likewise.
89086 * stdio-common/xbug.c: Likewise.
89087 * string/memchr.c: Likewise.
89088 * string/memcmp.c: Likewise.
89089 * string/memrchr.c: Likewise.
89090 * string/rawmemchr.c: Likewise.
89091 * sysdeps/posix/getcwd.c: Likewise.
89092 * time/strftime_l.c: Likewise.
89093
89094 2012-01-30 Joseph Myers <joseph@codesourcery.com>
89095
89096 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
89097 * config.make.in (config-cflags-sse2avx): Define.
89098 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
89099 Fix typo.
89100
89101 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
89102
89103 * scripts/config.guess: Update from upstream config git repository.
89104 * scripts/config.sub: Likewise.
89105
89106 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
89107
89108 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
89109 (EM_NUM): Update.
89110 (R_TILEPRO_*, R_TILEGX_*): New macros.
89111
89112 * scripts/firstversions.awk: Fix bug in version range handling.
89113
89114 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
89115
89116 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
89117
89118 * include/sys/epoll.h: New file.
89119 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
89120 libc_hidden_def.
89121
89122 2012-01-28 Ulrich Drepper <drepper@gmail.com>
89123
89124 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
89125 Avoid unnecessary __WORDSIZE == 64 test.
89126 (fmaxf): Use VEX format if possible.
89127 (fmax): Likewise.
89128 (fminf): Likewise.
89129 (fmin): Likewise.
89130
89131 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
89132 * math/math_private.h: Remove libc_fegetround* and
89133 libc_fesetround*.
89134 * sysdeps/i386/configure.in: Check for -msse2avx.
89135 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
89136 also if SSE2AVX is defined.
89137 Remove libc_fegetround* and libc_fesetround*.
89138 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
89139 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
89140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
89141 of HAS_YMM_USABLE.
89142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89147
89148 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
89149
89150 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89151
89152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89153 size is not set.
89154 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89155
89156 2012-01-27 Ulrich Drepper <drepper@gmail.com>
89157
89158 [BZ #13618]
89159 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89160 relocation.
89161 * Makeconfig (libm): Define.
89162 * elf/Makefile: Add rules to build and run tst-relsort1.
89163 * elf/tst-relsort1.c: New file.
89164 * elf/tst-relsort1mod1.c: New file.
89165 * elf/tst-relsort1mod2.c: New file.
89166
89167 2012-01-27 Joseph Myers <joseph@codesourcery.com>
89168
89169 * math/s_ldexp.c: Remove __STDC__ conditionals.
89170 * math/s_ldexpf.c: Likewise.
89171 * math/s_ldexpl.c: Likewise.
89172 * math/s_nextafter.c: Likewise.
89173 * math/s_nexttowardf.c: Likewise.
89174 * math/s_significand.c: Likewise.
89175 * math/s_significandf.c: Likewise.
89176 * math/s_significandl.c: Likewise.
89177 * math/w_jnl.c: Likewise.
89178 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89179 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89180 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89181 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89182 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89184 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89190 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89191 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89193 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89197 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89198 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89199 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89200 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89202 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89203 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89204 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89205 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89206 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89208 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89209 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89210 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89211 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89212 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89213 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89214 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89215 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89216 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89217 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89218 * sysdeps/ieee754/k_standard.c: Likewise.
89219 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89221 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89226 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89227 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89228 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89229 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89230 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89231 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89232 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89233 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89235 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89238 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89241 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89242 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89243 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89244 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89248 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89250 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89252 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89254 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89255 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89257 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89264 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89265 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89268 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89269 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89272 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89273 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89274 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89275 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89277 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89286 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89289 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89290 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89291 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89292 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89293 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89294 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89295 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89296 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89298 * sysdeps/ieee754/s_matherr.c: Likewise.
89299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89303
89304 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89305
89306 * crypt/md5.h: Remove __STDC__ conditionals.
89307 * libio/libioP.h: Likewise.
89308 * locale/programs/config.h: Likewise.
89309 * sysdeps/generic/sysdep.h: Likewise.
89310 * sysdeps/i386/asm-syntax.h: Likewise.
89311 * sysdeps/s390/asm-syntax.h: Likewise.
89312 * sysdeps/unix/sysdep.h: Likewise.
89313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89315
89316 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89317
89318 * libio/libio.h: Remove __STDC__ conditionals.
89319 * malloc/obstack.h: Likewise.
89320 * math/complex.h: Likewise.
89321 * math/math.h: Likewise.
89322 * sysdeps/generic/_G_config.h: Likewise.
89323 * sysdeps/gnu/_G_config.h: Likewise.
89324 * sysdeps/mach/hurd/_G_config.h: Likewise.
89325 * sysdeps/powerpc/bits/mathdef.h: Likewise.
89326 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89327 * sysdeps/sparc/bits/mathdef.h: Likewise.
89328
89329 2012-01-26 Ulrich Drepper <drepper@gmail.com>
89330
89331 [BZ #13583]
89332 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89333 Clean up HAS_* macros.
89334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89335 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89336 possible.
89337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89338 HAS_AVX.
89339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89342 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89344
89345 2012-01-25 Joseph Myers <joseph@codesourcery.com>
89346
89347 * elf/tst-unique3.cc (gets): Remove declaration.
89348 * elf/tst-unique3lib.cc (gets): Likewise.
89349 * elf/tst-unique3lib2.cc (gets): Likewise.
89350 * elf/tst-unique4.cc (gets): Likewise.
89351
89352 2012-01-24 Ulrich Drepper <drepper@gmail.com>
89353
89354 * include/stdio.h: Add C++ protection. Add gets declarations and
89355 definitions.
89356 * debug/tst-chk1.c: Don't declare gets here.
89357 * stdio-common/tst-gets.c: Likewise.
89358
89359 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89360
89361 * posix/glob: Remove directory.
89362
89363 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89364
89365 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89366
89367 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
89368
89369 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89370 of the non-standard EPFNOSUPPORT.
89371
89372 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
89373
89374 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89375 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89376 ANYWHERE set to 1 only on KERN_NO_SPACE error.
89377
89378 2012-01-21 Ulrich Drepper <drepper@gmail.com>
89379
89380 * wcsmbs/uchar.h: Test __STDC_VERSION__.
89381
89382 2012-01-20 Ulrich Drepper <drepper@gmail.com>
89383
89384 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89385 transient errors.
89386 * nscd/grpcache.c (cache_addgr): Likewise.
89387 * nscd/hstcache.c (cache_addhst): Likewise.
89388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89389 * nscd/pwdcache.c (cache_addpw): Likewise.
89390 * nscd/servicescache.c (cache_addserv): Likewise.
89391
89392 2012-01-16 Ulrich Drepper <drepper@gmail.com>
89393
89394 * malloc/malloc.c: Various cleanups.
89395 * malloc/hooks.c: Likewise.
89396
89397 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89398 * stdlib/bug-fmtmsg1.c: New file.
89399
89400 * stdlib/fmtmsg.c (init): Add missing unlock.
89401 Patch by Peng Haitao <penght@cn.fujitsu.com>.
89402
89403 2012-01-12 Marek Polacek <polacek@redhat.com>
89404
89405 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89406 and _GNU_SOURCE.
89407
89408 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89409
89410 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89411 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89412 macro to ensure uniqueness of label name.
89413 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89414 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89415
89416 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89417
89418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89419
89420 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89421 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89424
89425 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89426
89427 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89428
89429 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89430 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89431 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89432
89433 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89434
89435 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89436 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89439
89440 * math/bits/math-finite.h: Add ldexp support.
89441
89442 2012-01-10 Marek Polacek <polacek@redhat.com>
89443
89444 * locale/programs/localedef.h (show_archive_content): Add noreturn
89445 attribute.
89446
89447 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89448
89449 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89450
89451 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89452
89453 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89454
89455 * io/Makefile (headers): Add bits/poll2.h.
89456
89457 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89458
89459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89460 typo #include statement.
89461
89462 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89463
89464 * include/sys/cdefs.h: Define __attribute_alloc_size.
89465 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89466 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89467 * elf/pldd.c: Likewise.
89468 * iconv/iconv_charmap.c: Likewise.
89469 * iconv/iconvconfig.c: Likewise.
89470 * iconv/strtab.c: Likewise.
89471 * locale/programs/locale.c: Likewise.
89472 * locale/programs/localedef.h: Likewise.
89473 * locale/programs/simple-hash.c: Likewise.
89474 * nscd/nscd.h: Likewise.
89475 * nss/makedb.c: Likewise.
89476 * sysdeps/generic/ldconfig.h: Likewise.
89477 * locale/programs/localedef.c: Remove xmalloc prototype.
89478 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89479
89480 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89481
89482 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89483 appropriate.
89484
89485 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89486
89487 * math/Makefile (tests): Add tst-CMPLX.
89488 * math/tst-CMPLX.c: New file.
89489
89490 * math/complex.h (CMPLXL): Fix typo.
89491
89492 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89493 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89494 GLIBC_2.16.
89495 * debug/tst-chk1.c: Add poll and ppoll tests.
89496 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89497 * include/sys/poll.h: Add hidden proto for ppoll.
89498 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89499 * sysdeps/mach/hurd/ppoll.c: Likewise.
89500 * io/ppoll.c: Likewise.
89501 * debug/poll_chk.c: New file.
89502 * debug/ppoll_chk.c: New file.
89503 * include/bits/poll2.h: New file.
89504 * io/bits/poll2.h: New file.
89505
89506 [BZ #1350]
89507 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89508
89509 * configure.in: static is always set to yes. Remove.
89510 * config.make.in: Don't set build-static.
89511 * Makeconfig: Remove use of build-static.
89512 * dlfcn/Makefile: Likewise.
89513 * elf/Makefile: Likewise.
89514 * math/Makefile: Likewise.
89515 * misc/Makefile: Likewise.
89516 * nptl/Makefile: Likewise.
89517 * sysdeps/mach/hurd/Makefile: Likewise.
89518
89519 * configure.in: PWD_P is not used anymore.
89520 * config.make.in: Remove PWD_P entry.
89521
89522 * configure.in: Remove last remnants of RANLIB.
89523 No need to check for signed size_t anymore.
89524 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89525 and IA-64.
89526 Remove __builtin_expect test because we require at least gcc 3.4.
89527 * aclocal.m4: Likewise.
89528
89529 * wcsmbs/mbrtoc16.c: Implement using towc function.
89530 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89531 * wcsmbs/wcsmbsload.c: Likewise.
89532 * iconv/gconv_simple.c: Likewise.
89533 * iconv/gconv_int.h: Likewise.
89534 * iconv/gconv_builtin.h: Likewise.
89535 * iconv/iconv_prog.c: Remove CHAR16 handling.
89536
89537 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89538
89539 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89540
89541 * configure.in: Remove --with-elf and --enable-bounded options.
89542 Dont set base_machine for ia64. More non-ELF conditions removed.
89543 Remove testing and setting of leading underscore information.
89544 * config.make.in (build-bounded): Set to no.
89545 * config.h.in: Remove NO_UNDERSCORES entry.
89546 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89547 them.
89548 * csu/start.c: Remove !NO_UNDERSCORE code.
89549 * locale/localeinfo.h: Likewise.
89550 * sysdeps/generic/machine-gmon.h: Likewise.
89551 * sysdeps/generic/sysdep.h: Likewise.
89552 * sysdeps/i386/sysdep.h: Likewise.
89553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89554 * sysdeps/mach/sysdep.h: Likewise.
89555 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89557 * sysdeps/sh/sysdep.h: Likewise.
89558 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89559 * sysdeps/unix/i386/sysdep.S: Likewise.
89560 * sysdeps/unix/sparc/start.c: Likewise.
89561 * sysdeps/unix/sparc/sysdep.S: Likewise.
89562 * sysdeps/unix/sparc/sysdep.h: Likewise.
89563 * sysdeps/unix/start.c: Likewise.
89564 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89565 * sysdeps/x86_64/sysdep.h: Likewise.
89566
89567 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89568
89569 [BZ #13553]
89570 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89571 for non-gcc.
89572 * argp/argp-fmtstream.h: Use const instead __const.
89573 * argp/argp.h: Likewise.
89574 * assert/assert.h: Likewise.
89575 * bits/fenv.h: Likewise.
89576 * bits/sched.h: Likewise.
89577 * bits/sigset.h: Likewise.
89578 * bits/sigthread.h: Likewise.
89579 * catgets/nl_types.h: Likewise.
89580 * conform/data/pthread.h-data: Likewise.
89581 * crypt/crypt-private.h: Likewise.
89582 * crypt/crypt.h: Likewise.
89583 * crypt/crypt_util.c: Likewise.
89584 * ctype/ctype.h: Likewise.
89585 * debug/execinfo.h: Likewise.
89586 * debug/mbsnrtowcs_chk.c: Likewise.
89587 * debug/mbsrtowcs_chk.c: Likewise.
89588 * debug/wcsnrtombs_chk.c: Likewise.
89589 * debug/wcsrtombs_chk.c: Likewise.
89590 * debug/wcstombs_chk.c: Likewise.
89591 * dirent/dirent.h: Likewise.
89592 * dlfcn/dlfcn.h: Likewise.
89593 * elf/neededtest4.c: Likewise.
89594 * grp/grp.h: Likewise.
89595 * gshadow/gshadow.h: Likewise.
89596 * iconv/gconv.h: Likewise.
89597 * iconv/gconv_int.h: Likewise.
89598 * iconv/gconv_simple.c: Likewise.
89599 * iconv/iconv.h: Likewise.
89600 * iconv/loop.c: Likewise.
89601 * iconv/skeleton.c: Likewise.
89602 * include/aio.h: Likewise.
89603 * include/aliases.h: Likewise.
89604 * include/argz.h: Likewise.
89605 * include/arpa/inet.h: Likewise.
89606 * include/assert.h: Likewise.
89607 * include/dirent.h: Likewise.
89608 * include/dlfcn.h: Likewise.
89609 * include/execinfo.h: Likewise.
89610 * include/fcntl.h: Likewise.
89611 * include/fenv.h: Likewise.
89612 * include/glob.h: Likewise.
89613 * include/grp.h: Likewise.
89614 * include/libintl.h: Likewise.
89615 * include/mntent.h: Likewise.
89616 * include/netdb.h: Likewise.
89617 * include/pwd.h: Likewise.
89618 * include/rpc/netdb.h: Likewise.
89619 * include/sched.h: Likewise.
89620 * include/search.h: Likewise.
89621 * include/shadow.h: Likewise.
89622 * include/signal.h: Likewise.
89623 * include/stdio.h: Likewise.
89624 * include/stdlib.h: Likewise.
89625 * include/string.h: Likewise.
89626 * include/sys/socket.h: Likewise.
89627 * include/sys/stat.h: Likewise.
89628 * include/sys/statfs.h: Likewise.
89629 * include/sys/statvfs.h: Likewise.
89630 * include/sys/syslog.h: Likewise.
89631 * include/sys/time.h: Likewise.
89632 * include/sys/uio.h: Likewise.
89633 * include/time.h: Likewise.
89634 * include/unistd.h: Likewise.
89635 * include/utmp.h: Likewise.
89636 * include/wchar.h: Likewise.
89637 * include/wctype.h: Likewise.
89638 * inet/aliases.h: Likewise.
89639 * inet/arpa/inet.h: Likewise.
89640 * inet/netinet/ether.h: Likewise.
89641 * inet/netinet/in.h: Likewise.
89642 * intl/libintl.h: Likewise.
89643 * io/bits/fcntl2.h: Likewise.
89644 * io/fcntl.h: Likewise.
89645 * io/ftw.h: Likewise.
89646 * io/sys/poll.h: Likewise.
89647 * io/sys/stat.h: Likewise.
89648 * io/sys/statfs.h: Likewise.
89649 * io/sys/statvfs.h: Likewise.
89650 * io/utime.h: Likewise.
89651 * libio/bits/stdio.h: Likewise.
89652 * libio/bits/stdio2.h: Likewise.
89653 * libio/libio.h: Likewise.
89654 * libio/libioP.h: Likewise.
89655 * libio/stdio.h: Likewise.
89656 * locale/lc-ctype.c: Likewise.
89657 * locale/locale.h: Likewise.
89658 * login/utmp.h: Likewise.
89659 * malloc/arena.c: Likewise.
89660 * malloc/malloc.c: Likewise.
89661 * malloc/malloc.h: Likewise.
89662 * malloc/mcheck.c: Likewise.
89663 * malloc/mtrace.c: Likewise.
89664 * math/bits/mathcalls.h: Likewise.
89665 * math/fenv.h: Likewise.
89666 * math/math_private.h: Likewise.
89667 * misc/bits/error.h: Likewise.
89668 * misc/bits/syslog.h: Likewise.
89669 * misc/err.h: Likewise.
89670 * misc/error.h: Likewise.
89671 * misc/fstab.h: Likewise.
89672 * misc/mntent.h: Likewise.
89673 * misc/regexp.h: Likewise.
89674 * misc/search.h: Likewise.
89675 * misc/sgtty.h: Likewise.
89676 * misc/sys/mman.h: Likewise.
89677 * misc/sys/syslog.h: Likewise.
89678 * misc/sys/uio.h: Likewise.
89679 * misc/sys/xattr.h: Likewise.
89680 * misc/ttyent.h: Likewise.
89681 * nis/rpcsvc/ypclnt.h: Likewise.
89682 * nss/nss.h: Likewise.
89683 * posix/bits/unistd.h: Likewise.
89684 * posix/fnmatch.h: Likewise.
89685 * posix/glob.h: Likewise.
89686 * posix/sched.h: Likewise.
89687 * posix/spawn.h: Likewise.
89688 * posix/sys/wait.h: Likewise.
89689 * posix/unistd.h: Likewise.
89690 * posix/wordexp.h: Likewise.
89691 * pwd/pwd.h: Likewise.
89692 * resolv/netdb.h: Likewise.
89693 * resource/sys/resource.h: Likewise.
89694 * rt/aio.h: Likewise.
89695 * rt/bits/mqueue2.h: Likewise.
89696 * rt/mqueue.h: Likewise.
89697 * shadow/shadow.h: Likewise.
89698 * signal/signal.h: Likewise.
89699 * socket/send.c: Likewise.
89700 * socket/sendto.c: Likewise.
89701 * socket/sys/socket.h: Likewise.
89702 * stdio-common/printf.h: Likewise.
89703 * stdlib/bits/stdlib.h: Likewise.
89704 * stdlib/fmtmsg.h: Likewise.
89705 * stdlib/monetary.h: Likewise.
89706 * stdlib/stdlib.h: Likewise.
89707 * stdlib/ucontext.h: Likewise.
89708 * streams/stropts.h: Likewise.
89709 * string/argz.h: Likewise.
89710 * string/bits/string2.h: Likewise.
89711 * string/string.h: Likewise.
89712 * string/strings.h: Likewise.
89713 * sunrpc/rpc/auth.h: Likewise.
89714 * sunrpc/rpc/auth_des.h: Likewise.
89715 * sunrpc/rpc/clnt.h: Likewise.
89716 * sunrpc/rpc/netdb.h: Likewise.
89717 * sunrpc/rpc/pmap_clnt.h: Likewise.
89718 * sunrpc/rpc/xdr.h: Likewise.
89719 * sysdeps/generic/inttypes.h: Likewise.
89720 * sysdeps/generic/net/if.h: Likewise.
89721 * sysdeps/generic/sys/swap.h: Likewise.
89722 * sysdeps/gnu/net/if.h: Likewise.
89723 * sysdeps/gnu/utmpx.h: Likewise.
89724 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89725 * sysdeps/i386/i486/bits/string.h: Likewise.
89726 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89727 * sysdeps/s390/bits/string.h: Likewise.
89728 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89729 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89730 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89731 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89732 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89733 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89734 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89735 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89736 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89737 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89738 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89739 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89740 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89741 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89742 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89743 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89744 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89747 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89749 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89750 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89751 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89752 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89753 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89754 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89756 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89757 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89758 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89759 * sysvipc/sys/ipc.h: Likewise.
89760 * sysvipc/sys/msg.h: Likewise.
89761 * sysvipc/sys/sem.h: Likewise.
89762 * sysvipc/sys/shm.h: Likewise.
89763 * termios/termios.h: Likewise.
89764 * time/sys/time.h: Likewise.
89765 * time/time.h: Likewise.
89766 * wcsmbs/bits/wchar2.h: Likewise.
89767 * wcsmbs/uchar.h: Likewise.
89768 * wcsmbs/wchar.h: Likewise.
89769 * wctype/wctype.h: Likewise.
89770
89771 [BZ #13551]
89772 * Makeconfig: Remove all but ELF support including AIX support.
89773 * Makerules: Likewise.
89774 * config.h.in: Likewise.
89775 * config.make.in: Likewise.
89776 * configure: Likewise.
89777 * configure.in: Likewise.
89778 * csu/Makefile: Likewise.
89779 * csu/version.c: Likewise.
89780 * debug/Makefile: Likewise.
89781 * dlfcn/Makefile: Likewise.
89782 * elf/Makefile: Likewise.
89783 * extra-lib.mk: Likewise.
89784 * iconv/Makefile: Likewise.
89785 * include/libc-symbols.h: Likewise.
89786 * include/shlib-compat.h: Likewise.
89787 * resolv/Makefile: Likewise.
89788 * resolv/res_libc.c: Likewise.
89789 * rt/Makefile: Likewise.
89790 * sysdeps/i386/asm-syntax.h: Likewise.
89791 * sysdeps/i386/sysdep.h: Likewise.
89792 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89793 * sysdeps/mach/sysdep.h: Likewise.
89794 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89795 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89796 * sysdeps/s390/asm-syntax.h: Likewise.
89797 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89799 * sysdeps/sh/sysdep.h: Likewise.
89800 * sysdeps/unix/sparc/sysdep.h: Likewise.
89801 * sysdeps/wordsize-32/divdi3.c: Likewise.
89802 * sysdeps/x86_64/sysdep.h: Likewise.
89803
89804 * argp/Versions: Remove _argp_unlock_xxx.
89805
89806 [BZ #13559]
89807 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89808 * abilist/libBrokenLocale.abilist: Likewise.
89809 * abilist/libanl.abilist: Likewise.
89810 * abilist/libc.abilist: Likewise.
89811 * abilist/libcrypt.abilist: Likewise.
89812 * abilist/libdl.abilist: Likewise.
89813 * abilist/libm.abilist: Likewise.
89814 * abilist/libnsl.abilist: Likewise.
89815 * abilist/libpthread.abilist: Likewise.
89816 * abilist/libresolv.abilist: Likewise.
89817 * abilist/librt.abilist: Likewise.
89818 * abilist/libthread_db.abilist: Likewise.
89819 * abilist/libutil.abilist: Likewise.
89820 * abilist/libnss_db.abilist: New file.
89821
89822 * scripts/abilist.awk: Add support for indirect functions.
89823
89824 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89825
89826 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89827
89828 * shlib-versions: Remove entries for ports architectures.
89829
89830 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89831 files in ports.
89832 * elf/stackguard-macros.h: Remove support for IA-64.
89833 * elf/tst-auditmod1.c: Likewise.
89834 * sysdeps/generic/ldsodefs.h: Likewise.
89835
89836 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89837 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89838 configure files.
89839
89840 [BZ #13552]
89841 * configure.in: Remove --enable-omitfp support.
89842 * FAQ.in: Adjust.
89843 * config.make.in: Likewise.
89844 * Makeconfig: Likewise.
89845 * manual/install.texi: Likewise.
89846
89847 In case anyone cares, the IA-64 architecture could move to ports.
89848 * sysdeps/ia64/*: Removed.
89849 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89850 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89851
89852 [BZ #13555]
89853 * configure.in: Remove entries for unsupported architectures.
89854
89855 [BZ #13533]
89856 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89857 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89858 routines.
89859 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89860 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89861 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89862 fall back to using wcrtomb.
89863 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89864 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89865 renaming.
89866 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89867 * wcsmbs/tst-c16c32-1.c: New file.
89868
89869 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89870 local variable.
89871
89872 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89873
89874 * elf/tst-unique3.cc: Add explicit declaration of gets.
89875 * elf/tst-unique3lib.cc: Likewise.
89876 * elf/tst-unique3lib2.cc: Likewise.
89877 * elf/tst-unique4.cc: Likewise.
89878
89879 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89880
89881 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89882
89883 [BZ #13566]
89884 * assert/assert.h (static_assert): Don't define for C++.
89885 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89886 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89887
89888 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89889
89890 * iconv/loop.c (single loop): Fix assertion in storing of
89891 remaining bytes.
89892
89893 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89894
89895 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89896
89897 * posix/getconf.c: Update copyright year.
89898 * nss/getent.c: Likewise.
89899 * nss/makedb.c: Likewise.
89900 * iconv/iconvconfig.c: Likewise.
89901 * iconv/iconv_prog.c: Likewise.
89902 * elf/ldconfig.c: Likewise.
89903 * elf/pldd.c: Likewise.
89904 * elf/sotruss.ksh: Likewise.
89905 * catgets/gencat.c: Likewise.
89906 * csu/version.c: Likewise.
89907 * elf/ldd.bash.in: Likewise.
89908 * elf/sprof.c (print_version): Likewise.
89909 * locale/programs/locale.c: Likewise.
89910 * locale/programs/localedef.c: Likewise.
89911 * login/programs/pt_chown.c: Likewise.
89912 * nscd/nscd.c (print_version): Likewise.
89913 * debug/xtrace.sh: Likewise.
89914 * malloc/memusage.sh: Likewise.
89915 * malloc/mtrace.pl: Likewise.
89916 * debug/catchsegv.sh: Likewise.
89917
89918 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89919
89920 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89921 pure attribute.
89922
89923 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89924
89925 [BZ #13533]
89926 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89927 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89928 transformations.
89929 * iconv/gconv_int.h: Likewise.
89930 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89931 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89932 from libc for GLIBC_2.16.
89933 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89934 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89935 * wcsmbs/uchar.h: Really define mbstate_t.
89936 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89937 * wcsmbs/c16rtomb.c: New file.
89938 * wcsmbs/mbrtoc16.c: New file.
89939 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89940 for C/POSIX locale.
89941 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89942 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89943
89944 * wcsmbs/wchar.h: Add missing __restrict.
89945
89946 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89947
89948 [BZ #13532]
89949 * time/Makefile (routines): Add timespec_get.
89950 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89951 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89952 timespec for ISO C11.
89953 * time/timespec_get.c: New file.
89954 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89955 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89956
89957 [BZ #13531]
89958 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89959 * stdlib/stdlib.h: Declare aligned_alloc.
89960 * Versions.def: Add GLIBC_2.16 for libc.
89961 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89962
89963 [BZ 13527]
89964 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89965 ISO C11.
89966
89967 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89968 code.
89969
89970 [BZ #13528]
89971 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89972
89973 [BZ #13529]
89974 * assert/assert.h (static_assert): Define.
89975
89976 * version.h: Update for 2.16 development version.
89977
89978 [BZ #13526]
89979 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89980 _ISOC11_SOURCE.
89981
89982 * version.h (RELEASE): Bump for 2.15 release.
89983 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89984
89985 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89986 Patch by Marek Polacek <mpolacek@redhat.com>.
89987
89988 * bits/byteswap.h: Protect long long constants with __extension__.
89989 * sysdeps/i386/bits/byteswap.h: Likewise.
89990 * sysdeps/ia64/bits/byteswap.h: Likewise.
89991 * sysdeps/s390/bits/byteswap.h: Likewise.
89992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89993
89994 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89995
89996 [BZ #13540]
89997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89998 destination buffer.
89999 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
90000
90001 2011-12-23 Marek Polacek <polacek@redhat.com>
90002
90003 * elf/dl-addr.c (determine_info): Add inline keyword.
90004 * elf/tst-auditmod4b.c (check_avx): Likewise.
90005 * elf/tst-auditmod6b.c (check_avx): Likewise.
90006 * elf/tst-auditmod6c.c (check_avx): Likewise.
90007 * elf/tst-auditmod7b.c (check_avx): Likewise.
90008
90009 2011-12-23 Ulrich Drepper <drepper@gmail.com>
90010
90011 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
90012 !__SSE_MATH__.
90013
90014 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90015
90016 [BZ #13540]
90017 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
90018 processing for last bytes.
90019
90020 2011-08-06 Bruno Haible <bruno@clisp.org>
90021
90022 [BZ #13061]
90023 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
90024 U+0385, not to U+1FEE.
90025
90026 [BZ #13062]
90027 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
90028 entry for U+00A5 U+0301.
90029
90030 2011-12-22 Ulrich Drepper <drepper@gmail.com>
90031
90032 [BZ #13166]
90033 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
90034 buffer for the output is too small.
90035
90036 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
90037 optimization.
90038
90039 [BZ #13185]
90040 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
90041 SSE flags if possible.
90042
90043 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90044
90045 [BZ #13540]
90046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
90047 processing for last bytes.
90048
90049 2011-12-22 Joseph Myers <joseph@codesourcery.com>
90050
90051 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
90052 (syscall-list-default-options, syscall-list-default-condition)
90053 (syscall-list-includes): Define.
90054 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
90055 list of ABIs and options and #if conditions for each ABI. Do not
90056 handle common syscalls between ABIs specially.
90057 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
90058 Remove.
90059 (syscall-list-variants, syscall-list-32bit-options)
90060 (syscall-list-32bit-condition, syscall-list-64bit-options)
90061 (syscall-list-64bit-condition): Define.
90062 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
90063 (syscall-list-variants, syscall-list-32bit-options)
90064 (syscall-list-32bit-condition, syscall-list-64bit-options)
90065 (syscall-list-64bit-condition): Define.
90066 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
90067 Remove.
90068 (syscall-list-variants, syscall-list-32bit-options)
90069 (syscall-list-32bit-condition, syscall-list-64bit-options)
90070 (syscall-list-64bit-condition): Define.
90071 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
90072 Remove.
90073 (syscall-list-variants, syscall-list-32bit-options)
90074 (syscall-list-32bit-condition, syscall-list-64bit-options)
90075 (syscall-list-64bit-condition): Define.
90076
90077 2011-12-22 Ulrich Drepper <drepper@gmail.com>
90078
90079 * locale/iso-639.def: Add brx entry.
90080
90081 [BZ #13328]
90082 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
90083 Proposed by Mariusz_Cukr <marcukr@op.pl>.
90084
90085 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
90086 __feraiseexcept_renamed.
90087
90088 2011-12-21 Ulrich Drepper <drepper@gmail.com>
90089
90090 [BZ #13538]
90091 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
90092 EPOLLET with unsigned values.
90093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
90094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
90095
90096 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
90097 to large cancellation.
90098 * math/s_cacoshf.c: Likewise.
90099 * math/s_cacoshl.c: Likewise.
90100
90101 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
90102
90103 [BZ #13305]
90104 [BZ #12786]
90105 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
90106 * math/s_cacoshf.c: Likewise.
90107 * math/s_cacoshl.c: Likewise.
90108
90109 2011-12-21 Ulrich Drepper <drepper@gmail.com>
90110
90111 [BZ #13439]
90112 * iconv/gconv.h: Define __GCONV_SWAP.
90113 * iconvdata/unicode.c: The swap bit must be stored in __flags.
90114 * iconvdata/utf-16.c: Likewise.
90115 * iconvdata/utf-32.c: Likewise.
90116
90117 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
90118
90119 [BZ #13524]
90120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
90121 numerator after shifting it by one limb.
90122
90123 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
90124
90125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
90126 under [__USE_EXTERN_INLINES].
90127
90128 2011-12-17 Ulrich Drepper <drepper@gmail.com>
90129
90130 [BZ #13446]
90131 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
90132
90133 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90134
90135 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
90136 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
90137 optimized code.
90138 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
90139 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
90140 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
90141 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
90142 for strncasecmp/strncasecmp_l compilation.
90143 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
90144 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
90145
90146 2011-12-08 Marek Polacek <mpolacek@redhat.com>
90147
90148 [BZ #13484]
90149 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90150 of __asm__.
90151
90152 2011-12-17 Ulrich Drepper <drepper@gmail.com>
90153
90154 [BZ #13506]
90155 * time/tzfile.c (__tzfile_read): Check values from file header.
90156
90157 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
90158
90159 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90160 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90161 * powerpc/powerpc32/dl-start.S: Likewise.
90162 * powerpc/powerpc32/elf/start.S: Likewise.
90163 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90164 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90165 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90166 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90167 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90168 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90169 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90170 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90171 * powerpc/powerpc32/fpu/s_round.S: Likewise.
90172 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90173 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90174 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90175 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90176 * powerpc/powerpc32/memset.S: Likewise.
90177 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90178 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90179 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90180 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90181 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90182 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90183 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90184 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90185 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90186 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90188 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90189 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90190
90191 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90192
90193 * math/libm-test.inc: Added more nearbyint tests.
90194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90195 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90198
90199 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
90200
90201 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90202 FD_CLOEXEC.
90203
90204 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90205
90206 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90207 Add wcscpy-ssse3 wcscpy-c.
90208 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90209 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90210 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90211 * sysdeps/x86_64/wcschr.S: New file.
90212 * sysdeps/x86_64/wcsrchr.S: New file.
90213 * string/test-strcmp.c: Remove checking of wcscmp function for
90214 wrong alignments.
90215 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90216 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90217 wcsrchr-sse2 wcsrchr-c.
90218 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90219 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90220 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90221 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90222 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90223 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90224 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90225 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90226 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90227 * wcsmbc/wcschr.c (WCSCHR): New macro.
90228
90229 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90230
90231 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90232 * wcsmbs/test-wcsrchr.c: New file.
90233 * string/test-strrchr.c: Add wcsrchr support.
90234 (WIDE): New macro.
90235 * wcsmbs/test-wcscpy.c: New file.
90236 * string/test-strcpy.c: Add wcscpy support.
90237 (WIDE): New macro.
90238
90239 2011-12-10 Ulrich Drepper <drepper@gmail.com>
90240
90241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90242 the inner loop.
90243
90244 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
90245
90246 [BZ #13472]
90247 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90248
90249 2011-12-04 Ulrich Drepper <drepper@gmail.com>
90250
90251 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90252 Minor optimizations.
90253
90254 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90255 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90256 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90257
90258 2011-12-03 Ulrich Drepper <drepper@gmail.com>
90259
90260 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90261 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90262 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90263 for gcc to avoid warnings.
90264 * inet/Makefile (tests): Add tst-checks.
90265 * inet/tst-checks.c: New file.
90266
90267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90268 warning.
90269
90270 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90271 __wmemcmp_sse2.
90272
90273 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90274 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90275
90276 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90277
90278 2011-12-02 Ulrich Drepper <drepper@gmail.com>
90279
90280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90281 problem.
90282
90283 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90284
90285 2011-11-29 Joseph Myers <joseph@codesourcery.com>
90286
90287 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90288 conditional on GCC version.
90289 (__arch_compare_and_exchange_val_8_acq)
90290 (__arch_compare_and_exchange_val_16_acq)
90291 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90292 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90293 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90294
90295 2011-12-02 Joseph Myers <joseph@codesourcery.com>
90296
90297 * sysdeps/sh/backtrace.c: New file.
90298
90299 2011-12-02 Andreas Schwab <schwab@redhat.com>
90300
90301 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
90302 parenthesis.
90303
90304 2011-12-01 Andreas Schwab <schwab@redhat.com>
90305
90306 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90307 falling back to utime.
90308
90309 2011-11-30 Andreas Schwab <schwab@redhat.com>
90310
90311 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90312 expectations for float.
90313
90314 2011-11-29 Andreas Schwab <schwab@redhat.com>
90315
90316 * locale/weight.h (findidx): Add parameter len.
90317 * locale/weightwc.h (findidx): Likewise.
90318 * posix/fnmatch_loop.c (FCT): Adjust caller.
90319 * posix/regcomp.c (build_equiv_class): Likewise.
90320 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90321 * posix/regexec.c (check_node_accept_bytes): Likewise.
90322 * string/strcoll_l.c (STRCOLL): Likewise.
90323 * string/strxfrm_l.c (STRXFRM): Likewise.
90324
90325 2011-11-17 Ulrich Drepper <drepper@gmail.com>
90326
90327 * Makefile.in: Remove CVSOPT handling.
90328 * configure.in: Remove use of AC_REVISION.
90329 * iconvdata/Makefile (distribute): No need to filter out CVS.
90330 * scripts/list-sources.sh: Remove CVS, subversion and monotone
90331 handling.
90332
90333 2011-11-16 Andreas Schwab <schwab@redhat.com>
90334
90335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90336 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90337 [USE_AS_STRNCASECMP_L]: Likewise.
90338 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90339 NO_TLS_DIRECT_SEG_REFS.
90340 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90341 Fix argument offsets for non-PIC.
90342 [USE_AS_STRNCASECMP_L]: Likewise.
90343 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90344 NO_TLS_DIRECT_SEG_REFS.
90345
90346 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90347
90348 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90349 O_CLOEXEC.
90350 * locale/loadlocale.c (_nl_load_locale): Likewise.
90351
90352 2011-11-15 Andreas Schwab <schwab@redhat.com>
90353
90354 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90355 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90356 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90357 (SYSCALL_GETTIME): Set errno on error.
90358
90359 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90360 count references to noai6ai_cached.
90361
90362 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90363
90364 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90365
90366 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90367 FD_CLOEXEC for /proc/self/maps.
90368
90369 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90370 FD_CLOEXEC for /proc/meminfo.
90371
90372 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90373 gai.conf.
90374
90375 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90376 FD_CLOEXEC for given file.
90377
90378 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90379
90380 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90381 FD_CLOEXEC for /etc/hosts.
90382 (_gethtent): Likewise.
90383
90384 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90385
90386 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90387 cancellation and set FD_CLOEXEC for /etc/netgroup.
90388
90389 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90390 reading /etc/publickey.
90391
90392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90393 allow cancellation when reading /etc/group.
90394
90395 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90396 cancellation.
90397 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
90398
90399 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90400 when using data file.
90401
90402 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90403
90404 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90405 (write_nis_obj): Use "c" and "e" in fopen.
90406
90407 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90408
90409 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90410
90411 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90412
90413 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90414
90415 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90416 locale.alias.
90417
90418 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90419
90420 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90421
90422 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90423
90424 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90425 file parsing and set FD_CLOEXEC.
90426
90427 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90428
90429 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90430
90431 2011-11-14 Andreas Schwab <schwab@redhat.com>
90432
90433 * malloc/arena.c (arena_get2): Don't call reused_arena when
90434 _int_new_arena failed.
90435
90436 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90437
90438 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90439 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90441 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90442 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90444 to compile strcasecmp and strncasecmp.
90445 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90446 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90447
90448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90449
90450 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90451
90452 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90453 locale-defines.sym to gen-as-const-headers.
90454 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90455 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90457 to compile strcasecmp and strncasecmp.
90458 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90459 strcasecmp_l and strncasecmp_l.
90460 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90461 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90462 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90463 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90464 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90465 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90466 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90467 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90468 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90469 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90470 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90471
90472 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90473
90474 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90475 result of SYSDEP_GETTIME_CPU to retval.
90476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90477 parameter list to macro. Remove trailing semicolon. Adjust users.
90478
90479 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90480 variable.
90481
90482 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90483 mantissa words.
90484 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90485
90486 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90487 from unused variable.
90488
90489 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90490 DWARF definitions.
90491 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90492 for assembling.
90493
90494 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90495 over namespaces.
90496
90497 * sunrpc/rpc_prot.c (rejected): Fix case value.
90498
90499 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90500 unsigned long long int to avoid warnings in shift.
90501
90502 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90503 of use of trans.
90504 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90505 variable tmp.
90506
90507 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90508 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90509 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90510
90511 * nis/nis_table.c (nis_list): Use variable of correct type for
90512 result of __follow_path call.
90513
90514 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90515
90516 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90517 of math functions ceil, trunc, floor, round, and sqrt, when
90518 avaliable on the platform.
90519 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90520 name clash.
90521 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90522 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90523 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90524
90525 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90526
90527 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90529
90530 2011-11-11 Roland McGrath <roland@hack.frob.com>
90531
90532 * include/unistd.h: Fix __readlink return type.
90533 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90534
90535 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90536
90537 * stdlib/ucontext.h: Undo last change for makecontext.
90538
90539 2011-11-11 Andreas Schwab <schwab@redhat.com>
90540
90541 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90542
90543 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90544 * setjmp/setjmp.h: Mark functions as non-leaf.
90545 * setjmp/bits/setjmp2.h: Likewise.
90546 * stdlib/ucontext.h: Likewise.
90547
90548 2011-11-10 Andreas Schwab <schwab@redhat.com>
90549
90550 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90551 (reused_arena): Don't check arena limit.
90552 (arena_get2): Atomically check arena limit.
90553
90554 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90555
90556 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90557 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90558
90559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90560 instructions.
90561
90562 2011-11-07 Andreas Schwab <schwab@redhat.com>
90563
90564 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90565 handler when locking.
90566
90567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90568 Fix size of allocated buffer.
90569
90570 2011-11-04 Andreas Schwab <schwab@redhat.com>
90571
90572 [BZ #10103]
90573 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90574 declarations for long double functions.
90575 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90576
90577 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90578
90579 2011-11-03 Andreas Schwab <schwab@redhat.com>
90580
90581 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90582 installed.
90583
90584 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90585 is disabled.
90586
90587 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90588
90589 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90590
90591 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90592
90593 * include/alloca.h (stackinfo_alloca_round): Define.
90594 (extend_alloca): Use it.
90595 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90596 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90597 here.
90598
90599 * scripts/check-local-headers.sh: Ignore libaudit.h.
90600
90601 * nscd/Makefile (extra-objs): Make recursively expanded.
90602
90603 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90604
90605 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90607
90608 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90609 * posix/tst-rfc3484-2.c: Likewise.
90610 * posix/tst-rfc3484-3.c: Likewise.
90611
90612 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90613 process_vm_writev.
90614 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90615 process_vm_writev.
90616 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90617 process_vm_writev from libc using GLIBC_2.15 version.
90618
90619 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90620
90621 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90622
90623 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90624 stack usage.
90625
90626 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90627
90628 [BZ #13367]
90629 * nss/getent.c (initgroups_keys): Show error message in case no group
90630 names are given.
90631
90632 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90633 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90634 __bump_nl_timestamp.
90635 * nscd/connections (nscd_init): When host database is served open
90636 netlink socket and request notification about configuration changes.
90637 (main_loop_poll): Track netlink file descriptor and bump timestamp
90638 in case data becomes available.
90639 (main_loop_epoll): Likewise.
90640 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90641 (database_pers_head): Add extra_data fileds.
90642 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90643 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90644 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90645 Adjust caller.
90646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90647 in6ai data, call __free_in6ai.
90648 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90649 Add -DHAVE_NETLINK.
90650 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90651 interface information. Reuse previous data if netlink timestamp
90652 is not changed.
90653 (__bump_nl_timestamp): New function.
90654 (__free_in6ai): New function.
90655
90656 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90657
90658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90659 close_not_cancel_no_status here.
90660 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90661
90662 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90663
90664 [BZ #13276]
90665 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90666 return value.
90667
90668 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90669 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90670 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90671
90672 2011-07-03 Andreas Jaeger <aj@suse.de>
90673
90674 [BZ #10709]
90675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90676 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90677 * math/libm-test.inc (sin_test): Add test case.
90678
90679 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90680
90681 [BZ #13337]
90682 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90683 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90684
90685 * elf/chroot_canon.c (chroot_canon): Cleanups.
90686
90687 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90688
90689 [BZ #13335]
90690 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90691 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90692
90693 * string/test-strchr.c: Make usable for strchrnul testing.
90694 * string/test-strchrnul.c: New file.
90695 * string/Makefile (strop-tests): Add strchrnul.
90696
90697 * po/it.po: Update from translation team.
90698 * po/es.po: Likewise.
90699
90700 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90701
90702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90703 the three constants needed as parameters. Drop the others.
90704 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90705 __m128i_strloadu_tolower.
90706 Create and initialize variable zero and use it in all the places
90707 where _mm_setzero_si128 was used.
90708
90709 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90710 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90711 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90713 anymore.
90714 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90715 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90716 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90717 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90718 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90719 __mpranred, __mptan.
90720 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90721 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90722 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90723 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90724 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90725 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90727 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90728 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90729
90730 2011-10-28 Andreas Schwab <schwab@redhat.com>
90731
90732 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90733 redefine if SHARED.
90734 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90735
90736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90737 wide char related routines to wcsmbs subdir.
90738
90739 2011-10-27 Andreas Schwab <schwab@redhat.com>
90740
90741 [BZ #13344]
90742 * misc/sys/cdefs.h (__THROWNL): Define.
90743 * posix/unistd.h: Use __THREADNL instead of __THREAD
90744 for memory synchronization functions.
90745
90746 2011-10-26 Roland McGrath <roland@hack.frob.com>
90747
90748 [BZ #13349]
90749 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90750 doesn't exist.
90751 * manual/stdio.texi (Obstack Streams): Node removed.
90752
90753 2011-10-26 Andreas Schwab <schwab@redhat.com>
90754
90755 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90758
90759 * math/math_private.h (math_force_eval): Allow non-addressable
90760 arguments.
90761 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90762
90763 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90764
90765 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90766 file is not needed.
90767
90768 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90770 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90771 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90775 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90776 Add AVX variants.
90777 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90778 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90779 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90780 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90781 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90782 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90783 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90785 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90786 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90787 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90788 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90789 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90790 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90791 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90792 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90793 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90794 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90795 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90796
90797 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90798 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90799
90800 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90801 place. Use VEX encoding when compiling for AVX.
90802
90803 2011-10-25 Andreas Schwab <schwab@redhat.com>
90804
90805 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90806 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90807
90808 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90809
90810 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90811
90812 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90813 useless if() expression.
90814 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90815 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90820 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90822 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90826 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90828 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90829 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90831 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90832 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90833
90834 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90835
90836 2011-10-25 Andreas Schwab <schwab@redhat.com>
90837
90838 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90839 condition.
90840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90841
90842 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90843
90844 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90845 .text section. Avoid duplicate constants.
90846 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90854 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90855 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90856 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90857 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90858 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90859 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90860 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90863 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90864 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90866 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90867 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90868 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90873 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90875 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90877 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90878 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90879 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90880 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90881 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90882 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90884 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90885 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90886 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90887 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90888 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90889 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90890 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90891
90892 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90893
90894 * sysdeps/x86_64/dla.h: Move to ...
90895 * sysdeps/x86_64/fpu/dla.h: ...here.
90896 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90897 situations. Use __builtin_fma only for gcc 4.6 and up.
90898
90899 * config.make.in: Add have-mfma4 entry.
90900 * configure.in: Substitute libc_cv_cc_fma4.
90901 * math/Makefile (dbl-only-routines): Add sincostab.
90902 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90903 Use __sincostab not sincos.
90904 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90905 name is a macro.
90906 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90910 using __copysign.
90911 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90912 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90913 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90914 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90915 and __inv.
90916 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90917 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90918 __copysign.
90919 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90920 define aliases when function name is a macro.
90921 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90922 sysdeps/ieee754/dbl-64/sincos.tbl.
90923 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90924 fma4-enabled routines.
90925 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90926 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90927 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90928 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90930 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90932 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90934 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90935 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90936 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90937 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90938 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90940 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90941 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90943 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90945 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90950 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90951 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90952 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90954 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90955
90956 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90957 rename.
90958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90966
90967 2011-10-24 Andreas Schwab <schwab@redhat.com>
90968
90969 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90970
90971 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90972
90973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90974
90975 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90976 prediction.
90977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90978
90979 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90980 Remove unused variable magic_bits.
90981 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90982
90983 * string/strnlen.c: Define and use STRNLEN macro.
90984 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90985 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90987 * wcsmbs/wcslen.c: Define and use WCSLEN.
90988 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90989 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90990 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90991 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90992 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90993 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90994 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90995
90996 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90997
90998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90999 strnlen-sse2-no-bsf.
91000 Rename strlen-no-bsf to strlen-sse2-no-bsf.
91001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
91002 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
91003 Add strnlen support.
91004 (USE_AS_STRNLEN): New macro.
91005 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
91006 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
91007 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
91008 * sysdeps/x86_64/wcslen.S: New file.
91009
91010 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
91011
91012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
91013 XMM-moves are used for copying on small sizes.
91014
91015 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91016
91017 * wcsmbs/Makefile (strop-tests): Add wcschr.
91018 * wcsmbs/test-wcschr.c: New file.
91019 * string/test-strchr.c: Update.
91020 Add wcschr support.
91021 (WIDE): New macro.
91022
91023 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91024
91025 * wcsmbs/Makefile (strop-tests): Add wcslen.
91026 * wcsmbs/test-wcslen.c: New file.
91027 * string/test-strlen.c: Update.
91028 Add wcslen support.
91029 (WIDE): New macro.
91030
91031 2011-10-23 Ulrich Drepper <drepper@gmail.com>
91032
91033 * po/it.po: Update from translation team.
91034
91035 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91036
91037 * sysdeps/x86_64/wcscmp.S: Update.
91038 Fix wrong comparison semantics.
91039 wcscmp shall use signed comparison not unsigned.
91040 Don't use substraction to avoid overflow bug.
91041 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
91042 * wcsmbc/wcscmp.c: Likewise.
91043 * string/test-strcmp.c: Likewise.
91044 Add new tests to check cases with negative values.
91045
91046 2011-10-23 Ulrich Drepper <drepper@gmail.com>
91047
91048 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
91049 * sysdeps/x86_64/dla.h: ...here. New file.
91050 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
91051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91057 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91059
91060 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
91061
91062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
91063 __ynl_finite aliases.
91064
91065 2011-10-22 Ulrich Drepper <drepper@gmail.com>
91066
91067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
91068
91069 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
91070 define DLA_FMA.
91071 [DLA_FMA] (EMULV): Use DLA_FMA.
91072 [DLA_FMA] (MUL12): Use EMULV.
91073 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
91074 that are not needed.
91075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91082
91083 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
91084
91085 * math/s_nan.c: Undef __nan.
91086 * math/s_nanf.c: Undef __nanf.
91087 * math/s_nanl.c: Undef __nanl.
91088 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
91089 "math_private.h".
91090
91091 2011-10-22 Ulrich Drepper <drepper@gmail.com>
91092
91093 * math/s_catan.c: Add branch predictions.
91094 * math/s_catanf.c: Likewise.
91095 * math/s_catanh.c: Likewise.
91096 * math/s_catanhf.c: Likewise.
91097 * math/s_catanhl.c: Likewise.
91098 * math/s_catanl.c: Likewise.
91099 * math/s_cexp.c: Likewise.
91100 * math/s_cexpf.c: Likewise.
91101 * math/s_cexpl.c: Likewise.
91102 * math/s_clog.c: Likewise.
91103 * math/s_clog10.c: Likewise.
91104 * math/s_clog10f.c: Likewise.
91105 * math/s_clog10l.c: Likewise.
91106 * math/s_clogf.c: Likewise.
91107 * math/s_clogl.c: Likewise.
91108 * math/s_csqrt.c: Likewise.
91109 * math/s_csqrtf.c: Likewise.
91110 * math/s_csqrtl.c: Likewise.
91111 * math/s_ctanf.c: Likewise.
91112 * math/s_ctanh.c: Likewise.
91113 * math/s_ctanhf.c: Likewise.
91114 * math/s_ctanhl.c: Likewise.
91115 * math/s_ctanl.c: Likewise.
91116
91117 * math/math_private.h: Define __nan, __nanf, __nanl.
91118 * math/s_cacosh.c: Include <math_private.h>.
91119 * math/s_cacoshl.c: Likewise.
91120 * math/s_casinh.c: Likewise.
91121 * math/s_casinhf.c: Likewise.
91122 * math/s_casinhl.c: Likewise.
91123 * math/s_ccos.c: Rely entire on ccosh.
91124 * math/s_ccosf.c: Rely entire on ccoshf.
91125 * math/s_ccosl.c: Rely entirely on ccoshl.
91126 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
91127 Remove tests for FE_INVALID.
91128 * math/s_ccoshf.c: Likewise.
91129 * math/s_ccoshl.c: Likewise.
91130 * math/s_csin.c: Likewise.
91131 * math/s_csinf.c: Likewise.
91132 * math/s_csinh.c Likewise.
91133 * math/s_csinhf.c: Likewise.
91134 * math/s_csinhl.c: Likewise.
91135 * math/s_csinl.c: Likewise.
91136 * math/s_ctan.c: Likewise.
91137 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
91138 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
91139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
91140
91141 2011-10-21 Ulrich Drepper <drepper@gmail.com>
91142
91143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
91144 compilation problems.
91145
91146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
91147 __builtin_expect.
91148
91149 2011-10-20 Ulrich Drepper <drepper@gmail.com>
91150
91151 * sysdeps/i386/configure.in: Test for -mfma4 option.
91152 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91153 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91154 COMMON_CPUID_INDEX_80000001.
91155 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91156 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91157 use it if FMA3 is not supported.
91158 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91159
91160 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91161 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91162
91163 2011-10-20 Andreas Schwab <schwab@redhat.com>
91164
91165 [BZ #12892]
91166 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91167 it would create a cycle with a link time dependency.
91168
91169 2011-10-19 Ulrich Drepper <drepper@gmail.com>
91170
91171 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91172 instruction.
91173 * string/Makefile (strop-tests): Add rawmemchr.
91174 * string/test-rawmemchr.c: New file.
91175
91176 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
91178 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
91179 when compiling str{,n}casecmp and when AVX is available. Hook up
91180 new optimized code in initializers.
91181
91182 2011-10-19 Andreas Schwab <schwab@redhat.com>
91183
91184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91185 __feraiseexcept instead of feraiseexcept.
91186
91187 2011-10-18 Ulrich Drepper <drepper@gmail.com>
91188
91189 * math/math_private.h: Define defaults for libc_fetestexcept and
91190 libc_feupdateenv.
91191 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91192 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91193 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91194 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91196 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91197 libc_fetestexcept and libc_feupdateenv.
91198
91199 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91200 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91201 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91202 * sysdeps/x86_64/fpu/math_private.h: Define special version of
91203 libc_feholdexcept_setround.
91204
91205 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91206 Add s_nearbyint-c and s_nearbyintf-c.
91207 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91208 nearbyintf inlines.
91209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91210 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91211 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91212 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91213
91214 * math/math_private.h: Define defaults for libc_fegetround,
91215 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91216 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91217 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91219 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91220 standard functions.
91221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91222 Remove comments and hacks for old compiler versions.
91223 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91224 libc_fegetround, libc_fesetround, libc_feholdexcept, and
91225 libc_feholdexceptl.
91226
91227 2011-10-18 Andreas Schwab <schwab@redhat.com>
91228
91229 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91230 (__feraiseexcept_renamed): Add __NTH.
91231 (feraiseexcept): Add __NTH. Rename local variables to fix
91232 namespace violations.
91233
91234 2011-10-17 Ulrich Drepper <drepper@gmail.com>
91235
91236 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91237
91238 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91239
91240 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91241 recently added interfaces.
91242 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91243
91244 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91245 about macro parameter expansion.
91246
91247 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91248 __NO_MATH_INLINES is defined. Cleanups.
91249
91250 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91251 and __floorf is target has SSE4.1.
91252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91255 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91256
91257 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91258 name.
91259 (floorf): Likewise.
91260
91261 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91262
91263 2011-10-17 Andreas Schwab <schwab@redhat.com>
91264
91265 * misc/sys/cdefs.h: Fix last change.
91266
91267 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91268 database lookup.
91269
91270 2011-10-16 Ulrich Drepper <drepper@gmail.com>
91271
91272 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91273
91274 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91276 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91277 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91279 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91280 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91281 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91282 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91283 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91284 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91285 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91286 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91287 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91288 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91289 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91291 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91292 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91293 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91294 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91295 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91296
91297 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91298 ceil, ceilf, floor, floorf.
91299
91300 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91301 Perform IRELATIVE relocations last.
91302
91303 * elf/do-rel.h: Add another parameter nrelative, replacing the
91304 local variable with the same name. Change name of the function
91305 to end in Rel or Rela (uppercase).
91306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91307 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
91308 elf_dynamic_do_##reloc function.
91309
91310 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91311
91312 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91313 is sufficient, at least on modern CPUs.
91314
91315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91316
91317 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91319
91320 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91321 __expl_finite.
91322 * math/bits/math-finite.h: Add entries for exp.
91323 * math/e_expl.c: Add __*_finite alias.
91324 * sysdeps/i386/fpu/e_exp.S: Likewise.
91325 * sysdeps/i386/fpu/e_expf.S: Likewise.
91326 * sysdeps/i386/fpu/e_expl.c: Likewise.
91327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91328 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91329 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91331 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91334
91335 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91336 is sufficient, at least on modern CPUs.
91337
91338 * ctype/ctype-info.c (__ctype_init): Define.
91339 * include/ctype.h (__ctype_init): Declare.
91340 (__ctype_b_loc): The variable is always initialized.
91341 (__ctype_toupper_loc): Likewise.
91342 (__ctype_tolower_loc): Likewise.
91343 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91344 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91345
91346 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
91347
91348 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91349
91350 * configure.in: Also look in $cxxmachine/include for C++ system
91351 headers.
91352
91353 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91354
91355 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91356 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91357 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91358 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
91359 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91360 (USE_AS_WMEMCMP): New macro.
91361 Fixing indents.
91362 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91363 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91364 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91365 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91367 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91368 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91370 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91371 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91372 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91373 (USE_AS_WMEMCMP): New macro.
91374 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91375 * sysdeps/string/test-memcmp.c: Update.
91376 Fix simple_wmemcmp.
91377 Add new tests.
91378 * wcsmbs/wmemcmp.c: Update.
91379 (WMEMCMP): New macro.
91380 Fix overflow bug.
91381
91382 2011-10-12 Andreas Jaeger <aj@suse.de>
91383
91384 [BZ #13268]
91385 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91386
91387 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91388
91389 * libio/iofwide.c (do_length): Avoid warning.
91390
91391 * ctype/ctype.h (__isctype_f): Add missing __THROW.
91392
91393 2011-10-14 Ulrich Drepper <drepper@gmail.com>
91394
91395 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91396
91397 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91398 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91399 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91400 * sysdeps/i386/i686/fpu/e_log.S: New file.
91401 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91402 * sysdeps/i386/i686/fpu/e_logl.S: New file.
91403
91404 * ctype/ctype.h: Add support for inlined isXXX functions when
91405 compiling C++ code.
91406
91407 2011-10-14 Andreas Schwab <schwab@redhat.com>
91408
91409 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91410
91411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91412
91413 2011-10-13 Roland McGrath <roland@hack.frob.com>
91414
91415 [BZ #13291]
91416 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91417
91418 2011-10-13 Andreas Schwab <schwab@redhat.com>
91419
91420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91421 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91422 feraiseexcept.
91423
91424 * sysdeps/x86_64/memrchr.S: Check for zero size.
91425
91426 * string/stratcliff.c: Add memrchr tests.
91427
91428 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91429
91430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91431 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91432 rawmemchr-sse2 rawmemchr-sse2-bsf.
91433 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91434 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91435 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91436 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91437 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91438 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91439 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91440 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91441 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91442 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91443 * string/memrchr.c (MEMRCHR): New macro.
91444
91445 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91446
91447 Add integration with gcc's -ffinite-math-only and optimize wrapper
91448 functions in libm.
91449 * Versions.def: Define GLIBC_2.15 version for libm.
91450 * math/Makefile (headers): Add bits/math-finite.h.
91451 * math/bits/math-finite.h: New file.
91452 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91453 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91454 * math/e_acoshl.c: Add __*_finite alias.
91455 * math/e_acosl.c: Likewise.
91456 * math/e_asinl.c: Likewise.
91457 * math/e_atan2l.c: Likewise.
91458 * math/e_atanhl.c: Likewise.
91459 * math/e_coshl.c: Likewise.
91460 * math/e_exp10.c: Likewise.
91461 * math/e_exp10f.c: Likewise.
91462 * math/e_exp10l.c: Likewise.
91463 * math/e_exp2l.c: Likewise.
91464 * math/e_fmodl.c: Likewise.
91465 * math/e_gammal_r.c: Likewise.
91466 * math/e_hypotl.c: Likewise.
91467 * math/e_j0l.c: Likewise.
91468 * math/e_j1l.c: Likewise.
91469 * math/e_jnl.c: Likewise.
91470 * math/e_lgammal_r.c: Likewise.
91471 * math/e_log10l.c: Likewise.
91472 * math/e_log2l.c: Likewise.
91473 * math/e_logl.c: Likewise.
91474 * math/e_powl.c: Likewise.
91475 * math/e_sinhl.c: Likewise.
91476 * math/e_sqrtl.c: Likewise.
91477 * math/e_scalb.c: Completely rewritten and optimized.
91478 * math/e_scalbf.c: Likewise.
91479 * math/e_scalbl.c: Likewise.
91480 * math/w_acos.c: Likewise.
91481 * math/w_acosf.c: Likewise.
91482 * math/w_acosl.c: Likewise.
91483 * math/w_acosh.c: Likewise.
91484 * math/w_acoshf.c: Likewise.
91485 * math/w_acoshl.c: Likewise.
91486 * math/w_asin.c: Likewise.
91487 * math/w_asinf.c: Likewise.
91488 * math/w_asinl.c: Likewise.
91489 * math/w_atan2.c: Likewise.
91490 * math/w_atan2f.c: Likewise.
91491 * math/w_atan2l.c: Likewise.
91492 * math/w_atanh.c: Likewise.
91493 * math/w_atanhf.c: Likewise.
91494 * math/w_atanhl.c: Likewise.
91495 * math/w_exp10.c: Likewise.
91496 * math/w_exp10f.c: Likewise.
91497 * math/w_exp10l.c: Likewise.
91498 * math/w_fmod.c: Likewise.
91499 * math/w_fmodf.c: Likewise.
91500 * math/w_fmodl.c: Likewise.
91501 * math/w_j0.c: Likewise.
91502 * math/w_j0f.c: Likewise.
91503 * math/w_j0l.c: Likewise.
91504 * math/w_j1.c: Likewise.
91505 * math/w_j1f.c: Likewise.
91506 * math/w_j1l.c: Likewise.
91507 * math/w_jn.c: Likewise.
91508 * math/w_jnf.c: Likewise.
91509 * math/w_log.c: Likewise.
91510 * math/w_logf.c: Likewise.
91511 * math/w_logl.c: Likewise.
91512 * math/w_log10.c: Likewise.
91513 * math/w_log10f.c: Likewise.
91514 * math/w_log10l.c: Likewise.
91515 * math/w_log2.c: Likewise.
91516 * math/w_log2f.c: Likewise.
91517 * math/w_log2l.c: Likewise.
91518 * math/w_pow.c: Likewise.
91519 * math/w_powf.c: Likewise.
91520 * math/w_powl.c: Likewise.
91521 * math/w_remainder.c: Likewise.
91522 * math/w_remainderf.c: Likewise.
91523 * math/w_remainderl.c: Likewise.
91524 * math/w_scalb.c: Likewise.
91525 * math/w_scalbf.c: Likewise.
91526 * math/w_scalbl.c: Likewise.
91527 * math/w_sqrt.c: Likewise.
91528 * math/w_sqrtf.c: Likewise.
91529 * math/w_sqrtl.c: Likewise.
91530 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91531 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91532 used.
91533 * math/math_private.h: Declare __kernel_standard_f.
91534 * math/w_cosh.c: Remove cruft and optimize a bit.
91535 * math/w_coshf.c: Likewise.
91536 * math/w_coshl.c: Likewise.
91537 * math/w_exp2.c: Likewise.
91538 * math/w_exp2f.c: Likewise.
91539 * math/w_exp2l.c: Likewise.
91540 * math/w_hypot.c: Likewise.
91541 * math/w_hypotf.c: Likewise.
91542 * math/w_hypotl.c: Likewise.
91543 * math/w_lgamma.c: Likewise.
91544 * math/w_lgamma_r.c: Likewise.
91545 * math/w_lgammaf.c: Likewise.
91546 * math/w_lgammaf_r.c: Likewise.
91547 * math/w_lgammal.c: Likewise.
91548 * math/w_lgammal_r.c: Likewise.
91549 * math/w_sinh.c: Likewise.
91550 * math/w_sinhf.c: Likewise.
91551 * math/w_sinhl.c: Likewise.
91552 * math/w_tgamma.c: Likewise.
91553 * math/w_tgammaf.c: Likewise.
91554 * math/w_tgammal.c: Likewise.
91555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91557 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91558 Minor optimizations. Pretty printing. Remove cruft.
91559 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91561 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91562 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91563 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91564 * sysdeps/i386/fpu/e_asin.S: Likewise.
91565 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91566 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91567 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91568 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91569 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91570 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91571 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91572 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91573 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91574 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91575 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91576 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91577 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91578 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91579 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91580 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91581 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91582 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91583 * sysdeps/i386/fpu/e_log.S: Likewise.
91584 * sysdeps/i386/fpu/e_log10.S: Likewise.
91585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91586 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91587 * sysdeps/i386/fpu/e_log2.S: Likewise.
91588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91589 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91590 * sysdeps/i386/fpu/e_logf.S: Likewise.
91591 * sysdeps/i386/fpu/e_logl.S: Likewise.
91592 * sysdeps/i386/fpu/e_pow.S: Likewise.
91593 * sysdeps/i386/fpu/e_powf.S: Likewise.
91594 * sysdeps/i386/fpu/e_powl.S: Likewise.
91595 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91596 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91597 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91599 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91600 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91601 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91602 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91603 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91604 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91605 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91608 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91617 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91618 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91624 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91629 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91630 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91632 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91633 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91635 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91638 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91639 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91640 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91641 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91645 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91646 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91647 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91649 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91650 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91651 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91652 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91653 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91663 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91664 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91665 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91668 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91672 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91682 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91683 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91685 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91686 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91687 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91688 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91689 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91690 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91691 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91692 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91693 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91695 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91696 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91697 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91698 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91699 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91700 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91701 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91702 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91703 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91704 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91705 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91706 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91707 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91709 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91710 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91712 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91713 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91714 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91715 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91716 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91717 (__isnanf): Likewise.
91718 (__isinf_ns): Likewise.
91719 (__isinf_nsf): Likewise.
91720 (__finite): Likewise.
91721 (__finitef): Likewise.
91722 (__ieee754_sqrt): Define as macro.
91723 (__ieee754_sqrtf): Define as macro.
91724 (__ieee754_sqrtl): Define as macro.
91725 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91726 inlined copy.
91727 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91728 __FINITE_MATH_ONLY__ consistent.
91729 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91730
91731 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91732
91733 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91734 of rawmemchr.
91735
91736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91737
91738 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91739
91740 * po/ja.po: Update from translation team.
91741
91742 2011-10-08 Roland McGrath <roland@hack.frob.com>
91743
91744 * locale/programs/locarchive.c (prepare_address_space): New function.
91745 (create_archive, enlarge_archive, open_archive): Use it.
91746
91747 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91748 inside [SHARED], where it is used.
91749
91750 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91751
91752 * nss/getent.c (netgroup_keys): Remove unused variable.
91753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91754
91755 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91756
91757 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91761 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91762 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91763 * math/Makefile (libm-calls): Add s_isinf_ns.
91764 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91765 * math/multc3.c: Likewise.
91766 * math/s_casin.c: Likewise.
91767 * math/s_casinf.c: Likewise.
91768 * math/s_casinl.c: Likewise.
91769 * math/s_ccos.c: Likewise.
91770 * math/s_ccosf.c: Likewise.
91771 * math/s_ccosl.c: Likewise.
91772 * math/s_ctan.c: Likewise.
91773 * math/s_ctanf.c: Likewise.
91774 * math/s_ctanh.c: Likewise.
91775 * math/s_ctanhf.c: Likewise.
91776 * math/s_ctanhl.c: Likewise.
91777 * math/s_ctanl.c: Likewise.
91778 * math/w_fmod.c: Likewise.
91779 * math/w_fmodf.c: Likewise.
91780 * math/w_fmodl.c: Likewise.
91781 * math/w_remainder.c: Likewise.
91782 * math/w_remainderf.c: Likewise.
91783 * math/w_remainderl.c: Likewise.
91784 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91785 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91786 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91788 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91789 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91790 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91791 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91792
91793 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91794 of the number.
91795 * stdio-common/printf_fphex.c: Likewise.
91796 * stdio-common/printf_size.c: Likewise.
91797
91798 * math/e_exp10.c: Include math_private.h using <...> not "...".
91799 * math/e_exp10f.c: Likewise.
91800 * math/e_exp10l.c: Likewise.
91801 * math/e_exp2l.c: Likewise.
91802 * math/e_j0l.c: Likewise.
91803 * math/e_j1l.c: Likewise.
91804 * math/e_jnl.c: Likewise.
91805 * math/e_lgammal_r.c: Likewise.
91806 * math/e_rem_pio2l.c: Likewise.
91807 * math/e_scalb.c: Likewise.
91808 * math/e_scalbf.c: Likewise.
91809 * math/e_scalbl.c: Likewise.
91810 * math/k_cosl.c: Likewise.
91811 * math/k_sinl.c: Likewise.
91812 * math/k_tanl.c: Likewise.
91813 * math/s_cacoshf.c: Likewise.
91814 * math/s_catan.c: Likewise.
91815 * math/s_catanf.c: Likewise.
91816 * math/s_catanh.c: Likewise.
91817 * math/s_catanhf.c: Likewise.
91818 * math/s_catanhl.c: Likewise.
91819 * math/s_catanl.c: Likewise.
91820 * math/s_ccosh.c: Likewise.
91821 * math/s_ccoshf.c: Likewise.
91822 * math/s_ccoshl.c: Likewise.
91823 * math/s_cexp.c: Likewise.
91824 * math/s_cexpf.c: Likewise.
91825 * math/s_cexpl.c: Likewise.
91826 * math/s_clog.c: Likewise.
91827 * math/s_clog10.c: Likewise.
91828 * math/s_clog10f.c: Likewise.
91829 * math/s_clog10l.c: Likewise.
91830 * math/s_clogf.c: Likewise.
91831 * math/s_clogl.c: Likewise.
91832 * math/s_csin.c: Likewise.
91833 * math/s_csinf.c: Likewise.
91834 * math/s_csinh.c: Likewise.
91835 * math/s_csinhf.c: Likewise.
91836 * math/s_csinhl.c: Likewise.
91837 * math/s_csinl.c: Likewise.
91838 * math/s_csqrt.c: Likewise.
91839 * math/s_csqrtf.c: Likewise.
91840 * math/s_csqrtl.c: Likewise.
91841 * math/s_ctan.c: Likewise.
91842 * math/s_ctanf.c: Likewise.
91843 * math/s_ctanh.c: Likewise.
91844 * math/s_ctanhf.c: Likewise.
91845 * math/s_ctanhl.c: Likewise.
91846 * math/s_ctanl.c: Likewise.
91847 * math/s_ldexp.c: Likewise.
91848 * math/s_ldexpf.c: Likewise.
91849 * math/s_ldexpl.c: Likewise.
91850 * math/s_significand.c: Likewise.
91851 * math/s_significandf.c: Likewise.
91852 * math/s_significandl.c: Likewise.
91853 * math/w_acos.c: Likewise.
91854 * math/w_acosf.c: Likewise.
91855 * math/w_acosh.c: Likewise.
91856 * math/w_acoshf.c: Likewise.
91857 * math/w_acoshl.c: Likewise.
91858 * math/w_acosl.c: Likewise.
91859 * math/w_asin.c: Likewise.
91860 * math/w_asinf.c: Likewise.
91861 * math/w_asinl.c: Likewise.
91862 * math/w_atan2.c: Likewise.
91863 * math/w_atan2f.c: Likewise.
91864 * math/w_atan2l.c: Likewise.
91865 * math/w_atanh.c: Likewise.
91866 * math/w_atanhf.c: Likewise.
91867 * math/w_atanhl.c: Likewise.
91868 * math/w_cosh.c: Likewise.
91869 * math/w_coshf.c: Likewise.
91870 * math/w_coshl.c: Likewise.
91871 * math/w_dremf.c: Likewise.
91872 * math/w_exp10.c: Likewise.
91873 * math/w_exp10f.c: Likewise.
91874 * math/w_exp10l.c: Likewise.
91875 * math/w_exp2.c: Likewise.
91876 * math/w_exp2f.c: Likewise.
91877 * math/w_fmod.c: Likewise.
91878 * math/w_fmodf.c: Likewise.
91879 * math/w_fmodl.c: Likewise.
91880 * math/w_hypot.c: Likewise.
91881 * math/w_hypotf.c: Likewise.
91882 * math/w_hypotl.c: Likewise.
91883 * math/w_j0.c: Likewise.
91884 * math/w_j0f.c: Likewise.
91885 * math/w_j0l.c: Likewise.
91886 * math/w_j1.c: Likewise.
91887 * math/w_j1f.c: Likewise.
91888 * math/w_j1l.c: Likewise.
91889 * math/w_jn.c: Likewise.
91890 * math/w_jnf.c: Likewise.
91891 * math/w_jnl.c: Likewise.
91892 * math/w_lgamma.c: Likewise.
91893 * math/w_lgamma_r.c: Likewise.
91894 * math/w_lgammaf.c: Likewise.
91895 * math/w_lgammaf_r.c: Likewise.
91896 * math/w_lgammal.c: Likewise.
91897 * math/w_lgammal_r.c: Likewise.
91898 * math/w_log.c: Likewise.
91899 * math/w_log10.c: Likewise.
91900 * math/w_log10f.c: Likewise.
91901 * math/w_log10l.c: Likewise.
91902 * math/w_log2.c: Likewise.
91903 * math/w_log2f.c: Likewise.
91904 * math/w_log2l.c: Likewise.
91905 * math/w_logf.c: Likewise.
91906 * math/w_logl.c: Likewise.
91907 * math/w_pow.c: Likewise.
91908 * math/w_powf.c: Likewise.
91909 * math/w_powl.c: Likewise.
91910 * math/w_remainder.c: Likewise.
91911 * math/w_remainderf.c: Likewise.
91912 * math/w_remainderl.c: Likewise.
91913 * math/w_scalb.c: Likewise.
91914 * math/w_scalbf.c: Likewise.
91915 * math/w_scalbl.c: Likewise.
91916 * math/w_sinh.c: Likewise.
91917 * math/w_sinhf.c: Likewise.
91918 * math/w_sinhl.c: Likewise.
91919 * math/w_sqrt.c: Likewise.
91920 * math/w_sqrtf.c: Likewise.
91921 * math/w_sqrtl.c: Likewise.
91922 * math/w_tgamma.c: Likewise.
91923 * math/w_tgammaf.c: Likewise.
91924 * math/w_tgammal.c: Likewise.
91925
91926 * po/ja.po: Update from translation team.
91927
91928 2011-09-29 Andreas Jaeger <aj@suse.de>
91929
91930 [BZ #13179]
91931 * sunrpc/netname.c (netname2host): Fix logic.
91932
91933 [BZ #6779]
91934 [BZ #6783]
91935 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91936 correctly.
91937 * math/w_remainder.c (__remainder): Likewise.
91938 * math/w_remainderf.c (__remainderf): Likewise.
91939 * math/libm-test.inc (remainder_test): Add test cases.
91940
91941 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91942
91943 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91944 sdiv_qrnnd.
91945
91946 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91947
91948 * string/test-memcmp.c: Avoid unncessary #defines.
91949 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91950
91951 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91952
91953 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91954 Use new sse2 version for core i3 - i7 as it's faster
91955 than sse42 version.
91956 (bit_Prefer_PMINUB_for_stringop): New.
91957 * sysdeps/x86_64/rawmemchr.S: Update.
91958 Replace with faster SSE2 version.
91959 * sysdeps/x86_64/memrchr.S: New file.
91960 * sysdeps/x86_64/memchr.S: Update.
91961 Replace with faster SSE2 version.
91962
91963 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91964
91965 * elf/dl-load.c (lose): Add cast to avoid warning.
91966
91967 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91968
91969 * po/ca.po: Update from translation team.
91970
91971 * inet/getnetgrent_r.c: Hook up nscd.
91972 * nscd/Makefile (routines): Add nscd_netgroup.
91973 (nscd-modules): Add netgroupcache.
91974 (CFLAGS-netgroupcache.c): Define.
91975 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91976 (cache_search): Add const to second parameter.
91977 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91978 INNETGR.
91979 (dbs): Add netgrdb entry.
91980 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91981 (verify_persistent_db): Handle netgrdb.
91982 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91983 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91984 GETFDNETGR.
91985 (netgroup_response_header): Define.
91986 (innetgroup_response_header): Define.
91987 (datahead): Add netgroup_response_header and innetgroup_response_header
91988 elements.
91989 * nscd/nscd.conf: Add entries for netgroup cache.
91990 * nscd/nscd.h (dbtype): Add netgrdb.
91991 (_PATH_NSCD_NETGROUP_DB): Define.
91992 (netgroup_iov_disabled): Declare.
91993 (xmalloc, xcalloc, xrealloc): Move declarations here.
91994 (cache_search): Adjust prototype.
91995 Add netgroup-related prototypes.
91996 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91997 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91998 (__nscd_innetgr): Declare.
91999 * nscd/selinux.c (perms): Use access_vector_t as element type and
92000 add netgroup-related initializers.
92001 * nscd/netgroupcache.c: New file.
92002 * nscd/nscd_netgroup.c: New file.
92003 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
92004 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
92005 For four parameters use innetgr.
92006 * nss/nss_files/files-init.c: Add definition and callback for netgr.
92007 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
92008 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
92009 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
92010
92011 * nscd/connections.c (register_traced_file): Don't register file
92012 for disabled databases.
92013
92014 2011-10-06 Ulrich Drepper <drepper@gmail.com>
92015
92016 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
92017
92018 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
92019 from tree and freeing node.
92020
92021 2011-09-25 Jiri Olsa <jolsa@redhat.com>
92022
92023 * nss/nsswitch.c (__nss_database_lookup): Handle
92024 nss_parse_service_list out of memory case.
92025
92026 2011-09-15 Jiri Olsa <jolsa@redhat.com>
92027
92028 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
92029 out of memory case.
92030
92031 2011-10-04 Andreas Schwab <schwab@redhat.com>
92032
92033 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
92034 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
92035 pass it down.
92036 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
92037 elf_machine_rela, elf_machine_lazy_rel.
92038 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
92039 (ELF_DYNAMIC_DO_REL): Likewise.
92040 (ELF_DYNAMIC_DO_RELA): Likewise.
92041 (ELF_DYNAMIC_RELOCATE): Likewise.
92042 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
92043 to ELF_DYNAMIC_DO_REL.
92044 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
92045 (dl_main): In trace mode always set __RTLD_NOIFUNC.
92046 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
92047 elf_machine_rela.
92048 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
92049 skip_ifunc, don't call ifunc function if non-zero.
92050 (elf_machine_rela): Likewise.
92051 (elf_machine_lazy_rel): Likewise.
92052 (elf_machine_lazy_rela): Likewise.
92053 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
92054 (elf_machine_lazy_rel): Likewise.
92055 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
92056 Likewise.
92057 (elf_machine_lazy_rel): Likewise.
92058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92059 Likewise.
92060 (elf_machine_lazy_rel): Likewise.
92061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
92062 (elf_machine_lazy_rel): Likewise.
92063 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
92064 (elf_machine_lazy_rel): Likewise.
92065 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
92066 (elf_machine_lazy_rel): Likewise.
92067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
92068 (elf_machine_lazy_rel): Likewise.
92069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
92070 (elf_machine_lazy_rel): Likewise.
92071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
92072 (elf_machine_lazy_rel): Likewise.
92073
92074 2011-09-28 Ulrich Drepper <drepper@gmail.com>
92075
92076 * nss/nss_files/files-init.c (_nss_files_init): Use static
92077 initialization for all the *_traced_file variables.
92078
92079 2011-09-28 Andreas Schwab <schwab@redhat.com>
92080
92081 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92082
92083 2011-09-27 Roland McGrath <roland@hack.frob.com>
92084
92085 [BZ #13226]
92086 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
92087
92088 2011-09-27 Andreas Schwab <schwab@redhat.com>
92089
92090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
92091 Reread the line before reparsing it.
92092
92093 2011-09-26 Andreas Schwab <schwab@redhat.com>
92094
92095 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
92096
92097 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
92098 Maxim Kuvyrkov <maxim@codesourcery.com>
92099 Joseph Myers <joseph@codesourcery.com>
92100
92101 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
92102 if needed for __stack_chk_guard.
92103
92104 2011-09-19 Roland McGrath <roland@hack.frob.com>
92105
92106 * sysdeps/posix/spawni.c (script_execute): Always define it.
92107 It will be optimized away if unused.
92108 (maybe_script_execute): New function.
92109 (__spawni): Call it.
92110
92111 * Makerules: Don't include tls.make.
92112 (config-tls): Always set to thread.
92113 * tls.make.c: File removed.
92114
92115 2011-09-19 Mike Frysinger <vapier@gentoo.org>
92116
92117 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
92118 * config.make.in (CPPFLAGS-config): New substituted variable.
92119
92120 2011-09-15 Ulrich Drepper <drepper@gmail.com>
92121
92122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
92123
92124 [BZ #13192]
92125 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
92126 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
92127
92128 2011-09-15 Roland McGrath <roland@hack.frob.com>
92129
92130 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
92131 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
92132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92133 (CALL_FAIL): Likewise.
92134 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
92135 (CALL_FAIL): Macro removed.
92136 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
92137
92138 2011-09-15 Ulrich Drepper <drepper@gmail.com>
92139
92140 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
92141 for __FINITE_MATH_ONLY__ == 1.
92142
92143 2011-09-15 Andreas Schwab <schwab@redhat.com>
92144
92145 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
92146 __ieee754_sqrt instead of sqrt.
92147 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
92148 __ieee754_sqrtf instead of sqrtf.
92149 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92150 __floorf instead of floorf.
92151 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92152 __floorf, __truncf instead of floorf, truncf.
92153
92154 2011-09-14 Ulrich Drepper <drepper@gmail.com>
92155
92156 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92157
92158 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92159 __extern_always_inline.
92160 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92161 32-bit.
92162
92163 2011-09-14 Andreas Schwab <schwab@redhat.com>
92164
92165 * elf/rtld.c (dl_main): Also relocate in dependency order when
92166 doing symbol dependency testing.
92167
92168 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
92169
92170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92171 Always define `refsym'.
92172
92173 2011-09-13 Andreas Schwab <schwab@redhat.com>
92174
92175 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92176 (__FD_ELT): Renamed from __FDELT.
92177 * misc/bits/select2.h (__FD_ELT): Likewise.
92178 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92179 __FD_MASK instead of __FDELT, __FDMASK.
92180 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92181 Likewise.
92182 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92183 Likewise.
92184
92185 * elf/Makefile (gen-ldd): Fix pattern.
92186
92187 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92188 (init_tls): Likewise.
92189
92190 2011-09-12 Ulrich Drepper <drepper@gmail.com>
92191
92192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92193
92194 2011-09-12 Andreas Schwab <schwab@redhat.com>
92195
92196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92197 `struct cmsghdr *' instead of `void *'.
92198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92199 Likewise.
92200
92201 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
92202
92203 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92204 if non-absolute.
92205 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92206 ldd_rewrite_script.
92207
92208 2011-09-11 Ulrich Drepper <drepper@gmail.com>
92209
92210 * configure.in: Remove --with-tls option.
92211 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92212 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92213 out in case it is missing.
92214 * sysdeps/ia64/elf/configure.in: Likewise.
92215 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92216 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92217 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92218 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92219 * sysdeps/sh/elf/configure.in: Likewise.
92220 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92221 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92222 * sysdeps/x86_64/elf/configure.in: Likewise.
92223 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92224 * sysdeps/mach/hurd/tls.h: Likewise.
92225
92226 [BZ #13067]
92227 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92228
92229 [BZ #13090]
92230 * configure.in: Fix use of AC_INIT.
92231
92232 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92233
92234 2011-09-10 Ulrich Drepper <drepper@gmail.com>
92235
92236 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92237 __set_errno.
92238 * malloc/hooks.c: Likewise.
92239
92240 [BZ #11929]
92241 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
92242 variables statically.
92243 (narenas): Initialize.
92244 (list_lock): Initialize.
92245 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
92246 initializtion of main_arena and list_lock. Small cleanups.
92247 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92248 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
92249 Add initializers to main_arena and mp_.
92250 (malloc_state): Remove pagesize member. Change all users to use
92251 GLRO(dl_pagesize).
92252
92253 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92254 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
92255 is always initialized.
92256
92257 * malloc/malloc.c: Removed unused configurations and dead code.
92258 * malloc/arena.c: Likewise.
92259 * malloc/hooks.c: Likewise.
92260 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92261
92262 * include/tls.h: Removed. USE___THREAD must always be defined.
92263 * bits/libc-tsd.h: Don't handle !USE___THREAD.
92264 * elf/dl-libc.c: Likewise.
92265 * elf/dl-tsd.c: Likewise.
92266 * include/errno.h: Likewise.
92267 * include/netdb.h: Likewise.
92268 * include/resolv.h: Likewise.
92269 * inet/herrno-loc.c: Likewise.
92270 * inet/herrno.c: Likewise.
92271 * malloc/arena.c: Likewise.
92272 * malloc/hooks.c: Likewise.
92273 * malloc/malloc.c: Likewise.
92274 * resolv/res-state.c: Likewise.
92275 * resolv/res_libc.c: Likewise.
92276 * sysdeps/i386/dl-machine.h: Likewise.
92277 * sysdeps/ia64/dl-machine.h: Likewise.
92278 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92279 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92280 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92281 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92282 * sysdeps/sh/dl-machine.h: Likewise.
92283 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92284 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92285 * sysdeps/unix/i386/sysdep.S: Likewise.
92286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92287 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92292 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92296 * sysdeps/unix/x86_64/sysdep.S: Likewise.
92297 * sysdeps/x86_64/dl-machine.h: Likewise.
92298 * tls.make.c: Likewise.
92299
92300 * configure.in: Remove --with-__thread option. Make tests for
92301 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92302 tls_model attribute fail if no support is available. Remove
92303 USE_IN_LIBIO.
92304 * Makeconfig: Adjust for dropped configure option. All features are
92305 now mandatory.
92306 * Makerules: Likewise.
92307 * Versions.def: Likewise.
92308 * argp/argp-fmtstream.c: Likewise.
92309 * argp/argp-fmtstream.h: Likewise.
92310 * argp/argp-help.c: Likewise.
92311 * assert/assert.c: Likewise.
92312 * config.h.in: Likewise.
92313 * config.make.in: Likewise.
92314 * configure: Likewise.
92315 * configure.in: Likewise.
92316 * csu/Versions: Likewise.
92317 * csu/init.c: Likewise.
92318 * elf/tst-audit2.c: Likewise.
92319 * elf/tst-tls10.c: Likewise.
92320 * elf/tst-tls10.h: Likewise.
92321 * elf/tst-tls11.c: Likewise.
92322 * elf/tst-tls12.c: Likewise.
92323 * elf/tst-tls14.c: Likewise.
92324 * elf/tst-tlsmod11.c: Likewise.
92325 * elf/tst-tlsmod12.c: Likewise.
92326 * elf/tst-tlsmod13.c: Likewise.
92327 * elf/tst-tlsmod13a.c: Likewise.
92328 * elf/tst-tlsmod14a.c: Likewise.
92329 * elf/tst-tlsmod15b.c: Likewise.
92330 * elf/tst-tlsmod16a.c: Likewise.
92331 * elf/tst-tlsmod16b.c: Likewise.
92332 * elf/tst-tlsmod7.c: Likewise.
92333 * elf/tst-tlsmod8.c: Likewise.
92334 * elf/tst-tlsmod9.c: Likewise.
92335 * gmon/gmon.c: Likewise.
92336 * grp/fgetgrent_r.c: Likewise.
92337 * grp/putgrent.c: Likewise.
92338 * hurd/fopenport.c: Likewise.
92339 * include/libc-symbols.h: Likewise.
92340 * include/tls.h: Likewise.
92341 * intl/gettextP.h: Likewise.
92342 * intl/loadinfo.h: Likewise.
92343 * locale/global-locale.c: Likewise.
92344 * locale/localeinfo.h: Likewise.
92345 * mach/devstream.c: Likewise.
92346 * malloc/arena.c: Likewise.
92347 * malloc/set-freeres.c: Likewise.
92348 * misc/err.c: Likewise.
92349 * misc/getttyent.c: Likewise.
92350 * misc/mntent_r.c: Likewise.
92351 * posix/getopt.c: Likewise.
92352 * posix/wordexp.c: Likewise.
92353 * pwd/fgetpwent_r.c: Likewise.
92354 * resolv/Versions: Likewise.
92355 * resolv/res_hconf.c: Likewise.
92356 * shadow/fgetspent_r.c: Likewise.
92357 * shadow/putspent.c: Likewise.
92358 * stdio-common/printf_fphex.c: Likewise.
92359 * stdio-common/tmpfile.c: Likewise.
92360 * stdlib/abort.c: Likewise.
92361 * stdlib/fmtmsg.c: Likewise.
92362 * sunrpc/auth_unix.c: Likewise.
92363 * sunrpc/clnt_perr.c: Likewise.
92364 * sunrpc/clnt_tcp.c: Likewise.
92365 * sunrpc/clnt_udp.c: Likewise.
92366 * sunrpc/clnt_unix.c: Likewise.
92367 * sunrpc/openchild.c: Likewise.
92368 * sunrpc/svc_simple.c: Likewise.
92369 * sunrpc/svc_tcp.c: Likewise.
92370 * sunrpc/svc_udp.c: Likewise.
92371 * sunrpc/svc_unix.c: Likewise.
92372 * sunrpc/xdr.c: Likewise.
92373 * sunrpc/xdr_array.c: Likewise.
92374 * sunrpc/xdr_rec.c: Likewise.
92375 * sunrpc/xdr_ref.c: Likewise.
92376 * sunrpc/xdr_stdio.c: Likewise.
92377
92378 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92379
92380 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92381
92382 2011-07-03 Andreas Jaeger <aj@suse.de>
92383
92384 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92385 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92386 regenerate with gen-libm-tests.pl.
92387
92388 2010-05-12 Petr Baudis <pasky@suse.cz>
92389
92390 [BZ #11589]
92391 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92392 around j0() zero points by switching to j1().
92393 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92394 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92396 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92397
92398 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92399
92400 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92401 instead of 0.
92402 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92403 instead of 0.
92404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92405 Patch in part by Pavel Roskin <proski@gnu.org>.
92406
92407 [BZ #13138]
92408 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92409 realloc.
92410 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92411 Free memory block if necessary.
92412
92413 [BZ #12847]
92414 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92415 be NULL. Don't lock in this case.
92416
92417 2011-09-09 Roland McGrath <roland@hack.frob.com>
92418
92419 * elf/elf.h (ELFOSABI_GNU): New macro.
92420 (ELFOSABI_LINUX): Define to that.
92421
92422 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92423
92424 * string/strncat.c (strncat): Undef the symbol in case it has been
92425 defined in bits/string.h.
92426
92427 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92428
92429 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92430
92431 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92432 link map.
92433
92434 2011-08-17 Andreas Jaeger <aj@suse.de>
92435
92436 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92437
92438 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92439 Ian Lance Taylor <iant@google.com>
92440
92441 * math/libm-test.inc (lround_test): New testcase.
92442 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92443
92444 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92445
92446 * Makefile: Remove support for automatic cvs check-ins.
92447 * Makerules: Likewise.
92448 * config.make.in: Likewise.
92449 * configure.in: Likewise.
92450 * intl/Makefile: Likewise.
92451 * locale/Makefile: Likewise.
92452 * po/Makefile: Likewise.
92453 * posix/Makefile: Likewise.
92454 * sysdeps/gnu/Makefile: Likewise.
92455 * sysdeps/mach/hurd/Makefile: Likewise.
92456 * sysdeps/sparc/sparc32/Makefile: Likewise.
92457
92458 [BZ #13118]
92459 * posix/Makefile (bug-regex32-ENV): Define.
92460 Patch by John Stanley <jpsinthemix@verizon.net>.
92461
92462 * misc/Makefile (headers): Add bits/select2.h.
92463 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92464 * misc/bits/select2.h: New file.
92465 * include/bits/select2.h: New file.
92466 * debug/Makefile (routines): Add fdelt_chk.
92467 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92468 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92469 FD_ISSET.
92470 * debug/fdelt_chk.c: New file.
92471
92472 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92473 * wcsmbs/test-wmemcmp.c: Likewise.
92474 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92475 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92476
92477 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92478
92479 * string/Makefile (strop-tests): Add memcmp.
92480 * string/test-wmemcmp.c: New file.
92481 * string/test-memcmp.c: Add wmemcmp support.
92482
92483 2011-09-08 Roland McGrath <roland@hack.frob.com>
92484
92485 [BZ #13153]
92486 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92487 2011-07-19 change.
92488
92489 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92490 garbage value in a __mach_port_mod_refs call in the cases of the
92491 task-self and thread-self ports.
92492
92493 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92494
92495 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92496
92497 2011-09-08 Andreas Schwab <schwab@redhat.com>
92498
92499 * elf/dl-load.c (lose): Check for non-null L.
92500
92501 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92502
92503 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92504
92505 * elf/dl-libc.c (dlerror_run): Pass back error code from
92506 dl_catch_error.
92507
92508 [BZ #13123]
92509 * elf/dl-load.c (lose): Free l_origin if it is valid.
92510
92511 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92512 names.
92513 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92516 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92517 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92518 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92519
92520 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92521
92522 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92523 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92524 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92525 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92526 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92527 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92528 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92529 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92530 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92531 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92532
92533 2011-08-15 Alan Modra <amodra@gmail.com>
92534
92535 [BZ #13092]
92536 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92537 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92538 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92539 ppc_mcount to static-only-routines.
92540 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92541 __mcount_internal.
92542 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92543 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92544
92545 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92546
92547 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92548 for finite and infinity parameters.
92549
92550 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92551
92552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92553 and add nop instructions for throughput optimization.
92554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92555
92556 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92557
92558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92559 aligned copy for power7 with vector-scalar instructions.
92560 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92561
92562 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92563
92564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92565 AVX check.
92566
92567 2011-09-07 Andreas Schwab <schwab@redhat.com>
92568
92569 [BZ #13144]
92570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92571 last change.
92572
92573 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92574
92575 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92576 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92577 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92578 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92579 clock_gettime.
92580
92581 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92582
92583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92584 Forgot to demangle the pointer.
92585
92586 * sysdeps/i386/sysdep.h: Define atom_text_section.
92587 * sysdeps/x86_64/sysdep.h: Likewise.
92588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92589 section with atom_text_section.
92590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92591 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92595
92596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92597 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92598 already be defined. Change to take two parameters and don't assign
92599 result to variable. Adjust all users.
92600 Define INTERNAL_GETTIME if not already defined.
92601 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92602 call.
92603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92604 HAVE_CLOCK_GETTIME_VSYSCALL.
92605 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92606
92607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92608 gettimeofday vsyscall, just use time.
92609
92610 2011-09-06 Andreas Schwab <schwab@redhat.com>
92611
92612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92613 <errno.h>.
92614
92615 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92616
92617 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92618 syscall on x86-64.
92619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92620 syscall.
92621 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92622 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92623 syscall if possible.
92624
92625 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92626
92627 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92628 e_ident. Don't pass to find_mapsXX.
92629 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92630
92631 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92632
92633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92634 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92635 * sysdeps/x86_64/multiarch/strchr.S: Update.
92636 Check bit_slow_BSF bit.
92637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92638 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92639 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92640
92641 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92642
92643 [BZ #13134]
92644 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92645 before glibc 2.15.
92646 (tryshell): Define.
92647 (__spawni): Change last parameter to be flag. Test
92648 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92649 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92650 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92651 * posix/spawni.c: Likewise.
92652 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92653 * posix/spawnp.c: Likewise. Change normal version to use
92654 SPAWN_XFLAGS_USE_PATH.
92655 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92656 SPAWN_XFLAGS_TRY_SHELL.
92657
92658 [BZ #13150]
92659 * posix/glob.h: Remove gcc 1.x support.
92660
92661 [BZ #13068]
92662 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92663
92664 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92665
92666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92667 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92668 strrchr-sse2-bsf
92669 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92670 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92671 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92673 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92674 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92675
92676 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92677
92678 * sysdeps/x86_64/wcscmp.S: New file.
92679
92680 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92681 wcscmp-c wcscmp-sse2
92682 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92683 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92684 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92685 * wcsmbs/wcscmp.c: Allow renaming.
92686
92687 2011-09-05 David S. Miller <davem@davemloft.net>
92688
92689 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92690 stack slot, rather than the struct return pointer slot.
92691 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92692 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92694 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92695
92696 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92697
92698 * po/ja.po: Update from translation team.
92699
92700 [BZ #13144]
92701 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92702 kernel in 64-bit binaries.
92703
92704 2011-09-01 David S. Miller <davem@davemloft.net>
92705
92706 * elf/elf.h (HWCAP_SPARC_*): Move to..
92707 * sysdeps/sparc/sysdep.h: this new file and add new values.
92708 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92709 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92710 _DL_HWCAP_COUNT to 24.
92711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92712 entries.
92713 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92714 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92715 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92717 instead of magic constants.
92718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92719
92720 2011-08-31 David S. Miller <davem@davemloft.net>
92721
92722 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92724 Reimplement to do errno handling inline.
92725 (SYSCALL_ERROR_HANDLER): New macro.
92726 (__SYSCALL_STRING): Do not do errno handling in asm.
92727 (__CLONE_SYSCALL_STRING): Delete.
92728 (__INTERNAL_SYSCALL_STRING): Delete.
92729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92730 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92731 (PSEUDO): Reimplement to do errno handling inline.
92732 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92733 (SYSCALL_ERROR_HANDLER): New macro.
92734 (__SYSCALL_STRING): Do not do errno handling in asm.
92735 (__CLONE_SYSCALL_STRING): Delete.
92736 (__INTERNAL_SYSCALL_STRING): Delete.
92737 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92738 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92739 i386.
92740 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92741 (inline_syscall*): Add 'err' argument.
92742 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92743 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92744 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92745 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92746
92747 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92748 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92749
92750 2011-08-30 Andreas Schwab <schwab@redhat.com>
92751
92752 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92753
92754 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92755
92756 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92757 directive.
92758
92759 2011-08-24 David S. Miller <davem@davemloft.net>
92760
92761 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92762
92763 2011-08-24 Andreas Schwab <schwab@redhat.com>
92764
92765 * elf/Makefile: Add rules to build and run unload8 test.
92766 * elf/unload8.c: New file.
92767 * elf/unload8mod1.c: New file.
92768 * elf/unload8mod1x.c: New file.
92769 * elf/unload8mod2.c: New file.
92770 * elf/unload8mod3.c: New file.
92771
92772 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92773 it wasn't used.
92774
92775 2011-08-23 David S. Miller <davem@davemloft.net>
92776
92777 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92778 subtract stack bias.
92779 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92780 %sp not %fp in calculations.
92781 (_JMPBUF_UNWINDS_ADJ): Likewise.
92782
92783 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92784 (aio_suspend): Call it to force an exception region around the
92785 AIO_MISC_WAIT() invocation.
92786
92787 2011-08-23 Andreas Schwab <schwab@redhat.com>
92788
92789 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92790 backslash.
92791
92792 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92793
92794 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92795 protection macro.
92796 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92797 and <dl-machine.h>.
92798 (Elf64_FuncDesc): Remove.
92799
92800 2011-08-22 David S. Miller <davem@davemloft.net>
92801
92802 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92803 sigaltstack check, add missing cfi directives.
92804 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92805 missing cfi directives, and sigaltstack handling.
92806
92807 2011-08-16 Andreas Schwab <schwab@redhat.com>
92808
92809 [BZ #11724]
92810 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92811 object is seen twice.
92812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92813
92814 * elf/Makefile (distribute): Add tst-initorder2.c.
92815 (tests): Add tst-initorder2.
92816 (modules-names): Add tst-initorder2a tst-initorder2b
92817 tst-initorder2c tst-initorder2d. Add rules to build them.
92818 ($(objpfx)tst-initorder2.out): New rule.
92819 * elf/tst-initorder2.c: New file.
92820 * elf/tst-initorder2.exp: New file.
92821
92822 2011-08-22 Andreas Schwab <schwab@redhat.com>
92823
92824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92825
92826 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92827 dependencies back to end of function.
92828
92829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92830 $(elfobjdir)/ld.so.
92831
92832 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92833
92834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92835 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92836 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92837 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92838 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92839 of __vdso_gettimeofday.
92840 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92841 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92842 attribute_hidden.
92843 (_libc_vdso_platform_setup): Remove initialization of
92844 __vdso_gettimeofday and __vdso_time.
92845
92846 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92847
92848 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92849 and fgetc_unlocked.
92850 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92851 getc_unlocked.
92852
92853 * elf/dl-open.c (add_to_global): Report additions to the global scope
92854 for LD_DEBUG=scopes.
92855 (dl_open_worker): Also print scope of newly loaded dependencies.
92856 (_dl_show_scope): Indicate if there is no scope.
92857
92858 [BZ #13114]
92859 * stdio-common/Makefile (tests): Add bug24.
92860 * stdio-common/bug24.c: New file.
92861
92862 2011-08-19 Andreas Jaeger <aj@suse.de>
92863
92864 [BZ #13114]
92865 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92866 non-existant file when using close-on-exec mode.
92867
92868 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92869
92870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92871 the very first instruction.
92872
92873 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92874 the CFI state in the end.
92875 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92876 inclusion of dl-trampoline.h.
92877 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92878
92879 2011-08-19 Andreas Schwab <schwab@redhat.com>
92880
92881 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92882 expectations for long double.
92883
92884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92885 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92886
92887 2011-08-14 David S. Miller <davem@davemloft.net>
92888
92889 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92890 artificual limit depends upon the system page size.
92891
92892 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92893
92894 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92895 * resolv/Makefile: Define CFLAGS-libresolv.
92896
92897 2011-08-17 Andreas Schwab <schwab@redhat.com>
92898
92899 * nss/makedb.c (compute_tables): Make variables used in nested
92900 function static.
92901
92902 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92903
92904 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92905 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92906 if buffer was too small.
92907
92908 * elf/pldd.c (main): Attach to all threads in the process.
92909 Rewrite /proc handling to use *at functions.
92910
92911 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92912
92913 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92914 specifies first scope to show.
92915 (dl_open_worker): Update callers. Move printing scope of new
92916 object to before the relocation.
92917 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92918 * sysdeps/generic/ldsodefs.h: Update declaration.
92919
92920 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92921 string for the scope number.
92922
92923 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92924
92925 * nscd/servicescache.c (cache_addserv): Make sure written is always
92926 initialized.
92927
92928 2011-08-14 Roland McGrath <roland@hack.frob.com>
92929
92930 * sysdeps/i386/i486/bits/atomic.h
92931 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92932 statement expression, so as to suppress "set but not used" warning.
92933 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92934
92935 * string/strncat.c (STRNCAT): Use prototype definition.
92936
92937 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92938 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92939 -Iprograms here.
92940 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92941 (localedef-modules): Add localedef.
92942 (locale-modules): Add locale.
92943
92944 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92945 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92946 to avoid a warning.
92947
92948 2011-08-14 David S. Miller <davem@davemloft.net>
92949
92950 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92951 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92952
92953 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92954
92955 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92956 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92957 * elf/rtld.c (dl_main): Set l_name of vDSO.
92958 Call _dl_show_scope when DL_DEBUG_SCOPES.
92959 (process_dl_debug): Recognize scopes flag and also set it for all.
92960 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92961 Declare _dl_show_scope.
92962
92963 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92964 (do_dlopen): Pass caller_dlopen to dl_open.
92965 (__libc_dlopen_mode): Initialize caller_dlopen.
92966
92967 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92968 of libc. Make tolower call locale-independent. Optimize a bit by
92969 using isdigit instead of isalnum.
92970 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92971
92972 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92973
92974 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92975 was a dependency or dynamically loaded.
92976
92977 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92978
92979 * intl/l10nflist.c: Allow architecture-specific pop function.
92980 * sysdeps/x86_64/l10nflist.c: New file.
92981
92982 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92983 classification.
92984
92985 2011-08-10 Andreas Schwab <schwab@redhat.com>
92986
92987 * include/dirent.h: Add libc_hidden_proto for scandirat and
92988 scandirat64. Don't declare __scandirat64.
92989 * dirent/scandirat.c: Add libc_hidden_def.
92990 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92991 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92992
92993 2011-08-10 David S. Miller <davem@davemloft.net>
92994
92995 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92996 enum.
92997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92998 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92999 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93000
93001 2011-08-09 Ulrich Drepper <drepper@gmail.com>
93002
93003 * Versions.def [libc]: Add GLIBC_2.15.
93004 * dirent/Makefile (routines): Add scandirat and scandirat64.
93005 * dirent/Versions [libc]: Export scandirat and scandirat64 for
93006 GLIBC_2.15.
93007 * dirent/dirent.h: Declare scandirat and scandirat64.
93008 * dirent/scandirat.c: New file.
93009 * dirent/scandirat64.c: New file.
93010 * sysdeps/wordsize-64/scandirat.c: New file.
93011 * sysdeps/wordsize-64/scandirat64.c: New file.
93012 * dirent/opendir.c: Define opendirat.
93013 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
93014 using scandirat.
93015 * dirent/scandir64.c: Adjust for scandir.c change.
93016 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
93017 __scandirat64, and __scandir_cancel_handler.
93018 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
93019 additional parameter and use openat instead of open (outside of ld.so).
93020 Add new __opendir as wrapper around __opendirat.
93021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
93022 here without requiring old scandirat implementation.
93023
93024 2011-08-08 Ulrich Drepper <drepper@gmail.com>
93025
93026 * dirent/scandir.c (cancel_handler): Renamed to
93027 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
93028 defined. Adjust users.
93029 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
93030 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
93031
93032 2011-08-04 Ulrich Drepper <drepper@gmail.com>
93033
93034 * string/test-string.h (IMPL): Use __STRING to expand name and then
93035 stringify it.
93036
93037 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
93038 of cleanups.
93039
93040 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
93041
93042 * string/Makefile: Update.
93043 (strop-tests): Append strncat.
93044 * string/test-wcscmp.c: New file.
93045 New comprehensive test for wcscmp.
93046 * string/test-strcmp.c: Update.
93047 (WIDE): New define.
93048
93049 2011-07-22 Andreas Schwab <schwab@redhat.com>
93050
93051 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
93052 line.
93053
93054 2011-07-26 Andreas Schwab <schwab@redhat.com>
93055
93056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93057 encoding to ACE if AI_IDN.
93058
93059 2011-08-01 Jakub Jelinek <jakub@redhat.com>
93060
93061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
93062 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
93063
93064 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93065
93066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
93067 Fix overflow bug in strncat.
93068 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
93069
93070 * string/test-strncat.c: Update.
93071 Add new tests for checking overflow bugs.
93072
93073 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93074
93075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93076 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
93077 * sysdeps/i386/i686/multiarch/strcat.S: New file.
93078 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
93079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
93080 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
93081 * sysdeps/i386/i686/multiarch/strncat.S: New file.
93082 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
93083 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
93084
93085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
93086 (USE_AS_STRCAT): Define.
93087 Add strcat and strncat support.
93088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
93089
93090 2011-07-25 Andreas Schwab <schwab@redhat.com>
93091
93092 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
93093 __n bigger than INT_MAX+1.
93094 (__strncmp_g): Likewise.
93095
93096 2011-07-23 Ulrich Drepper <drepper@gmail.com>
93097
93098 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
93099 * libio/stido.h: Likewise.
93100
93101 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
93102 (AF_NFC): Define.
93103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
93104 (AF_NFC): Define.
93105
93106 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
93107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93108 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93109 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
93110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93111
93112 [BZ #13021]
93113 * scripts/test-installation.pl: Don't expect libnss_test1 to be
93114 installed.
93115
93116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
93117 typo.
93118 (_dl_x86_64_save_sse): Likewise.
93119
93120 2011-07-22 Ulrich Drepper <drepper@gmail.com>
93121
93122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
93123 OSXSAVE.
93124 (_dl_x86_64_save_sse): Likewise.
93125
93126 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
93127
93128 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
93129
93130 2011-07-21 Andreas Schwab <schwab@redhat.com>
93131
93132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
93133 change.
93134 (_dl_x86_64_save_sse): Use correct AVX check.
93135
93136 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
93137
93138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
93139 bug in strncpy/strncat.
93140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
93141
93142 2011-07-21 Ulrich Drepper <drepper@gmail.com>
93143
93144 * string/tester.c (test_strcat): Add tests for different alignments
93145 of source and destination.
93146 (test_strncat): Likewise.
93147
93148 2011-07-20 Ulrich Drepper <drepper@gmail.com>
93149
93150 [BZ #12852]
93151 * posix/glob.c (glob): Check passed in values before using them in
93152 expressions to avoid some overflows.
93153 (glob_in_dir): Likewise.
93154
93155 [BZ #13007]
93156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93157 check for AVX enablement so that we don't crash with old kernels and
93158 new hardware.
93159 * elf/tst-audit4.c: Add same checks here.
93160 * elf/tst-audit6.c: Likewise.
93161
93162 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93163
93164 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
93165
93166 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93167
93168 2011-07-20 Ulrich Drepper <drepper@gmail.com>
93169
93170 * po/cs.po: Update from translation team.
93171 * po/bg.po: Likewise.
93172
93173 2011-07-12 Marek Polacek <mpolacek@redhat.com>
93174
93175 * misc/sys/cdefs.h: Add support for const attribute.
93176 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93177 to gnu_dev_{major,minor,makedev} functions.
93178
93179 2011-07-20 Marek Polacek <mpolacek@redhat.com>
93180
93181 * intl/dcigettext.c (get_output_charset): Add missing bracket.
93182
93183 2011-07-20 Andreas Schwab <schwab@redhat.com>
93184
93185 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93186 strlen results.
93187
93188 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93189
93190 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93191 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93192 register in order to avoid conflicts with the soft frame pointer
93193 being held in r11 when necessary.
93194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93195 (INTERNAL_VSYSCALL_NCS): Likewise.
93196
93197 2011-07-14 Marek Polacek <mpolacek@redhat.com>
93198
93199 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93200 * elf/dl-fini.c (_dl_fini): Adjust caller.
93201 * elf/dl-close.c (_dl_close_worker): Likewise.
93202 * sysdeps/generic/ldsodefs.h: Adjust declaration.
93203
93204 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93205
93206 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93207 "aux_cache->nlibs < 0".
93208
93209 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93210 in the reload-count case.
93211
93212 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93213
93214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93215 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93216 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93217 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93218 * sysdeps/x86_64/multiarch/strcat.S: New file.
93219 * sysdeps/x86_64/multiarch/strncat.S: New file.
93220 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93221 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93222 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93223 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93225 (USE_AS_STRCAT): Define.
93226 Add strcat and strncat support.
93227 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93228 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93229 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93230 * string/strncat.c: Update.
93231 (USE_AS_STRNCAT): Define.
93232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93233 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93234 and i7.
93235 * sysdeps/x86_64/multiarch/init-arch.h
93236 (bit_Prefer_PMINUB_for_stringop): New.
93237 (index_Prefer_PMINUB_for_stringop): Likewise.
93238 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93239 bit_Prefer_PMINUB_for_stringop.
93240
93241 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93242
93243 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93244 buffer64.
93245 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93246 of casting of buffer.
93247 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93248 buffer32 and buffer64.
93249 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93250 writes instead of casting of buffer.
93251 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93252 buffer32.
93253 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93254 casting of buffer.
93255
93256 2011-07-19 Andreas Schwab <schwab@redhat.com>
93257
93258 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93259
93260 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93261
93262 * nscd/nscd.c (termination_handler): Don't do anything for a database
93263 if it has not yet been initialized.
93264
93265 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93266
93267 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93268
93269 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93270
93271 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93272
93273 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93274
93275 * po/nl.po: Update from translation team.
93276 * po/sv.po: Likewise.
93277
93278 2011-07-16 Roland McGrath <roland@hack.frob.com>
93279
93280 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93281 now disallowed by GCC.
93282
93283 * configure.in (use-default-link): Default to yes if a test -shared
93284 link meets our qualifications.
93285 * configure: Regenerated.
93286
93287 * config.make.in (output-format): New variable.
93288 * configure.in: Check for ld --print-output-format support.
93289 * configure: Regenerated.
93290 * Makerules ($(common-objpfx)format.lds)
93291 [$(output-format) != unknown]: Just use $(output-format),
93292 instead of the linker-script munging.
93293
93294 2011-07-14 Roland McGrath <roland@hack.frob.com>
93295
93296 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93297 of $(common-objpfx)shlib.lds.
93298 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93299
93300 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93301 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93302
93303 * configure.in (-z relro check): Adjust test code to add a large
93304 writable data section after it.
93305 * configure: Regenerated.
93306
93307 2011-07-11 Roland McGrath <roland@hack.frob.com>
93308
93309 * configure.in (-z relro check): Fix test code to make the variable
93310 truly const.
93311 * configure: Regenerated.
93312
93313 2011-07-11 Ulrich Drepper <drepper@gmail.com>
93314
93315 * nscd/nscd.h (struct traced_file): Define.
93316 (struct database_dyn): Remove inotify_descr, reset_res, and filename
93317 elements. Add traced_files.
93318 (inotify_fd): Declare.
93319 (register_traced_file): Declare.
93320 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93321 (inotify_fd): Export.
93322 (resolv_conf_descr): Remove.
93323 (nscd_init): Move inotify descriptor creation to main.
93324 Don't register files for notification here.
93325 (register_traced_file): New function.
93326 (invalidate_cache): Don't use reset_res to determine whether to call
93327 res_init, go through the list of registered files.
93328 (main_loop_poll): The inotify descriptors are now stored in the
93329 structures for the traced files.
93330 (main_loop_epoll): Likewise.
93331 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
93332 to __nss_disable_nscd.
93333 * nscd/cache.c (prune_cache): There is no single inotify descriptor
93334 for a database anymore. Check the records for all the registered
93335 files instead.
93336 * nss/Makefile (libnss_files-routines): Add files-init.
93337 (libnss_db-routines): Add db-init.
93338 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93339 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93340 * nss/nss_db/db-init.c: New file.
93341 * nss/nss_files/files-init.c: New file.
93342 * nss/nsswitch.c (nss_load_library): New function. Broken out of
93343 __nss_lookup_function.
93344 (__nss_lookup_function): Call nss_load_library.
93345 (nss_load_all_libraries): New function.
93346 (__nss_disable_nscd): Take parameter with callback function for files
93347 to register. Set is_nscd. Load all the DSOs for the NSS modules
93348 used for the cached services.
93349 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93350 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93351 options for features to all the files in nscd.
93352
93353 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93354
93355 2011-07-10 Roland McGrath <roland@hack.frob.com>
93356
93357 * csu/elf-init.c (__libc_csu_init): Comment typo.
93358
93359 2011-07-09 Ulrich Drepper <drepper@gmail.com>
93360
93361 * po/pl.po: Update from translation team.
93362 * po/ja.po: Likewise.
93363 * po/ru.po: Likewise.
93364 * po/ko.po: Likewise.
93365 * po/fr.po: Likewise.
93366
93367 2011-07-09 Roland McGrath <roland@hack.frob.com>
93368
93369 * configure.in (.ctors/.dtors header and trailer check):
93370 Use an empirical test on a built program.
93371 * configure: Regenerated.
93372
93373 * configure.in (-z relro check): Use an empirical test on a built DSO.
93374 Detect, but do not require, on ia64.
93375 * configure: Regenerated.
93376
93377 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93378 Update tests that use readelf to use $READELF instead.
93379 * configure: Regenerated.
93380
93381 2011-07-08 Ulrich Drepper <drepper@gmail.com>
93382
93383 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93384 if the result is not used.
93385
93386 2011-07-05 Andreas Jaeger <aj@suse.de>
93387
93388 [BZ #9696]
93389 * stdlib/tst-strtod.c: Add testcase.
93390
93391 2011-07-07 Ulrich Drepper <drepper@gmail.com>
93392
93393 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93394 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93395 The latter has a higher limit. Take additional parameter to pass to
93396 the new function.
93397 (__pathconf): Pass file to __statfs_link_max.
93398 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93399 __statfs_link_max.
93400 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93401 __statfs_link_max.
93402
93403 [BZ #12868]
93404 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93405 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93406 Handle Lustre.
93407 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93408 (__statfs_filesize_max): Likewise.
93409 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93410
93411 2011-07-05 Andreas Jaeger <aj@suse.de>
93412
93413 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93414
93415 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93416
93417 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93418 `status' variable.
93419 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93420 Likewise.
93421
93422 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93423
93424 * Makefile (strop-tests): Add strncat.
93425 * string/test-strncat.c: New file.
93426
93427 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93428
93429 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93430
93431 2011-06-21 Andreas Jaeger <aj@suse.de>
93432
93433 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93434 Copy rule from iconvdata/Makefile.
93435
93436 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93437
93438 [BZ #12922]
93439 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93440 but no long options are defined, just return 'W'.
93441
93442 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93443
93444 [BZ #9696]
93445 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93446
93447 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93448
93449 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93450 netgroups to read.
93451 (innetgr): Likewise.
93452
93453 2011-07-05 Roland McGrath <roland@hack.frob.com>
93454
93455 * config.make.in (install_root): Default to $(DESTDIR).
93456
93457 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93458
93459 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93460
93461 2011-07-02 Roland McGrath <roland@hack.frob.com>
93462
93463 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93464
93465 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93466 containing directory rather than embedding absolute directory names.
93467
93468 * scripts/check-local-headers.sh: Rewritten using awk.
93469 Match by word, not by line. Print error messages for matches.
93470 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93471
93472 * Makerules [shlib-lds-flags empty]:
93473 ($(common-objpfx)libc_pic.opts): New target.
93474 ($(common-objpfx)libc_pic.os.clean): New target.
93475 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93476
93477 * config.make.in (OBJCOPY): New variable.
93478 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93479 * configure: Regenerated.
93480
93481 * config.make.in (use-default-link): New variable.
93482 * configure.in (use_default_link): Grok --with-default-link to set it.
93483 * configure: Regenerated.
93484 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93485 (shlib-lds, shlib-lds-flags): Define to empty.
93486
93487 * Makerules (shlib-lds): New variable.
93488 (shlib-lds-flags): New variable.
93489 (build-shlib, build-moduile, build-module-asneeded): Use it.
93490 ($(common-objpfx)libc.so): Use $(shlib-lds).
93491 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93492 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93493
93494 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93495 DT_FLAGS/DT_FLAGS_1 with zero flags.
93496
93497 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93498 linker script munging.
93499
93500 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93501
93502 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93503 as 128-bit value.
93504 * crypt/sha512.c (sha512_process_block): Perform total addition using
93505 128-bit if possible.
93506 (__sha512_finish_ctx): Likewise.
93507 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93508 as 64-bit value.
93509 * crypt/sha256.c (SWAP64): Define.
93510 (sha256_process_block): Perform total addition using 64-bit if
93511 possible.
93512 (__sha256_finish_ctx): Likewise.
93513
93514 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93515
93516 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93518 * nscd/hstcache.c (cache_addhst): Likewise.
93519 * nscd/grpcache.c (cache_addgr): Likewise.
93520 * nscd/aicache.c (addhstaiX): Likewise.
93521 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93522
93523 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93524
93525 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93527 * nscd/hstcache.c (cache_addhst): Likewise.
93528 * nscd/grpcache.c (cache_addgr): Likewise.
93529 * nscd/aicache.c (addhstaiX): Likewise.
93530
93531 2011-07-01 Andreas Schwab <schwab@redhat.com>
93532
93533 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93534 domain only when needed.
93535
93536 2011-06-30 Andreas Schwab <schwab@redhat.com>
93537
93538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93539 is always restored.
93540
93541 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93542
93543 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93544 are re-adding the entry.
93545 * nscd/servicescache.c (cache_addserv): Likewise.
93546
93547 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93548
93549 * sysdeps/generic/dl-irel.h: fix protection against multiple
93550 inclusions.
93551 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93552
93553 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93554
93555 [BZ #12935]
93556 * malloc/memusage.sh: Fix quoting in message.
93557 * debug/xtrace.sh: Likewise.
93558
93559 * configure.in: Remove support for --experimental-malloc option, make
93560 it the default.
93561 * config.make.in: Likewise.
93562 * malloc/Makefile: Likewise.
93563
93564 2011-06-27 Andreas Schwab <schwab@redhat.com>
93565
93566 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93567 two-byte characters.
93568
93569 2011-06-27 Roland McGrath <roland@hack.frob.com>
93570
93571 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93572 AC_CACHE_CHECK invocation.
93573 * configure: Regenerated.
93574
93575 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93576
93577 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93578
93579 [BZ #12350]
93580 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93581 bit from old_res_options.
93582
93583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93584
93585 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93586 value type for setfct.
93587
93588 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93589
93590 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93591 __gettimeofday instead of gettimeofday.
93592
93593 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93594
93595 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93596
93597 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93598
93599 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93600
93601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93602 info.
93603
93604 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93605
93606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93607 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93608 strcpy-sse2-unaligned strncpy-sse2-unaligned
93609 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93610 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93611 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93612 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93613 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93616 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93617 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93618 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93619 (STRCPY): Support SSE2 and SSSE3 versions.
93620
93621 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93622
93623 [BZ #12874]
93624 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93625 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93626 kernels which artificially limit size of requests.
93627
93628 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93629
93630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93631 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93632 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93633 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93634 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93635 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93636 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93637 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93640 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93641 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93642 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93643 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93644 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93646 Enable unaligned load optimization for Intel Core i3, i5 and i7
93647 processors.
93648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93649 Define.
93650 (index_Fast_Unaligned_Load): Define.
93651 (HAS_FAST_UNALIGNED_LOAD): Define.
93652
93653 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93654
93655 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93656
93657 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93658
93659 [BZ #12907]
93660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93661 until it is clear that the information is realy needed.
93662 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93663
93664 2011-06-22 Andreas Schwab <schwab@redhat.com>
93665
93666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93667
93668 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93669
93670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93671 /sys/devices/system/cpu/online if it is usable.
93672
93673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93674 reading the information from the /proc filesystem to once a second.
93675
93676 2011-06-21 Andreas Jaeger <aj@suse.de>
93677
93678 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93679 NULL after inclusion of kernel headers.
93680
93681 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93682
93683 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93684 calls to internal_setent.
93685
93686 [BZ #12885]
93687 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93688 addresses using gethostbyname4_r ignore IPv4 addresses.
93689
93690 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93691 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93692
93693 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93694
93695 2011-06-20 David S. Miller <davem@davemloft.net>
93696
93697 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93698 inclusions.
93699 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93700
93701 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93702 (elf_irel): Use it.
93703 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93704 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93705 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93706 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93707 * sysdeps/x86_64/dl-irel.h: Likewise.
93708
93709 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93710 * elf/dl-sym.c: Likewise.
93711
93712 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93713
93714 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93715 need to dereference resplen2.
93716
93717 2011-06-14 Andreas Schwab <schwab@redhat.com>
93718
93719 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93720
93721 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93722
93723 * Makeconfig: Define vardbdir and inst_vardbdir.
93724 * nss/Makefile: Add rules to install db-Makefile.
93725
93726 * nss/nss_db/db-XXX.c: Cleanup.
93727
93728 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93729 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93730 GLIBC_PRIVATE.
93731 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93732 * nss/makedb.c: Implement -g option to specify that value strings
93733 are generated and should not be added to table iterated over for
93734 get*ent calls.
93735 * nss/nss_db/db-initgroups.c: New file.
93736
93737 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93738 interface.
93739
93740 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93741 (internal_getgrouplist): Adjust to name change.
93742 Update use_initgroups_entry if this is not the first call.
93743 * nss/databases.def: Add initgroups entry.
93744
93745 * nss/makedb.c (compute_tables): Check result of multiple hash table
93746 sizes to minimize maximum chain length.
93747
93748 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93749
93750 * Versions.def: Add entry for libnss_db.
93751 * shlib-versions: Likewise.
93752 * nss/Makefile: Add rules to build libnss_db.
93753 * nss/Versions: Add libnss_db information. Organize libnss_files
93754 entries better.
93755 * nss/db-Makefile: Add gshadow support. Change rules for the new
93756 makedb progra. Some minor improvements to generate smaller files.
93757 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93758 here from...
93759 * nss/makedb.c: ...here.
93760 Improve database format to be smaller and require less memory at
93761 runtime.
93762 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93763 db anymore.
93764 * nss/nss_db/db-netgrp.c: Likewise.
93765 * nss/nss_db/db-open.c: Likewise.
93766 * nss/nss_files/flies-XXX.x: Adjust comments.
93767 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93768 * nss/nss_files/files-grp.c: Likewise.
93769 * nss/nss_files/files-hosts.c: Likewise.
93770 * nss/nss_files/files-network.c: Likewise.
93771 * nss/nss_files/files-proto.c: Likewise.
93772 * nss/nss_files/files-pwd.c: Likewise.
93773 * nss/nss_files/files-rpc.c: Likewise.
93774 * nss/nss_files/files-service.c: Likewise.
93775 * nss/nss_files/files-sgrp.c: Likewise.
93776 * nss/nss_files/files-spwd.c: Likewise.
93777 * nss/nss_db/db-alias.c: Removed.
93778 * nss/nss_db/dummy-db.h: Removed.
93779
93780 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93781
93782 * nss/makedb.c: Rewritten to not use database library.
93783 * nss/Makefile: Update to build new makedb program.
93784
93785 2011-06-14 Andreas Jaeger <aj@suse.de>
93786
93787 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93788 memset declaration.
93789
93790 2011-06-10 Andreas Schwab <schwab@redhat.com>
93791
93792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93793 tmpbuf.
93794
93795 2011-06-10 Roland McGrath <roland@hack.frob.com>
93796
93797 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93798 * elf/Makefile ($(objpfx)ld.so): Likewise.
93799
93800 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93801 Don't list ld.so twice in dependencies.
93802
93803 * posix/bug-regex31.c: Include <stdlib.h>.
93804
93805 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93806
93807 * nis/nss_compat/compat-spwd.c
93808 (getspent_next_nss_netgr): Remove unused variable.
93809 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93810
93811 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93812 nonmembers" output to use the right array.
93813
93814 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93815
93816 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93817
93818 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93819 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93820 * catgets/gencat.c (read_input_file): Likewise.
93821 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93822
93823 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93824 variable definition inside #if's controlling its use.
93825
93826 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93827
93828 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93829
93830 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93831
93832 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93833 unreachable code.
93834
93835 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93836
93837 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93838 * configure: Regenerated.
93839
93840 * Makerules: Revert last change.
93841 * elf/Makefile: Likewise.
93842
93843 2011-06-09 Roland McGrath <roland@hack.frob.com>
93844
93845 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93846 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93847 (reloc-link): Likewise.
93848
93849 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93850
93851 * elf/Makefile: Add rules to build pldd.
93852 * elf/pldd.c: New file.
93853 * elf/pldd-xx.c: New file.
93854
93855 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93856
93857 * version.h: Update for 2.15 development version.
93858
93859 2011-06-07 David S. Miller <davem@davemloft.net>
93860
93861 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93862 ifuncs.
93863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93864 elf_machine_lazy_rel): Likewise.
93865 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93867 elf_machine_lazy_rel): Likewise.
93868 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93869 dl_hwcap via passed in argument.
93870 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93871 Likewise.
93872
93873 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93874
93875 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93876
93877 2011-06-06 Roland McGrath <roland@hack.frob.com>
93878
93879 [BZ #12849]
93880 * manual/fdl-1.1.texi: New file, verbatim from:
93881 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93882 * manual/lgpl-2.1.texi: New file, verbatim from:
93883 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93884 * manual/Makefile (licenses): New variable, list those new file names.
93885 (texis): Use it.
93886 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93887
93888 * manual/fdl.texi: File removed.
93889 * manual/lesser.texi: File removed.
93890 * manual/libc.texinfo (Copying, Documentation License):
93891 Use new @include file names, put @appendix directive before @include.
93892
93893 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93894
93895 [BZ #12841]
93896 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93897 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93898 (mq_open): Add __NTH.
93899
93900 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93901
93902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93903 Assume Intel Core i3/i5/i7 processor if AVX is available.
93904
93905 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93906
93907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93908 typo.
93909
93910 2011-05-31 Andreas Schwab <schwab@redhat.com>
93911
93912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93913 memory. Use alloca_account. Fix memory leak when retrying.
93914
93915 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93916
93917 * version.h (RELEASE): Bump for 2.14 release.
93918 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93919
93920 * config.make.in (RANLIB): Remove entry.
93921
93922 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93923
93924 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93925 (libc.pot): Work around missing support for .ksh extension in xgettext.
93926
93927 [BZ #12684]
93928 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93929 if both request failed.
93930 (send_dg): In case of server errors clear resplen or *resplen2.
93931
93932 [BZ #12454]
93933 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93934 when there are multiple maps.
93935 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93936 (_dl_fini): Remove test here.
93937
93938 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93939
93940 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93941
93942 [BZ #12350]
93943 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93944 bit from old_res_options.
93945 (gaih_inet): Likewise.
93946
93947 [BZ #11099]
93948 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93949 as signed.
93950
93951 * resolv/res_init.c (res_setoptions): Make the code more compact.
93952
93953 [BZ #11558]
93954 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93955 set RES_USEVC.
93956
93957 [BZ #11634]
93958 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93959
93960 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93961
93962 [BZ #11781]
93963 * malloc/malloc.h: Declare malloc hook variables as volatile.
93964
93965 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93966 in last patch.
93967
93968 [BZ #11799]
93969 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93970 raise in the comment.
93971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93973 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93974
93975 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93976
93977 [BZ #12811]
93978 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93979 grow the buffers more if it already has to be sufficient.
93980 (build_wcs_upper_buffer): Likewise.
93981 * posix/regexec.c (check_matching): Likewise.
93982 (clean_state_log_if_needed): Likewise.
93983 (extend_buffers): Don't enlarge buffers beyond size of the input
93984 buffer.
93985 Patches mostly by Emil Wojak <emil@wojak.eu>.
93986 * posix/bug-regex32.c: New file.
93987 * posix/Makefile (tests): Add bug-regex32.
93988
93989 * locale/findlocale.c (_nl_find_locale): Return right away if
93990 _nl_explode_name failed.
93991 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93992
93993 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93994
93995 * debug/xtrace.sh: Unify messages.
93996 * malloc/memusage.sh: Likewise.
93997
93998 [BZ #12813]
93999 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
94000 time symbol from vDSO. Substitute with vsyscall if not available.
94001 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
94002 __vdso_time.
94003
94004 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
94005 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
94006 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
94007 Add sendmmsg and internal_sendmmsg.
94008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
94009 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
94010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
94011
94012 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
94013 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
94014 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
94015
94016 2011-05-27 Ulrich Drepper <drepper@gmail.com>
94017
94018 [BZ #12813]
94019 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
94020 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
94021 available.
94022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
94023 __vdso_getcpu.
94024
94025 [BZ #12814]
94026 * iconvdata/Makefile (tests): Add bug-iconv9.
94027 * iconvdata/bug-iconv9.c: New file.
94028
94029 2011-05-27 Andreas Schwab <schwab@redhat.com>
94030
94031 [BZ #12814]
94032 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
94033
94034 2011-05-25 Jakub Jelinek <jakub@redhat.com>
94035
94036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94037 (struct user_regs_struct): Change intcs field back to cs.
94038
94039 2011-05-25 Ulrich Drepper <drepper@gmail.com>
94040
94041 * po/ja.po: Update from translation team.
94042
94043 2011-05-23 Ulrich Drepper <drepper@gmail.com>
94044
94045 [BZ #12795]
94046 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
94047 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
94048
94049 2011-05-20 Andreas Schwab <schwab@redhat.com>
94050
94051 * stdlib/longlong.h: Update from GCC.
94052
94053 2011-05-23 Andreas Schwab <schwab@redhat.com>
94054
94055 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
94056 parameter name.
94057 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
94058 Add parameter name.
94059 (__sysconf): Pass it down.
94060
94061 2011-05-22 Ulrich Drepper <drepper@gmail.com>
94062
94063 [BZ #12671]
94064 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
94065 some situations.
94066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
94067 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
94068 add in in __libc_use_alloca calls. Adjust callers.
94069 (glob): Use malloc in some situations.
94070
94071 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
94072 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
94073 pltexit.
94074
94075 2011-05-21 Ulrich Drepper <drepper@gmail.com>
94076
94077 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
94078 and CLOCK_BOOTTIME_ALARM.
94079
94080 [BZ #12782]
94081 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
94082 is returned.
94083
94084 * string/_strerror.c (__strerror_r): Print negative errors as signed
94085 numbers.
94086
94087 [BZ #12777]
94088 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
94089 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
94090 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
94091
94092 * configure.in: Fix typo in redirection and correct removal of test
94093 files in two cases.
94094
94095 [BZ #12788]
94096 * locale/setlocale.c (new_composite_name): Fix test to check for
94097 identical name of all categories.
94098
94099 [BZ #12792]
94100 * libio/filedoalloc.c (local_isatty): New function.
94101 (_IO_file_doallocate): Use local_isatty.
94102 * stdio-common/perror.c (perror): In case a new stream is used
94103 forward the stream error.
94104 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
94105 error flag.
94106
94107 2011-05-20 Ulrich Drepper <drepper@gmail.com>
94108
94109 [BZ #11884]
94110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
94111 alloca.
94112 * include/alloca.h (extend_alloca_account): Define.
94113
94114 [BZ #11857]
94115 * posix/regex.h: Fix comments with documentation of user-accessible
94116 fields after compilation and describe correct free'ing of pattern
94117 after re_compile_pattern.
94118 Patch by Reuben Thomas <rrt@sc3d.org>.
94119
94120 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
94121
94122 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
94123 and -mno-altivec to prevent the compiler from using Altivec and/or
94124 VSX instructions when the corresponding registers are not available.
94125
94126 2011-05-19 Andreas Schwab <schwab@redhat.com>
94127
94128 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
94129
94130 2011-05-19 Ulrich Drepper <drepper@gmail.com>
94131
94132 * libio/freopen.c (freopen): Use __dup2, not dup2.
94133 * libio/freopen64.c (freopen64): Likewise.
94134
94135 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
94136
94137 [BZ #12775]
94138 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
94139 * math/Makefile (tests): Add test-powl.
94140 (CFLAGS-test-powl.c): Define.
94141 * math/test-powl.c: New file.
94142
94143 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
94144
94145 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
94146
94147 2011-05-17 Ulrich Drepper <drepper@gmail.com>
94148
94149 [BZ #11837]
94150 * iconvdata/gb18030.c: Update to GB18020-2005.
94151
94152 2011-05-16 Ulrich Drepper <drepper@gmail.com>
94153
94154 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94155 RE_SYNTAX_POSIX_AWK): Update to match recent development.
94156 Patch by Aharon Robbins <arnold@skeeve.com>.
94157
94158 [BZ #11892]
94159 * stdlib/putenv.c (putenv): Don't always create copy of the variable
94160 on the stack.
94161
94162 [BZ #11895]
94163 * misc/pselect.c (__pselect): Handle timeout value errors hidden
94164 through underflows.
94165
94166 [BZ #12766]
94167 * misc/error.c (error_at_line): Ensure file_name and old_file_name
94168 point to strings before performing equality test for error_one_per_line
94169 mode.
94170
94171 [BZ #11697]
94172 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94173
94174 [BZ #11820]
94175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94176 (struct user_fpregs_struct): Avoid __uint*_t types.
94177
94178 [BZ #6420]
94179 * malloc/mtrace.c (tr_where): Add additional parameter to point to
94180 symbol info. Use it instead of calling _dl_addr locally.
94181 (lock_and_info): New function.
94182 (tr_freehook): Call lock_and_info and pass symbol info as additional
94183 parameter to tr_where.
94184 (tr_mallochook): Likewise.
94185 (tr_reallochook): Likewise.
94186 (tr_memalignhook): Likewise.
94187
94188 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
94189 used and couldn't be at all thread-safe.
94190
94191 2011-05-15 Ulrich Drepper <drepper@gmail.com>
94192
94193 * libio/freopen.c (freopen): Don't close old file descriptor
94194 before the new one is opened. Instead dup the new file descriptor
94195 to the old one after the new stream is created.
94196 * libio/freopen64.c (freopen64): Likewise.
94197 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94198 * libio/fileops.c (_IO_new_file_close_it): Handle new
94199 _IO_FLAGS2_NOCLOSE flag.
94200 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94201 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94202 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94203 _IO_FLAGS2_NOCLOSE flag.
94204 * include/unistd.h: Add hidden_proto for dup3.
94205 Define __have_dup3.
94206 * io/dup3.c: Define hidden symbol.
94207 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94208
94209 [BZ #7101]
94210 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94211 when an incomplete long option is used.
94212 * posix/tst-getopt_long1.c: New file.
94213 * posix/Makefile (tests): Add tst-getopt_long1.
94214
94215 [BZ #10138]
94216 * scripts/config.guess: Update from autoconf-2.68.
94217 * scripts/config.sub: Likewise.
94218
94219 [BZ #10157]
94220 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94221 tests into ...
94222 (has_cpuclock): ...this. New function.
94223 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94224 macro here based on has_cpuclock code.
94225
94226 [BZ #10149]
94227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94228 First byte (not low byte) is now always NUL.
94229 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94230
94231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94232 Use non-cancelable interfaces.
94233
94234 [BZ #9809]
94235 * locale/iso-639.def: Add entry for Sorani.
94236
94237 [BZ #11901]
94238 * include/stdlib.h: Move include protection to the right place.
94239 Define abort_msg_s. Declare __abort_msg with it.
94240 * stdlib/abort.c (__abort_msg): Adjust type.
94241 * assert/assert.c (__assert_fail_base): New function. Majority
94242 of code from __assert_fail. Allocate memory for __abort_msg with
94243 mmap.
94244 (__assert_fail): Now call __assert_fail_base.
94245 * assert/assert-perr.c: Remove bulk of implementation. Use
94246 __assert_fail_base.
94247 * include/assert.hL Declare __assert_fail_base.
94248 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94249 mmap.
94250 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94251
94252 2011-05-14 Ulrich Drepper <drepper@gmail.com>
94253
94254 [BZ #11952]
94255 [BZ #12453]
94256 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94257 until all modules are registered in the DTV.
94258 * elf/Makefile: Add rules to build and run tst-tls19.
94259 * elf/tst-tls19.c: New file.
94260 * elf/tst-tls19mod1.c: New file.
94261 * elf/tst-tls19mod2.c: New file.
94262 * elf/tst-tls19mod3.c: New file.
94263 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94264
94265 [BZ #12083]
94266 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94267 correctly.
94268
94269 [BZ #12601]
94270 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94271 two-byte sequence errors.
94272 * iconvdata/Makefile (tests): Add bug-iconv8.
94273 * iconvdata/bug-iconv8.c: New file.
94274
94275 [BZ #12626]
94276 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94277 buf2 definition.
94278
94279 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94280
94281 [BZ #12432]
94282 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94283 (dummy_getcfa): New function.
94284 (init): Get _Unwind_GetCFA address, use dummy if not found.
94285 (backtrace_helper): In recursion check, also check whether CFA changes.
94286 (__backtrace): Completely initialize arg.
94287
94288 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94289 storing incomplete byte sequence in state object. Avoid testing for
94290 guaranteed too small input if we know there is enough data available.
94291
94292 2011-05-11 Andreas Schwab <schwab@redhat.com>
94293
94294 * Makeconfig (+link-pie): Indent.
94295 * Rules (binaries-pie): Define if $(have-fpie) and
94296 $(build-shared).
94297 (binaries-shared): Also filter out $(binaries-pie).
94298 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94299 * nscd/Makefile (others-pie): Add nscd.
94300 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94301 ($(objpfx)nscd): Remove command override.
94302 * login/Makefile (others-pie): Add pt_chown.
94303 ($(objpfx)pt_chown): Remove command override.
94304 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94305 remove command overrides.
94306
94307 2011-05-13 Ulrich Drepper <drepper@gmail.com>
94308
94309 * libio/tst_putwc.c: Fix error messages.
94310
94311 [BZ #12724]
94312 * libio/fileops.c (_IO_new_file_close_it): Always flush when
94313 currently writing and seek to current position when not.
94314 * libio/Makefile (tests): Add bug-fclose1.
94315 * libio/bug-fclose1.c: New file.
94316
94317 2011-05-12 Ulrich Drepper <drepper@gmail.com>
94318
94319 [BZ #12511]
94320 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94321 don't set DF_1_NODELETE here.
94322 (do_lookup_x): When entering new entry test for copy relocation
94323 and if necessary set DF_1_NODELETE flag.
94324 * elf/tst-unique4.cc: New file.
94325 * elf/tst-unique4.h: New file.
94326 * elf/tst-unique4lib.cc: New file.
94327 * elf/Makefile: Add rules to build and run tst-unique4.
94328 Patch by Piotr Bury <pbury@goahead.com>.
94329
94330 2011-05-11 Ulrich Drepper <drepper@gmail.com>
94331
94332 [BZ #12052]
94333 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94334
94335 [BZ #12625]
94336 * misc/mntent_r.c (addmntent): Flush the stream after the output
94337
94338 [BZ #12393]
94339 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94340 (is_trusted_path_normalize): Skip initial colon. Append slash
94341 to empty buffer. Duplicate is_trusted_path code but allow
94342 constructed patch to be prefix.
94343 (is_dst): Allow $ORIGIN followed by /.
94344 (_dl_dst_substitute): Correct clearing of check_for_trusted.
94345 Correct testing of result of is_trusted_path_normalize
94346 (decompose_rpath): Fix warning.
94347
94348 2011-05-10 Ulrich Drepper <drepper@gmail.com>
94349
94350 [BZ #11257]
94351 * grp/initgroups.c (internal_getgrouplist): When we found the service
94352 list through the initgroups entry in nsswitch.conf do not always
94353 continue on a successful lookup. Don't always use the
94354 __nss_group_database value if it is set.
94355 * nss/nsswitch.conf (initgroups): Change action for successful db
94356 lookup to continue for compatibility.
94357
94358 2011-05-09 Ulrich Drepper <drepper@gmail.com>
94359
94360 [BZ #11532]
94361 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94362 and CP774 modules.
94363 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94364 and CP774 modules.
94365 * iconvdata/tst-tables.sh: Likewise.
94366 * iconvdata/cp770.c: New file.
94367 * iconvdata/cp771.c: New file.
94368 * iconvdata/cp772.c: New file.
94369 * iconvdata/cp773.c: New file.
94370 * iconvdata/cp774.c: New file.
94371 * iconvdata/testdata/CP770: New file.
94372 * iconvdata/testdata/CP770..UTF8: New file.
94373 * iconvdata/testdata/CP771: New file.
94374 * iconvdata/testdata/CP771..UTF8: New file.
94375 * iconvdata/testdata/CP772: New file.
94376 * iconvdata/testdata/CP772..UTF8: New file.
94377 * iconvdata/testdata/CP773: New file.
94378 * iconvdata/testdata/CP773..UTF8: New file.
94379 * iconvdata/testdata/CP774: New file.
94380 * iconvdata/testdata/CP774..UTF8: New file.
94381
94382 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94383 END CHARMAP line.
94384 * iconvdata/gen-8bit-gap.sh: Likewise.
94385 * iconvdata/gen-8bit.sh: Likewise.
94386
94387 * locale/iso-639.def: Add ary entry.
94388
94389 [BZ #11258]
94390 * locale/C-translit.h.in: Add U20A1 transliteration.
94391
94392 [BZ #12178]
94393 * locale/iso-639.def: Add wae entry.
94394 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94395
94396 [BZ #12545]
94397 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94398 for n.
94399
94400 [BZ #12711]
94401 * locale/C-translit.h.in: Add entry for U20B9.
94402 Patch by pravin.d.s@gmail.com.
94403
94404 2011-05-08 Ulrich Drepper <drepper@gmail.com>
94405
94406 [BZ #12713]
94407 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94408 ENAMETOOLONG use generic getcwd.
94409 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94410 in rtld. Use *stat64.
94411 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94412 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94413 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94414 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94415 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94416 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94417 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94418 __fstatat64 macros.
94419 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94420 * dirent/rewinddir.c: Add libc_hidden_def.
94421 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94422 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94423
94424 * include/dirent.h (__alloc_dir): Add flags parameter.
94425 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94426 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94427 __alloc_dir.
94428 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94429 from fdopendir if O_CLOEXEC is already set.
94430
94431 2011-03-15 Alan Modra <amodra@gmail.com>
94432
94433 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94434 l_tls_firstbyte_offset non-zero. Save padding offset in
94435 l_tls_firstbyte_offset for later use.
94436 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94437 freeing static tls block.
94438
94439 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94440
94441 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94442 where #ifdef was intended. The intent is to prevent ARG_MAX from
94443 being defined by the kernel headers.
94444
94445 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94446
94447 [BZ #12734]
94448 * resolv/resolv.h: Define RES_NOTLDQUERY.
94449 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94450 no-tld-query and set RES_NOTLDQUERY.
94451 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94452 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94453 modern BIND to search name as TLD unless forbidden.
94454
94455 2011-05-07 Petr Baudis <pasky@suse.cz>
94456 Ulrich Drepper <drepper@gmail.com>
94457
94458 [BZ #12393]
94459 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94460 (is_trusted_path): ...to here.
94461 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94462 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94463 using is_trusted_path_normalize() in setuid scripts.
94464
94465 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94466
94467 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94468 __BEGIN/__END_DECLS.
94469
94470 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94471
94472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94473 NSS_STATUS_NOTFOUND if no record was found.
94474
94475 2011-05-05 Andreas Schwab <schwab@redhat.com>
94476
94477 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94478 (headers-not-in-tirpc): Remove rpc/netdb.h
94479 * resolv/netdb.h: Revert last change.
94480
94481 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94482
94483 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94484 circular dependency between libgcc.a and libc.a.
94485
94486 2011-05-05 Andreas Schwab <schwab@redhat.com>
94487
94488 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94489 * nis/Makefile: Don't install rpcsvc/*.
94490 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94491 instead of <rpc/types.h>.
94492 (MAXHOSTNAMELEN): Define.
94493
94494 2011-05-03 Andreas Schwab <schwab@redhat.com>
94495
94496 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94497
94498 2011-04-28 Maciej Babinski <mbabinski@google.com>
94499
94500 [BZ #12714]
94501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94502 gethostbyname4_r when IPv6 results are possible.
94503
94504 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94505
94506 [BZ #12723]
94507 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94508 _PC_PIPE_BUF handling.
94509
94510 2011-04-30 Bruno Haible <bruno@clisp.org>
94511
94512 [BZ #12717]
94513 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94514 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94515 to 'int'.
94516 * inet/getnameinfo.c (getnameinfo): Likewise.
94517
94518 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94519
94520 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94521 to groups setting in database lookup.
94522 * nss/nsswitch.conf: Add initgroups entry.
94523
94524 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94525
94526 [BZ #12685]
94527 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94528 mode string.
94529 Patch by Eric Blake <eblake@redhat.com>.
94530
94531 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94532
94533 * sunrpc/Makefile (need-export-routines): Add svc_run.
94534 (routines): Remove svc_run.
94535 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94536 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94537 * sunrpc/svc_run.c (svc_run): Likewise.
94538 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94539
94540 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94541
94542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94543 problem in reallocation in last patch.
94544
94545 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94546
94547 * sunrpc/Makefile: Move inclusion of Rules.
94548
94549 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94550
94551 * nss/nss_files/files-initgroups.c: New file.
94552 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94553 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94554 _nss_files_initgroups_dyn.
94555
94556 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94557
94558 * elf/elf.h (R_ARM_IRELATIVE): Define.
94559
94560 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94561
94562 * po/ru.po: Update from translation team.
94563
94564 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94565
94566 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94567 dependencies.
94568
94569 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94570
94571 [BZ #12653]
94572 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94573 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94577
94578 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94579
94580 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94581 differing bytes.
94582 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94584 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94585
94586 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94587
94588 [BZ #12420]
94589 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94590 storing it.
94591 * stdlib/bug-getcontext.c: New file.
94592 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94593
94594 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94595
94596 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94597 instructions into .machine "z9-109".
94598 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94599 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94600
94601 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94602
94603 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94604 between environment variables and auxiliary vector.
94605
94606 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94607
94608 * Makefile: Add rules to build linkobj/libc.so.
94609 * include/libc-symbols.h: Define libc_hidden_nolink.
94610 * include/rpc/auth.h: Mark functions which are to be hidden.
94611 * include/rpc/auth_des.h: Likewise.
94612 * include/rpc/auth_unix.h: Likewise.
94613 * include/rpc/clnt.h: Likewise.
94614 * include/rpc/des_crypt.h: Likewise.
94615 * include/rpc/key_prot.h: Likewise.
94616 * include/rpc/pmap_clnt.h: Likewise.
94617 * include/rpc/pmap_prot.h: Likewise.
94618 * include/rpc/pmap_rmt.h: Likewise.
94619 * include/rpc/rpc_msg.h: Likewise.
94620 * include/rpc/svc.h: Likewise.
94621 * include/rpc/svc_auth.h: Likewise.
94622 * include/rpc/xdr.h: Likewise.
94623 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94624 * nss/Makefile: Likewise.
94625 * sunrpc/Makefile: Don't install headers. Build library with normal
94626 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94627 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94628 for the compat linking library. Remove use of INTDEF/INTUSE.
94629 * sunrpc/auth_none.c: Likewise.
94630 * sunrpc/auth_unix.c: Likewise.
94631 * sunrpc/authdes_prot.c: Likewise.
94632 * sunrpc/authuxprot.c: Likewise.
94633 * sunrpc/clnt_gen.c: Likewise.
94634 * sunrpc/clnt_perr.c: Likewise.
94635 * sunrpc/clnt_raw.c: Likewise.
94636 * sunrpc/clnt_simp.c: Likewise.
94637 * sunrpc/clnt_tcp.c: Likewise.
94638 * sunrpc/clnt_udp.c: Likewise.
94639 * sunrpc/clnt_unix.c: Likewise.
94640 * sunrpc/des_crypt.c: Likewise.
94641 * sunrpc/des_soft.c: Likewise.
94642 * sunrpc/get_myaddr.c: Likewise.
94643 * sunrpc/key_call.c: Likewise.
94644 * sunrpc/key_prot.c: Likewise.
94645 * sunrpc/netname.c: Likewise.
94646 * sunrpc/pm_getmaps.c: Likewise.
94647 * sunrpc/pm_getport.c: Likewise.
94648 * sunrpc/pmap_clnt.c: Likewise.
94649 * sunrpc/pmap_prot.c: Likewise.
94650 * sunrpc/pmap_prot2.c: Likewise.
94651 * sunrpc/pmap_rmt.c: Likewise.
94652 * sunrpc/publickey.c: Likewise.
94653 * sunrpc/rpc_cmsg.c: Likewise.
94654 * sunrpc/rpc_common.c: Likewise.
94655 * sunrpc/rpc_dtable.c: Likewise.
94656 * sunrpc/rpc_prot.c: Likewise.
94657 * sunrpc/rpc_thread.c: Likewise.
94658 * sunrpc/rtime.c: Likewise.
94659 * sunrpc/svc.c: Likewise.
94660 * sunrpc/svc_auth.c: Likewise.
94661 * sunrpc/svc_authux.c: Likewise.
94662 * sunrpc/svc_raw.c: Likewise.
94663 * sunrpc/svc_run.c: Likewise.
94664 * sunrpc/svc_simple.c: Likewise.
94665 * sunrpc/svc_tcp.c: Likewise.
94666 * sunrpc/svc_udp.c: Likewise.
94667 * sunrpc/svc_unix.c: Likewise.
94668 * sunrpc/svcauth_des.c: Likewise.
94669 * sunrpc/xcrypt.c: Likewise.
94670 * sunrpc/xdr.c: Likewise.
94671 * sunrpc/xdr_array.c: Likewise.
94672 * sunrpc/xdr_float.c: Likewise.
94673 * sunrpc/xdr_intXX_t.c: Likewise.
94674 * sunrpc/xdr_mem.c: Likewise.
94675 * sunrpc/xdr_rec.c: Likewise.
94676 * sunrpc/xdr_ref.c: Likewise.
94677 * sunrpc/xdr_sizeof.c: Likewise.
94678 * sunrpc/xdr_stdio.c: Likewise.
94679
94680 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94681
94682 [BZ #12650]
94683 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94684 * sysdeps/ia64/dl-tls.h: Likewise.
94685 * sysdeps/powerpc/dl-tls.h: Likewise.
94686 * sysdeps/s390/dl-tls.h: Likewise.
94687 * sysdeps/sh/dl-tls.h: Likewise.
94688 * sysdeps/sparc/dl-tls.h: Likewise.
94689 * sysdeps/x86_64/dl-tls.h: Likewise.
94690 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94691
94692 2011-03-14 Andreas Schwab <schwab@redhat.com>
94693
94694 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94695 rpath element also skip the following colon.
94696 (expand_dynamic_string_token): Add is_path parameter and pass
94697 down to DL_DST_REQUIRED and _dl_dst_substitute.
94698 (decompose_rpath): Call expand_dynamic_string_token with
94699 non-zero is_path. Ignore empty rpaths.
94700 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94701 with zero is_path.
94702
94703 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94704
94705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94706 Make cancelable.
94707
94708 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94709
94710 [BZ #12655]
94711 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94712 Patch by Filipe David Manana <fdmanana@apache.org>.
94713
94714 2011-04-07 Andreas Schwab <schwab@redhat.com>
94715
94716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94717 Maintain aligned stack.
94718 (CHECK_RSP): Remove unused macro.
94719
94720 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94721
94722 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94723 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94724
94725 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94726
94727 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94728
94729 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94730
94731 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94732
94733 [BZ #12518]
94734 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94735 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94736 * sysdeps/x86_64/memmove.c: New file.
94737 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94738 (memcpy): Renamed to ...
94739 (__new_memcpy): This.
94740 (memcpy): Provide GLIBC_2_14 memcpy.
94741 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94742 (memcpy): Provide GLIBC_2_2_5 memcpy.
94743
94744 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94745
94746 [BZ #12631]
94747 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94748
94749 2011-03-30 Andreas Schwab <schwab@redhat.com>
94750
94751 * misc/syncfs.c: New file.
94752 * misc/Makefile (routines): Add syncfs.
94753 * posix/unistd.h: Declare syncfs.
94754 * sysdeps/unix/syscalls.list: Add syncfs.
94755
94756 2011-04-01 Andreas Schwab <schwab@redhat.com>
94757
94758 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94759 open_by_handle_at.
94760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94761 * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
94766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94767
94768 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94769
94770 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94772 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94777
94778 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94779 sync_file_range.c with -fexceptions.
94780 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94781 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94782 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94783 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94784 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94785 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94787 sync_file_range as cancellation point
94788 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94789 now a wrapper around __call_sync_file_range with cancellation handling.
94790 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94791 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94792 function name to __call_sync_file_range.
94793 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94794 Add call_sync_file_range.
94795
94796 2011-04-01 Andreas Schwab <schwab@redhat.com>
94797
94798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94799 bits/timex.h.
94800
94801 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94802
94803 * iconv/iconv.h: Fix typo in comment.
94804 * io/fcntl.h: Likewise.
94805 * libio/stdio.h: Likewise.
94806 * posix/spawn.h: Likewise.
94807 * posix/unistd.h: Likewise.
94808 * stdlib/stdlib.h: Likewise.
94809 * time/time.h: Likewise.
94810 * wcsmbs/wchar.h: Likewise.
94811
94812 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94813 open_by_handle): Add.
94814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94815 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94816 Augment a few comments.
94817 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94819 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94821 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94822 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94823 open_by_handle.
94824
94825 * io/fcntl.h (AT_EMPTY_PATH): Define.
94826
94827 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94828
94829 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94830 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94831 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94832 to...
94833 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94834 * Versions.def: Add GLIBC_2.14.
94835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94836 Export.
94837
94838 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94839
94840 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94841 round counter.
94842 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94843
94844 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94845
94846 [BZ #12597]
94847 * string/test-strncmp.c (do_page_test): New function.
94848 (check2): Likewise.
94849 (test_main): Call check2.
94850 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94851
94852 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94853
94854 [BZ #12587]
94855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94856 Handle cache information in CPU leaf 4.
94857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94858
94859 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94860
94861 [BZ #12583]
94862 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94863 character representation.
94864 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94865
94866 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94867
94868 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94869 END(__isnan) to END(__isnanf) to match function entry point/label
94870 EALIGN(__isnanf,...).
94871
94872 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94873
94874 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94875
94876 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94877
94878 [BZ #12510]
94879 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94880 copy from the symbol referenced in the relocation to initialize the
94881 used variable.
94882 Patch by Piotr Bury <pbury@goahead.com>.
94883 * elf/Makefile: Add rules to build and tst-unique3.
94884 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94885 * elf/tst-unique3.cc: New file.
94886 * elf/tst-unique3.h: New file.
94887 * elf/tst-unique3lib.cc: New file.
94888 * elf/tst-unique3lib2.cc: New file.
94889
94890 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94891
94892 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94893
94894 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94895 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94896 to _start.
94897
94898 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94899
94900 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94901 to-be-loaded object along a path to loader is ld.so.
94902
94903 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94904 Ulrich Drepper <drepper@gmail.com>
94905
94906 * sysdeps/x86_64/memset.S: After aligning destination, code
94907 branches to different locations depending on the value of
94908 misalignment, when multiarch is enabled. Fix this.
94909
94910 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94911
94912 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94913 Set _x86_64_preferred_memory_instruction for AMD processsors.
94914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94915 Set bit_Prefer_SSE_for_memop for AMD processors.
94916
94917 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94918
94919 * libio/fmemopen.c (fmemopen): Optimize a bit.
94920
94921 2011-03-03 Andreas Schwab <schwab@redhat.com>
94922
94923 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94924
94925 2011-03-03 Roland McGrath <roland@redhat.com>
94926
94927 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94928
94929 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94930
94931 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94932 __bzero_ultra1 instead of __memset_ultra1.
94933
94934 2011-02-23 Andreas Schwab <schwab@redhat.com>
94935 Ulrich Drepper <drepper@gmail.com>
94936
94937 [BZ #12509]
94938 * include/link.h (struct link_map): Add l_orig_initfini.
94939 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94940 returning unsuccessfully.
94941 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94942 close of a file loaded at startup, restore the original l_initfini
94943 list.
94944 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94945 list, store the pointer.
94946 * elf/Makefile ($(objpfx)noload-mem): New rule.
94947 (noload-ENV): Define.
94948 (tests): Add $(objpfx)noload-mem.
94949 * elf/noload.c: Include <memcheck.h>.
94950 (main): Call mtrace. Close all opened handles.
94951
94952 2011-02-17 Andreas Schwab <schwab@redhat.com>
94953
94954 [BZ #12454]
94955 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94956 dependencies are missing.
94957
94958 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94959
94960 Fix __if_freereq crash: Unlike the generic version which uses free,
94961 Hurd needs munmap.
94962 * sysdeps/mach/hurd/ifreq.h: New file.
94963
94964 2011-01-27 Petr Baudis <pasky@suse.cz>
94965 Ulrich Drepper <drepper@gmail.com>
94966
94967 [BZ 12445]#
94968 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94969 to extend_alloca().
94970 * stdio-common/bug23.c: New file.
94971 * stdio-common/Makefile (tests): Add bug23.
94972
94973 2010-09-28 Andreas Schwab <schwab@redhat.com>
94974 Ulrich Drepper <drepper@gmail.com>
94975
94976 [BZ #12489]
94977 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94978 before performing relro protection. At old place add assertion
94979 to make sure nothing changed.
94980
94981 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94982 Glauber de Oliveira Costa <glommer@gmail.com>
94983
94984 * elf/elf.h: Add new ARM TLS relocs.
94985
94986 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94987
94988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94989 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94990 cast from r3.
94991 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94992 'tests' variable.
94993 * sysdeps/wordsize-64/tst-writev.c: New file.
94994
94995 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94996
94997 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94998 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94999 insns in _dl_start to prevent a TOC reference before relocs are
95000 resolved.
95001
95002 2011-02-15 Ulrich Drepper <drepper@gmail.com>
95003
95004 [BZ #12469]
95005 * Makeconfig: Remove RANLIB definition.
95006 * Makerules: Don't use RANLIB.
95007 * aclocal.m4: Remove ranlib test.
95008 * configure.in: No need to check for ranlib.
95009 * elf/rtld-Rules: Don't use RANLIB.
95010
95011 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
95012
95013 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
95014 protection macro.
95015 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
95016 inclusion protection macro.
95017
95018 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
95019 SIGRTMIN and SIGRTMAX and print information in that case only when
95020 SIGRTMIN is defined.
95021
95022 2011-02-11 Jakub Jelinek <jakub@redhat.com>
95023
95024 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
95025 arginfo fn returning -1.
95026
95027 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
95028 and thousands string is zero terminated.
95029
95030 2011-02-03 Andreas Schwab <schwab@redhat.com>
95031
95032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
95033 sysdeps/unix/sysv/linux/bits/socket.h.
95034
95035 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
95036
95037 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
95038 (__CPU_COUNT): Remove old macros.
95039 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
95040 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
95041 (__CPU_ALLOC, __CPU_FREE): Add macros.
95042 (__sched_cpualloc, __sched_cpufree): Add declarations.
95043
95044 2011-02-05 Ulrich Drepper <drepper@gmail.com>
95045
95046 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
95047 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
95048 * nscd/aicache.c (addhstaiX): Return timeout of added value.
95049 (readdhstai): Return value of addhstaiX call.
95050 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
95051 (addgrbyX): Return value returned by cache_addgr.
95052 (readdgrbyname): Return value returned by addgrbyX.
95053 (readdgrbygid): Likewise.
95054 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
95055 (addpwbyX): Return value returned by cache_addpw.
95056 (readdpwbyname): Return value returned by addhstbyX.
95057 (readdpwbyuid): Likewise.
95058 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
95059 (addservbyX): Return value returned by cache_addserv.
95060 (readdservbyname): Return value returned by addservbyX:
95061 (readdservbyport): Likewise.
95062 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
95063 (addhstbyX): Return value returned by cache_addhst.
95064 (readdhstbyname): Return value returned by addhstbyX.
95065 (readdhstbyaddr): Likewise.
95066 (readdhstbynamev6): Likewise.
95067 (readdhstbyaddrv6): Likewise.
95068 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
95069 (readdinitgroups): Return value returned by addinitgroupsX.
95070 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
95071 (prune_cache): Keep track of timeout value of re-added entries.
95072 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
95073 * nscd/nscd.h: Adjust prototypes of readd* functions.
95074
95075 2011-02-04 Roland McGrath <roland@redhat.com>
95076
95077 * nis/nis_server.c (nis_servstate): Use the right name for 0.
95078 (nis_stats): Likewise.
95079 * nis/nis_modify.c (nis_modify): Likewise.
95080 * nis/nis_remove.c (nis_remove): Likewise.
95081 * nis/nis_add.c (nis_add): Likewise.
95082
95083 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
95084
95085 * posix/fnmatch_loop.c: Add some consts.
95086
95087 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
95088
95089 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
95090
95091 [BZ #12460]
95092 * config.make.in (config-cflags-novzeroupper): Define.
95093 * configure.in: Substitute libc_cv_cc_novzeroupper.
95094 * elf/Makefile (AVX-CFLAGS): Define.
95095 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
95096 (CFLAGS-tst-auditmod4a.c): Likewise.
95097 (CFLAGS-tst-auditmod4b.c): Likewise.
95098 (CFLAGS-tst-auditmod6b.c): Likewise.
95099 (CFLAGS-tst-auditmod6c.c): Likewise.
95100 (CFLAGS-tst-auditmod7b.c): Likewise.
95101 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
95102
95103 2011-02-02 Ulrich Drepper <drepper@gmail.com>
95104
95105 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
95106 function to the callback.
95107 Patch partly by Jiri Olsa <jolsa@redhat.com>.
95108
95109 2011-02-02 Andreas Schwab <schwab@redhat.com>
95110
95111 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
95112 of errno.
95113
95114 2011-01-19 Ulrich Drepper <drepper@gmail.com>
95115
95116 [BZ #11724]
95117 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
95118 of constructors.
95119 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
95120 of destructors.
95121 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
95122
95123 [BZ #11724]
95124 * elf/Makefile: Add rules to build and run new test.
95125 * elf/tst-initorder.c: New file.
95126 * elf/tst-initorder.exp: New file.
95127 * elf/tst-initordera1.c: New file.
95128 * elf/tst-initordera2.c: New file.
95129 * elf/tst-initordera3.c: New file.
95130 * elf/tst-initordera4.c: New file.
95131 * elf/tst-initorderb1.c: New file.
95132 * elf/tst-initorderb2.c: New file.
95133 * elf/tst-order-a1.c: New file.
95134 * elf/tst-order-a2.c: New file.
95135 * elf/tst-order-a3.c: New file.
95136 * elf/tst-order-a4.c: New file.
95137 * elf/tst-order-b1.c: New file.
95138 * elf/tst-order-b2.c: New file.
95139 * elf/tst-order-main.c: New file.
95140 New test case by George Gensure <werkt0@gmail.com>.
95141
95142 2010-10-01 Andreas Schwab <schwab@redhat.com>
95143
95144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
95145 decoding ACE if AI_CANONIDN.
95146
95147 2011-01-18 Ulrich Drepper <drepper@gmail.com>
95148
95149 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
95150
95151 2011-01-17 Ulrich Drepper <drepper@gmail.com>
95152
95153 * version.h (RELEASE): Bump for 2.13 release.
95154 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
95155
95156 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
95157
95158 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95159 MADV_NOHUGEPAGE.
95160 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95166
95167 * posix/getconf.c: Update copyright year.
95168 * catgets/gencat.c: Likewise.
95169 * csu/version.c: Likewise.
95170 * debug/catchsegv.sh: Likewise.
95171 * debug/xtrace.sh: Likewise.
95172 * elf/ldconfig.c: Likewise.
95173 * elf/ldd.bash.in: Likewise.
95174 * elf/sprof.c (print_version): Likewise.
95175 * iconv/iconv_prog.c: Likewise.
95176 * iconv/iconvconfig.c: Likewise.
95177 * locale/programs/locale.c: Likewise.
95178 * locale/programs/localedef.c: Likewise.
95179 * malloc/memusage.sh: Likewise.
95180 * malloc/mtrace.pl: Likewise.
95181 * nscd/nscd.c (print_version): Likewise.
95182 * nss/getent.c: Likewise.
95183
95184 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95185 PF_CAIF, and PF_ALG.
95186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95187
95188 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
95189
95190 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95191 (modules-names): Use them.
95192 (ifunc-test-modules, ifunc-pie-tests): Define.
95193 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95194 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95195 (test-extras): Likewise.
95196 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95197 $(compile-command.c).
95198 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95199 (all-built-dso): Define.
95200 (check-textrel.out, check-execstack.out): Depend on it.
95201
95202 * configure.in: Don't override --enable-multi-arch.
95203
95204 2011-01-15 Ulrich Drepper <drepper@gmail.com>
95205
95206 [BZ #6812]
95207 * nscd/hstcache.c (tryagain): Define.
95208 (cache_addhst): Return tryagain not notfound for temporary errors.
95209 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95210 failed.
95211
95212 2011-01-14 Ulrich Drepper <drepper@gmail.com>
95213
95214 [BZ #10563]
95215 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95216 to make the syscall.
95217 * sysdeps/unix/sysv/linux/setgroups.c: New file.
95218
95219 [BZ #12378]
95220 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95221 and fall back to matching as normal character if the string ends before
95222 the matching ']' is found. This is what POSIX requires.
95223 * posix/testfnm.c: Adjust test result.
95224 * posix/globtest.sh: Adjust test result. Add new test.
95225 * posix/tst-fnmatch.input: Likewise.
95226 * posix/tst-fnmatch2.c: Add new test.
95227
95228 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
95229
95230 * elf/Makefile (check-execstack): Revert last change. Depend on
95231 check-execstack.h.
95232 (check-execstack.h): New target.
95233 (generated): Add check-execstack.h.
95234 * elf/check-execstack.c: Include "check-execstack.h".
95235 (main): Revert last change.
95236 (handle_file): Return zero if GNU_STACK is absent and
95237 DEFAULT_STACK_PERMS doesn't include PF_X.
95238
95239 2011-01-13 Ulrich Drepper <drepper@gmail.com>
95240
95241 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95242 in child fails because the descriptor is already closed.
95243 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95244 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95246
95247 [BZ #12397]
95248 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95249 syscall.
95250
95251 [BZ #10484]
95252 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95253 temporary buffer used to handle multi lookups locally.
95254 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95255
95256 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95257
95258 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95259 loader is ld.so.
95260
95261 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
95262
95263 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95264 alignment for SSE2.
95265
95266 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95267
95268 [BZ #12394]
95269 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95270 characters. When rounding increased number of integer digits recompute
95271 number of groups.
95272 * stdio-common/tst-grouping.c: New file.
95273 * stdio-common/Makefile: Add rules to build and run tst-grouping.
95274
95275 2011-01-09 Ulrich Drepper <drepper@gmail.com>
95276
95277 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95278 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
95279
95280 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95281 void.
95282 * bits/select.h: Likewise.
95283
95284 2011-01-08 Ulrich Drepper <drepper@gmail.com>
95285
95286 * po/ja.po: Update from translation team.
95287
95288 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
95289
95290 [BZ #11155]
95291 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95292 implementation just like for lxstat, fxstatat, et al.
95293
95294 2010-12-27 Jim Meyering <meyering@redhat.com>
95295
95296 [BZ #12348]
95297 * posix/regexec.c (build_trtable): Return failure indication upon
95298 calloc failure. Otherwise, re_search_internal could infloop on OOM.
95299
95300 2010-12-25 Ulrich Drepper <drepper@gmail.com>
95301
95302 [BZ #12201]
95303 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95304 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95305 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95307
95308 [BZ #12207]
95309 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95310
95311 [BZ #12204]
95312 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95313 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95314
95315 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
95316
95317 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95318 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95319 script has SORT_BY_INIT_PRIORITY.
95320 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95321 NO_CTORS_DTORS_SECTIONS is defined.
95322 * elf/soinit.c: Likewise.
95323 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95324 NO_CTORS_DTORS_SECTIONS is defined.
95325 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95326 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95327 * sysdeps/sh/init-first.c: Likewise.
95328 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95329
95330 2010-12-24 Ulrich Drepper <drepper@gmail.com>
95331
95332 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95333 always use the slow path.
95334
95335 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
95336
95337 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95338 similar rule which adds the sysdep directories to the header search in
95339 order to pick up the correct platform stackinfo.h.
95340 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95341 perform test if it is, otherwise return successfully without testing.
95342 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95343 DEFAULT_STACK_PERMS define in stackinfo.h.
95344 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95345 defined in stackinfo.h.
95346 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95347 DEFAULT_STACK_PERMS defined in stackinfo.h.
95348 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95349 * sysdeps/ia64/stackinfo.h: Likewise.
95350 * sysdeps/s390/stackinfo.h: Likewise.
95351 * sysdeps/sh/stackinfo.h: Likewise.
95352 * sysdeps/sparc/stackinfo.h: Likewise.
95353 * sysdeps/x86_64/stackinfo.h: Likewise.
95354 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95355 PF_X for powerpc64. Retain PF_X for powerpc32.
95356
95357 2010-12-19 Ulrich Drepper <drepper@gmail.com>
95358
95359 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95360 accurately.
95361 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95362 GETDENTS_64BIT_ALIGNED.
95363
95364 2010-12-14 Ulrich Drepper <dreper@gmail.com>
95365
95366 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95367
95368 2010-12-10 Andreas Schwab <schwab@redhat.com>
95369
95370 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95371 _GNU_SOURCE.
95372
95373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95374 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95375 Remove __restrict.
95376 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95377 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95378
95379 2010-12-09 Ulrich Drepper <drepper@gmail.com>
95380
95381 [BZ #11655]
95382 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95383 are initialized.
95384
95385 2010-12-09 Jakub Jelinek <jakub@redhat.com>
95386
95387 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95388
95389 2010-12-03 Ulrich Drepper <drepper@gmail.com>
95390
95391 * po/it.po: Update from translation team.
95392
95393 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
95394
95395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95396 unused codes.
95397
95398 2010-11-30 Ulrich Drepper <drepper@gmail.com>
95399
95400 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95401
95402 2010-11-24 Andreas Schwab <schwab@redhat.com>
95403
95404 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95405 specially.
95406 (gaih_getanswer_slice): Likewise.
95407
95408 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95409
95410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95411
95412 2010-05-31 Petr Baudis <pasky@suse.cz>
95413
95414 [BZ #11149]
95415 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95416 silently even in the chroot mode.
95417
95418 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95419
95420 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95421 last patch a bit. Pretty printing
95422
95423 2010-05-31 Petr Baudis <pasky@suse.cz>
95424
95425 [BZ #10085]
95426 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95427 initialization of skip_initgroups_dyn.
95428
95429 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95430
95431 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95432 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95433
95434 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95435
95436 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95437
95438 2010-11-11 Andreas Schwab <schwab@redhat.com>
95439
95440 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95441 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95442 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95443 ($(objpfx)tst-fnmatch-mem): New rule.
95444 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95445 * posix/tst-fnmatch.c (main): Call mtrace.
95446
95447 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95448
95449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95450 Support Intel processor model 6 and model 0x2c.
95451
95452 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95453
95454 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95455 signed comparison.
95456
95457 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95458
95459 [BZ #12205]
95460 * string/test-strncasecmp.c (check_result): New function.
95461 (do_one_test): Use it.
95462 (check1): New function.
95463 (test_main): Use it.
95464 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95465 Support strcasecmp and strncasecmp.
95466
95467 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95468
95469 [BZ #12194]
95470 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95472
95473 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95474
95475 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95476 IFUNC support.
95477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95478 memset-x86-64.
95479 * sysdeps/x86_64/multiarch/bzero.S: New file.
95480 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95481 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95482 * sysdeps/x86_64/multiarch/memset.S: New file.
95483 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95485 Set bit_Prefer_SSE_for_memop for Intel processors.
95486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95487 Define.
95488 (index_Prefer_SSE_for_memop): Define.
95489 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95490
95491 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95492
95493 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95494 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95495
95496 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95497
95498 [BZ #12191]
95499 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95500 (__x86_64_raw_data_cache_size_half): Likewise.
95501 (__x86_64_raw_shared_cache_size): Likewise.
95502 (__x86_64_raw_shared_cache_size_half): Likewise.
95503
95504 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95505 (__x86_64_raw_data_cache_size_half): Likewise.
95506 (__x86_64_raw_shared_cache_size): Likewise.
95507 (__x86_64_raw_shared_cache_size_half): Likewise.
95508 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95509 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95510 and __x86_64_raw_shared_cache_size_half. Round
95511 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95512 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95513 to multiple of 256 bytes.
95514
95515 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95516
95517 [BZ #12167]
95518 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95519 of inacessible symlinks. Verify result of symlink before returning it.
95520 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95521 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95522
95523 2010-10-28 Erich Ritz <erichritz@gmail.com>
95524
95525 * math/math.h (isinf): Fix typo in comment.
95526
95527 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95528
95529 * po/da.po: Update from translation team.
95530
95531 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95532
95533 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95534 is added to the list.
95535
95536 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95537 Ulrich Drepper <drepper@gmail.com>
95538
95539 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95540 the global list here. Move code to...
95541 (_dl_add_to_namespace_list): ...here. New function.
95542 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95543 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95544 * elf/dl-load.c (lose): Don't remove the element from the list.
95545 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95546 (_dl_map_object): Likewise.
95547
95548 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95549
95550 [BZ #12159]
95551 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95552 into all bytes of SSE register.
95553 Patch by Richard Li <richardpku@gmail.com>.
95554
95555 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95556
95557 [BZ #12140]
95558 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95559 perturbing.
95560
95561 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95562
95563 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95564 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95565 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95566 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95568 submachine.
95569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95570
95571 2010-10-22 Andreas Schwab <schwab@redhat.com>
95572
95573 * include/dlfcn.h (__RTLD_SECURE): Define.
95574 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95575 mode & __RTLD_SECURE instead.
95576 (open_path): Rename preloaded parameter to secure.
95577 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95578 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95579 * elf/dl-deps.c (openaux): Likewise.
95580 * elf/rtld.c (struct map_args): Remove is_preloaded.
95581 (map_doit): Don't use it.
95582 (dl_main): Likewise.
95583 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95584 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95585
95586 2010-09-09 Andreas Schwab <schwab@redhat.com>
95587
95588 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95589 (sysd-rules-targets): Remove duplicates.
95590 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95591 rtld-%.$o dependency.
95592
95593 2010-10-18 Andreas Schwab <schwab@redhat.com>
95594
95595 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95596 _dl_map_object do it.
95597
95598 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95599
95600 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95601 fast fma builtins, define the macros in the C99 standard.
95602 (FP_FAST_FMAF): Likewise.
95603 (FP_FAST_FMAL): Likewise.
95604 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95605
95606 * bits/mathdef.h: Update copyright year.
95607 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95608
95609 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95610
95611 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95612 builtins, define the macros in the C99 standard.
95613 (FP_FAST_FMAF): Likewise.
95614 (FP_FAST_FMAL): Likewise.
95615 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95616 multiply/add.
95617 (FP_FAST_FMAF): Likewise.
95618
95619 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95620
95621 [BZ #3268]
95622 * math/libm-test.inc (fma_test): Some new testcases.
95623 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95625 y and infinite z. Do multiplication by C already in long double.
95626 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95628 y and infinite z. Do bitwise or of inexact bit into u.d.
95629 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95630 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95631 * sysdeps/i386/fpu/s_fma.S: Removed.
95632 * sysdeps/i386/fpu/s_fmal.S: Removed.
95633
95634 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95635
95636 [BZ #3268]
95637 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95639 computation is not scheduled after fetestexcept. Fix value
95640 of minimum denormal long double.
95641
95642 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95643
95644 [BZ #3268]
95645 * math/libm-test.inc (fma_test): Add some more tests.
95646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95647 correctly.
95648
95649 2010-10-15 Andreas Schwab <schwab@redhat.com>
95650
95651 * scripts/data/localplt-s390-linux-gnu.data: New file.
95652 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95653
95654 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95655
95656 [BZ #3268]
95657 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95658 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95659 instead of dbl-64.
95660 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95661 inlines.
95662 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95664 if one of x and y is very large and the other is subnormal.
95665 * sysdeps/s390/fpu/s_fmaf.c: New file.
95666 * sysdeps/s390/fpu/s_fma.c: New file.
95667 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95668 * sysdeps/powerpc/fpu/s_fma.S: New file.
95669 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95670 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95671 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95672
95673 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95674
95675 [BZ #3268]
95676 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95677 fma tests.
95678 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95679 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95680 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95681 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95682 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95683 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95684 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95685
95686 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95687
95688 [BZ #12078]
95689 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95690 * posix/bug-regex31.input: Add test case.
95691
95692 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95693
95694 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95695 * posix/bug-regex31.input: New file.
95696
95697 [BZ #12078]
95698 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95699 (parse_sub_exp): Fix last change, use postorder.
95700
95701 * posix/bug-regex31.c: New file.
95702 * posix/Makefile: Add rules to build and run bug-regex31.
95703
95704 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95705
95706 [BZ #12078]
95707 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95708
95709 [BZ #12108]
95710 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95711 to have entries in sys_siglist.
95712
95713 [BZ #12093]
95714 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95715 be NULL.
95716
95717 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95718
95719 [BZ #3268]
95720 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95721 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95722 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95723 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95724 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95725 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95726 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95727 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95728 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95729 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95730 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95731 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95732 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95733 * math/ftestexcept.c (fetestexcept): Likewise.
95734 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95735 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95736 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95737 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95738 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95739 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95741
95742 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95743
95744 [BZ #12107]
95745 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95746 newline.
95747
95748 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95749
95750 * string/bug-strstr1.c: New file.
95751 * string/Makefile: Add rules to build and run bug-strstr1.
95752
95753 2010-10-05 Eric Blake <eblake@redhat.com>
95754
95755 [BZ #12092]
95756 * string/str-two-way.h (two_way_long_needle): Always clear memory
95757 when skipping input due to the shift table.
95758
95759 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95760
95761 [BZ #12005]
95762 * malloc/mcheck.c: Handle large requests.
95763
95764 [BZ #12077]
95765 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95766 for strncmp and strncasecmp.
95767 * string/stratcliff.c: Add tests for strcmp and strncmp.
95768 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95769
95770 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95771
95772 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95773 __set_fpscr.
95774
95775 2010-09-30 Andreas Jaeger <aj@suse.de>
95776
95777 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95778 (CGROUP_SUPER_MAGIC): Define.
95779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95780 Handle btrfs and cgroup file systems.
95781 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95782 Likewise.
95783
95784 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95785
95786 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95787 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95788
95789 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95790
95791 [BZ #12067]
95792 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95793 trying to locate the ELF header.
95794
95795 2010-09-27 Andreas Schwab <schwab@redhat.com>
95796
95797 [BZ #11611]
95798 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95799 Mask out sign-bit copies when constructing f_fsid.
95800
95801 2010-09-24 Petr Baudis <pasky@suse.cz>
95802
95803 * debug/stack_chk_fail_local.c: Add missing licence exception.
95804 * debug/warning-nop.c: Likewise.
95805
95806 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95807
95808 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95809 implementing getdents64 using getdents syscall, set d_type if
95810 __ASSUME_GETDENTS32_D_TYPE.
95811
95812 2010-09-16 Andreas Schwab <schwab@redhat.com>
95813
95814 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95815 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95816
95817 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95818
95819 [BZ #12037]
95820 * posix/unistd.h: Undo change of feature selection for ftruncate from
95821 2010-01-11.
95822
95823 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95824
95825 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95826 detection.
95827
95828 2010-09-20 Andreas Schwab <schwab@redhat.com>
95829
95830 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95831 fanotify_mark.
95832 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95833
95834 2010-09-14 Andreas Schwab <schwab@redhat.com>
95835
95836 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95837 variables after CHECK_SP call.
95838 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95839
95840 2010-09-13 Andreas Schwab <schwab@redhat.com>
95841 Ulrich Drepper <drepper@redhat.com>
95842
95843 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95844 re-relocationg ld.so.
95845 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95846 _dl_init_paths call.
95847 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95848 here anymore.
95849
95850 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95851
95852 * resolv/res_init.c (__res_vinit): Count the default server we added.
95853
95854 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95855 Ulrich Drepper <drepper@redhat.com>
95856
95857 [BZ #11968]
95858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95859 (____longjmp_chk): Use %ebx for saving value across system call.
95860 Add unwind info.
95861
95862 2010-09-06 Andreas Schwab <schwab@redhat.com>
95863
95864 * manual/Makefile: Don't mix pattern rules with normal rules.
95865
95866 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95867
95868 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95869 operation.
95870 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95871 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95872 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95873 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95875 Likewise.
95876
95877 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95878
95879 [BZ #11979]
95880 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95881 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95882
95883 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95884
95885 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95886 * sysdeps/x86_64/addmul_1.S: Likewise.
95887 * sysdeps/x86_64/lshift.S: Likewise.
95888 * sysdeps/x86_64/mul_1.S: Likewise.
95889 * sysdeps/x86_64/rshift.S: Likewise.
95890 * sysdeps/x86_64/sub_n.S: Likewise.
95891 * sysdeps/x86_64/submul_1.S: Likewise.
95892
95893 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95894
95895 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95896 Define __sched_param instead of SCHED_* and sched_param when
95897 <bits/sched.h> is included with __need_schedparam defined.
95898 * bits/sched.h [__need_schedparam]
95899 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95900 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95901 (__defined_schedparam): Define to 1.
95902 (__sched_param): New structure, identical to sched_param.
95903 (__need_schedparam): Undefine.
95904
95905 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95906
95907 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95908 (epoll_create1): Declare.
95909
95910 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95911
95912 2010-08-31 Andreas Schwab <schwab@redhat.com>
95913
95914 [BZ #7066]
95915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95916 shifting retval into place.
95917
95918 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95919
95920 * nis/rpcsvc/nis.h: Update copyright notice.
95921 * nis/rpcsvc/nis.x: Likewise.
95922 * nis/rpcsvc/nis_callback.h: Likewise.
95923 * nis/rpcsvc/nis_callback.x: Likewise.
95924 * nis/rpcsvc/nis_object.x: Likewise.
95925 * nis/rpcsvc/nis_tags.h: Likewise.
95926 * nis/rpcsvc/yp.h: Likewise.
95927 * nis/rpcsvc/yp.x: Likewise.
95928 * nis/rpcsvc/ypupd.h: Likewise.
95929 * nis/yp_xdr.c: Likewise.
95930 * nis/ypupdate_xdr.c: Likewise.
95931
95932 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95933 mainly the body of pmap_getport. Add parameters to specify timeouts.
95934 (pmap_getport): Use __libc_rpc_getport.
95935 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95936 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95937 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95938
95939 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95940
95941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95942 fanotify_mark.
95943
95944 2010-08-27 Roland McGrath <roland@redhat.com>
95945
95946 * sysdeps/i386/i686/multiarch/Makefile
95947 (CFLAGS-varshift.c): New variable.
95948
95949 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95950
95951 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95952 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95953
95954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95955
95956 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95957
95958 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95959
95960 * sysdeps/x86_64/strlen.S: Unroll the loop.
95961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95962 strlen-sse2 strlen-sse2-bsf.
95963 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95964 __strlen_no_bsf if bit_Slow_BSF is set.
95965 (__strlen_sse42): Removed.
95966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95967 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95968
95969 2010-08-25 Roland McGrath <roland@redhat.com>
95970
95971 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95972 * sysdeps/x86_64/multiarch/varshift.c: New file.
95973 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95974 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95975 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95976 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95977
95978 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95979
95980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95981 strlen-sse2 strlen-sse2-bsf.
95982 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95983 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95984 (__strlen_sse2): Removed.
95985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95988 bit_Slow_BSF for Atom.
95989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95990 (index_Slow_BSF): Define.
95991 (HAS_SLOW_BSF): Define.
95992
95993 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95994
95995 [BZ #10851]
95996 * resolv/res_init.c (__res_vinit): When no server address at all
95997 is given default to loopback.
95998
95999 2010-08-24 Roland McGrath <roland@redhat.com>
96000
96001 * configure.in: Remove config-name.h generation.
96002 * configure: Regenerated.
96003 * config-name.in: File removed.
96004 * scripts/config-uname.sh: New file.
96005 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
96006 ($(objdir)config-name.h): New target.
96007
96008 * sunrpc/rpc_parse.h: Avoid nested comment.
96009
96010 2010-08-24 Richard Henderson <rth@redhat.com>
96011 Ulrich Drepper <drepper@redhat.com>
96012 H.J. Lu <hongjiu.lu@intel.com>
96013
96014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
96015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
96016 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
96017 Replace _mm_srli_si128 with __m128i_shift_right. Replace
96018 _mm_alignr_epi8 with _mm_loadu_si128.
96019 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
96020 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
96021 (__m128i_shift_right): Removed.
96022 * sysdeps/i386/i686/multiarch/varshift.h: New file.
96023 * sysdeps/i386/i686/multiarch/varshift.S: New file.
96024 * sysdeps/x86_64/multiarch/varshift.h: New file.
96025 * sysdeps/x86_64/multiarch/varshift.S: New file.
96026
96027 2010-08-21 Mike Frysinger <vapier@gentoo.org>
96028
96029 * configure.in: Move assembler checks to before sysdep dir checking.
96030
96031 2010-08-20 Petr Baudis <pasky@suse.cz>
96032
96033 * LICENSES: Sync the sunrpc license.
96034
96035 2010-08-19 Ulrich Drepper <drepper@redhat.com>
96036
96037 * sunrpc/auth_des.c: Update copyright notice once again.
96038 * sunrpc/auth_none.c: Likewise.
96039 * sunrpc/auth_unix.c: Likewise.
96040 * sunrpc/authdes_prot.c: Likewise.
96041 * sunrpc/authuxprot.c: Likewise.
96042 * sunrpc/bindrsvprt.c: Likewise.
96043 * sunrpc/clnt_gen.c: Likewise.
96044 * sunrpc/clnt_perr.c: Likewise.
96045 * sunrpc/clnt_raw.c: Likewise.
96046 * sunrpc/clnt_simp.c: Likewise.
96047 * sunrpc/clnt_tcp.c: Likewise.
96048 * sunrpc/clnt_udp.c: Likewise.
96049 * sunrpc/clnt_unix.c: Likewise.
96050 * sunrpc/des_crypt.c: Likewise.
96051 * sunrpc/des_soft.c: Likewise.
96052 * sunrpc/get_myaddr.c: Likewise.
96053 * sunrpc/getrpcport.c: Likewise.
96054 * sunrpc/key_call.c: Likewise.
96055 * sunrpc/key_prot.c: Likewise.
96056 * sunrpc/openchild.c: Likewise.
96057 * sunrpc/pm_getmaps.c: Likewise.
96058 * sunrpc/pm_getport.c: Likewise.
96059 * sunrpc/pmap_clnt.c: Likewise.
96060 * sunrpc/pmap_prot.c: Likewise.
96061 * sunrpc/pmap_prot2.c: Likewise.
96062 * sunrpc/pmap_rmt.c: Likewise.
96063 * sunrpc/rpc/auth.h: Likewise.
96064 * sunrpc/rpc/auth_unix.h: Likewise.
96065 * sunrpc/rpc/clnt.h: Likewise.
96066 * sunrpc/rpc/des_crypt.h: Likewise.
96067 * sunrpc/rpc/key_prot.h: Likewise.
96068 * sunrpc/rpc/netdb.h: Likewise.
96069 * sunrpc/rpc/pmap_clnt.h: Likewise.
96070 * sunrpc/rpc/pmap_prot.h: Likewise.
96071 * sunrpc/rpc/pmap_rmt.h: Likewise.
96072 * sunrpc/rpc/rpc.h: Likewise.
96073 * sunrpc/rpc/rpc_des.h: Likewise.
96074 * sunrpc/rpc/rpc_msg.h: Likewise.
96075 * sunrpc/rpc/svc.h: Likewise.
96076 * sunrpc/rpc/svc_auth.h: Likewise.
96077 * sunrpc/rpc/types.h: Likewise.
96078 * sunrpc/rpc/xdr.h: Likewise.
96079 * sunrpc/rpc_clntout.c: Likewise.
96080 * sunrpc/rpc_cmsg.c: Likewise.
96081 * sunrpc/rpc_common.c: Likewise.
96082 * sunrpc/rpc_cout.c: Likewise.
96083 * sunrpc/rpc_dtable.c: Likewise.
96084 * sunrpc/rpc_hout.c: Likewise.
96085 * sunrpc/rpc_main.c: Likewise.
96086 * sunrpc/rpc_parse.c: Likewise.
96087 * sunrpc/rpc_parse.h: Likewise.
96088 * sunrpc/rpc_prot.c: Likewise.
96089 * sunrpc/rpc_sample.c: Likewise.
96090 * sunrpc/rpc_scan.c: Likewise.
96091 * sunrpc/rpc_scan.h: Likewise.
96092 * sunrpc/rpc_svcout.c: Likewise.
96093 * sunrpc/rpc_tblout.c: Likewise.
96094 * sunrpc/rpc_util.c: Likewise.
96095 * sunrpc/rpc_util.h: Likewise.
96096 * sunrpc/rpcinfo.c: Likewise.
96097 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
96098 * sunrpc/rpcsvc/key_prot.x: Likewise.
96099 * sunrpc/rpcsvc/klm_prot.x: Likewise.
96100 * sunrpc/rpcsvc/mount.x: Likewise.
96101 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
96102 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
96103 * sunrpc/rpcsvc/rex.x: Likewise.
96104 * sunrpc/rpcsvc/rstat.x: Likewise.
96105 * sunrpc/rpcsvc/rusers.x: Likewise.
96106 * sunrpc/rpcsvc/sm_inter.x: Likewise.
96107 * sunrpc/rpcsvc/spray.x: Likewise.
96108 * sunrpc/rpcsvc/yppasswd.x: Likewise.
96109 * sunrpc/rtime.c: Likewise.
96110 * sunrpc/svc.c: Likewise.
96111 * sunrpc/svc_auth.c: Likewise.
96112 * sunrpc/svc_authux.c: Likewise.
96113 * sunrpc/svc_raw.c: Likewise.
96114 * sunrpc/svc_run.c: Likewise.
96115 * sunrpc/svc_simple.c: Likewise.
96116 * sunrpc/svc_tcp.c: Likewise.
96117 * sunrpc/svc_udp.c: Likewise.
96118 * sunrpc/svc_unix.c: Likewise.
96119 * sunrpc/svcauth_des.c: Likewise.
96120 * sunrpc/xcrypt.c: Likewise.
96121 * sunrpc/xdr.c: Likewise.
96122 * sunrpc/xdr_array.c: Likewise.
96123 * sunrpc/xdr_float.c: Likewise.
96124 * sunrpc/xdr_mem.c: Likewise.
96125 * sunrpc/xdr_rec.c: Likewise.
96126 * sunrpc/xdr_ref.c: Likewise.
96127 * sunrpc/xdr_sizeof.c: Likewise.
96128 * sunrpc/xdr_stdio.c: Likewise.
96129
96130 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
96131 handling.
96132
96133 2010-08-19 Andreas Schwab <schwab@redhat.com>
96134
96135 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
96136
96137 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
96138
96139 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
96140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
96141 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
96142 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
96143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
96144 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
96145 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
96146 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
96147 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
96148 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
96149 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96150 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96151 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96152 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
96153
96154 2010-07-26 Anton Blanchard <anton@samba.org>
96155
96156 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96157 * malloc/arena.c (heap_trim): Likewise.
96158
96159 2010-08-16 Ulrich Drepper <drepper@redhat.com>
96160
96161 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96162 here. Not...
96163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96164 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96165
96166 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
96167
96168 * sysdeps/i386/elf/Makefile: New file.
96169
96170 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96171
96172 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96173 from fanotify_init.
96174 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96176
96177 2010-08-15 Ulrich Drepper <drepper@redhat.com>
96178
96179 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96180 of strncasecmp_l.
96181 * sysdeps/multiarch/strcmp.S: Likewise.
96182
96183 2010-08-14 Ulrich Drepper <drepper@redhat.com>
96184
96185 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96186 strncase_l-nonascii.
96187 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96188 Add strncase_l-ssse3.
96189 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96190 * sysdeps/x86_64/strcmp.S: Likewise.
96191 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96192 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96193 * sysdeps/x86_64/strncase.S: New file.
96194 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96195 * sysdeps/x86_64/strncase_l.S: New file.
96196 * string/Makefile (strop-tests): Add strncasecmp.
96197 * string/test-strncasecmp.c: New file.
96198
96199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96200 warning.
96201
96202 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96203 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96204
96205 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96206
96207 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96208
96209 2010-08-12 Ulrich Drepper <drepper@redhat.com>
96210
96211 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96214
96215 2010-05-01 Alan Modra <amodra@gmail.com>
96216
96217 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96218 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96219 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96220 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96221 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96222 tidying. Don't tail-call __sigjmp_save for static lib.
96223 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96224 save location.
96225 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96226 (CALL_MCOUNT): Add eh info, and nop after bl.
96227 (TAIL_CALL_SYSCALL_ERROR): New macro.
96228 (PSEUDO_RET): Use it.
96229 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96230 Correct save location of integer regs and cr.
96231 (_dl_profile_resolve): Correct cr save location. Delete nops
96232 after bl when SHARED. Reduce cfi size a little by better
96233 placement of cfi directives.
96234 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96235 make a stack frame. Instead use parm save area as a temp.
96236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96237 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
96238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96239 Don't make a stack frame for parent, use parm save area.
96240 Increase child stack frame to 112 bytes. Don't save unused reg,
96241 and adjust reg usage. Set up cfi on error recovery and
96242 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96244 (__makecontext): Add dummy nop after jump to exit.
96245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96246 Use correct parm save area and cr save, reduce stack frame.
96247 Correct cfi for possible PSEUDO_RET frame setup.
96248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96249 Branch to local label emitted by PSEUDO_RET rather than
96250 __syscall_error.
96251
96252 2010-08-12 Andreas Schwab <schwab@redhat.com>
96253
96254 [BZ #11904]
96255 * locale/programs/locale.c (print_assignment): New function.
96256 (show_locale_vars): Use it.
96257
96258 2010-08-11 Ulrich Drepper <drepper@redhat.com>
96259
96260 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96261 field.
96262 (struct statfs64): Likewise.
96263 (_STATFS_F_FLAGS): Define.
96264 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96266 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96267 (ST_VALID): Define locally.
96268 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96269 __statvfs_getflags, use the provided value.
96270 * sysdeps/unix/sysv/linux/kernel-features.h: Define
96271 __ASSUME_STATFS_F_FLAGS.
96272
96273 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96274
96275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96276 Add sys/fanotify.h.
96277 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96278 fanotify_mask for GLIBC_2.13.
96279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96280 fanotify_init and fanotify_mark.
96281 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96282 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96283
96284 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96285 Add prlimit.
96286 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96287 prlimit64 for GLIBC_2.13.
96288 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96289 prlimit64.
96290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96291 syscall.
96292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96294 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96295 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
96297 add prlimit alias.
96298 * sysdeps/unix/sysv/linux/prlimit.c: New file.
96299
96300 [BZ #11903]
96301 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96302 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96303
96304 * nss/Makefile: Add rules to build and run tst-nss-test1.
96305 * shlib-versions: Add entry for libnss_test1.
96306 * nss/nss_test1.c: New file.
96307 * nss/tst-nss-test1.c: New file.
96308
96309 * nss/nsswitch.c (__nss_database_custom): Define new variable.
96310 (__nss_configure_lookup): Set appropriate entry in
96311 __nss_configure_lookup to true.
96312 * nss/nsswitch.h: Define enum with indeces of databases in
96313 databases and __nss_database_custom arrays. Declare
96314 __nss_database_custom.
96315 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96316 to avoid using nscd when custom rules are installed.
96317 * nss/getXXbyYY_r.c: Likewise.
96318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96319
96320 * nss/nss_files/files-parse.c: Whitespace fixes.
96321
96322 2010-08-09 Ulrich Drepper <drepper@redhat.com>
96323
96324 [BZ #11883]
96325 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96326 * posix/fnmatch_loop.c: Likewise.
96327
96328 2010-07-17 Andi Kleen <ak@linux.intel.com>
96329
96330 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96331 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96332 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96333 * Versions.def [GLIBC_2.13]: Add.
96334
96335 2010-08-06 Ulrich Drepper <drepper@redhat.com>
96336
96337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96338 Also fail if tpwd after pwuid call is NULL.
96339
96340 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
96341
96342 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96343 when converting to ms.
96344
96345 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
96346
96347 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96348 EOPNOTSUPP errors with ENOTTY.
96349 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96350 EOPNOTSUPP errors with ENOTTY.
96351
96352 2010-07-31 Ulrich Drepper <drepper@redhat.com>
96353
96354 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96355 Add strcasecmp_l-ssse3.
96356 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96357 strcasecmp.
96358 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96359 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96360 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96361
96362 2010-07-30 Ulrich Drepper <drepper@redhat.com>
96363
96364 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96365
96366 * string/Makefile (strop-tests): Add strcasecmp.
96367 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96368 strcasecmp_l-nonascii.
96369 (gen-as-const-headers): Add locale-defines.sym.
96370 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96371 * sysdeps/x86_64/strcasecmp.S: New file.
96372 * sysdeps/x86_64/strcasecmp_l.S: New file.
96373 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96374 * sysdeps/x86_64/locale-defines.sym: New file.
96375 * string/test-strcasecmp.c: New file.
96376
96377 * string/test-strcasestr.c: Test both ends of the range of characters.
96378 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96379
96380 2010-07-29 Roland McGrath <roland@redhat.com>
96381
96382 [BZ #11856]
96383 * manual/locale.texi (Yes-or-No Questions): Fix example code.
96384
96385 2010-07-27 Ulrich Drepper <drepper@redhat.com>
96386
96387 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96388 for ld.so.
96389
96390 2010-07-27 Andreas Schwab <schwab@redhat.com>
96391
96392 * manual/memory.texi (Malloc Tunable Parameters): Document
96393 M_PERTURB.
96394
96395 2010-07-26 Roland McGrath <roland@redhat.com>
96396
96397 [BZ #11840]
96398 * configure.in (-fgnu89-inline check): Set and substitute
96399 gnu89_inline, not libc_cv_gnu89_inline.
96400 * configure: Regenerated.
96401 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96402
96403 2010-07-26 Ulrich Drepper <drepper@redhat.com>
96404
96405 * string/test-strnlen.c: New file.
96406 * string/Makefile (strop-tests): Add strnlen.
96407 * string/tester.c (test_strnlen): Add a few more test cases.
96408 * string/tst-strlen.c: Better error reporting.
96409
96410 * sysdeps/x86_64/strnlen.S: New file.
96411
96412 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96413
96414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96415 lower-latency instructions.
96416
96417 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96418
96419 * string/test-strcasestr.c: New file.
96420 * string/test-strstr.c: New file.
96421 * string/Makefile (strop-tests): Add strstr and strcasestr.
96422 * string/str-two-way.h: Don't undefine MAX.
96423 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96424
96425 2010-07-21 Andreas Schwab <schwab@redhat.com>
96426
96427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96428 strcasestr-nonascii.
96429 (CFLAGS-strcasestr-nonascii.c): Define.
96430 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96432 Remove unused attribute.
96433
96434 2010-07-20 Roland McGrath <roland@redhat.com>
96435
96436 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96437 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96438 ld.so.cache was broken. With it, there is no way to disable dsocaps
96439 like LD_HWCAP_MASK can disable hwcaps.
96440
96441 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96442
96443 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96444
96445 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96446
96447 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96448 call in strcasestr.
96449 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96450 __strcasestr_sse42_nonascii.
96451 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96452 strcasestr-nonascii.c.
96453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96454
96455 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96456
96457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96458 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96461
96462 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96463
96464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96465 fcntl.
96466
96467 2010-07-06 Andreas Schwab <schwab@redhat.com>
96468
96469 [BZ #11577]
96470 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96471 dl_signal_cerror.
96472
96473 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96474
96475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96476 _PC_PIPE_BUF using F_GETPIPE_SZ.
96477
96478 2010-07-05 Roland McGrath <roland@redhat.com>
96479
96480 * manual/arith.texi (Rounding Functions): Fix rint description
96481 implicit in round description.
96482
96483 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96484
96485 * elf/Makefile: Fix linking for a few tests to make recent linker
96486 happy.
96487
96488 2010-06-30 Andreas Schwab <schwab@redhat.com>
96489
96490 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96491 $(common-objpfx)libc_nonshared.a.
96492
96493 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96494
96495 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96496 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96497 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96498 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96499 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96500 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96501 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96502 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96517 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96518 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96519 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96520 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96521 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96522 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96523 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96524 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96525 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96526 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96527 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96528 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96543
96544 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96545
96546 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96547 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96548 * string/memmove.c (memmove): Renamed to ...
96549 (MEMMOVE): ...this. Default to memmove.
96550 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96551 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96552 (END_CHK): Define.
96553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96554 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96555 mempcpy-ssse3-back memmove-ssse3-back.
96556 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96557 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96559 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96560 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96561 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96562 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96563 * sysdeps/x86_64/multiarch/memmove.c: New file.
96564 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96565 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96566 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96567 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96568 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96570 Define.
96571 (index_Fast_Copy_Backward): Define.
96572 (HAS_ARCH_FEATURE): Define.
96573 (HAS_FAST_REP_STRING): Define.
96574 (HAS_FAST_COPY_BACKWARD): Define.
96575
96576 2010-06-21 Andreas Schwab <schwab@redhat.com>
96577
96578 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96579 Restore proper fallback handling.
96580
96581 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96582
96583 [BZ #11701]
96584 * posix/group_member.c (__group_member): Correct checking loop.
96585
96586 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96587 OOM in getpwuid_r correctly. Return error number when the caller
96588 should return, otherwise -1.
96589 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96590 call returning > 0 value.
96591 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96592
96593 2010-06-07 Andreas Schwab <schwab@redhat.com>
96594
96595 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96596 libc_nonshared.a from targets in modules-names.
96597
96598 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96599
96600 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96601 requires it.
96602
96603 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96604
96605 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96609
96610 2010-06-02 Andreas Schwab <schwab@redhat.com>
96611
96612 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96613
96614 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96615
96616 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96617 and F_GETPIPE_SZ.
96618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96619 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96624
96625 2010-06-14 Roland McGrath <roland@redhat.com>
96626
96627 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96628
96629 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96630
96631 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96632 __REDIRECT followed by __THROW.
96633 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96634 * posix/getopt.h (getopt): Likewise.
96635
96636 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96637
96638 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96639 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96640 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96641 in AT_FLAGS.
96642 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96643 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96644
96645 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96646
96647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96648
96649 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96650
96651 [BZ #11640]
96652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96653 Properly check family and model.
96654
96655 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96656
96657 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96658
96659 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96660
96661 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96662
96663 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96664
96665 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96666 symbol reference.
96667
96668 2010-05-19 Andreas Schwab <schwab@redhat.com>
96669
96670 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96671 symbol reference.
96672
96673 2010-05-21 Andreas Schwab <schwab@redhat.com>
96674
96675 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96676 and internal_recvmmsg.
96677 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96678 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96679 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96680 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96681
96682 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96683 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96684 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96685
96686 2010-05-20 Andreas Schwab <schwab@redhat.com>
96687
96688 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96689
96690 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96691
96692 POWER7 optimizations.
96693 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96694 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96695
96696 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96697
96698 * version.h: Update for 2.13 development version.
96699
96700 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96701
96702 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96703 exceptions. Return 0.
96704
96705 2010-05-07 Roland McGrath <roland@redhat.com>
96706
96707 * elf/ldconfig.c (main): Add a const.
96708
96709 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96710
96711 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96712 (args_options): Add no-idn option.
96713 (ahosts_keys_int): Add idn_flags to ai_flags.
96714 (parse_option): Handle 'i' option to clear idn_flags.
96715
96716 * malloc/malloc.c (_int_free): Possible race in the most recently
96717 added check. Only act on the data if no current modification
96718 happened.
96719
96720 See ChangeLog.17 for earlier changes.